.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;
}

/* Add this to your about.css file */

/* Header Styles */
header {
    background-color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 10px 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 15px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 1001; /* Ensures logo stays above mobile menu */
}

.logo-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    background: transparent;
    border-radius: 0;
}

.logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: #00539B;
}

.logo-text span {
    color: #1A5D1A;
}

/* Desktop Navigation */
nav ul {
    display: flex;
    list-style: none;
    gap: 20px;
    margin: 0;
    padding: 0;
}

nav a {
    text-decoration: none;
    color: #1E2A38;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 5px 0;
}

nav a:hover {
    color: #00539B;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #00539B;
    transition: all 0.3s ease;
}

nav a:hover::after {
    width: 100%;
}

.active {
    color: #00539B;
    font-weight: 600;
}

.cta-button {
    background-color: #00539B;
    color: white;
    padding: 8px 20px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid #00539B;
    white-space: nowrap;
}

.cta-button:hover {
    background-color: transparent;
    color: #00539B;
}

/* Mobile Navigation */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #00539B;
    cursor: pointer;
    z-index: 1001;
}

/* Responsive Styles */
@media (max-width: 992px) {
    nav ul {
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        max-width: 300px;
        height: 100vh;
        background: white;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        padding-top: 70px;
        z-index: 1000;
    }
    
    nav.active {
        right: 0;
    }
    
    nav ul {
        flex-direction: column;
        padding: 20px;
    }
    
    nav a {
        display: block;
        padding: 10px 0;
    }
    
    .cta-button {
        margin-left: 20px;
        margin-top: 15px;
    }
}

/* Mobile menu animation */
@keyframes slideIn {
    from { right: -100%; }
    to { right: 0; }
}

@keyframes slideOut {
    from { right: 0; }
    to { right: -100%; }
}


.map-full::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: -1;
}



  /* Mission Section Styling */
  .mission {
    padding: 60px 0;
    background-color: #f9f9f9;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  }
  
  .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
  }
  
  .section-title {
    text-align: center;
    margin-bottom: 40px;
  }
  
  .section-title h2 {
    color: #2d3e50;
    font-size: 32px;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
  }
  
  .section-title h2:after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background-color: #1877f2; /* Facebook blue accent */
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
  }
  
  .mission-content {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    align-items: center;
    justify-content: space-between;
  }
  
  .mission-text {
    flex: 1;
    min-width: 300px;
  }
  
  .mission-text p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 16px;
  }
  
  .mission-image {
    flex: 1;
    min-width: 300px;
    text-align: center;
  }
  
  .mission-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  }
  
  /* Facebook Preview Styling */
  .facebook-preview {
    flex: 1;
    min-width: 300px;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    align-self: flex-start;
  }
  
  @media (max-width: 768px) {
    .mission-content {
      flex-direction: column;
    }
    
    .mission-text, 
    .mission-image,
    .facebook-preview {
      min-width: 100%;
    }
  }

      .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;
    }

  


    /* 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;
  }
}


        * {
            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: 1rem 0;
        }

        .logo {
            display: flex;
            align-items: center;
            gap: 1rem;
        }

        .logo-icon {
            background-color: var(--primary);
            color: white;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
        }

        .logo-text {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--primary);
        }

        .logo-text span {
            color: var(--secondary);
            font-weight: 600;
        }

        nav ul {
            display: flex;
            list-style: none;
            gap: 2rem;
        }

        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;
            }
        }