/* ===== Responsive Navbar CSS ===== */
:root {
  --navy: #1D2D44;
  --yellow: #FFC30B;
  --white: #FFFFFF;
  --black: #111111;
  --grey: #7D7D7D;
}

/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Montserrat', sans-serif;
}

body {
  background-color: var(--white);
  color: var(--black);
  line-height: 1.6;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header & Navbar Styles */
header {
    background-color: var(--navy);
    color: var(--white);
    padding: 15px 30px;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  }
  
  .header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1300px;
    margin: 0 auto;
  }
  
  .logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 26px;
    color: var(--yellow);
    text-decoration: none;
    letter-spacing: 1px;
  }
  
  /* Desktop Navigation */
  nav ul {
    display: flex;
    list-style: none;
    align-items: center;
    margin: 0;
    padding: 0;
    gap: 20px;
  }
  
  nav ul li {
    position: relative;
  }
  
  nav ul li a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    padding: 8px 5px;
    display: block;
    transition: color 0.3s ease;
    font-size: 16px;
    position: relative;
  }
  
  nav ul li a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 0%;
    height: 2px;
    background: var(--yellow);
    transition: width 0.3s ease;
  }
  
  nav ul li a:hover::after,
  nav ul li a.active::after {
    width: 100%;
  }
  
  nav ul li a:hover {
    color: var(--yellow);
  }
  
  /* Auth Buttons */
  .nav-auth-btn {
    background: var(--yellow);
    color: var(--navy);
    border: none;
    padding: 8px 14px;
    border-radius: 20px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
  }
  
  .nav-auth-btn:hover {
    background: #ffd84d;
  }
  
  .nav-auth-btn.logout {
    background: transparent;
    color: var(--white);
    border: 1px solid var(--white);
  }
  
  .nav-auth-btn.logout:hover {
    background: rgba(255, 255, 255, 0.1);
  }
  
  /* Mobile Menu Button */
  .mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1100;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
  }
  
  .mobile-menu-btn .bar {
    display: block;
    width: 26px;
    height: 3px;
    background-color: var(--white);
    margin: 4px 0;
    border-radius: 2px;
    transition: all 0.3s ease;
  }
  
  /* Mobile Navigation */
  @media (max-width: 992px) {
    .mobile-menu-btn {
      display: flex;
    }
  
    nav {
      position: fixed;
      top: 0;
      left: -100%;
      width: 260px;
      height: 100vh;
      background-color: var(--navy);
      padding: 80px 20px;
      transition: all 0.4s ease;
      z-index: 1050;
      box-shadow: 2px 0 15px rgba(0, 0, 0, 0.3);
    }
  
    nav.active {
      left: 0;
    }
  
    nav ul {
      flex-direction: column;
      gap: 15px;
    }
  
    nav ul li a {
      font-size: 18px;
      padding: 10px 0;
    }
  
    /* Animate hamburger to X */
    .mobile-menu-btn.active .bar:nth-child(1) {
      transform: translateY(7px) rotate(45deg);
    }
    .mobile-menu-btn.active .bar:nth-child(2) {
      opacity: 0;
    }
    .mobile-menu-btn.active .bar:nth-child(3) {
      transform: translateY(-7px) rotate(-45deg);
    }
  
    /* Dark overlay when menu is open */
    body.menu-open::before {
      content: "";
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.6);
      z-index: 1040;
    }
  }
  
        
        /* Hero Section */
        .hero {
            background-image: linear-gradient(rgba(29, 45, 68, 0.8), rgba(29, 45, 68, 0.8)), url('https://images.unsplash.com/photo-1605152276897-4f618f831968?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
            background-size: cover;
            background-position: center;
            color: var(--white);
            padding: 100px 0;
            text-align: center;
        }
        
        .hero h1 {
            font-size: 2.5rem;
            margin-bottom: 20px;
            font-weight: 700;
        }
        
        .hero p {
            font-size: 1.2rem;
            max-width: 800px;
            margin: 0 auto 30px;
        }
        
        .cta-buttons {
            display: flex;
            justify-content: center;
            gap: 20px;
            flex-wrap: wrap;
        }
        
        .btn {
            display: inline-block;
            padding: 12px 30px;
            border-radius: 50px;
            font-weight: 600;
            text-decoration: none;
            transition: all 0.3s;
        }
        
        .btn-primary {
            background-color: var(--yellow);
            color: var(--navy);
        }
        
        .btn-primary:hover {
            background-color: var(--white);
            transform: translateY(-3px);
        }
        
        .btn-secondary {
            background-color: transparent;
            color: var(--white);
            border: 2px solid var(--white);
        }
        
        .btn-secondary:hover {
            background-color: var(--white);
            color: var(--navy);
            transform: translateY(-3px);
        }
        
        /* About Section */
        .about {
            padding: 80px 0;
            background-color: var(--white);
        }
        
        .section-title {
            text-align: center;
            margin-bottom: 50px;
            color: var(--navy);
            font-size: 2rem;
            font-weight: 700;
        }
        
        .about-content {
            display: flex;
            align-items: center;
            gap: 40px;
            flex-wrap: wrap;
        }
        
        .about-image {
            flex: 1;
            min-width: 300px;
        }
        
        .about-image img {
            width: 100%;
            border-radius: 10px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        }
        
        .about-text {
            flex: 1;
            min-width: 300px;
        }
        
        .about-text h3 {
            font-size: 1.8rem;
            color: var(--navy);
            margin-bottom: 20px;
        }
        
        .about-text p {
            color: var(--grey);
            margin-bottom: 20px;
        }
        
        /* Products Section */
        .products {
            padding: 80px 0;
            background-color: #f8f9fa;
        }
        
        .products-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 30px;
        }
        
        .product-card {
            background-color: var(--white);
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
            transition: transform 0.3s;
        }
        
        .product-card:hover {
            transform: translateY(-10px);
        }
        
        .product-content {
            padding: 20px;
        }
        
        .product-content h3 {
            color: var(--navy);
            margin-bottom: 10px;
        }
        
        .product-content p {
            color: var(--grey);
            margin-bottom: 15px;
        }

        .product-image {
            height: 200px;
            background-color: var(--grey);
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--white);
            font-size: 3rem;
        }
        
        /* Education Section */
        .education {
            padding: 80px 0;
            background-color: var(--navy);
            color: var(--white);
        }
        
        .education-content {
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
        }
        
        .education-content h2 {
            margin-bottom: 20px;
        }
        
        .education-content p {
            max-width: 700px;
            margin-bottom: 30px;
        }
        
        .video-container {
            position: relative;
            width: 100%;
            max-width: 800px;
            margin: 0 auto;
        }
        
        .video-container iframe {
            width: 100%;
            height: 450px;
            border: none;
            border-radius: 10px;
        }
        
        /* Contact Section */
        .contact {
            padding: 80px 0;
            background-color: var(--white);
        }
        
        .contact-container {
            display: flex;
            gap: 40px;
            flex-wrap: wrap;
        }
        
        .contact-info {
            flex: 1;
            min-width: 300px;
        }
        
        .contact-info h3 {
            color: var(--navy);
            margin-bottom: 20px;
            font-size: 1.5rem;
        }
        
        .contact-details {
            margin-bottom: 30px;
        }
        
        .contact-details p {
            margin-bottom: 10px;
            color: var(--grey);
        }
        
        .contact-details a {
            color: var(--navy);
            text-decoration: none;
            transition: color 0.3s;
        }
        
        .contact-details a:hover {
            color: var(--yellow);
        }
        
        .contact-form {
            flex: 1;
            min-width: 300px;
        }
        
        .form-group {
            margin-bottom: 20px;
        }
        
        .form-group label {
            display: block;
            margin-bottom: 5px;
            color: var(--navy);
            font-weight: 600;
        }
        
        .form-group input,
        .form-group textarea {
            width: 100%;
            padding: 10px;
            border: 1px solid var(--grey);
            border-radius: 5px;
        }
        
        .form-group textarea {
            height: 150px;
        }
        
        /* Footer */
        footer {
            background-color: var(--black);
            color: var(--white);
            padding: 50px 0 20px;
        }
        
        .footer-container {
            display: flex;
            justify-content: space-between;
            flex-wrap: wrap;
            gap: 40px;
            margin-bottom: 30px;
        }
        
        .footer-col {
            flex: 1;
            min-width: 200px;
        }
        
        .footer-col h3 {
            color: var(--yellow);
            margin-bottom: 20px;
            font-size: 1.2rem;
        }
        
        .footer-col ul {
            list-style: none;
        }
        
        .footer-col ul li {
            margin-bottom: 10px;
        }
        
        .footer-col ul li a {
            color: var(--white);
            text-decoration: none;
            transition: color 0.3s;
        }
        
        .footer-col ul li a:hover {
            color: var(--yellow);
        }
        
        .social-links {
            display: flex;
            gap: 15px;
        }
        
        .social-links a {
            color: var(--white);
            font-size: 1.5rem;
            transition: color 0.3s;
        }
        
        .social-links a:hover {
            color: var(--yellow);
        }
        
        .copyright {
            text-align: center;
            padding-top: 20px;
            border-top: 1px solid var(--grey);
            color: var(--grey);
        }
        
        /* Mobile Responsiveness */
        @media (max-width: 768px) {
            .header-container {
                flex-direction: column;
                text-align: center;
            }
            
            nav ul {
                margin-top: 20px;
                flex-direction: column;
                align-items: center;
            }
            
            nav ul li {
                margin: 10px 0;
            }
            
            .hero h1 {
                font-size: 2rem;
            }
            
            .hero p {
                font-size: 1rem;
            }
            
            .cta-buttons {
                flex-direction: column;
                align-items: center;
            }
            
            .btn {
                width: 100%;
                max-width: 250px;
                margin-bottom: 10px;
            }
            
            .video-container iframe {
                height: 250px;
            }
        }

        /* Carousel Styles */
.carousel {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.carousel-inner {
    display: flex;
    transition: transform 0.5s ease;
}

.carousel-item {
    min-width: 100%;
}

.carousel-item img {
    width: 100%;
    height: auto;
    display: block;
}

.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 18px;
    z-index: 10;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-control.prev {
    left: 10px;
}

.carousel-control.next {
    right: 10px;
}

.carousel-indicators {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 5px;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
}

.indicator.active {
    background: var(--yellow);
}

/* Adjust about section layout */
.about-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.carousel {
    flex: 1;
    min-width: 300px;
}

@media (max-width: 768px) {
    .carousel-control {
        width: 30px;
        height: 30px;
        font-size: 14px;
    }
    
    .indicator {
        width: 10px;
        height: 10px;
    }
}

/* Partners Section */
.partners {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.partners-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin: 0 auto;
}

.partner-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
    width: 300px;
    text-align: center;
}

.partner-card:hover {
    transform: translateY(-10px);
}

.partner-logo {
    padding: 30px;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 180px;
}

.partner-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.partner-info {
    padding: 20px;
}

.partner-info h3 {
    color: var(--navy);
    margin-bottom: 10px;
}

.partner-info p {
    color: var(--grey);
}

@media (max-width: 768px) {
    .partners-grid {
        gap: 20px;
    }
    
    .partner-card {
        width: 100%;
        max-width: 300px;
    }
}