/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --secondary: #dc2626;
  --dark: #111827;
  --light: #f8fafc;
  --gray: #6b7280;
  --gold: #ffd700;
  --silver: #c0c0c0;
  --bronze: #cd7f32;
  --gradient: linear-gradient(135deg, #2563eb, #3b82f6);
  --shadow: 0 10px 30px rgba(37, 99, 235, 0.15);
  --card-shadow: 0 15px 35px rgba(37, 99, 235, 0.1);
  --transition: all 0.3s ease;
}
body {
  font-family: 'Open Sans', sans-serif;
  line-height: 1.6;
  color: var(--dark);
  background-color: var(--light);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  line-height: 1.3;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header Styles */
header {
  background-color: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
  max-width: 1400px;
  margin: 0 auto;
}

.logo img {
  height: 50px;
}

/* Navigation Styles */
nav {
  position: relative;
}

.nav-menu {
  display: flex;
  gap: 30px;
  position: relative;
}

.nav-menu a {
  font-weight: 600;
  font-size: 16px;
  color: var(--primary);
  position: relative;
  padding: 8px 16px;
  transition: var(--transition);
  border-radius: 4px;
}

.nav-menu a:hover {
  color: var(--dark);
  background-color: rgba(50, 181, 183, 0.1);
}

/* Active link styling */
.nav-menu a.active {
  color: var(--dark);
  font-weight: 700;
  background-color: rgba(50, 181, 183, 0.15);
}

/* Moving underline */
.nav-underline {
  position: absolute;
  bottom: -2px;
  height: 3px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 2px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
  transform: translateY(5px);
}

.nav-underline.active {
  opacity: 1;
  transform: translateY(0);
}

.nav-toggle {
  display: none;
}

.nav-toggle-label {
  display: none;
}
  
/* Responsive navigation */
@media (max-width: 768px) {
  nav ul {
    
    background-image: none;
    position: relative;
    height: 22px;
    width: 22px;
    display: inline-block;
    vertical-align: middle;
    background-repeat: no-repeat;
    background-position: 50%;
    background-size: 100%;
    background-color: #32b5b7;
  }

  nav ul.show {
    display: flex;
  }

  nav ul li {
    margin: 10px 0;
    text-align: center;
  }

  .menu-toggle {
    display: block;
    cursor: pointer;
  }
  
  /* Hide moving underline on mobile */
  .nav-underline {
    display: none;
  }
  
  /* Mobile active link with static underline */
  .nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 3px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 2px;
  }
}

.menu-toggle {
  display: none;
  font-size: 24px;
  color: white;
}

main {
  flex: 1;
}

/* Call to Action Section */
.cta-section {
  background: var(--gradient);
  padding: 80px 0;
  color: white;
  text-align: center;
}

.cta-content {
  max-width: 700px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.cta-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  opacity: 0.9;
}

.cta-button {
  display: inline-block;
  background: white;
  color: var(--primary);
  padding: 15px 40px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.1rem;
  transition: var(--transition);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.cta-button:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

/* Footer */
footer {
  background: var(--dark);
  color: white;
}

.footer-top {
  padding: 80px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
}

.footer-logo {
  height: 50px;
  margin-bottom: 20px;
}

.footer-info p {
  margin-bottom: 25px;
  opacity: 0.8;
  line-height: 1.8;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--primary);
  transform: translateY(-5px);
}

.footer-contact h3,
.footer-links h3,
.footer-newsletter h3 {
  font-size: 1.3rem;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 15px;
}

.footer-contact h3::after,
.footer-links h3::after,
.footer-newsletter h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: var(--primary);
}

.footer-contact ul li {
  margin-bottom: 15px;
  display: flex;
  align-items: flex-start;
}

.footer-contact ul li i {
  margin-right: 15px;
  color: var(--primary);
}

.footer-links ul li {
  margin-bottom: 12px;
}

.footer-links ul li a {
  opacity: 0.8;
  transition: var(--transition);
}

.footer-links ul li a:hover {
  opacity: 1;
  color: var(--primary);
  padding-left: 5px;
}

.footer-newsletter p {
  margin-bottom: 20px;
  opacity: 0.8;
}

.newsletter-form {
  display: flex;
  height: 50px;
}

.newsletter-form input {
  flex: 1;
  padding: 0 20px;
  border: none;
  border-radius: 25px 0 0 25px;
  font-family: inherit;
}

.newsletter-form button {
  width: 50px;
  background: var(--primary);
  border: none;
  border-radius: 0 25px 25px 0;
  color: white;
  cursor: pointer;
  transition: var(--transition);
}

.newsletter-form button:hover {
  background: var(--primary-dark);
}

.footer-bottom {
  padding: 20px 0;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  opacity: 0.7;
  font-size: 0.9rem;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .hero-content h1 {
    font-size: 3rem;
  }
  
  .students-gallery {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  /* Header Improvements */
  .header-container {
    padding: 16px 24px;
    background: transparent;
    border-bottom: none;
    position: sticky;
    top: 0;
    z-index: 1000;
  }
  
  /* Professional Hamburger Menu */
  .nav-toggle-label {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 32px;
    height: 32px;
    cursor: pointer;
    position: relative;
    z-index: 1002;
    padding: 4px;
  }
  
  .nav-toggle-label span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--dark);
    border-radius: 1px;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
  }
  
  .nav-toggle-label span::before,
  .nav-toggle-label span::after {
    content: '';
    position: absolute;
    left: 0;
    width: 24px;
    height: 2px;
    background: var(--dark);
    border-radius: 1px;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  }
  
  .nav-toggle-label span::before {
    top: -7px;
  }
  
  .nav-toggle-label span::after {
    top: 7px;
  }
  
  /* Hamburger Animation */
  .nav-toggle:checked ~ .nav-toggle-label span {
    background: transparent;
  }
  
  .nav-toggle:checked ~ .nav-toggle-label span::before {
    transform: rotate(45deg);
    top: 0;
  }
  
  .nav-toggle:checked ~ .nav-toggle-label span::after {
    transform: rotate(-45deg);
    top: 0;
  }
  
  /* Professional Mobile Menu with Transparent Background */
  .nav-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: transparent;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 32px;
    padding: 80px 40px 40px;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 1001;
  }
  
  .nav-toggle:checked ~ .nav-menu {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  
  /* Menu Items Styling */
  .nav-menu li {
    list-style: none;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
  }
  
  .nav-toggle:checked ~ .nav-menu li {
    opacity: 1;
    transform: translateY(0);
  }
  
  .nav-toggle:checked ~ .nav-menu li:nth-child(1) { transition-delay: 0.1s; }
  .nav-toggle:checked ~ .nav-menu li:nth-child(2) { transition-delay: 0.15s; }
  .nav-toggle:checked ~ .nav-menu li:nth-child(3) { transition-delay: 0.2s; }
  .nav-toggle:checked ~ .nav-menu li:nth-child(4) { transition-delay: 0.25s; }
  .nav-toggle:checked ~ .nav-menu li:nth-child(5) { transition-delay: 0.3s; }
  
  .nav-menu a {
    display: block;
    font-size: 18px;
    font-weight: 500;
    color: var(--dark);
    text-decoration: none;
    padding: 16px 24px;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    letter-spacing: 0.5px;
    min-width: 200px;
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
  }
  
  .nav-menu a:hover {
    background: rgba(255, 255, 255, 0.2);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
  }
  
  /* Hero Section Professional Styling */
  .hero-content {
    padding: 60px 24px 40px;
    text-align: center;
    max-width: 100%;
    background: transparent;
  }
  
  .hero-content h1 {
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
    color: var(--text-heading);
    letter-spacing: -0.02em;
  }
  
  .hero-content p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 32px;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
  }
  
  .hero-btn {
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
    min-width: 200px;
    text-align: center;
    border: 2px solid transparent;
  }
  
  .hero-btn-primary {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  }
  
  .hero-btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  }
  
  .hero-btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }
  
  .hero-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--primary-color);
    transform: translateY(-2px);
    border-color: var(--primary-hover);
  }
  
  /* Filter Section Professional Styling */
  .filter-section {
    padding: 50px 24px;
    background: transparent;
  }
  
  .filter-section h2 {
    font-size: 1.875rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 32px;
    color: var(--text-heading);
    letter-spacing: -0.02em;
  }
  
  .filter-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
  }
  
  .filter-btn {
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
  }
  
  .filter-btn:hover,
  .filter-btn.active {
    background: rgba(255, 255, 255, 0.2);
    color: var(--primary-color);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  }
  
  /* Students Gallery Professional Grid */
  .students-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    padding: 0 24px;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .student-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
  }
  
  .student-card:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
  }
  
  .student-card img {
    width: 100%;
    height: 240px;
    object-fit: cover;
  }
  
  .student-info {
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
  }
  
  .student-name {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-heading);
    margin-bottom: 4px;
  }
  
  .student-course {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
  }
  
  /* CTA Section Professional Styling */
  .cta-section {
    padding: 80px 24px;
    background: transparent;
    text-align: center;
    position: relative;
    overflow: hidden;
  }
  
  .cta-content {
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 40px 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .cta-content h2 {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 16px;
    letter-spacing: -0.02em;
  }
  
  .cta-content p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 32px;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
  }
  
  .cta-button {
    display: inline-block;
    padding: 16px 32px;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border: 2px solid transparent;
  }
  
  .cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    background: var(--primary-hover);
  }
}

/* Small Mobile Devices */
@media (max-width: 480px) {
  .header-container {
    padding: 12px 20px;
    background: transparent;
  }
  
  .nav-menu {
    padding: 60px 20px 40px;
    gap: 24px;
    background: transparent;
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
  }
  
  .nav-menu a {
    font-size: 16px;
    min-width: 180px;
    padding: 14px 20px;
    background: rgba(255, 255, 255, 0.15);
  }
  
  .hero-content {
    padding: 40px 20px 30px;
    background: transparent;
  }
  
  .hero-content h1 {
    font-size: 1.875rem;
  }
  
  .hero-content p {
    font-size: 15px;
    color: var(--primary);
  }
  
  .hero-btn {
    min-width: 180px;
    padding: 12px 24px;
    font-size: 15px;
  }
  
  .filter-section {
    padding: 40px 20px;
    background: transparent;
  }
  
  .filter-section h2 {
    font-size: 1.625rem;
  }
  
  .students-gallery {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 20px;
  }
  
  .cta-section {
    padding: 60px 20px;
    background: transparent;
  }
  
  .cta-content {
    padding: 30px 20px;
    background: rgba(255, 255, 255, 0.08);
  }
  
  .cta-content h2 {
    font-size: 1.625rem;
  }
  
  .cta-content p {
    font-size: 15px;
  }
  
  .cta-button {
    padding: 14px 28px;
    font-size: 15px;
  }
}

/* Prevent body scroll when menu is open */
body:has(.nav-toggle:checked) {
  overflow: hidden;
}

/* Focus states for accessibility */
.nav-toggle-label:focus-visible {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
  border-radius: 4px;
}

.nav-menu a:focus-visible,
.hero-btn:focus-visible,
.filter-btn:focus-visible,
.cta-button:focus-visible {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Loading states */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Fallback for browsers that don't support backdrop-filter */
@supports not (backdrop-filter: blur(10px)) {
  .nav-menu {
    background: rgba(255, 255, 255, 0.95);
  }
  
  .nav-menu a {
    background: rgba(255, 255, 255, 0.8);
  }
  
  .student-card {
    background: rgba(255, 255, 255, 0.9);
  }
  
  .filter-btn {
    background: rgba(255, 255, 255, 0.8);
  }
  
  .cta-content {
    background: rgba(255, 255, 255, 0.9);
  }
}
@media (max-width: 576px) {
  .hero-content h1 {
    font-size: 2rem;
    color: var(--primary);
  }
  
  .filter-button {
    padding: 10px 20px;
    font-size: 14px;
  }
  
  .students-gallery {
    grid-template-columns: 1fr;
  }
  
  .student-card {
    max-width: 350px;
    margin: 0 auto;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-info, .footer-contact, .footer-links, .footer-newsletter {
    text-align: center;
  }
  
  .footer-contact h3::after,
  .footer-links h3::after,
  .footer-newsletter h3::after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .social-links {
    justify-content: center;
  }
  
  .footer-contact ul li {
    justify-content: center;
  }
  
  .newsletter-form {
    max-width: 300px;
    margin: 0 auto;
  }
}

@media (max-width: 500px) {
  .student-card {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
  }
}