/* Base Styling - Light Dark Theme */
body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background: #111927;
  color: #e3f2fd;
  scroll-behavior: smooth;
}
img {
  max-width: 100%;
  display: block;
}

/* Logo Section */
.logo-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px 10px 15px;
  background-color: #1b2431;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  text-align: center;
}
.logo-section img {
  width: 120px;
  border-radius: 50%;
  border: 3px solid #90caf9;
  margin-bottom: 10px;
}
.logo-title {
  font-size: 36px;
  font-weight: bold;
  color: #90caf9;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4);
}
@media (max-width: 600px) {
  .logo-title {
    font-size: 28px;
  }
  .logo-section img {
    width: 100px;
  }
}

/* Scrolling Alert */
.scrolling-alert {
  background: #1976d2;
  color: #fff;
  overflow: hidden;
  white-space: nowrap;
  padding: 12px 0;
}
.scroll-text {
  display: inline-block;
  animation: scroll-left 15s linear infinite;
  font-weight: 500;
}
@keyframes scroll-left {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}

/* Hero Section */
.hero {
  background: linear-gradient(120deg, #162134, #1a2a4f);
  color: white;
  padding: 100px 20px 70px;
  text-align: center;
}
.navbar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 30px;
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
}
.nav-links a {
  color: #90caf9;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
  font-size: 16px;
}
.nav-links a:hover {
  color: #bbdefb;
}
.hero-text h1 {
  font-size: 48px;
  margin-bottom: 20px;
  font-weight: bold;
}
.hero-text p {
  font-size: 20px;
  max-width: 700px;
  margin: 0 auto 30px;
}

/* Buttons */
.btn-primary,
.btn-secondary {
  padding: 14px 32px;
  border: none;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 16px;
}
.btn-primary {
  background-color: #1976d2;
  color: white;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}
.btn-primary:hover {
  background-color: #1565c0;
}
.btn-secondary {
  background-color: #64b5f6;
  color: white;
  margin-top: 10px;
}
.btn-secondary:hover {
  background-color: #42a5f5;
}

/* Section Styling */
.section {
  padding: 70px 20px;
  text-align: center;
  background-color: #111927;
}
.section h2 {
  font-size: 32px;
  margin-bottom: 35px;
  color: #90caf9;
}

/* Cards */
.card-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
}
.card {
  background: #1b2431;
  padding: 28px;
  border-radius: 18px;
  max-width: 340px;
  text-align: left;
  transition: transform 0.3s, box-shadow 0.3s;
  color: #e3f2fd;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}
.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.4);
}
.glass {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.9);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.modal-image-content {
  margin: auto;
  display: block;
  max-width: 80%;
  border: 3px solid #fff;
}

.close {
  position: absolute;
  top: 20px;
  right: 35px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}


.modal-text-content {
  background: #1b2431;
  color: #e3f2fd;
  margin: 10% auto;
  padding: 30px;
  border-radius: 12px;
  max-width: 500px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.modal-content h3 {
  color: #90caf9;
  margin-bottom: 15px;
}
.modal-list {
  list-style: none;
  padding-left: 0;
}
.modal-list li {
  padding: 8px 0;
  border-bottom: 1px solid #333;
}
.close,
.close-btn {
  position: absolute;
  top: 20px;
  right: 35px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}

/* Gallery */
.gallery-section {
  background: #111927;
  color: #ffffff;
  padding: 60px 20px;
  text-align: center;
}
.slider-container {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.5);
}
.slider-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
  width: 100%;
}
.slider-img {
  flex-shrink: 0;
  width: 100%;
  max-height: 480px;
  object-fit: contain;
  background-color: #0d1117;
}
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #1976d2;
  color: white;
  border: none;
  font-size: 24px;
  padding: 10px 14px;
  cursor: pointer;
  border-radius: 50%;
  z-index: 10;
  transition: background 0.3s ease;
}
.slider-btn:hover {
  background: #0d47a1;
}
.slider-btn.prev {
  left: 10px;
}
.slider-btn.next {
  right: 10px;
}

/* Query Section */
.query-section {
  background-color: #111927;
  padding: 60px 20px;
  text-align: center;
}
.query-section h2 {
  color: #64b5f6;
  margin-bottom: 25px;
  font-size: 28px;
}
.query-form {
  background: #1b2431;
  padding: 30px 35px;
  max-width: 500px;
  width: 100%;
  margin: 0 auto;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
}
.query-form input,
.query-form textarea {
  width: 100%;
  padding: 12px 16px;
  margin-bottom: 18px;
  border: 1px solid #333;
  background-color: #111927;
  color: #e3f2fd;
  border-radius: 8px;
  font-size: 15px;
  resize: none;
}
.query-form button {
  background-color: #1976d2;
  color: white;
  border: none;
  padding: 14px 28px;
  border-radius: 25px;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s ease;
}
.query-form button:hover {
  background-color: #0d47a1;
}

/* Footer */
footer {
  background: #1b2431;
  color: #90caf9;
  text-align: center;
  padding: 20px;
  font-size: 14px;
}

/* Animation */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeIn 1s ease-out forwards;
}
@keyframes fadeIn {
  to {
    opacity: 1;
    transform: none;
  }
}

/* Founder Section */
.founder-card {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 30px;
  max-width: 900px;
  margin: 0 auto;
  padding: 30px;
  background: #161b22;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  color: #e3f2fd;
  text-align: left;
  flex-wrap: wrap;
}
.founder-card img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  border: 3px solid #90caf9;
  object-fit: cover;
}
.founder-card h3 {
  margin-top: 0;
  color: #64b5f6;
  font-size: 26px;
}
.founder-card p,
.founder-card ul {
  font-size: 16px;
  line-height: 1.6;
}
.founder-card ul {
  padding-left: 20px;
  margin: 10px 0;
}
@media (max-width: 768px) {
  .founder-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .founder-card img {
    margin-bottom: 20px;
  }
}

/* WhatsApp Button */
.whatsapp-btn {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 24px;
  background-color: #25D366;
  color: white;
  font-weight: 600;
  text-decoration: none;
  border-radius: 30px;
  font-size: 16px;
  transition: background 0.3s ease;
}
.whatsapp-btn:hover {
  background-color: #1ebe57;
}
.whatsapp-btn i {
  margin-right: 8px;
}
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: none;
  border: none;
  z-index: 1000;
  cursor: pointer;
}
.whatsapp-float i {
  border-radius: 10px;
  padding: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s;
}
.whatsapp-float:hover i {
  transform: scale(1.1);
}
.whatsapp-float::after {
  content: "Join WhatsApp";
  position: absolute;
  bottom: 60px;
  right: 0;
  background-color: #333;
  color: #fff;
  padding: 6px 10px;
  border-radius: 5px;
  font-size: 14px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.whatsapp-float:hover::after {
  opacity: 1;
}

/* Course Card */
.course-card {
  cursor: pointer;
  transition: transform 0.2s ease;
}
.course-card:hover {
  transform: scale(1.03);
}
.price-tag {
  margin: 12px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
}

.new-price {
  font-size: 24px;
  font-weight: 700;
  color: #00e676; /* Highlighted green */
}

.old-price {
  position: relative;
  font-size: 16px;
  color: #bbb;
}

.old-price .cut-line {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  background: red;
  transform: rotate(-12deg);
  transform-origin: center;
}    

/* responsive */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
@media (max-width: 768px) {
  .hero-text h1 {
    font-size: 32px;
  }
  .hero-text p {
    font-size: 16px;
  }
  .section h2 {
    font-size: 24px;
  }
  .btn-primary,
  .btn-secondary {
    font-size: 14px;
    padding: 10px 20px;
  }
}
.card-container,
.navbar,
.founder-card {
  flex-wrap: wrap;
  justify-content: center;
}
.slider-img {
  width: 100%;
  height: auto;
  max-height: 300px;
}
@media (max-width: 768px) {
  .slider-container {
    max-width: 100%;
  }
}
@media (max-width: 600px) {
  .modal-text-content {
    width: 90%;
    padding: 20px;
  }
  .modal-image-content {
    max-width: 95%;
  }
}
@media (max-width: 768px) {
  .query-form {
    padding: 20px;
  }
  .query-form input,
  .query-form textarea {
    font-size: 14px;
  }
}
@media (max-width: 500px) {
  .whatsapp-float::after {
    right: auto;
    left: -70px;
  }
}
@media (max-width: 600px) {
  .price-tag {
    flex-direction: column;
    gap: 5px;
  }
  .new-price {
    font-size: 20px;
  }
  .old-price {
    font-size: 14px;
  }
}
