/* style.css – modern, rich, responsive */

:root {
  --deep-teal: #0d2b3e;
  --electric-orange: #f97316;
  --orange-light: #ffb086;
  --soft-white: #f9fafc;
  --gray-text: #4b5565;
  --dark-bg: #0b1f2c;
  --grad-1: linear-gradient(145deg, #0d2b3e, #123b4d);
  --shadow-card: 0 20px 30px -10px rgba(0,30,50,0.15);
  --shadow-hover: 0 25px 40px -10px rgba(249,115,22,0.25);
  --font-main: 'Outfit', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-main);
  background-color: var(--soft-white);
  color: var(--deep-teal);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- FLOATING WHATSAPP ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #25d366;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  box-shadow: 0 6px 16px rgba(37,211,102,0.3);
  z-index: 999;
  transition: 0.3s;
  text-decoration: none;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  background: #20b859;
}

/* ---------- HEADER ---------- */
.header {
  position: sticky;
  top: 0;
  background: rgba(255,255,255,0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,0.04);
  z-index: 100;
  padding: 8px 0;
}
.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 24px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo img {
  height: 50px;
  width: auto;
}
.logo-text {
  line-height: 1.2;
}
.logo-line1 {
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--deep-teal);
}
.pi {
  color: var(--electric-orange);
  font-size: 2.2rem;
  font-weight: 900;
}
.logo-line2 {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 4px;
  color: var(--gray-text);
}
.nav {
  display: flex;
  gap: 2rem;
}
.nav-link {
  text-decoration: none;
  color: var(--deep-teal);
  font-weight: 500;
  position: relative;
  padding: 6px 0;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--electric-orange);
  transition: 0.25s;
}
.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}
.header-right {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}
.header-icon {
  color: var(--deep-teal);
  font-size: 1.3rem;
  transition: color 0.2s;
}
.header-icon:hover {
  color: var(--electric-orange);
}
.btn-enroll {
  background: var(--electric-orange);
  color: white;
  padding: 10px 24px;
  border-radius: 40px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.2s;
  white-space: nowrap;
}
.btn-enroll:hover {
  background: #e05f0e;
  transform: scale(1.02);
}
.menu-toggle {
  background: none;
  border: none;
  font-size: 2rem;
  display: none;
  cursor: pointer;
  color: var(--deep-teal);
}
.mobile-menu {
  display: none;
  flex-direction: column;
  background: white;
  padding: 1rem 2rem;
  border-top: 1px solid #eee;
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}
.mobile-menu a {
  padding: 14px 0;
  text-decoration: none;
  color: var(--deep-teal);
  font-weight: 500;
  border-bottom: 1px solid #f0f0f0;
}
.mobile-menu a:last-child { border: none; }
.mobile-enroll {
  background: var(--electric-orange);
  color: white !important;
  text-align: center;
  padding: 12px !important;
  border-radius: 30px;
  margin-top: 10px;
}
.mobile-menu.show { display: flex; }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  background: var(--grad-1);
  color: white;
  padding: 100px 0 80px;
  overflow: hidden;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI4MCIgaGVpZ2h0PSI4MCIgdmlld0JveD0iMCAwIDQwIDQwIj48cGF0aCBkPSJNMjAgMjBhMTAgMTAgMCAwIDEgMjAgMCAxMCAxMCAwIDAgMS0yMCAweiIgZmlsbD0iI2Y5NzMxNiIgb3BhY2l0eT0iMC4wNSIvPjwvc3ZnPg==');
  opacity: 0.2;
}
.hero-container {
  position: relative;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 40px;
  align-items: center;
}
.hero-badge {
  background: rgba(249,115,22,0.2);
  padding: 6px 14px;
  border-radius: 30px;
  font-weight: 500;
  display: inline-block;
  margin-bottom: 20px;
  border: 1px solid rgba(249,115,22,0.4);
}
.hero-title {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
}
.pi-large {
  font-size: 4rem;
  color: var(--electric-orange);
}
.gradient-text {
  background: linear-gradient(135deg, #f97316, #ffb086);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-desc {
  font-size: 1.2rem;
  margin-bottom: 30px;
  opacity: 0.9;
}
.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.btn {
  padding: 14px 32px;
  border-radius: 60px;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: 0.2s;
}
.btn-primary {
  background: var(--electric-orange);
  color: white;
}
.btn-primary:hover {
  background: #e05f0e;
  transform: scale(1.02);
}
.btn-outline {
  border: 2px solid white;
  color: white;
}
.btn-outline:hover {
  background: white;
  color: var(--deep-teal);
}
.hero-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(4px);
  padding: 30px;
  border-radius: 30px;
  border: 1px solid rgba(255,255,255,0.2);
}
.stat-item {
  text-align: center;
}
.stat-num {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
}
.stat-plus, .stat-percent {
  font-size: 2rem;
  color: var(--orange-light);
  margin-left: 4px;
}
.stat-item p {
  font-size: 1rem;
  opacity: 0.8;
}

/* ---------- ABOUT ---------- */
.about {
  padding: 100px 0;
  background: white;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-text h2 {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.3;
}
.accent {
  color: var(--electric-orange);
}
.about-list {
  list-style: none;
  margin-top: 25px;
}
.about-list li {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.1rem;
}
.about-list i {
  color: var(--electric-orange);
  font-size: 1.4rem;
}
.about-image {
  position: relative;
}
.about-image img {
  width: 100%;
  border-radius: 40px;
  box-shadow: var(--shadow-card);
}
.experience-badge {
  position: absolute;
  bottom: -20px;
  right: 20px;
  background: var(--electric-orange);
  color: white;
  padding: 20px 25px;
  border-radius: 60px;
  text-align: center;
  box-shadow: 0 20px 30px rgba(249,115,22,0.3);
}
.exp-years {
  font-size: 2.2rem;
  font-weight: 800;
  display: block;
  line-height: 1;
}

/* ---------- SECTIONS HEADER ---------- */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}
.section-header h2 {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.section-header p {
  color: var(--gray-text);
  font-size: 1.2rem;
}
.light h2, .light p { color: white; }

/* ---------- COURSES ---------- */
.courses {
  padding: 80px 0;
  background: var(--soft-white);
}
.courses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 40px;
}
.course-card {
  background: white;
  border-radius: 36px;
  padding: 30px;
  box-shadow: var(--shadow-card);
  transition: 0.25s;
  position: relative;
  border: 1px solid rgba(0,0,0,0.02);
}
.course-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}
.popular {
  border: 2px solid var(--electric-orange);
}
.course-badge {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 30px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 16px;
  background: #eef2f8;
}
.foundation { background: #dbeafe; color: #1e3a8a; }
.board { background: #fef3c7; color: #92400e; }
.advanced { background: #fee2e2; color: #b91c1c; }
.course-card h3 {
  font-size: 2rem;
  margin-bottom: 5px;
}
.course-sub {
  color: var(--gray-text);
  margin-bottom: 20px;
}
.course-features {
  list-style: none;
  margin: 20px 0;
}
.course-features li {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.course-features i {
  color: var(--electric-orange);
  width: 20px;
}
.course-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
  border-top: 1px solid #eef2f6;
  padding-top: 20px;
}
.course-duration {
  font-size: 0.9rem;
  background: #eef2f8;
  padding: 5px 12px;
  border-radius: 30px;
}
.btn-link {
  color: var(--electric-orange);
  font-weight: 600;
  text-decoration: none;
}
.btn-secondary {
  background: var(--deep-teal);
  color: white;
  padding: 14px 38px;
  border-radius: 60px;
  text-decoration: none;
  font-weight: 600;
}
.center-btn { text-align: center; }

/* ---------- WHY US (FEATURES) ---------- */
.why-us {
  padding: 80px 0;
  background: white;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.feature {
  background: var(--soft-white);
  padding: 30px 25px;
  border-radius: 30px;
  text-align: center;
  transition: 0.2s;
}
.feature:hover {
  background: white;
  box-shadow: var(--shadow-card);
}
.feature i {
  font-size: 3rem;
  color: var(--electric-orange);
  margin-bottom: 20px;
}
.feature h4 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

/* ---------- FACULTY CAROUSEL ---------- */
.faculty {
  padding: 80px 0;
  background: var(--soft-white);
}
.facultySwiper {
  padding: 20px 10px 60px;
}
.faculty-card {
  background: white;
  border-radius: 32px;
  padding: 30px 20px;
  text-align: center;
  box-shadow: var(--shadow-card);
}
.faculty-card img {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 20px;
  border: 4px solid var(--orange-light);
}
.faculty-role {
  color: var(--electric-orange);
  font-weight: 600;
  margin: 5px 0 10px;
}
.faculty-desc {
  color: var(--gray-text);
  font-size: 0.95rem;
}
.faculty-social {
  margin-top: 15px;
}
.faculty-social a {
  color: var(--deep-teal);
  margin: 0 5px;
  font-size: 1.2rem;
}
.swiper-button-next, .swiper-button-prev {
  color: var(--electric-orange);
}
.swiper-pagination-bullet-active {
  background: var(--electric-orange);
}

/* ---------- TESTIMONIALS ---------- */
.testimonials {
  padding: 80px 0;
  background: var(--grad-1);
  color: white;
}
.testimonialSwiper {
  padding-bottom: 50px;
}
.testimonial-card {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(8px);
  border-radius: 40px;
  padding: 40px 35px;
  border: 1px solid rgba(255,255,255,0.15);
  text-align: center;
}
.quote {
  font-size: 3rem;
  color: var(--orange-light);
  opacity: 0.5;
  margin-bottom: 10px;
}
.testimonial-card h4 {
  margin: 20px 0 5px;
  font-size: 1.3rem;
}
.testimonial-card span {
  color: var(--orange-light);
}

/* ---------- BATCHES ---------- */
.batches {
  padding: 80px 0;
  background: white;
}
.batch-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 30px;
}
.batch-card {
  background: var(--soft-white);
  border-radius: 30px;
  padding: 30px;
  box-shadow: var(--shadow-card);
  transition: 0.2s;
}
.batch-card:hover {
  transform: scale(1.02);
  background: white;
}
.batch-class {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--deep-teal);
  display: block;
  margin-bottom: 15px;
}
.batch-card p {
  margin-bottom: 8px;
  color: var(--gray-text);
}
.batch-card i {
  color: var(--electric-orange);
  width: 24px;
}
.btn-small {
  display: inline-block;
  margin-top: 15px;
  background: var(--electric-orange);
  color: white;
  padding: 8px 22px;
  border-radius: 40px;
  text-decoration: none;
  font-weight: 600;
}

/* ---------- FAQ ---------- */
.faq {
  padding: 80px 0;
  background: var(--soft-white);
}
.faq-grid {
  max-width: 800px;
  margin: 0 auto;
}
.faq-item {
  background: white;
  border-radius: 20px;
  margin-bottom: 15px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.02);
}
.faq-question {
  width: 100%;
  text-align: left;
  padding: 20px 25px;
  background: white;
  border: none;
  font-size: 1.2rem;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  border-radius: 20px;
}
.faq-question i {
  transition: transform 0.2s;
}
.faq-item.active .faq-question i {
  transform: rotate(180deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 25px;
}
.faq-item.active .faq-answer {
  max-height: 200px;
  padding-bottom: 20px;
}

/* ---------- CONTACT ---------- */
.contact {
  padding: 80px 0;
  background: white;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 30px;
}
.contact-info h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
}
.contact-info ul {
  list-style: none;
  margin: 30px 0;
}
.contact-info li {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 15px;
}
.contact-info i {
  color: var(--electric-orange);
  font-size: 1.3rem;
}
.social-links a {
  display: inline-block;
  margin-right: 15px;
  color: var(--deep-teal);
  font-size: 1.5rem;
}
.contact-form input, .contact-form textarea {
  width: 100%;
  padding: 15px 20px;
  margin-bottom: 15px;
  border: 1px solid #e0e4ea;
  border-radius: 60px;
  font-family: inherit;
  background: #f9fafc;
}
.contact-form textarea {
  border-radius: 30px;
}
.contact-map iframe {
  width: 100%;
  height: 300px;
  border-radius: 30px;
}

/* ---------- CTA BANNER ---------- */
.cta-banner {
  background: var(--grad-1);
  color: white;
  text-align: center;
  padding: 80px 0;
}
.cta-banner h2 {
  font-size: 2.8rem;
  margin-bottom: 10px;
}
.cta-banner p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}
.btn-white {
  background: white;
  color: var(--deep-teal);
  padding: 16px 48px;
  border-radius: 60px;
  font-weight: 700;
  text-decoration: none;
  display: inline-block;
}

/* ---------- FOOTER ---------- */
.footer {
  background: var(--deep-teal);
  color: white;
  padding: 60px 0 20px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 15px;
}
.footer-logo .pi-large {
  font-size: 2.5rem;
}
.footer-col h4 {
  margin-bottom: 20px;
}
.footer-col a {
  display: block;
  color: #ccc;
  text-decoration: none;
  margin-bottom: 10px;
}
.newsletter {
  display: flex;
  margin-top: 15px;
}
.newsletter input {
  flex: 1;
  padding: 12px;
  border: none;
  border-radius: 40px 0 0 40px;
  outline: none;
}
.newsletter button {
  background: var(--electric-orange);
  border: none;
  padding: 0 20px;
  border-radius: 0 40px 40px 0;
  color: white;
  font-size: 1.2rem;
  cursor: pointer;
}
.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #1e3f52;
  color: #a0b8c5;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1100px) {
  .hero-container { grid-template-columns: 1fr; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .courses-grid, .features-grid, .batch-grid { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav, .btn-enroll { display: none; }
  .menu-toggle { display: block; }
  .hero-title { font-size: 2.5rem; }
  .section-header h2 { font-size: 2.2rem; }
  .courses-grid, .features-grid, .batch-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .logo img { height: 40px; }
  .logo-line1 { font-size: 1.4rem; }
  .pi { font-size: 1.8rem; }
  .hero-stats { grid-template-columns: 1fr; }
  .btn { width: 100%; justify-content: center; }
}