/* ================= VARIABLES & RESET ================= */
:root {
    --primary: #0f172a;
    --accent: #0ea5e9;
    --accent-light: #e0f2fe;
    --text-dark: #334155;
    --text-light: #64748b;
    --white: #ffffff;
    --bg-light: #f8fafc;
    --transition: all 0.3s ease;
  }
  
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: "Poppins", sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    overflow-x: hidden;
  
  }
  
  a {
    text-decoration: none;
    color: inherit;
  }
  
  ul {
    list-style: none;
  }
  
  /* ================= HERO SECTION ================= */
  .hero-section {
    position: relative;
    height: 90vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: #0f172a;
  }
  
  .hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("../../hero-bg.avif");
    background-size: cover;
    background-position: center;
    z-index: 1;
    animation: zoomEffect 20s infinite alternate;
  }
  
  .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,
        rgba(15, 23, 42, 0.95) 0%,
        rgba(15, 23, 42, 0.6) 100%);
    z-index: 2;
  }
  
  .hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 850px;
    padding: 50px 30px;
    /* background: rgba(255, 255, 255, 0.03); */
    /* backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px); */
    /* border: 1px solid rgba(255, 255, 255, 0.1); */
    border-radius: 24px;
    /* box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5); */
  
    /* FIX: Removed opacity:0 and animation so AOS works correctly */
    /* opacity: 0; */
    /* transform: translateY(30px); */
    /* animation: fadeInUp 1s ease-out forwards; */
  }
  
  .hero-badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(56, 189, 248, 0.15);
    color: #38bdf8;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 25px;
    border: 1px solid rgba(56, 189, 248, 0.3);
    text-transform: uppercase;
    letter-spacing: 1.5px;
  }
  
  .hero-title {
    font-size: 3.8rem;
    font-weight: 800;
    line-height: 1.1;
    color: #ffffff;
    margin-bottom: 25px;
  }
  
  .highlight {
    font-size: 50px;
    background: linear-gradient(90deg, #38bdf8, #818cf8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
    color: #cbd5e1;
    margin-bottom: 45px;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
  }
  
  .btn {
    padding: 16px 40px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
  }
  
  .btn-primary {
    background: #38bdf8;
    color: #0f172a;
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.4);
  }
  
  .btn-primary:hover {
    background: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.6);
  }
  
  .btn-secondary {
    background: transparent;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
  }
  
  .btn-secondary:hover {
    border-color: #38bdf8;
    color: #38bdf8;
    background: rgba(56, 189, 248, 0.1);
  }
  
  .hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
  }
  
  .stat-item {
    text-align: center;
  }
  
  .stat-item h3 {
    font-size: 2rem;
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 5px;
  }
  
  .stat-item p {
    font-size: 0.85rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
  }
  
  @keyframes zoomEffect {
    from {
      transform: scale(1);
    }
  
    to {
      transform: scale(1.15);
    }
  }
  
  @media (max-width: 768px) {
    .hero-section {
      height: auto;
    }
  
    .hero-title {
      font-size: 2.5rem;
    }
  
    .hero-content {
      margin: 30px 15px;
      padding: 40px 30px;
    }
  
    .hero-buttons {
      flex-direction: column;
      width: 100%;
    }
  
    .btn {
      width: 100%;
      justify-content: center;
    }
  
    .hero-stats {
      gap: 30px;
    }
  
    .stat-item h3 {
      font-size: 1.5rem;
    }
  }
  
  /* ================= LOGO SLIDER ================= */
  .slider-container {
    padding: 60px 0;
    background: var(--white);
    position: relative;
    border-bottom: 1px solid #e2e8f0;
    overflow: hidden;
  }
  
  .slider-track {
    display: flex;
    width: calc(150px * 14);
    animation: scroll 20s linear infinite;
    gap: 50px;
  }
  
  .slide {
    height: 120px;
    width: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
  }
  
  .slide img {
    height: 100%;
    width: auto;
    object-fit: contain;
    transition: var(--transition);
  }
  
  .slide:hover img {
    transform: scale(1.1);
  }
  
  @keyframes scroll {
    0% {
      transform: translateX(0);
    }
  
    100% {
      transform: translateX(calc(-150px * 7));
    }
  }
  
  /* ================= COURSES SECTION ================= */
  .courses-section {
    padding: 80px 5%;
    background-color: var(--white);
  }
  
  .section-header {
    text-align: center;
    margin-bottom: 50px;
  }
  
  .section-header h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 15px;
  }
  
  .section-header h2 span {
    color: var(--accent);
  }
  
  .section-header p {
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
  }
  
  .courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
  }
  
  .course-card {
    background: var(--white);
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 30px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
  }
  
  .course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
      0 8px 10px -6px rgba(0, 0, 0, 0.1);
    border-color: var(--accent);
  }
  
  .course-icon {
    height: 60px;
    width: 60px;
    background-color: var(--accent-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--accent);
  }
  
  .course-card h3 {
    font-size: 1.25rem;
    color: var(--primary);
    margin-bottom: 15px;
  }
  
  .course-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 15px;
  }
  
  .tag {
    font-size: 0.8rem;
    padding: 5px 12px;
    background-color: var(--bg-light);
    color: var(--text-dark);
    border-radius: 20px;
    font-weight: 500;
    border: 1px solid #cbd5e1;
  }
  
  .pg-banner {
    margin-top: 50px;
    background: linear-gradient(135deg, var(--primary), #1e293b);
    border-radius: 20px;
    padding: 40px;
    color: var(--white);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
  }
  
  .pg-banner h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: var(--accent);
  }
  
  .pg-banner p {
    color: #cbd5e1;
    max-width: 700px;
    margin-bottom: 20px;
  }
  
  .pg-list {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .pg-tag {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    border-radius: 8px;
    color: var(--white);
  }
  
  /* ================= ABOUT SECTION ================= */
  .about-section {
    padding: 80px 10%;
    background-color: var(--bg-light);
  }
  
  .about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
  }
  
  .about-image {
    height: 100%;
    max-height: 400px;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  }
  
  .about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    box-shadow: 20px 20px 0px var(--accent);
  }
  
  .about-text h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
  }
  
  .about-text h2::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--accent);
    border-radius: 2px;
  }
  
  .about-text p {
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 20px;
    text-align: justify;
  }
  
  .cta-btn {
    padding: 10px;
    border-radius: 30px;
    color: #FFFF;
    font-weight: bold;
    border: none;
    cursor: pointer;
  }
  
  /* ================= MISSION & VISION ================= */
  .mv-section {
    padding: 80px 10%;
    background-color: var(--primary);
    color: var(--white);
    position: relative;
    overflow: hidden;
  }
  
  .mv-section::before {
    content: "";
    position: absolute;
    top: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    background: var(--accent);
    opacity: 0.1;
    border-radius: 50%;
  }
  
  .mv-section::after {
    content: "";
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 300px;
    height: 300px;
    background: var(--accent);
    opacity: 0.1;
    border-radius: 50%;
  }
  
  .mv-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    position: relative;
    z-index: 1;
  }
  
  .mv-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 20px;
    transition: var(--transition);
  }
  
  .mv-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
  }
  
  .mv-icon {
    width: 60px;
    height: 60px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--white);
    font-size: 1.5rem;
  }
  
  .mv-card h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--white);
  }
  
  .mv-card p {
    color: #cbd5e1;
    line-height: 1.7;
  }
  
  /* ================= COLLEGE SLIDER ================= */
  .college-slider-section {
    padding: 80px 5%;
    background-color: var(--bg-light);
    position: relative;
  }
  
  .slider-wrap-container {
    position: relative;
    max-width: 100%;
    margin: auto;
  }
  
  .clg-slider-wrapper {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    padding: 20px 10px 40px 10px;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
  }
  
  .clg-slider-wrapper::-webkit-scrollbar {
    display: none;
  }
  
  .slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--white);
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    transition: var(--transition);
  }
  
  .slider-btn:hover {
    background-color: var(--accent);
    color: var(--white);
  }
  
  .pre-btn {
    left: -20px;
  }
  
  .nxt-btn {
    right: -20px;
  }
  
  .clg-card {
    min-width: 320px;
    max-width: 320px;
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    scroll-snap-align: center;
    border: 1px solid #e2e8f0;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
  }
  
  .clg-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.15);
  }
  
  .clg-card-img {
    height: 180px;
    width: 100%;
    overflow: hidden;
  }
  
  .clg-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
  }
  
  .clg-card:hover .clg-card-img img {
    transform: scale(1.1);
  }
  
  .clg-card-body {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
  }
  
  .clg-card-body h3 {
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 10px;
  }
  
  .clg-card-body p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.6;
    flex-grow: 1;
  }
  
  .read-more-btn {
    padding: 10px 20px;
    background-color: transparent;
    color: var(--accent);
    border: 1px solid var(--accent);
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    align-self: flex-start;
  }
  
  .read-more-btn:hover {
    background-color: var(--accent);
    color: var(--white);
  }
  
  /* ================= CONTACT US ================= */
  .contact-section {
    padding: 80px 5%;
    background-color: var(--bg-light);
  }
  
  .contact-wrapper {
    display: grid;
    /* grid-template-columns: 1fr 1.5fr; */
    gap: 40px;
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  }
  
  .contact-info {
    background-color: var(--primary);
    color: var(--white);
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  
  .contact-info h3 {
    font-size: 2rem;
    margin-bottom: 10px;
  }
  
  .contact-info p {
    color: #cbd5e1;
    margin-bottom: 30px;
  }
  
  .info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
  }
  
  .info-icon {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--accent);
  }
  
  .social-links {
    margin-top: auto;
    display: flex;
    gap: 15px;
  }
  
  .social-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
  }
  
  .social-btn:hover {
    background: var(--accent);
    border-color: var(--accent);
  }
  
  .contact-form {
    padding: 40px;
  }
  
  .form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
  }
  
  .form-group {
    margin-bottom: 20px;
  }
  
  .form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text-dark);
  }
  
  .form-control {
    width: 100%;
    padding: 12px 15px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    transition: var(--transition);
    outline: none;
  }
  
  .form-control:focus {
    border-color: var(--accent);
    background: var(--white);
    box-shadow: 0 0 0 3px var(--accent-light);
  }
  
  .submit-btn {
    width: 100%;
    padding: 15px;
    background: var(--accent);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
  }
  
  .submit-btn:hover {
    background: #0284c7;
  }
  
  /* ================= GALLERY ================= */
  .gallery {
    padding: 50px 0;
    width: 100%;
    margin-bottom: 150px;
  }
  
  .gallery-title {
    text-align: center;
    margin-bottom: 30px;
  }
  
  .gallery-title h5 {
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 25px;
  }
  
  .gallery-title p {
    font-size: 13px;
    color: #777;
  }
  
  .gallery-container {
    width: 100%;
    display: flex;
    gap: 20px;
    padding: 20px;
    align-items: center;
    justify-content: center;
  }
  
  .gallery-images {
    display: flex;
    gap: 20px;
    max-height: 550px;
    overflow: hidden;
    justify-content: center;
    align-items: center;
  }
  
  .gallery-images-col {
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  
  .gallery-images-col div {
    height: 170px;
    width: 120px;
    background-color: #eee;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
  }
  
  .gallery-images-col .big {
    height: 220px;
  }
  
  .gallery-images-col .mid {
    height: 180px;
  }
  
  .gallery-images-col .small {
    height: 130px;
  }
  
  .gallery-images-col div img {
    width: 100%;
    height: 100%;
    object-fit: fill;
  }
  
  .gallery-images:hover .scroll-up,
  .gallery-images:hover .scroll-down {
    animation-play-state: paused;
  }
  
  .scroll-up {
    animation: scroll-up 10s linear infinite;
  }
  
  @keyframes scroll-up {
    0% {
      transform: translateY(0);
    }
  
    100% {
      transform: translateY(-30%);
    }
  }
  
  .scroll-down {
    animation: scroll-down 10s linear infinite;
  }
  
  @keyframes scroll-down {
    0% {
      transform: translateY(-30%);
    }
  
    100% {
      transform: translateY(0);
    }
  }
  
  /* =============================================== */
  /* =============================================== */
  /* =============================================== */
  /* --- POPUP OVERLAY --- */
  .popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(8px);
    z-index: 10000;
    justify-content: center;
    align-items: center;
  }
  
  .popup-overlay.active {
    display: flex;
    animation: fadeIn 0.4s ease forwards;
  }
  
  /* --- GLASS POPUP BOX --- */
  .popup-content {
    width: 90%;
    max-width: 450px;
  
    max-height: 85vh;
    border-radius: 20px;
    position: relative;
  
  
    display: flex;
    flex-direction: column;
  
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    animation: scaleUp 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  
    overflow: hidden;
   
  }
  
  
  .popup-header {
    padding: 30px 30px 10px 30px;
    text-align: center;
    flex-shrink: 0;
   
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  
  .popup-header h3 {
    /* font-family: 'Outfit', sans-serif; */
    color: #FFF;
    font-size: 1.8rem;
    margin: 0 0 10px;
  }
  
  .popup-header p {
    color: #FFF;
    font-size: 1rem;
    margin-bottom: 10px;
  }
  
  
  .popup-body {
    padding: 20px 30px 30px 30px;
    text-align: center;
  
  
    overflow-y: auto;
    flex-grow: 1;
  
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.5) transparent;
  }
  
  
  #popupForm {
    width: 100%;
  }
  
  
  .popup-body::-webkit-scrollbar {
    width: 6px;
  }
  
  .popup-body::-webkit-scrollbar-track {
    background: transparent;
  }
  
  .popup-body::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.4);
    border-radius: 10px;
  }
  
  
  .popup-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 32px;
    line-height: 1;
    background: none;
    border: none;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.8);
    z-index: 20;
    
    transition: 0.3s;
  }
  
  .popup-close:hover {
    color: #fff;
    transform: rotate(90deg);
  }
  
  
  .input-group {
    margin-bottom: 12px;
  }
  
  .input-group input,
  .input-group textarea,
  .input-group select {
    width: 100%;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 10px;
    font-size: 0.95rem;
    outline: none;
    transition: 0.3s;
    box-sizing: border-box;
    color: #0f172a;
    font-family: inherit;
   
  }
  
  .input-group input::placeholder,
  .input-group textarea::placeholder {
    color: #475569;
  }
  
  .input-group input:focus,
  .input-group textarea:focus,
  .input-group select:focus {
    background: rgba(255, 255, 255, 0.95);
    border-color: #0ea5e9;
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.2);
  }
  
  .popup-submit-btn {
    width: 100%;
    padding: 14px;
    background: #0ea5e9;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
    margin-top: 10px;
  }
  
  .popup-submit-btn:hover {
    background: #0284c7;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(14, 165, 233, 0.3);
  }
  
  
  @keyframes fadeIn {
    from {
      opacity: 0;
    }
  
    to {
      opacity: 1;
    }
  }
  
  @keyframes scaleUp {
    from {
      opacity: 0;
      transform: scale(0.8);
    }
  
    to {
      opacity: 1;
      transform: scale(1);
    }
  }
  
  
  @media (max-width: 480px) {
    .popup-content {
      width: 95%;
      max-height: 90vh;
      
    }
  
    .popup-header h3 {
      font-size: 1.5rem;
    }
  }
  
  /* ================= RESPONSIVE ================= */
  @media (max-width: 900px) {
  
    .about-grid,
    .mv-grid,
    .advantage-grid,
    .contact-wrapper {
      grid-template-columns: 1fr;
    }
  
    .hero-content h1 {
      font-size: 2.5rem;
    }
  
    .form-grid {
      grid-template-columns: 1fr;
    }
  }
  
  @media (max-width: 768px) {
    .main {
      min-width: 100%;
      overflow-x: hidden;
    }
  
    .hamburger {
      display: flex;
    }
  
    .nav-menu {
      position: fixed;
      top: 80px;
      left: -100%;
      flex-direction: column;
      background-color: var(--white);
      width: 100%;
      padding: 20px 0;
      box-shadow: 0 10px 10px rgba(0, 0, 0, 0.05);
      transition: 0.3s ease-in-out;
    }
  
    .nav-menu.active {
      left: 0;
    }
  
    .dropdown-menu {
      position: static;
      box-shadow: none;
      opacity: 1;
      visibility: visible;
      transform: none;
      background: #f1f5f9;
      display: none;
      text-align: center;
    }
  
    .dropdown:hover .dropdown-menu {
      display: block;
    }
  
    .slider-btn {
      display: none;
    }
  
    .gallery-images-col {
      gap: 10px;
    }
  
    .gallery-images-col div {
      height: 150px;
      width: 100px;
    }
  
    .display-none {
      display: none;
    }
  }
  
  @media screen and (max-width: 480px) {
    .gallery-images {
      max-height: 450px;
      gap: 10px;
    }
  }
  
  /* =============== */
  
  .course-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 20px 25px -5px rgba(15, 23, 42, 0.1), 0 8px 10px -6px rgba(15, 23, 42, 0.1);
    border-color: var(--accent);
  }
  
  .course-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    z-index: -1;
    transition: var(--transition);
    mix-blend-mode: multiply;
  }
  
  .course-card:hover::before {
    opacity: 0.3;
    transform: scale(1.05);
  }
  
  
  
  /* Engineering (Updated Link) */
  .course-card:nth-child(1)::before {
    /* High-quality Tech/Engineering background */
    background-image: url('../../coursesBg/eng.png');
  }
  
  .course-card:nth-child(2)::before {
    background-image: url('../../coursesBg/manag.png');
  }
  
  .course-card:nth-child(3)::before {
    background-image: url('../../coursesBg/med.png');
  }
  
  .course-card:nth-child(4)::before {
    background-image: url('../../coursesBg/law.png');
  }
  
  .course-card:nth-child(5)::before {
    background-image: url('../../coursesBg/bio.png');
  }
  
  .course-card:nth-child(6)::before {
    background-image: url('../../coursesBg/media.png');
  }



  .services-carousel-section {
    padding: 60px 0;
    background-color: #f8f9fa;

    position: relative;
    overflow: hidden;
  }

  .svc-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    padding: 0 20px;
    display: flex;
    align-items: center;
  }

  .svc-track {
    display: flex;
    gap: 25px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 20px 5px 40px 5px;

    width: 100%;
    scrollbar-width: none;
  }

  .svc-track::-webkit-scrollbar {
    display: none;
  }


  .modern-card {
    min-width: 300px;
    max-width: 300px;
    flex: 0 0 auto;
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
  }

  .modern-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  }

  .card-image {
    height: 180px;
    width: 100%;
    position: relative;
    overflow: hidden;
  }

  .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
  }

  .modern-card:hover .card-image img {
    transform: scale(1.1);

  }

  .card-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary, #007bff);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  }

  .card-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
  }

  .card-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #222;
    margin-bottom: 10px;
  }

  .card-content p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
  }

  .card-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary, #007bff);

    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: margin-left 0.2s;
  }

  .card-link:hover {
    margin-left: 5px;
    color: #0056b3;
  }


  .svc-nav-btn {
    background: white;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.2s;
    color: #333;
    flex-shrink: 0;
  }

  .svc-nav-btn:hover {
    background: var(--primary, #007bff);
    color: white;
    transform: scale(1.1);
  }

  .prev-btn {
    margin-right: 15px;
  }

  .next-btn {
    margin-left: 15px;
  }


  @media (max-width: 768px) {
    .svc-nav-btn {
      display: none;
    }

    .svc-wrapper {
      padding: 0 10px;
    }

    .svc-track {
      padding: 10px 0 30px 0;
      gap: 10px;
    }

    .modern-card {
      min-width: 45vw;
      max-width: 45vw;
    }


    .card-image {
      height: 110px;
    }

    .card-content {
      padding: 10px;
    }

    .card-content h3 {
      font-size: 0.9rem;
      margin-bottom: 5px;
    }

    .card-content p {
      font-size: 0.75rem;
      line-height: 1.3;
      display: -webkit-box;
      -webkit-line-clamp: 3;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }

    .card-badge {
      font-size: 0.6rem;
      padding: 3px 8px;
    }
  }