        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        :root {
            --primary: #00539B;
            --secondary: #1A5D1A;
            --accent: #E63946;
            --light: #F0F4F8;
            --dark: #1E2A38;
            --text: #333;
            --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
            --transition: all 0.3s ease;
        }

        body {
            font-family: 'Poppins', sans-serif;
            line-height: 1.6;
            color: var(--text);
            background-color: #f9fbfd;
        }

        h1, h2, h3, h4 {
            font-family: 'Noto Serif', serif;
            font-weight: 700;
            color: var(--primary);
        }

        .container {
            width: 90%;
            max-width: 1200px;
            margin: 0 auto;
        }

        /* Header Styles */
        header {
            background-color: white;
            box-shadow: var(--shadow);
            position: sticky;
            top: 0;
            z-index: 100;
        }

        .header-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 1.5rem 0;
            min-height: 80px;
        }

        .logo {
            display: flex;
            align-items: center;
            gap: 1rem;
        }

        .logo-icon {
            background-color: var(--primary);
            color: white;
            width: 64px;
            height: 64px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.8rem;
        }

        .logo-text {
            font-size: 1.8rem;
            font-weight: 700;
            color: var(--primary);
        }

        .logo-text span {
            color: var(--secondary);
            font-weight: 600;
        }

        nav ul {
            display: flex;
            list-style: none;
            gap: 2.5rem;
        }

        nav a {
            text-decoration: none;
            color: var(--dark);
            font-weight: 500;
            transition: var(--transition);
            position: relative;
        }

        nav a:hover {
            color: var(--primary);
        }

        nav a::after {
            content: '';
            position: absolute;
            bottom: -5px;
            left: 0;
            width: 0;
            height: 2px;
            background-color: var(--primary);
            transition: var(--transition);
        }

        nav a:hover::after {
            width: 100%;
        }

        .cta-button {
            background-color: var(--primary);
            color: white;
            padding: 0.7rem 1.5rem;
            border-radius: 30px;
            text-decoration: none;
            font-weight: 500;
            transition: var(--transition);
            display: inline-block;
            border: 2px solid var(--primary);
        }

        .cta-button:hover {
            background-color: transparent;
            color: var(--primary);
        }

        /* Hero Section */
        .hero {
            background: linear-gradient(135deg, rgba(0, 83, 155, 0.9) 0%, rgba(26, 93, 26, 0.85) 100%), url('https://sefnepal.wordpress.com/wp-content/uploads/2021/06/cropped-banner-sef.jpg') no-repeat center center/cover;
            color: white;
            padding: 6rem 0;
            text-align: center;
        }

        .hero h1 {
            font-size: 3.5rem;
            color: white;
            margin-bottom: 1rem;
            line-height: 1.2;
        }

        .hero p {
            font-size: 1.2rem;
            max-width: 700px;
            margin: 0 auto 2rem;
            opacity: 0.9;
        }

        .hero-buttons {
            display: flex;
            justify-content: center;
            gap: 1rem;
            margin-top: 2rem;
        }

        .secondary-button {
            background-color: transparent;
            color: white;
            border: 2px solid white;
            padding: 0.7rem 1.5rem;
            border-radius: 30px;
            text-decoration: none;
            font-weight: 500;
            transition: var(--transition);
        }

        .secondary-button:hover {
            background-color: white;
            color: var(--primary);
        }

        /* Mission Section */
        .mission {
            padding: 5rem 0;
            background-color: white;
        }

        .section-title {
            text-align: center;
            margin-bottom: 3rem;
            position: relative;
        }

        .section-title::after {
            content: '';
            position: absolute;
            bottom: -15px;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 4px;
            background-color: var(--primary);
            border-radius: 2px;
        }

        .mission-content {
            display: flex;
            align-items: center;
            gap: 3rem;
        }

        .mission-text {
            flex: 1;
        }

        .mission-text h2 {
            margin-bottom: 1.5rem;
        }

        .mission-text p {
            margin-bottom: 1.5rem;
        }

        .mission-image {
            flex: 1;
            border-radius: 10px;
            overflow: hidden;
            box-shadow: var(--shadow);
        }

        .mission-image img {
            width: 100%;
            height: auto;
            display: block;
        }

        /* Scholarships Section */
        .scholarships {
            padding: 5rem 0;
            background-color: var(--light);
        }

        .programs-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
            margin-top: 2rem;
        }

        .program-card {
            background: white;
            border-radius: 10px;
            overflow: hidden;
            box-shadow: var(--shadow);
            transition: var(--transition);
        }

        .program-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 12px 20px rgba(0, 0, 0, 0.15);
        }

        .program-header {
            background-color: var(--primary);
            color: white;
            padding: 1.5rem;
        }

        .program-header h3 {
            color: white;
            margin-bottom: 0.5rem;
        }

        .program-body {
            padding: 1.5rem;
        }

        .program-body ul {
            list-style: none;
            margin: 1rem 0;
        }

        .program-body li {
            padding: 0.5rem 0;
            display: flex;
            align-items: flex-start;
        }

        .program-body li i {
            color: var(--secondary);
            margin-right: 0.75rem;
            margin-top: 0.3rem;
        }

        /* Stats Section */
        .stats {
            padding: 4rem 0;
            background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
            color: white;
            text-align: center;
        }

        .stats-container {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 2rem;
        }

        .stat-item {
            padding: 1.5rem;
        }

        .stat-number {
            font-size: 3rem;
            font-weight: 700;
            margin-bottom: 0.5rem;
            font-family: 'Poppins', sans-serif;
        }

        .stat-label {
            font-size: 1.1rem;
            opacity: 0.9;
        }

        /* Testimonials */
        .testimonials {
            padding: 5rem 0;
            background-color: white;
        }

        .testimonial-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
            margin-top: 3rem;
        }

        .testimonial-card {
            background-color: var(--light);
            border-radius: 10px;
            padding: 2rem;
            box-shadow: var(--shadow);
            position: relative;
        }

        .testimonial-card::before {
            content: '"';
            position: absolute;
            top: 20px;
            left: 20px;
            font-size: 4rem;
            font-family: 'Noto Serif', serif;
            color: var(--primary);
            opacity: 0.2;
            line-height: 1;
        }

        .testimonial-text {
            margin-bottom: 1.5rem;
            position: relative;
            z-index: 1;
        }

        .testimonial-author {
            display: flex;
            align-items: center;
            gap: 1rem;
        }

        .author-avatar {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            background-color: var(--primary);
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-weight: bold;
            font-size: 1.2rem;
        }

        .author-info h4 {
            margin-bottom: 0.2rem;
            color: var(--dark);
        }

        .author-info p {
            font-size: 0.9rem;
            color: #666;
        }

        /* Footer */
        footer {
            background-color: var(--dark);
            color: white;
            padding: 4rem 0 2rem;
        }

        .footer-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 2rem;
            margin-bottom: 3rem;
        }

        .footer-column h3 {
            color: white;
            margin-bottom: 1.5rem;
            position: relative;
        }

        .footer-column h3::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 0;
            width: 50px;
            height: 3px;
            background-color: var(--primary);
        }

        .footer-links {
            list-style: none;
        }

        .footer-links li {
            margin-bottom: 0.8rem;
        }

        .footer-links a {
            color: #ccc;
            text-decoration: none;
            transition: var(--transition);
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .footer-links a:hover {
            color: white;
            padding-left: 5px;
        }

        .contact-info {
            list-style: none;
        }

        .contact-info li {
            display: flex;
            gap: 1rem;
            margin-bottom: 1rem;
            align-items: flex-start;
        }

        .social-links {
            display: flex;
            gap: 1rem;
            margin-top: 1.5rem;
        }

        .social-links a {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            background-color: rgba(255, 255, 255, 0.1);
            border-radius: 50%;
            color: white;
            transition: var(--transition);
        }

        .social-links a:hover {
            background-color: var(--primary);
            transform: translateY(-3px);
        }

        .copyright {
            text-align: center;
            padding-top: 2rem;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            color: #aaa;
            font-size: 0.9rem;
        }

        /* Responsive Design */
        @media (max-width: 992px) {
            .mission-content {
                flex-direction: column;
            }
            
            .hero h1 {
                font-size: 2.8rem;
            }
        }

        @media (max-width: 768px) {
            nav ul {
                display: none;
            }
            
            .hero {
                padding: 4rem 0;
            }
            
            .hero h1 {
                font-size: 2.3rem;
            }
            
            .hero-buttons {
                flex-direction: column;
                align-items: center;
            }
            
            .stat-number {
                font-size: 2.5rem;
            }
        }

    /* Magic Animated Gradient (Only for Developer Details) */
    .magic-btn {
        background: linear-gradient(45deg, #FF6B6B, #FFA500, #FFD700, #4CAF50, #2196F3, #9C27B0, #FF6B6B);
        background-size: 500% 400%; /* Needed for animation */
        animation: magic-gradient 8s ease infinite;
        border-radius: 6px;
    }

  

    /* Animation Keyframes */
    @keyframes magic-gradient {
        0% { background-position: 0% 50%; }
        50% { background-position: 100% 50%; }
        100% { background-position: 0% 50%; }
    }

    /* Improve text visibility */
    .magic-btn a {
        color: white !important;
        font-weight: bold;
        text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    }

    /* Optional: Hover effect */
    .magic-btn:hover {
        transform: scale(1.05);
        box-shadow: 0 4px 12px rgba(0,0,0,0.2);
        transition: all 0.3s ease;
    }
    /* Basic styling for the header */
    .header-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 1.5rem;
        min-height: 80px;
        position: relative;
    }
    
    .logo {
        display: flex;
        align-items: center;
    }
    
    /* Hide the mobile menu by default */
    .menu-toggle {
        display: none;
        background: none;
        border: none;
        cursor: pointer;
        padding: 10px;
    }
    
    .hamburger {
        display: block;
        width: 25px;
        height: 3px;
        background: #333;
        margin: 5px 0;
        transition: all 0.3s ease;
    }
    
    /* Navigation styles */
    .main-nav ul {
        display: flex;
        list-style: none;
        gap: 2.5rem;
        margin: 0;
        padding: 0;
        align-items: center;
    }
    
    .main-nav li {
        margin-left: 1.5rem;
    }
    
    .main-nav a {
        text-decoration: none;
        color: inherit;
    }
    
    .cta-button {
        padding: 0.5rem 1rem;
        background: #0066cc;
        color: white;
        border-radius: 4px;
        text-decoration: none;
    }
    
    /* Hide the Apply button in mobile nav by default */
    .mobile-apply {
        display: none;
    }
    
    /* Responsive styles */
    @media (max-width: 768px) {
        .menu-toggle {
            display: block;
            z-index: 1000;
        }
        
        /* Slightly smaller header/logo on mobile */
        .header-container {
            padding: 0.75rem;
            min-height: 60px;
        }
        .logo-icon {
            width: 48px;
            height: 48px;
            font-size: 1.2rem;
        }
        .logo-text {
            font-size: 1.2rem;
        }
        .main-nav ul {
            gap: 1.25rem;
        }
        
        .main-nav {
            position: fixed;
            top: 0;
            right: -100%;
            width: 70%;
            height: 100vh;
            background: white;
            box-shadow: -2px 0 5px rgba(0,0,0,0.1);
            transition: right 0.3s ease;
            z-index: 999;
            padding-top: 4rem;
        }
        
        .main-nav.active {
            right: 0;
        }
        
        .main-nav ul {
            flex-direction: column;
            padding: 1rem;
        }
        
        .main-nav li {
            margin: 1rem 0;
        }
        
        .desktop-apply {
            display: none;
        }
        
        .mobile-apply {
            display: block;
            margin-top: 1rem;
        }
    }





    

    .slideshow-container {
  position: relative;
  width: 600px; /* adjust as needed */
  height: 400px; /* adjust as needed */
  overflow: hidden;
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease;
  object-fit: cover;
}

.slide.active {
  opacity: 1;
  z-index: 1;
}


    /* Make all images, videos, and iframes responsive */
img, iframe, video {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Responsive containers */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  box-sizing: border-box;
}

/* Flex/grid layouts that wrap */
.row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

/* Responsive text */
body {
  font-size: 16px;
  line-height: 1.6;
}

/* Responsive columns */
.col {
  flex: 1 1 300px;
  min-width: 250px;
}

/* Hide scrollbars in overflow containers (optional) */
::-webkit-scrollbar {
  display: none;
}

/* Responsive typography and spacing */
@media (max-width: 768px) {
  body {
    font-size: 15px;
  }

  .container {
    padding: 0 10px;
  }
}



.map-container {
  max-width: 300px;
  margin: 20px auto;
  position: relative;
}

.map-preview {
  position: relative;
  cursor: pointer;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.map-preview:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.map-preview img {
  width: 100%;
  display: block;
}

.map-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  font-size: 14px;
}

.map-overlay i {
  margin-right: 8px;
  color: #ff4757;
}

.map-full {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 800px;
  max-height: 90vh;
  background: white;
  z-index: 1000;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  overflow: hidden;
}

.close-map {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #ff4757;
  color: white;
  border: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  z-index: 1001;
}

.map-full::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: -1;
}







.programs-container {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 40px;
}

.programs-grid {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    gap: 20px;
    padding: 20px 0;
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

.programs-grid::-webkit-scrollbar {
    display: none;  /* Chrome, Safari and Opera */
}

.program-card {
    flex: 0 0 300px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.program-card:hover {
    transform: translateY(-5px);
}

.scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: white;
    border: none;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    cursor: pointer;
    font-size: 18px;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.left-scroll-btn {
    left: 0;
}

.right-scroll-btn {
    right: 0;
}

.scroll-btn:hover {
    background: #f0f0f0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .program-card {
        flex: 0 0 280px;
    }
    
    .programs-container {
        padding: 0 30px;
    }
}

  /* Add these styles to your existing CSS */
  .programs-grid {
    scroll-behavior: smooth;
    transition: scroll-left 0.5s ease-in-out;
    -webkit-overflow-scrolling: touch; /* For smooth scrolling on iOS */
  }

  .scroll-btn {
    transition: opacity 0.3s ease;
  }

  /* Optional: Add a slight fade effect to cards during scroll */
  .program-card {
    transition: transform 0.3s ease, opacity 0.3s ease;
  }

  .programs-grid.is-scrolling .program-card {
    opacity: 0.8;
    transform: scale(0.98);
  }
