/* Base Styles */
:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --accent-hover: #c0392b;
    --text-color: #333;
    --text-light: #ecf0f1;
    --bg-light: #f5f5f5;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    --transition: 0.3s ease;
    --container-width: 1200px;
  }
  
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  html {
    scroll-behavior: smooth;
  }
  
  body {
    color: var(--text-color);
    line-height: 1.6;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow-x: hidden;
  }
  
  .container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
  }
  
  img {
    max-width: 100%;
    height: auto;
  }
  
  /* Header and Navigation */
  header {
    background-color: #2c3e50;
    color: white;
    padding: 0.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  }
  
  .logo img {
    height: 70px;
    margin-right: 1rem;
  }
  
  nav {
    display: flex;
    align-items: center;
  }
  
  nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
  }
  
  nav ul li {
    position: relative;
    margin: 0 0.8rem;
  }
  
  nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 1rem 0;
    display: block;
    transition: color 0.3s;
  }
  
  nav ul li a:hover {
    color: #3498db;
  }
  
  .dropdown {
    position: relative;
  }
  
  .dropdown-content {
    display: none;
    position: absolute;
    background-color: white;
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    z-index: 1;
    top: 100%;
    left: 0;
  }
  
  .dropdown-content a {
    color: #333;
    padding: 12px 16px;
    display: block;
    text-decoration: none;
    transition: background-color 0.3s;
  }
  
  .dropdown-content a:hover {
    background-color: #f1f1f1;
    color: #3498db;
  }
  
  .dropdown:hover .dropdown-content {
    display: block;
  }
  
  .btn-signin {
    background-color: #e74c3c;
    color: white;
    padding: 0.5rem 1.5rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.3s;
    margin-left: 2rem;
  }
  
  .btn-signin:hover {
    background-color: #c0392b;
  }
  
  .mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: white;
    cursor: pointer;
  }
  
  /* Footer Styles */
  footer {
    background-color: var(--primary-color);
    color: white;
    padding: 4rem 0 0;
  }
  
  .footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2rem;
  }
  
  .footer-section {
    flex: 1;
    min-width: 250px;
  }
  
  .footer-section h3 {
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    position: relative;
    padding-bottom: 0.8rem;
  }
  
  .footer-section h3:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background-color: var(--secondary-color);
  }
  
  .footer-section p {
    margin-bottom: 1rem;
    color: var(--text-light);
  }
  
  .footer-section p i {
    margin-right: 10px;
    color: var(--secondary-color);
  }
  
  .footer-section address {
    font-style: normal;
  }
  
  .footer-section address a {
    color: var(--text-light);
    text-decoration: none;
    transition: color var(--transition);
  }
  
  .footer-section address a:hover {
    color: var(--secondary-color);
  }
  
  .social-icons {
    display: flex;
    gap: 15px;
    margin-top: 1.5rem;
  }
  
  .social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    background-color: rgba(255, 255, 255, 0.1);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.2rem;
    text-decoration: none;
    transition: background-color var(--transition), transform var(--transition);
  }
  
  .social-icons a:hover {
    background-color: var(--secondary-color);
    transform: translateY(-5px);
  }
  
  .copyright {
    margin-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 0;
    text-align: center;
    width: 100%;
    color: var(--text-light);
  }
  
  /* Hero Section */
  .hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url("Resource/hero-bg.jpg") no-repeat center/cover;
    padding: 8rem 0;
    color: white;
    text-align: center;
  }
  
  .hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: fadeInDown 1s ease;
  }
  
  .hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1s ease 0.3s;
    animation-fill-mode: both;
  }
  
  .btn-primary {
    background-color: var(--accent-color);
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: background-color var(--transition), transform var(--transition);
    animation: fadeInUp 1s ease 0.6s;
    animation-fill-mode: both;
  }
  
  .btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-3px);
  }
  
  /* Section Titles */
  .section-title {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.2rem;
    position: relative;
    padding-bottom: 1rem;
  }
  
  .section-title:after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background-color: var(--accent-color);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
  }
  
  /* Programs Section */
  .programs {
    padding: 5rem 0;
    background-color: var(--bg-light);
  }
  
  .program-cards {
    display: flex;
    flex-direction: column;
    gap: 3rem;
  }
  
  .program-card {
    display: flex;
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform var(--transition);
  }
  
  .program-card:hover {
    transform: translateY(-5px);
  }
  
  .program-image {
    flex: 1;
    min-height: 400px;
    max-width: 40%;
  }
  
  .program-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .program-content {
    flex: 1.5;
    padding: 2rem;
  }
  
  .program-content h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
  }
  
  .program-tagline {
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 1rem;
  }
  
  .program-highlights {
    display: flex;
    gap: 1.5rem;
    margin: 1.5rem 0;
  }
  
  .highlight {
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }
  
  .highlight i {
    color: var(--secondary-color);
    font-size: 1.2rem;
  }
  
  .btn-secondary {
    background-color: transparent;
    color: var(--accent-color);
    padding: 0.5rem 1.5rem;
    border: 2px solid var(--accent-color);
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: background-color var(--transition), color var(--transition);
  }
  
  .btn-secondary:hover {
    background-color: var(--accent-color);
    color: white;
  }
  
  /* Timeline Section */
  .timeline {
    padding: 5rem 0;
    background-color: white;
  }
  
  .timeline-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
  }
  
  .timeline-container:before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    height: 100%;
    width: 4px;
    background-color: var(--secondary-color);
  }
  
  .timeline-item {
    padding: 1.5rem 0;
    position: relative;
    width: 50%;
    margin-left: 50%;
  }
  
  .timeline-item:nth-child(even) {
    margin-left: 0;
  }
  
  .timeline-dot {
    position: absolute;
    left: -42px;
    top: 30px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: var(--accent-color);
    border: 4px solid white;
  }
  
  .timeline-item:nth-child(even) .timeline-dot {
    left: auto;
    right: -42px;
  }
  
  .timeline-content {
    padding: 1.5rem;
    background-color: white;
    border-radius: 8px;
    box-shadow: var(--shadow);
  }
  
  .timeline-content h3 {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
  }
  
  .timeline-content h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
  }
  
  /* Testimonials Section */
  .testimonials {
    padding: 5rem 0;
    background-color: var(--bg-light);
  }
  
  .testimonial-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
  }
  
  .testimonial-slide {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    transition: opacity var(--transition);
  }
  
  .testimonial-slide.active {
    opacity: 1;
    position: relative;
  }
  
  .testimonial-content {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
  }
  
  .testimonial-content p {
    font-style: italic;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
  }
  
  .testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
  }
  
  .testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
  }
  
  .testimonial-author h4 {
    margin-bottom: 0.25rem;
    color: var(--primary-color);
  }
  
  .slider-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin-top: 2rem;
  }
  
  .prev-btn, .next-btn {
    background-color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow);
    transition: background-color var(--transition);
  }
  
  .prev-btn:hover, .next-btn:hover {
    background-color: var(--secondary-color);
    color: white;
  }
  
  .slider-dots {
    display: flex;
    gap: 0.5rem;
  }
  
  .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ddd;
    cursor: pointer;
    transition: background-color var(--transition);
  }
  
  .dot.active {
    background-color: var(--secondary-color);
  }
  
  /* CTA Section */
  .cta {
    padding: 5rem 0;
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url("Resource/cta-bg.jpg") no-repeat center/cover;
    color: white;
    text-align: center;
  }
  
  .cta h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
  }
  
  .cta p {
    max-width: 600px;
    margin: 0 auto 2rem;
    font-size: 1.1rem;
  }
  
  .cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
  }
  
  .cta-buttons .btn-secondary {
    color: white;
    border-color: white;
  }
  
  .cta-buttons .btn-secondary:hover {
    background-color: white;
    color: var(--primary-color);
  }
  
  /* Mobile Menu */
  .mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 98;
    display: none;
  }
  
  /* Animations */
  @keyframes fadeInDown {
    from {
      opacity: 0;
      transform: translateY(-30px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(30px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  /* Media Queries */
  @media (max-width: 992px) {
    .program-card {
      flex-direction: column;
    }
    
    .program-image {
      max-width: 100%;
      min-height: 300px;
    }
    
    nav {
      padding-left: 0;
    }
    
    .btn-signin {
      margin-left: 1rem;
    }
  }
  
  @media (max-width: 768px) {
    .mobile-menu-btn {
      display: block;
    }
    
    nav {
      position: fixed;
      top: 0;
      right: -300px;
      width: 250px;
      height: 100vh;
      background-color: var(--primary-color);
      padding: 80px 20px 0;
      transition: right var(--transition);
      z-index: 99;
    }
    
    nav.active {
      right: 0;
    }
    
    nav ul {
      flex-direction: column;
    }
    
    nav ul li {
      margin: 0.5rem 0;
    }
    
    .dropdown-content {
      position: static;
      width: 100%;
      display: none;
      box-shadow: none;
      padding-left: 1rem;
    }
    
    .dropdown.active .dropdown-content {
      display: block;
    }
    
    .btn-signin {
      margin-left: 0;
    }
    
    .timeline-container:before {
      left: 30px;
    }
    
    .timeline-item {
      width: 100%;
      margin-left: 0;
      padding-left: 50px;
    }
    
    .timeline-dot {
      left: 20px;
    }
    
    .timeline-item:nth-child(even) .timeline-dot {
      left: 20px;
      right: auto;
    }
    
    .hero h1 {
      font-size: 2.2rem;
    }
    
    .cta-buttons {
      flex-direction: column;
      align-items: center;
    }
  }
  
  @media (max-width: 576px) {
    .footer-content {
      flex-direction: column;
    }
    
    .footer-section {
      min-width: 100%;
    }
    
    .testimonial-author {
      flex-direction: column;
      text-align: center;
    }
  }