/* Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --background: #FDFBF5;
  --foreground: #1A3552;
  --primary: #B89C3A;
  --secondary: #1A3552;
  --orange: #F97316;
  --orange-hover: #EA580C;
  --gray-50: #F9FAFB;
  --gray-100: #F3F4F6;
  --gray-200: #E5E7EB;
  --gray-400: #9CA3AF;
  --gray-600: #4B5563;
  --gray-700: #374151;
  --gray-900: #111827;
  --blue-100: #DBEAFE;
  --blue-200: #BFDBFE;
  --blue-400: #60A5FA;
  --blue-700: #1D4ED8;
  --blue-900: #1E3A8A;
}

body {
  background: var(--background);
  color: var(--foreground);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  touch-action: manipulation;
}

/* Improved touch targets for mobile */
button,
a,
input,
select,
textarea {
  touch-action: manipulation;
}

/* Minimum touch target size */
.btn-primary,
.btn-secondary,
.btn-apply,
.btn-submit,
.btn-learn-more,
.mobile-menu-button,
.modal-close,
.gallery-nav-dot,
.gallery-tab {
  min-height: 44px;
  min-width: 44px;
}

/* Prevent zoom on inputs on mobile */
@media (max-width: 767px) {
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="password"],
  select,
  textarea {
    font-size: 16px;
  }
}

/* Ensure clickable areas are accessible */
@media (hover: none) {
  .course-card:hover,
  .gallery-tab:hover,
  .admission-step:hover {
    transform: none;
  }
  
  .course-card:active,
  .gallery-tab:active,
  .btn-primary:active,
  .btn-secondary:active {
    transform: scale(0.98);
  }
}

/* Smooth scrolling for mobile */
html {
  scroll-behavior: smooth;
}

/* Focus styles for accessibility */
*:focus {
  outline: 2px solid var(--blue-400);
  outline-offset: 2px;
}

button:focus,
a:focus {
  outline: 2px solid var(--blue-400);
  outline-offset: 2px;
}

/* Hide outline for mouse users */
*:focus:not(:focus-visible) {
  outline: none;
}

/* Better text selection */
::selection {
  background: var(--blue-200);
  color: var(--blue-900);
}

/* Mobile-first responsive text sizing */
html {
  font-size: 14px;
}

@media (min-width: 480px) {
  html {
    font-size: 15px;
  }
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

@media (min-width: 1024px) {
  html {
    font-size: 16px;
  }
}

/* Navbar Styles */
.navbar {
  background: white;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 64px;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--gray-900);
}

.navbar-logo img {
  height: 40px;
  width: 40px;
  object-fit: contain;
}

.navbar-logo span {
  font-weight: bold;
  font-size: 1.25rem;
}

.navbar-menu {
  display: none;
  align-items: center;
  gap: 2rem;
}

.navbar-menu a {
  color: var(--gray-700);
  text-decoration: none;
  padding: 0.5rem 0.75rem;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.3s;
}

.navbar-menu a:hover {
  color: var(--blue-700);
}

.navbar-menu a.active {
  color: var(--blue-700);
}

.btn-apply {
  background: var(--orange);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
}

.btn-apply:hover {
  background: var(--orange-hover);
  transform: scale(1.05);
}

.mobile-menu-button {
  display: block;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--gray-700);
}

.mobile-menu-button svg {
  width: 24px;
  height: 24px;
}

.mobile-menu {
  display: none;
  background: white;
  border-top: 1px solid var(--gray-200);
  padding: 1rem;
}

.mobile-menu.active {
  display: block;
}

.mobile-menu a {
  display: block;
  color: var(--gray-700);
  text-decoration: none;
  padding: 0.75rem;
  border-radius: 0.375rem;
  font-weight: 500;
}

.mobile-menu a:hover {
  color: var(--blue-700);
}

.mobile-menu .btn-apply {
  width: 100%;
  margin-top: 1rem;
}

@media (min-width: 768px) {
  .navbar-menu {
    display: flex;
  }
  
  .mobile-menu-button {
    display: none;
  }
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, rgb(184, 156, 58) 0%, rgb(26, 53, 82) 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  color: white;
  text-align: center;
}

.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.1;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.1'%3E%3Ccircle cx='30' cy='30' r='4'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-content {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
  padding: 1.5rem 1rem;
}

@media (min-width: 768px) {
  .hero-content {
    padding: 2rem 1.5rem;
  }
}

@media (min-width: 1024px) {
  .hero-content {
    padding: 2rem 2rem;
  }
}

.hero h1 {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 1rem;
  line-height: 1.2;
}

@media (min-width: 480px) {
  .hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
  }
}

@media (min-width: 640px) {
  .hero h1 {
    font-size: 3rem;
  }
}

@media (min-width: 1024px) {
  .hero h1 {
    font-size: 3.75rem;
  }
}

.hero h1 .highlight {
  color: var(--orange);
}

.hero .tagline {
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
  color: var(--blue-100);
}

@media (min-width: 480px) {
  .hero .tagline {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
  }
}

@media (min-width: 768px) {
  .hero .tagline {
    font-size: 1.5rem;
    margin-bottom: 2rem;
  }
}

.hero .description {
  font-size: 1rem;
  margin-bottom: 2rem;
  color: var(--blue-200);
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

@media (min-width: 480px) {
  .hero .description {
    font-size: 1.125rem;
    max-width: 36rem;
  }
}

@media (min-width: 768px) {
  .hero .description {
    max-width: 48rem;
    margin-bottom: 2.5rem;
  }
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  justify-content: center;
}

@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
    gap: 1.5rem;
  }
}

.hero h1 .highlight {
  color: var(--orange);
}

.hero .tagline {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  color: var(--blue-100);
}

.hero .description {
  font-size: 1.125rem;
  margin-bottom: 2.5rem;
  color: var(--blue-200);
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  justify-content: center;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  padding: 0.875rem 1.5rem;
  background: var(--orange);
  color: white;
  text-decoration: none;
  font-weight: 600;
  border-radius: 0.5rem;
  transition: all 0.3s;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
  font-size: 0.9rem;
  justify-content: center;
  min-width: 140px;
}

@media (min-width: 768px) {
  .btn-primary {
    padding: 1rem 2rem;
    font-size: 1rem;
    min-width: 160px;
  }
}

.btn-primary:hover {
  background: var(--orange-hover);
  transform: scale(1.05);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  padding: 0.875rem 1.5rem;
  border: 2px solid white;
  color: white;
  text-decoration: none;
  font-weight: 600;
  border-radius: 0.5rem;
  transition: all 0.3s;
  background: transparent;
  cursor: pointer;
  font-size: 0.9rem;
  justify-content: center;
  min-width: 140px;
}

@media (min-width: 768px) {
  .btn-secondary {
    padding: 1rem 2rem;
    font-size: 1rem;
    min-width: 160px;
  }
}

.btn-secondary:hover {
  background: white;
  color: var(--blue-900);
}

@media (min-width: 640px) {
  .hero h1 {
    font-size: 3rem;
  }
  
  .hero-buttons {
    flex-direction: row;
  }
}

@media (min-width: 1024px) {
  .hero h1 {
    font-size: 3.75rem;
  }
}

/* Section Styles */
.section {
  padding: 3rem 1rem;
}

@media (min-width: 768px) {
  .section {
    padding: 4rem 1.5rem;
  }
}

@media (min-width: 1024px) {
  .section {
    padding: 5rem 2rem;
  }
}

.section-gray {
  background: var(--gray-50);
}

.section-white {
  background: white;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
}

.section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
  .section-header {
    margin-bottom: 3rem;
  }
}

@media (min-width: 1024px) {
  .section-header {
    margin-bottom: 4rem;
  }
}

.section-header h2 {
  font-size: 1.75rem;
  font-weight: bold;
  color: var(--gray-900);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

@media (min-width: 480px) {
  .section-header h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
  }
}

@media (min-width: 640px) {
  .section-header h2 {
    font-size: 2.25rem;
  }
}

@media (min-width: 1024px) {
  .section-header h2 {
    font-size: 2.5rem;
  }
}

.section-header p {
  font-size: 1rem;
  color: var(--gray-600);
  max-width: 100%;
  margin: 0 auto;
  line-height: 1.6;
  padding: 0 1rem;
}

@media (min-width: 480px) {
  .section-header p {
    font-size: 1.125rem;
    max-width: 32rem;
    padding: 0;
  }
}

@media (min-width: 768px) {
  .section-header p {
    font-size: 1.25rem;
    max-width: 48rem;
  }
}

/* Course Cards */
.courses-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .courses-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

@media (min-width: 1024px) {
  .courses-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

@media (min-width: 1280px) {
  .courses-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.course-card {
  background: white;
  border-radius: 0.75rem;
  padding: 1.25rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid var(--gray-200);
}

@media (min-width: 768px) {
  .course-card {
    padding: 1.5rem;
  }
}

.course-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  border-color: var(--orange);
}

.course-card h3 {
  font-size: 1.125rem;
  font-weight: bold;
  color: var(--gray-900);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

@media (min-width: 768px) {
  .course-card h3 {
    font-size: 1.25rem;
  }
}

.course-duration {
  color: var(--orange);
  font-weight: 600;
  margin-bottom: 1rem;
  display: block;
  font-size: 0.875rem;
}

.course-card p {
  color: var(--gray-600);
  margin-bottom: 1rem;
  line-height: 1.6;
  flex-grow: 1;
  font-size: 0.9rem;
}

@media (min-width: 768px) {
  .course-card p {
    font-size: 0.95rem;
  }
}

.course-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.highlight-tag {
  background: var(--blue-100);
  color: var(--blue-700);
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 500;
}

@media (min-width: 768px) {
  .highlight-tag {
    font-size: 0.8rem;
  }
}

.btn-learn-more {
  width: 100%;
  padding: 0.75rem 1.5rem;
  background: linear-gradient(to right, #9F8C4A 0%, #4A5568 50%, #2D3748 100%);
  color: white;
  border: none;
  border-radius: 0.375rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  font-size: 0.875rem;
  margin-top: 1rem;
}

.btn-learn-more:hover {
  background: linear-gradient(to right, #8A7A3F 0%, #3A4556 50%, #1A202C 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Admission Process */
.admission-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 3rem;
  position: relative;
}

@media (min-width: 768px) {
  .admission-steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    max-width: 900px;
    margin: 3rem auto 0;
  }
  
  /* Connecting line between step 1 and 2 */
  .admission-steps::before {
    content: '';
    position: absolute;
    top: 20px;
    left: calc(33.33% + 20px);
    width: calc(33.33% - 40px);
    height: 2px;
    background: #D4AF37;
    z-index: 0;
  }
  
  /* Connecting line between step 2 and 3 */
  .admission-steps::after {
    content: '';
    position: absolute;
    top: 20px;
    left: calc(66.66% + 20px);
    width: calc(33.33% - 40px);
    height: 2px;
    background: #D4AF37;
    z-index: 0;
  }
}

.admission-step {
  text-align: center;
  padding: 2rem 1.5rem;
  background: white;
  border-radius: 1rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  position: relative;
  transition: all 0.3s ease;
  z-index: 1;
}

.admission-step:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.step-number {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #8B5D33, #6B4423);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  font-size: 1.125rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  z-index: 2;
}

.step-icon-container {
  width: 80px;
  height: 80px;
  margin: 2rem auto 1.5rem;
  background: #3B82F6;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.step-icon {
  color: white;
  width: 32px;
  height: 32px;
}

.admission-step h3 {
  font-size: 1.25rem;
  font-weight: bold;
  color: var(--gray-900);
  margin-bottom: 1rem;
}

.admission-step p {
  color: var(--gray-600);
  line-height: 1.6;
  font-size: 0.95rem;
}

/* Testimonials */
.testimonials-section {
  background: linear-gradient(135deg, #2C3E50 0%, #34495E 100%);
  color: white;
  padding: 5rem 0;
}

.testimonials-section .section-header h2 {
  color: white;
  font-size: 2.5rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 1rem;
}

.testimonials-section .section-header p {
  color: rgba(255, 255, 255, 0.8);
  text-align: center;
  font-size: 1.125rem;
  margin-bottom: 3rem;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
  }
}

.testimonial-card {
  background: white;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  color: var(--gray-900);
  transition: transform 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.testimonial-avatar {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #8B5D33 0%, #6B4423 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.testimonial-info h4 {
  font-size: 1.125rem;
  font-weight: bold;
  color: var(--gray-900);
  margin-bottom: 0.25rem;
}

.testimonial-info p {
  color: var(--gray-600);
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}

.testimonial-rating {
  display: flex;
  gap: 0.25rem;
}

.testimonial-rating .star {
  font-size: 1rem;
  color: #FFC107;
}

.testimonial-content {
  color: var(--gray-700);
  font-style: italic;
  line-height: 1.6;
  font-size: 0.95rem;
}

/* Contact Banner */
.contact-banner {
  background: linear-gradient(135deg, #FF6B35 0%, #F7931E 100%);
  color: white;
  padding: 4rem 1rem;
  text-align: center;
}

.contact-banner h2 {
  font-size: 2.25rem;
  font-weight: bold;
  margin-bottom: 1rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.contact-banner p {
  font-size: 1.125rem;
  margin-bottom: 2.5rem;
  opacity: 0.95;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.contact-banner-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  align-items: center;
}

.btn-apply-banner {
  background: white;
  color: #FF6B35;
  border: none;
  padding: 1rem 2rem;
  border-radius: 0.5rem;
  font-weight: bold;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-apply-banner:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.btn-contact-banner {
  background: transparent;
  color: white;
  border: 2px solid white;
  padding: 1rem 2rem;
  border-radius: 0.5rem;
  font-weight: bold;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-block;
}

/* Contact Page Styles */
.contact-hero {
  background: linear-gradient(135deg, #B89C3A 0%, #2C3E50 100%);
  color: white;
  padding: 8rem 1rem 6rem;
  text-align: center;
}

.contact-hero h1 {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.contact-hero p {
  font-size: 1.25rem;
  opacity: 0.95;
  max-width: 600px;
  margin: 0 auto;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
}

.contact-main-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-top: 3rem;
}

@media (min-width: 1024px) {
  .contact-main-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

/* Get in Touch Section */
.get-in-touch {
  background: #F8F9FA;
  padding: 2.5rem;
  border-radius: 1rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.get-in-touch h2 {
  font-size: 1.75rem;
  font-weight: bold;
  color: var(--gray-900);
  margin-bottom: 2rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #E5E7EB;
}

.contact-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.contact-item-icon {
  width: 40px;
  height: 40px;
  background: rgba(59, 130, 246, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-item-content h4 {
  font-size: 1.125rem;
  font-weight: bold;
  color: var(--gray-900);
  margin-bottom: 0.5rem;
}

.contact-item-content p {
  color: var(--gray-600);
  line-height: 1.6;
  margin: 0;
  font-size: 0.95rem;
}

/* Send Message Section */
.send-message {
  background: white;
  padding: 2.5rem;
  border-radius: 1rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.send-message h2 {
  font-size: 1.75rem;
  font-weight: bold;
  color: var(--gray-900);
  margin-bottom: 2rem;
}

.contact-form .form-group {
  margin-bottom: 1.5rem;
}

.contact-form label {
  display: block;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 1rem;
  border: 1px solid #E5E7EB;
  border-radius: 0.5rem;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  background: #FAFAFA;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #3B82F6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
  background: white;
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

.btn-send-message {
  background: linear-gradient(135deg, #FF6B35 0%, #F7931E 100%);
  color: white;
  padding: 1rem 2rem;
  border: none;
  border-radius: 0.5rem;
  font-weight: bold;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  justify-content: center;
  width: 100%;
  box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.btn-send-message:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

.required-note {
  margin-top: 1rem;
  color: var(--gray-600);
  font-size: 0.875rem;
  text-align: center;
}

/* Map Section */
.map-section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.map-section-header h2 {
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--gray-900);
  margin-bottom: 1rem;
}

.map-section-header p {
  font-size: 1.125rem;
  color: var(--gray-600);
}

.location-section {
  background: white;
  border-radius: 1rem;
  padding: 2.5rem;
  margin-bottom: 3rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.location-section:last-child {
  margin-bottom: 0;
}

.location-section h3 {
  font-size: 1.75rem;
  font-weight: bold;
  color: var(--gray-900);
  margin-bottom: 2rem;
  text-align: center;
}

.map-container {
  width: 100%;
  height: 400px;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  margin-bottom: 2rem;
}

.how-to-reach {
  margin-top: 2rem;
}

.how-to-reach h4 {
  font-size: 1.25rem;
  font-weight: bold;
  color: var(--gray-900);
  margin-bottom: 1.5rem;
  text-align: center;
}

.reach-methods {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .reach-methods {
    grid-template-columns: repeat(3, 1fr);
  }
}

.reach-method {
  background: #F8F9FA;
  padding: 1.5rem;
  border-radius: 0.75rem;
  text-align: center;
}

.reach-method h5 {
  font-size: 1rem;
  font-weight: bold;
  color: var(--gray-900);
  margin-bottom: 0.75rem;
}

.reach-method p {
  color: var(--gray-600);
  font-size: 0.875rem;
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 768px) {
  .contact-hero h1 {
    font-size: 2.25rem;
  }
  
  .contact-hero p {
    font-size: 1rem;
  }
  
  .get-in-touch,
  .send-message {
    padding: 2rem;
  }
  
  .location-section {
    padding: 2rem;
  }
  
  .map-container {
    height: 300px;
  }
}

/* Footer */
.footer {
  background: var(--gray-900);
  color: white;
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 3rem 1rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr auto auto 1fr 1fr;
    gap: 2rem;
  }
}

.footer-section {
  margin-bottom: 1.5rem;
}

.footer-section.contact-merged {
  grid-column: span 2;
}

@media (max-width: 1023px) {
  .footer-section.contact-merged {
    grid-column: span 1;
  }
}

.footer h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: white;
}

.footer-section.contact-merged h3 {
  text-align: center;
}

.footer p {
  color: var(--gray-400);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer ul li {
  margin-bottom: 0.5rem;
}

.footer a {
  color: var(--gray-400);
  text-decoration: none;
  transition: color 0.3s;
}

.footer a:hover {
  color: white;
}

.social-icons {
  display: flex;
  gap: 1rem;
}

.social-icon {
  color: var(--gray-400);
  cursor: pointer;
  transition: color 0.3s;
  width: 20px;
  height: 20px;
}

.social-icon:hover.facebook {
  color: #3b82f6;
}

.social-icon:hover.twitter {
  color: #60a5fa;
}

.social-icon:hover.instagram {
  color: #ec4899;
}

.social-icon:hover.linkedin {
  color: #2563eb;
}

.footer-quick-links {
  min-width: 120px;
}

.footer-courses {
  min-width: 200px;
}

.contact-info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 1024px) {
  .contact-info-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-column {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.contact-item .icon {
  color: var(--gray-400);
  width: 20px;
  height: 20px;
  margin-top: 0.25rem;
  flex-shrink: 0;
}

.contact-item span {
  color: var(--gray-400);
  line-height: 1.5;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid #374151;
  color: var(--gray-400);
}



/* Modal Styles */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 0.75rem;
}

@media (min-width: 768px) {
  .modal-overlay {
    padding: 1rem;
  }
}

.modal-overlay.active {
  display: flex;
}

.modal-content {
  background: white;
  border-radius: 0.75rem;
  max-width: 28rem;
  width: 100%;
  max-height: 95vh;
  overflow-y: auto;
  position: relative;
  margin: auto;
}

@media (min-width: 768px) {
  .modal-content {
    max-width: 32rem;
    max-height: 90vh;
    border-radius: 0.5rem;
  }
}

.modal-header {
  padding: 1rem 1rem 0.75rem 1rem;
  border-bottom: 1px solid var(--gray-200);
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  background: white;
  z-index: 1;
}

@media (min-width: 768px) {
  .modal-header {
    padding: 1.5rem;
  }
}

.modal-header h2 {
  font-size: 1.25rem;
  font-weight: bold;
  color: var(--gray-900);
}

@media (min-width: 768px) {
  .modal-header h2 {
    font-size: 1.5rem;
  }
}

.modal-close {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--gray-600);
  padding: 0.5rem;
  border-radius: 0.375rem;
  transition: all 0.2s;
}

.modal-close:hover {
  color: var(--gray-900);
  background: var(--gray-100);
}

.modal-body {
  padding: 1rem;
}

@media (min-width: 768px) {
  .modal-body {
    padding: 1.5rem;
  }
}

.form-group {
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .form-group {
    margin-bottom: 1.25rem;
  }
}

.form-group label {
  display: block;
  font-weight: 500;
  color: var(--gray-700);
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

@media (min-width: 768px) {
  .form-group label {
    font-size: 1rem;
  }
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--gray-400);
  border-radius: 0.5rem;
  font-size: 0.9rem;
  color: var(--gray-900);
  transition: border-color 0.2s, box-shadow 0.2s;
  background: white;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

@media (min-width: 768px) {
  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 0.75rem 1rem;
    font-size: 1rem;
  }
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue-700);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-group select {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
  background-position: right 0.5rem center;
  background-repeat: no-repeat;
  background-size: 1.5em 1.5em;
  padding-right: 2.5rem;
}

.form-error {
  color: #DC2626;
  font-size: 0.8rem;
  margin-top: 0.25rem;
  line-height: 1.4;
}

@media (min-width: 768px) {
  .form-error {
    font-size: 0.875rem;
  }
}

.form-group textarea {
  min-height: 80px;
  resize: vertical;
  font-family: inherit;
  line-height: 1.5;
}

@media (min-width: 768px) {
  .form-group textarea {
    min-height: 100px;
  }
}

.btn-submit {
  width: 100%;
  padding: 0.875rem 1rem;
  background: linear-gradient(135deg, #8B5D33 0%, #6B4423 100%);
  color: white;
  border: none;
  border-radius: 0.5rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(139, 93, 51, 0.3);
  font-size: 0.95rem;
  margin-top: 0.5rem;
}

@media (min-width: 768px) {
  .btn-submit {
    padding: 1rem;
    font-size: 1rem;
  }
}

.btn-submit:hover {
  background: linear-gradient(135deg, #6B4423 0%, #5A3419 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(139, 93, 51, 0.4);
}

.btn-submit:disabled {
  background: var(--gray-400);
  cursor: not-allowed;
}

/* About Page Styles */
.about-hero {
  background: linear-gradient(135deg, #B89C3A 0%, #2C3E50 100%);
  color: white;
  padding: 8rem 1rem 6rem;
  text-align: center;
  position: relative;
}

.about-hero h1 {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.about-hero p {
  font-size: 1.25rem;
  opacity: 0.95;
  max-width: 600px;
  margin: 0 auto;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
}

/* Vision & Mission */
.vision-mission-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

@media (min-width: 768px) {
  .vision-mission-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
  }
}

.vision-card {
  background: #EFF6FF;
  padding: 2.5rem;
  border-radius: 1rem;
  border-left: 4px solid #3B82F6;
  transition: all 0.3s ease;
}

.mission-card {
  background: #FFF7ED;
  padding: 2.5rem;
  border-radius: 1rem;
  border-left: 4px solid #F97316;
  transition: all 0.3s ease;
}

.vision-card:hover,
.mission-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.vision-mission-header {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
}

.vision-mission-icon {
  margin-right: 1rem;
  flex-shrink: 0;
}

.vision-mission-header h2 {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--gray-900);
  margin: 0;
}

.vision-card p,
.mission-card p {
  color: var(--gray-700);
  line-height: 1.8;
  font-size: 1rem;
  margin: 0;
}

/* Journey Section */
.journey-content {
  background: white;
  border-radius: 1rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  padding: 3rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .journey-content {
    grid-template-columns: 2fr 1fr;
  }
}

.journey-header {
  display: flex;
  align-items: center;
  margin-bottom: 2rem;
}

.journey-header svg {
  margin-right: 1rem;
  flex-shrink: 0;
}

.journey-header h3 {
  font-size: 1.75rem;
  font-weight: bold;
  color: var(--gray-900);
  margin: 0;
}

.journey-description p {
  color: var(--gray-700);
  line-height: 1.8;
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

.journey-description p:last-child {
  margin-bottom: 0;
}

.milestones-card {
  background: linear-gradient(135deg, #8B5D33 0%, #6B4423 100%);
  color: white;
  padding: 2.5rem;
  border-radius: 1rem;
  box-shadow: 0 8px 25px rgba(139, 93, 51, 0.3);
}

.milestones-card h4 {
  font-size: 1.25rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
  color: white;
}

.milestones-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.milestone-item {
  display: flex;
  align-items: center;
}

.milestone-dot {
  width: 12px;
  height: 12px;
  background: #F97316;
  border-radius: 50%;
  margin-right: 1rem;
  flex-shrink: 0;
}

.milestone-item span {
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.95rem;
}

/* Faculty Grid */
.faculty-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 640px) {
  .faculty-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .faculty-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.faculty-card {
  background: white;
  border-radius: 1rem;
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.faculty-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.faculty-avatar {
  width: 120px;
  height: 120px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #8B5D33 0%, #6B4423 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(139, 93, 51, 0.3);
}

.faculty-card h3 {
  font-size: 1.125rem;
  font-weight: bold;
  color: var(--gray-900);
  margin-bottom: 0.5rem;
}

.faculty-designation {
  color: #F97316;
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 1rem;
  display: block;
}

.faculty-bio {
  color: var(--gray-600);
  font-size: 0.875rem;
  line-height: 1.6;
  margin: 0;
}

/* Why Choose Us */
.why-choose-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 4rem;
}

@media (min-width: 640px) {
  .why-choose-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .why-choose-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.why-choose-card {
  background: white;
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.why-choose-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.why-choose-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: rgba(59, 130, 246, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.why-choose-card h3 {
  font-size: 1.25rem;
  font-weight: bold;
  color: var(--gray-900);
  margin-bottom: 1rem;
}

.why-choose-card p {
  color: var(--gray-600);
  line-height: 1.6;
  font-size: 0.95rem;
  margin: 0;
}

/* Stats Banner */
.stats-banner {
  border-radius: 1rem;
  padding: 3rem 2rem;
  background: linear-gradient(135deg, #8B5D33 0%, #2C3E50 100%);
  color: white;
  margin-top: 3rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  text-align: center;
}

@media (min-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
  color: white;
}

.stat-label {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  font-weight: 500;
}

/* Contact Admissions Button */
.btn-contact-admissions {
  background: linear-gradient(135deg, #8B5D33 0%, #6B4423 100%);
  color: white;
  padding: 1rem 2.5rem;
  border-radius: 0.75rem;
  font-weight: bold;
  font-size: 1rem;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(139, 93, 51, 0.3);
}

.btn-contact-admissions:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(139, 93, 51, 0.4);
  text-decoration: none;
  color: white;
}

.text-center {
  text-align: center;
}

.text-center h2 {
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--gray-900);
  margin-bottom: 1.5rem;
}

.text-center p {
  font-size: 1.125rem;
  color: var(--gray-600);
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 768px) {
  .about-hero h1 {
    font-size: 2.25rem;
  }
  
  .about-hero p {
    font-size: 1rem;
  }
  
  .journey-content {
    padding: 2rem;
  }
  
  .milestones-card {
    padding: 2rem;
  }
  
  .stats-banner {
    padding: 2rem 1rem;
  }
  
  .stat-number {
    font-size: 2rem;
  }
}
.campus-gallery {
  max-width: 900px;
  margin: 0 auto;
}

.gallery-main {
  margin-bottom: 2rem;
}

.gallery-slider {
  position: relative;
  height: 400px;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.gallery-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}

.gallery-slide.active {
  opacity: 1;
}

/* Different background colors for each slide */
.gallery-slide[data-category="academic"] {
  background: linear-gradient(135deg, #3B82F6 0%, #1D4ED8 100%);
}

.gallery-slide[data-category="campus"] {
  background: linear-gradient(135deg, #10B981 0%, #047857 100%);
}

.gallery-slide[data-category="student"] {
  background: linear-gradient(135deg, #8B5CF6 0%, #7C3AED 100%);
}

.gallery-slide[data-category="achievement"] {
  background: linear-gradient(135deg, #F97316 0%, #EA580C 100%);
}

.gallery-slide-content {
  text-align: center;
  color: white;
  padding: 2rem;
}

.gallery-slide-icon {
  margin-bottom: 1.5rem;
}

.gallery-slide-icon svg {
  width: 64px;
  height: 64px;
  color: white;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.2));
}

.gallery-slide h3 {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 1rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.gallery-slide p {
  font-size: 1.125rem;
  opacity: 0.9;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
}

.gallery-navigation {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.75rem;
  z-index: 10;
}

.gallery-nav-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.4s ease;
  border: 2px solid rgba(255, 255, 255, 0.8);
}

.gallery-nav-dot:hover {
  background: rgba(255, 255, 255, 0.8);
  transform: scale(1.1);
}

.gallery-nav-dot.active {
  background: white;
  transform: scale(1.2);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.gallery-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

@media (max-width: 768px) {
  .gallery-tabs {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
}

@media (max-width: 480px) {
  .gallery-tabs {
    grid-template-columns: 1fr;
  }
}

.gallery-tab {
  background: white;
  border: 2px solid var(--gray-200);
  border-radius: 0.75rem;
  padding: 1rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--gray-600);
  font-weight: 500;
}

.gallery-tab:hover {
  border-color: #8B5D33;
  color: #8B5D33;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(139, 93, 51, 0.2);
}

.gallery-tab.active {
  background: #8B5D33;
  border-color: #8B5D33;
  color: white;
  box-shadow: 0 4px 20px rgba(139, 93, 51, 0.3);
}

.gallery-tab svg {
  transition: all 0.3s ease;
}

.gallery-tab span {
  font-size: 0.875rem;
  font-weight: 600;
}

@media (max-width: 480px) {
  .gallery-slider {
    height: 250px;
    border-radius: 0.75rem;
  }
  
  .gallery-slide h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
  }
  
  .gallery-slide p {
    font-size: 0.875rem;
    opacity: 0.95;
  }
  
  .gallery-slide-content {
    padding: 1.5rem;
  }
  
  .gallery-slide-icon svg {
    width: 48px;
    height: 48px;
  }
  
  .gallery-tab {
    padding: 0.625rem;
    gap: 0.375rem;
  }
  
  .gallery-tab span {
    font-size: 0.7rem;
  }
  
  .gallery-tab svg {
    width: 16px;
    height: 16px;
  }
}

@media (max-width: 640px) {
  .gallery-slider {
    height: 280px;
  }
  
  .gallery-slide h3 {
    font-size: 1.375rem;
  }
  
  .gallery-slide p {
    font-size: 0.95rem;
  }
  
  .gallery-tab {
    padding: 0.75rem;
  }
  
  .gallery-tab span {
    font-size: 0.75rem;
  }
}

@media (min-width: 641px) and (max-width: 768px) {
  .gallery-slider {
    height: 320px;
  }
  
  .gallery-slide h3 {
    font-size: 1.5rem;
  }
  
  .gallery-slide p {
    font-size: 1rem;
  }
}

/* Contact Page Styles */
.contact-info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .contact-info-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.contact-info-card {
  background: white;
  padding: 1.5rem;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.contact-info-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.contact-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.contact-info-card h3 {
  font-size: 1.25rem;
  font-weight: bold;
  color: var(--gray-900);
}

.contact-info-card p {
  color: var(--gray-600);
  line-height: 1.8;
}

/* About Page Styles */
.page-hero {
  padding: 5rem 1rem;
  background: linear-gradient(135deg, rgb(184, 156, 58) 0%, rgb(26, 53, 82) 100%);
  color: white;
  text-align: center;
}

.page-hero h1 {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.page-hero p {
  font-size: 1.25rem;
  color: var(--blue-100);
  max-width: 48rem;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .page-hero h1 {
    font-size: 3rem;
  }
}

.highlights-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .highlights-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .highlights-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.highlight-card {
  text-align: center;
  padding: 2rem 1rem;
  background: white;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.highlight-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1rem;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2rem;
}

.highlight-number {
  font-size: 2rem;
  font-weight: bold;
  color: var(--orange);
  margin-bottom: 0.5rem;
}

.highlight-card h3 {
  font-size: 1.125rem;
  font-weight: bold;
  color: var(--gray-900);
}

/* Faculty Cards */
.faculty-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .faculty-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .faculty-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.faculty-card {
  background: white;
  border-radius: 0.5rem;
  padding: 1.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.faculty-image {
  width: 150px;
  height: 150px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  overflow: hidden;
}

.faculty-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.faculty-card h3 {
  font-size: 1.25rem;
  font-weight: bold;
  color: var(--gray-900);
  margin-bottom: 0.5rem;
}

.faculty-designation {
  color: var(--orange);
  font-weight: 600;
  margin-bottom: 1rem;
  font-size: 0.875rem;
}

.faculty-bio {
  color: var(--gray-600);
  font-size: 0.875rem;
}

/* Course Detail Page */
.course-detail-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.course-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2.5rem;
}

.course-info h2 {
  font-size: 2rem;
  font-weight: bold;
  color: var(--gray-900);
  margin-bottom: 0.5rem;
}

.course-meta {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.course-meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gray-600);
}

.course-section {
  background: white;
  padding: 2rem;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
}

.course-section h3 {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--gray-900);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.course-section ul {
  list-style: none;
  padding: 0;
}

.course-section li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: var(--gray-600);
}

.course-section li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--orange);
  font-weight: bold;
}

/* FAQ Styles */
.faq-container {
  max-width: 48rem;
  margin: 0 auto;
}

.faq-item {
  background: white;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 1.25rem;
  background: white;
  border: none;
  text-align: left;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--gray-900);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.3s;
}

.faq-question:hover {
  background: var(--gray-50);
}

.faq-icon {
  transition: transform 0.3s;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

.faq-answer-content {
  padding: 0 1.25rem 1.25rem;
  color: var(--gray-600);
}

/* Utility Classes */
.hidden {
  display: none;
}

.text-center {
  text-align: center;
}

.mt-4 {
  margin-top: 1rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

/* Animation Classes */
.fade-in {
  animation: fadeIn 0.6s ease-in;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Loading State */
.loading {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: white;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Responsive images and performance */
img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

/* Lazy loading improvements */
img[loading="lazy"] {
  opacity: 0;
  transition: opacity 0.3s;
}

img[loading="lazy"].loaded,
img:not([loading]) {
  opacity: 1;
}

/* Course card images */
.course-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px 8px 0 0;
}

@media (max-width: 640px) {
  .course-card img {
    height: 160px;
  }
}

/* Gallery images responsive */
.gallery-image {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  border-radius: 12px;
}

@media (max-width: 768px) {
  .gallery-image {
    max-height: 250px;
  }
}

@media (max-width: 480px) {
  .gallery-image {
    max-height: 200px;
  }
}

/* Hero banner responsive */
.hero-banner img,
.hero-chalkboard img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

@media (max-width: 768px) {
  .hero-banner img {
    height: 300px;
  }
  
  .hero-chalkboard img {
    height: 250px;
  }
}

@media (max-width: 480px) {
  .hero-banner img {
    height: 200px;
  }
  
  .hero-chalkboard img {
    height: 150px;
  }
}

/* Print styles for better printing */
@media print {
  .navbar,
  .footer,
  .modal-overlay,
  .btn-apply,
  .contact-banner {
    display: none;
  }
  
  * {
    box-shadow: none !important;
  }
  
  body {
    color: black !important;
    background: white !important;
  }
  
  .section {
    padding: 1rem 0;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  :root {
    --gray-600: #000;
    --gray-700: #000;
    --gray-900: #000;
  }
  
  .btn-primary,
  .btn-secondary,
  .btn-learn-more {
    border: 2px solid;
  }
}
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Success Message */
.success-message {
  background: #10B981;
  color: white;
  padding: 1rem;
  border-radius: 0.375rem;
  margin-bottom: 1rem;
  text-align: center;
}

/* Smooth Scroll */
html {
  scroll-behavior: smooth;
}
