/* === GLOBAL STYLES === */
:root {
  --primary-color: #3f51b5;
  --primary-dark: #303f9f;
  --primary-light: #c5cae9;
  --secondary-color: #ff9800;
  --secondary-dark: #f57c00;
  --text-dark: #333;
  --text-light: #f5f5f5;
  --text-muted: #757575;
  --bg-light: #f8f9fa;
  --bg-dark: #263238;
  --success-color: #4caf50;
  --warning-color: #ff9800;
  --danger-color: #f44336;
  --border-radius: 8px;
  --box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
  --container-width: 1200px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: #fff;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 15px;
}

section {
  padding: 60px 0;
}

.section-light {
  background-color: var(--bg-light);
}

.section-dark {
  background-color: var(--bg-dark);
  color: var(--text-light);
}

.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-badge {
  display: inline-block;
  background-color: rgba(63, 81, 181, 0.1);
  color: var(--primary-color);
  padding: 6px 12px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: inherit;
}

.section-subtitle {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto;
  color: var(--text-muted);
}

.section-dark .section-subtitle {
  color: rgba(255, 255, 255, 0.7);
}

.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 20px 0;
}

.divider span {
  display: inline-block;
  width: 60px;
  height: 4px;
  background-color: var(--primary-color);
  border-radius: 2px;
}

.divider.light span {
  background-color: var(--primary-light);
}

.cta-button {
  display: inline-block;
  padding: 12px 24px;
  border-radius: var(--border-radius);
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
}

.primary-cta {
  background-color: var(--primary-color);
  color: white;
}

.primary-cta:hover {
  background-color: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.secondary-cta {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.secondary-cta:hover {
  background-color: rgba(63, 81, 181, 0.1);
  transform: translateY(-3px);
}

.view-more-container {
  text-align: center;
  margin-top: 30px;
}

.view-more-btn {
  background-color: transparent;
  border: none;
  color: var(--primary-color);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  padding: 10px 20px;
  border-radius: var(--border-radius);
  transition: var(--transition);
}

.view-more-btn:hover {
  background-color: rgba(63, 81, 181, 0.1);
}

.view-more-btn i {
  margin-left: 5px;
  transition: var(--transition);
}

.view-more-btn:hover i {
  transform: translateY(3px);
}

/* === ANNOUNCEMENT BAR === */
.announcement-bar {
  background-color: var(--primary-dark);
  color: white;
  padding: 8px 0;
  font-size: 0.9rem;
  text-align: center;
}

.announcement-bar p {
  margin: 0;
}

.announcement-bar i {
  margin-right: 5px;
  animation: bell-ring 2s infinite;
}

@keyframes bell-ring {
  0% { transform: rotate(0); }
  5% { transform: rotate(15deg); }
  10% { transform: rotate(-15deg); }
  15% { transform: rotate(15deg); }
  20% { transform: rotate(-15deg); }
  25% { transform: rotate(0); }
  100% { transform: rotate(0); }
}

.announcement-bar a {
  color: var(--secondary-color);
  font-weight: 600;
  text-decoration: none;
  margin-left: 5px;
  transition: var(--transition);
}

.announcement-bar a:hover {
  color: white;
  text-decoration: underline;
}

/* === HEADER & NAVIGATION === */
header {
  background-color: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

.logo {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

.logo img {
  height: 50px;
}

.logo-text {
  margin-left: 10px;
}

.nav-links {
  display: flex;
  list-style: none;
}

.nav-links li {
  margin: 0 5px;
}

.nav-links a {
  color: var(--text-dark);
  text-decoration: none;
  padding: 10px 15px;
  border-radius: var(--border-radius);
  font-weight: 500;
  transition: var(--transition);
}

.nav-links a i {
  margin-right: 5px;
  font-size: 0.9rem;
}

.nav-links a:hover, .nav-links a.active {
  color: var(--primary-color);
  background-color: rgba(63, 81, 181, 0.1);
}

.nav-links a.nav-cta {
  background-color: var(--primary-color);
  color: white;
}

.nav-links a.nav-cta:hover {
  background-color: var(--primary-dark);
}

.hamburger {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
}

/* === HERO SECTION === */
.hero {
  background-color: var(--bg-light);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.hero-content {
  display: flex;
  align-items: center;
  gap: 30px;
}

.hero-text {
  flex: 1;
}

.hero-image {
  flex: 1;
  text-align: center;
}

.hero-image img {
  max-width: 100%;
  height: auto;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.hero-image img:hover {
  transform: scale(1.02);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.hero h1 {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero h1 .highlight {
  color: var(--primary-color);
  position: relative;
}

.hero h1 .highlight:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 8px;
  background-color: rgba(63, 81, 181, 0.2);
  z-index: -1;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
}

.hero-stats {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-color);
}

.stat-text {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* === ABOUT SECTION === */
.about-content {
  display: flex;
  gap: 30px;
  margin-bottom: 40px;
}

.about-image {
  flex: 1;
}

.about-image img {
  max-width: 100%;
  height: auto;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.about-text {
  flex: 1;
}

.featured-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--primary-color);
  margin-bottom: 20px;
  font-weight: 500;
}

.vision-mission {
  display: flex;
  gap: 20px;
  margin-top: 20px;
}

.vision-box, .mission-box {
  flex: 1;
  background-color: white;
  padding: 20px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.vision-box:hover, .mission-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.vision-box h3, .mission-box h3 {
  display: flex;
  align-items: center;
  color: var(--primary-color);
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.vision-box i, .mission-box i {
  margin-right: 10px;
  font-size: 1.2rem;
}

.features-heading {
  text-align: center;
  margin-bottom: 20px;
  font-size: 1.8rem;
  color: var(--text-dark);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.feature-card {
  background-color: white;
  padding: 20px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  text-align: center;
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background-color: rgba(63, 81, 181, 0.1);
  border-radius: 50%;
  margin: 0 auto 15px;
}

.feature-icon i {
  font-size: 1.8rem;
  color: var(--primary-color);
}

.feature-card h4 {
  margin-bottom: 10px;
  font-size: 1.2rem;
  font-weight: 600;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.testimonial-section {
  margin-top: 40px;
}

.testimonial {
  background-color: white;
  padding: 20px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  position: relative;
  margin: 20px 0;
}

.quote {
  position: absolute;
  top: -15px;
  left: 20px;
  font-size: 2rem;
  color: var(--primary-color);
  opacity: 0.2;
}

.testimonial p {
  font-style: italic;
  margin-bottom: 20px;
  font-size: 1rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.testimonial-img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 10px;
}

.author-info h4 {
  font-size: 1rem;
  margin-bottom: 2px;
}

.author-info p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
  font-style: normal;
}

/* === COURSES SECTION === */
.course-categories {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}

.course-tab {
  background-color: transparent;
  border: 2px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.7);
  padding: 10px 20px;
  border-radius: var(--border-radius);
  cursor: pointer;
  font-weight: 500;
  transition: var(--transition);
}

.course-tab:hover, .course-tab.active {
  background-color: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

.course-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.course-card {
  background-color: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  display: flex;
  height: 100%;
}

.course-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.course-icon {
  background-color: var(--primary-color);
  color: white;
  width: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
}

.course-content {
  padding: 20px;
  flex: 1;
}

.course-card h4 {
  color: var(--text-dark);
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.course-details {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 10px;
}

.course-level {
  display: inline-block;
  padding: 5px 10px;
  background-color: rgba(63, 81, 181, 0.1);
  color: var(--primary-color);
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.course-duration {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.course-duration i {
  margin-right: 5px;
}

.course-card p {
  color: var(--text-muted);
  margin-bottom: 15px;
  font-size: 0.9rem;
}

.course-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  transition: var(--transition);
}

.course-link i {
  margin-left: 5px;
  transition: var(--transition);
}

.course-link:hover {
  color: var(--primary-dark);
}

.course-link:hover i {
  transform: translateX(5px);
}

.featured-course {
  position: relative;
  border: 2px solid var(--secondary-color);
}

.featured-tag {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: var(--secondary-color);
  color: white;
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.course-info-banner {
  margin-top: 40px;
  background-color: var(--primary-light);
  padding: 20px;
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  gap: 15px;
}

.info-icon {
  background-color: var(--primary-color);
  color: white;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.info-text {
  flex: 1;
}

.info-text h4 {
  margin-bottom: 5px;
  color: var(--text-dark);
  font-size: 1.2rem;
}

.info-text p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.info-button {
  background-color: var(--primary-color);
  color: white;
  padding: 10px 20px;
  border-radius: var(--border-radius);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
  white-space: nowrap;
}

.info-button:hover {
  background-color: var(--primary-dark);
}

/* === FACULTY SECTION === */
.faculty-filter {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}

.filter-btn {
  background-color: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  padding: 10px 20px;
  border-radius: var(--border-radius);
  cursor: pointer;
  font-weight: 500;
  transition: var(--transition);
}

.filter-btn:hover, .filter-btn.active {
  background-color: var(--primary-color);
  color: white;
}

.faculty-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.faculty-card {
  background-color: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.faculty-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.faculty-photo-container {
  position: relative;
  overflow: hidden;
}

.faculty-photo {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: var(--transition);
}

.faculty-card:hover .faculty-photo {
  transform: scale(1.05);
}

.faculty-social {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 10px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition);
}

.faculty-card:hover .faculty-social {
  opacity: 1;
  transform: translateY(0);
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background-color: white;
  color: var(--primary-color);
  border-radius: 50%;
  transition: var(--transition);
}

.social-icon:hover {
  background-color: var(--primary-color);
  color: white;
  transform: translateY(-3px);
}

.faculty-info {
  padding: 15px;
}

.faculty-subject {
  display: inline-block;
  padding: 5px 10px;
  background-color: rgba(63, 81, 181, 0.1);
  color: var(--primary-color);
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.faculty-info h4 {
  margin-bottom: 5px;
  font-size: 1.2rem;
}

.faculty-qualification, .faculty-experience {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 5px;
}

.faculty-description {
  margin-top: 10px;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.teaching-philosophy {
  margin-top: 40px;
  background-color: var(--primary-light);
  padding: 20px;
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  gap: 20px;
}

.philosophy-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background-color: var(--primary-color);
  color: white;
  border-radius: 50%;
  font-size: 2rem;
  flex-shrink: 0;
}

.philosophy-content h3 {
  margin-bottom: 10px;
  font-size: 1.4rem;
}

/* === PERFORMANCE SECTION === */
.performance {
  background-color: var(--bg-light);
}

.performance-stats {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 40px;
}

.stat-box {
  background-color: white;
  padding: 20px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  text-align: center;
  width: 200px;
  transition: var(--transition);
}

.stat-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.stat-box .stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  display: inline-block;
}

.stat-box .stat-symbol {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  display: inline-block;
}

.stat-box .stat-label {
  margin-top: 10px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-muted);
}

.achievers-heading {
  text-align: center;
  margin-bottom: 30px;
  font-size: 1.8rem;
}

.performance-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.student-card {
  background-color: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  text-align: center;
  transition: var(--transition);
  position: relative;
}

.student-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.student-medal {
  position: absolute;
  top: 10px;
  right: 10px;
  color: var(--secondary-color);
  font-size: 1.5rem;
}

.student-photo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin: 20px auto;
  border: 4px solid var(--primary-light);
}

.student-info {
  padding: 0 15px 20px;
}

.student-info h4 {
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.student-details {
  margin-bottom: 10px;
}

.student-details p {
  margin: 5px 0;
  font-size: 0.9rem;
}

.student-quote {
  font-style: italic;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.future-message {
  text-align: center;
  margin-top: 40px;
  padding: 20px;
  background-color: white;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.future-message h3 {
  margin-bottom: 15px;
  font-size: 1.5rem;
  color: var(--primary-color);
}

.future-message p {
  margin-bottom: 20px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1rem;
}

/* === GALLERY SECTION === */
.gallery-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 15px;
}

.gallery-item {
  border-radius: var(--border-radius);
  overflow: hidden;
  position: relative;
  height: 200px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(38, 50, 56, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-info {
  text-align: center;
  padding: 15px;
  color: white;
}

.gallery-info h4 {
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.gallery-info p {
  margin-bottom: 10px;
  font-size: 0.9rem;
  opacity: 0.8;
}

/* === ENROLLMENT CTA SECTION === */
.enrollment-cta {
  background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
  color: #fff;
  padding: 60px 0;
  text-align: center;
}

.enrollment-content {
  max-width: 800px;
  margin: 0 auto;
}

.enrollment-content h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  font-weight: 700;
}

.enrollment-content p {
  font-size: 1.1rem;
  margin-bottom: 20px;
  opacity: 0.9;
}

/* === CONTACT SECTION === */
.contact-section {
  background-color: #f9f9f9;
  padding: 30px 15px;
  text-align: center;
  border-radius: 12px;
  max-width: 600px;
  margin: 0 auto;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.contact-section h2 {
  font-size: 1.8rem;
  color: #2c3e50;
  margin-bottom: 20px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: center;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  color: #333;
}

.contact-item i {
  color: #27ae60;
  font-size: 1.2rem;
}

.contact-item a {
  color: #2980b9;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-item a:hover {
  color: #1abc9c;
}

/* === RESPONSIVE DESIGN === */
@media (max-width: 991px) {
  .hero-content {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .hero-text,
  .hero-image {
    padding: 0;
  }

  .hero-buttons,
  .hero-stats {
    justify-content: center;
  }

  .about-content {
    flex-direction: column;
  }

  .vision-mission {
    flex-direction: column;
  }

  .features-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }

  .course-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  }

  .faculty-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  }

  .performance-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }

  .gallery-container {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  }

  .teaching-philosophy {
    flex-direction: column;
    text-align: center;
  }

  .course-info-banner {
    flex-direction: column;
    text-align: center;
  }

  .info-button {
    margin-top: 10px;
  }
}

@media (max-width: 768px) {
  section {
    padding: 40px 0;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .section-subtitle {
    font-size: 1rem;
  }

  .hero {
    padding: 40px 0;
  }

  .hero-content {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .hero-text {
    padding: 0 15px;
  }

  .hero-image {
    flex: none;
    width: 100%;
    max-width: 400px;
    margin: 20px auto;
  }

  .hero-image img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    display: block;
    margin: 0 auto;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 15px;
    position: relative;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 999;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links li {
    margin: 10px 0;
  }

  .hamburger {
    display: block;
    font-size: 1.8rem;
    cursor: pointer;
    margin-left: auto;
    padding: 10px;
    transition: transform 0.3s ease;
  }

  .hamburger:hover {
    transform: scale(1.1);
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .course-grid {
    grid-template-columns: 1fr;
  }

  .faculty-grid {
    grid-template-columns: 1fr;
  }

  .performance-grid {
    grid-template-columns: 1fr;
  }

  .gallery-container {
    grid-template-columns: 1fr;
  }

  .performance-stats {
    flex-direction: column;
    align-items: center;
  }

  .stat-box {
    width: 100%;
    max-width: 300px;
  }

  .enrollment-content h2 {
    font-size: 1.8rem;
  }

  .enrollment-content p {
    font-size: 1rem;
  }

  .contact-section {
    padding: 20px 10px;
  }

  .contact-section h2 {
    font-size: 1.5rem;
  }

  .cta-button {
    width: 100%;
    max-width: 300px;
    padding: 12px 20px;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.8rem;
  }

  .hero-subtitle {
    font-size: 0.9rem;
  }

  .hero-image {
    max-width: 300px;
  }

  .cta-button {
    padding: 10px 20px;
    font-size: 0.9rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .stat-number {
    font-size: 1.8rem;
  }

  .stat-text {
    font-size: 0.9rem;
  }

  .features-heading,
  .achievers-heading {
    font-size: 1.5rem;
  }

  .course-card h4,
  .faculty-info h4,
  .student-info h4 {
    font-size: 1.1rem;
  }

  .course-card p,
  .faculty-description,
  .student-quote {
    font-size: 0.85rem;
  }

  .enrollment-content h2 {
    font-size: 1.5rem;
  }

  .enrollment-content p {
    font-size: 0.9rem;
  }

  .contact-item {
    flex-direction: column;
    text-align: center;
  }
}
/* === FOOTER STYLES === */
footer {
  background-color: var(--bg-dark);
  color: var(--text-light);
  padding: 60px 0 20px;
  font-family: 'Poppins', sans-serif;
  position: relative;
  overflow: hidden;
}


footer .container {
  display: grid;
  grid-template-columns: 1fr 1fr 2fr;
  gap: 40px;
  margin-bottom: 40px;
  align-items: flex-start;
}

/* Footer Logo Section */
.footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.footer-logo img {
  height: 50px;
  margin-right: 15px;
  border-radius: var(--border-radius);
  transition: var(--transition);
}

.footer-logo img:hover {
  transform: scale(1.05);
}

.footer-logo .logo-text {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-light);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Footer Links Section */
.footer-links h4 {
  color: var(--primary-light);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary-color);
  display: inline-block;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links ul li {
  margin-bottom: 12px;
  transition: var(--transition);
}

.footer-links ul li:hover {
  transform: translateX(5px);
}

.footer-links ul li a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 400;
  transition: var(--transition);
  display: flex;
  align-items: center;
  padding: 5px 0;
}

.footer-links ul li a:hover {
  color: var(--primary-light);
  padding-left: 5px;
}

.footer-links ul li a::before {
  content: '▶';
  font-size: 0.7rem;
  margin-right: 8px;
  opacity: 0;
  transition: var(--transition);
}

.footer-links ul li a:hover::before {
  opacity: 1;
}

/* Footer Contact Section */
.footer-contact h4 {
  color: var(--primary-light);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary-color);
  display: inline-block;
}

.footer-contact p {
  margin: 15px 0;
  display: flex;
  align-items: flex-start;
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
}

.footer-contact i {
  margin-right: 12px;
  margin-top: 2px;
  color: var(--primary-dark);
  font-size: 1.1rem;
  flex-shrink: 0;
  width: 20px;
  text-align: center;
}

.footer-contact p:hover {
  color: var(--primary-light);
  transition: var(--transition);
}

.footer-contact p:hover i {
  color: var(--primary-color);
  transform: scale(1.1);
}


/* Responsive Design */
@media (max-width: 991px) {
  footer .container {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
  
  .footer-contact {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  footer {
    padding: 40px 0 20px;
  }
  
  footer .container {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }
  
  .footer-logo {
    justify-content: center;
    margin-bottom: 25px;
  }
  
  .footer-logo .logo-text {
    font-size: 1.6rem;
  }
  
  .footer-links h4,
  .footer-contact h4 {
    text-align: center;
    font-size: 1.2rem;
  }
  
  .footer-contact p {
    justify-content: center;
    text-align: left;
    max-width: 400px;
    margin: 15px auto;
  }
  
  .footer-bottom {
    margin: 0 -15px -20px -15px;
  }
  
  .footer-bottom p {
    font-size: 0.85rem;
  }
  
  .footer-bottom p::before,
  .footer-bottom p::after {
    width: 20px;
  }
}

@media (max-width: 480px) {
  .footer-logo .logo-text {
    font-size: 1.4rem;
  }
  
  .footer-links h4,
  .footer-contact h4 {
    font-size: 1.1rem;
  }
  
  .footer-contact p {
    font-size: 0.9rem;
    flex-direction: column;
    text-align: center;
    gap: 5px;
  }
  
  .footer-contact i {
    margin-right: 0;
    margin-bottom: 5px;
  }
  
  .footer-bottom p {
    font-size: 0.8rem;
    line-height: 1.5;
  }
}