:root {
            --green: #1B5E20; /* Dark Green */
            --light-green: #4CAF50; /* Medium Green */
            --accent-gold: #FFD700; /* Gold for highlight */
            --yellow: #FFFF00; /* Yellow for patterns */
            --blue: #1976D2; /* Complementary blue for futuristic elements */
            --purple: #7B1FA2; /* Additional complementary color for depth */
            --white: #FFFFFF;
            --black: #212121; /* Darker Black for text */
            --gray: #757575; /* Medium Gray for secondary text */
            --light-gray: #F5F5F5; /* Light background */
            --dark-gray: #E0E0E0; /* Border/separator color */
            --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            --font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            --gradient-green: linear-gradient(135deg, var(--green), var(--light-green));
            --gradient-gold: linear-gradient(135deg, var(--accent-gold), #FFA000);
            --gradient-blue: linear-gradient(135deg, var(--blue), #42A5F5);
            --shadow: 0 10px 30px rgba(0,0,0,0.1);
            --shadow-hover: 0 20px 40px rgba(0,0,0,0.2);
        --shadow-3d: 0 15px 35px rgba(0,0,0,0.15), 0 5px 15px rgba(0,0,0,0.1);
        --blob-shadow: 0 20px 40px rgba(27, 94, 32, 0.3);
        --border-radius-premium: 16px;
        --text-shadow-subtle: 0 2px 4px rgba(0,0,0,0.1);
        --glow-gold: 0 0 20px rgba(255, 215, 0, 0.4);
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: var(--font-family);
            color: var(--black);
            background-color: var(--light-gray);
            line-height: 1.7; /* Slightly increased line height for readability */
            overflow-x: hidden;
            -webkit-font-smoothing: antialiased; /* Smoother fonts */
        }

        html {
            scroll-behavior: smooth;
        }

        header {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            background-color: rgba(27, 94, 32, 0.98); /* Slightly less transparent */
            padding: 1rem 0;
            z-index: 1000;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); /* Stronger shadow */
            transition: var(--transition);
        }

        header.scrolled {
            padding: 0.75rem 0; /* Slightly reduce padding on scroll */
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
        }

        nav {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 2rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .logo {
            color: var(--white);
            font-weight: 700;
            font-size: 1.6rem; /* Slightly larger logo */
            text-decoration: none;
            display: flex;
            align-items: center;
        }

        .logo .logo-icon {
            color: var(--accent-gold); /* Gold icon */
            margin-right: 0.5rem;
            font-size: 1.8rem;
        }

        .logo .logo-text span {
            color: var(--accent-gold); /* Gold for 'Kajunior' */
        }

        .nav-links {
            display: flex;
            list-style: none;
        }

        .nav-links li {
            margin-left: 2.5rem; /* Increased spacing */
        }

        .nav-links a {
            color: var(--white);
            text-decoration: none;
            font-weight: 500;
            position: relative;
            transition: var(--transition);
            padding: 0.5rem 0;
            letter-spacing: 0.5px; /* Slight letter spacing */
        }

        .nav-links a::after {
            content: '';
            position: absolute;
            bottom: -5px; /* Adjust underline position */
            left: 0;
            width: 0;
            height: 2px;
            background-color: var(--accent-gold); /* Gold underline */
            transition: var(--transition);
        }

        .nav-links a:hover::after,
        .nav-links a.active::after { /* Add active state for navigation */
            width: 100%;
        }

        .nav-links a.active {
            border-bottom: 1px solid var(--accent-gold);
        }

        .menu-toggle {
            display: none;
            background: none;
            border: none;
            color: var(--white);
            font-size: 1.8rem; /* Larger toggle icon */
            cursor: pointer;
            transition: var(--transition);
        }

        section {
            padding: 8rem 2rem; /* More vertical padding */
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            justify-content: center; /* Center content vertically in sections */
            align-items: center;
            position: relative;
        }

        #hero {
            background: linear-gradient(rgba(27, 94, 32, 0.85), rgba(27, 94, 32, 0.85)), url('WhatsApp Image 2025-09-10 at 00.00.26_ce5a862d.jpg') center/cover no-repeat;
            color: var(--white);
            text-align: center;
            padding-top: 120px; /* Account for fixed header */
        }

        .hero-content {
            max-width: 900px;
            animation: fadeInUp 1s ease-out;
            position: relative;
        }

        .hero-image-container {
            position: relative;
            display: inline-block; /* To position badge relative to image */
            margin-bottom: 2rem;
            margin-top:20px;
        }

        .profile-photo {
            width: 220px; /* Slightly larger photo */
            height: 220px;
            border-radius: 50%;
            object-fit: cover;
            border: 6px solid var(--white); /* Thicker border */
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4); /* Stronger shadow */
        }

        .hero-badge {
            position: absolute;
            bottom: 10px;
            right: 0;
            background-color: var(--accent-gold);
            color: var(--green);
            padding: 0.4rem 0.9rem;
            border-radius: 20px;
            font-size: 0.9rem;
            font-weight: 600;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
        }

        .hero-emblem {
            position: absolute;
            top: 20%;
            left: 10%;
            font-size: 5rem;
            color: var(--accent-gold);
            opacity: 0.8;
            animation: floatEmblem 6s ease-in-out infinite;
            z-index: 1;
        }

        @keyframes floatEmblem {
            0%, 100% { transform: translateY(0) rotateY(0deg); }
            25% { transform: translateY(-10px) rotateY(90deg); }
            50% { transform: translateY(0) rotateY(180deg); }
            75% { transform: translateY(10px) rotateY(270deg); }
        }

        .hero-content h1 {
            font-size: 3.5rem; /* Larger hero title */
            margin-bottom: 1rem;
            text-transform: uppercase;
            letter-spacing: 2px;
            line-height: 1.2;
            animation: slideInFromLeft 1s ease-out;
        }

        .hero-content .intro-text {
            font-size: 1.4rem; /* Larger intro text */
            margin-bottom: 1.5rem;
            font-weight: 300;
            animation: fadeInUp 1.5s ease-out;
        }

        .slogan {
            font-weight: 600;
            margin-top: 2rem;
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            gap: 1.2rem; /* Increased gap */
            animation: slideInFromRight 2s ease-out;
        }

        .slogan span {
            background-color: var(--light-green);
            color: var(--white);
            padding: 0.6rem 1.4rem; /* Larger padding */
            border-radius: 25px; /* More rounded */
            font-size: 1rem; /* Slightly larger text */
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
        }

        .section-title {
            text-align: center;
            margin-bottom: 4rem; /* More space below title */
            position: relative;
            text-transform: uppercase;
            color: var(--green);
            font-size: 2.5rem; /* Larger section titles */
            font-weight: 700;
            letter-spacing: 1px;
        }

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px; /* Deeper line */
    left: 50%;
    transform: translateX(-50%);
    width: 100px; /* Wider line */
    height: 4px; /* Thicker line */
    background-color: var(--accent-gold); /* Gold line */
    border-radius: 2px;
}

       /* ===== About Section ===== */
.about-section {
  position: relative;
  background: url("IMG-20250728-WA0049.jpg") center/cover no-repeat;
  color: var(--white);
  padding: 8rem 2rem;
  margin-top: 60px;   /* creates the gap after hero */
  border-radius: 12px;
}

.about-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55); /* dark overlay for readability */
}

.about-section .section-title {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  position: relative;
  z-index: 2;
}

/* Wrapper & Slider */
.about-wrapper {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  text-align: center;
}

.about-slider {
  position: relative;
  overflow: hidden;
}

/* Slides */
.about-slide {
  display: none;
  animation: fadeIn 0.6s ease-in-out;
  color: #fff;
}

.about-slide.active {
  display: block;
}

.about-text p {
  margin-bottom: 1.2rem;
  font-size: 1.15rem;
  line-height: 1.7;
  color: #f1f1f1;
}

/* Education block */
.education {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
}

.education h3 {
  color: #ffdd57;
  margin-bottom: 1.5rem;
  font-size: 1.6rem;
  font-weight: 600;
}

.education-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.5rem;
  text-align: left;
}

.education-icon {
  font-size: 2rem;
  color: #00ffae;
  margin-right: 1.2rem;
  min-width: 2rem;
}

.education-info h4 {
  margin-bottom: 0.4rem;
  font-size: 1.2rem;
  font-weight: 600;
  color: #fff;
}

.education-info p {
  font-size: 0.95rem;
  color: #ddd;
}

/* ===== Dots Navigation at Bottom ===== */
.about-dots {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 2rem;
}

.about-dots .dot {
  width: 12px;
  height: 12px;
  background: #bbb;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s;
}

.about-dots .dot.active {
  background: #52e204;
  transform: scale(1.3);
}

/* Fade animation */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}


        #vision {
            background-color: var(--light-gray);
            padding-top: 10rem;
        }

        .vision-container {
            max-width: 900px;
            margin: 0 auto;
            text-align: center;
        }

        .vision-container > p {
            font-size: 1.15rem;
            margin-bottom: 2rem;
            color: var(--black);
        }


        .values {
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            gap: 2.5rem; /* Increased gap */
            margin: 4rem 0 2rem 0; /* More space above and below */
        }

        .value-card {
            background-color: var(--white);
            padding: 2.5rem; /* More padding */
            border-radius: 15px; /* More rounded */
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08); /* Stronger shadow */
            flex: 1;
            min-width: 250px;
            max-width: 320px; /* Max width for cards */
            transition: var(--transition);
            text-align: center;
        }

        .value-card:hover {
            transform: translateY(-12px); /* Lift higher on hover */
            box-shadow: 0 18px 40px rgba(0, 0, 0, 0.15); /* More prominent shadow */
        }

        .value-icon {
            font-size: 3.5rem; /* Larger icons */
            color: var(--light-green);
            margin-bottom: 1.2rem;
        }

        .value-card h3 {
            font-size: 1.5rem;
            color: var(--green);
            margin-bottom: 0.8rem;
        }

        .value-card p {
            font-size: 1rem;
            color: var(--gray);
        }

        #work {
            background-color: var(--white);
            padding-top: 10rem;
        }

        .work-container {
            max-width: 1100px;
            margin: 0 auto;
        }

        .initiatives {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); /* Slightly wider min width */
            gap: 2.5rem; /* Increased gap */
        }

        .initiative {
            background-color: var(--light-gray);
            border-radius: 12px; /* More rounded */
            overflow: hidden;
            box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08); /* Stronger shadow */
            transition: var(--transition);
            display: flex;
            flex-direction: column; /* Ensure content flows vertically */
        }

        .initiative:hover {
            transform: translateY(-8px); /* Lift higher */
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
        }

        .initiative-img img {
            width: 100%;
            height: 220px; /* Slightly taller images */
            object-fit: cover;
        }

        .initiative-info {
            padding: 1.8rem; /* More padding */
            flex-grow: 1; /* Allow content to push footer down */
        }

        .initiative-info h3 {
            color: var(--green);
            margin-bottom: 0.8rem;
            font-size: 1.4rem;
            font-weight: 600;
        }

        .initiative-info p {
            font-size: 1rem;
            color: var(--black);
        }

        #gallery {
            background-color: var(--light-gray);
            padding-top: 10rem;
        }

        .gallery-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); /* Wider min width for items */
            gap: 1.5rem; /* Increased gap */
            margin-top: 3rem;
            max-width: 1200px;
            margin-left: auto;
            margin-right: auto;
        }

        .gallery-item {
            position: relative;
            overflow: hidden;
            border-radius: 10px; /* More rounded */
            height: 280px; /* Taller items */
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
        }

        .gallery-item img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: var(--transition);
        }

        .gallery-item:hover img {
            transform: scale(1.1); /* More pronounced zoom */
        }

        .gallery-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(27, 94, 32, 0.85); /* Darker overlay */
            display: flex;
            justify-content: center;
            align-items: center;
            opacity: 0;
            transition: var(--transition);
        }

        .gallery-item:hover .gallery-overlay {
            opacity: 1;
        }

        .gallery-overlay i {
            color: var(--white);
            font-size: 2.5rem; /* Larger icon */
        }

        #news {
            background-color: var(--white);
            padding-top: 10rem;
        }

        .news-container {
            max-width: 800px;
            margin: 0 auto;
            padding: 0 1rem;
        }

        .news-item {
            margin-bottom: 2.5rem;
            padding-bottom: 2.5rem;
            border-bottom: 1px solid var(--dark-gray);
        }

        .news-item:last-child {
            border-bottom: none;
        }

        .news-item h3 {
            font-size: 1.6rem;
            color: var(--green);
            margin-bottom: 0.5rem;
            font-weight: 600;
        }

        .news-date {
            color: var(--gray);
            font-size: 0.95rem;
            margin-bottom: 1rem;
            display: block; /* Ensures date is on its own line */
        }

        .news-item p {
            font-size: 1.05rem;
            margin-bottom: 1rem;
        }

        .news-item a {
            color: var(--light-green); /* Lighter green for links */
            text-decoration: none;
            font-weight: 500;
            transition: var(--transition);
        }

        .news-item a:hover {
            color: var(--green);
            text-decoration: underline;
        }

        .fb-container {
            margin-top: 3rem;
            background-color: var(--light-gray);
            padding: 2rem;
            border-radius: 10px;
            box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
            text-align: center; /* Center the content */
        }

        .fb-container h3 {
            color: var(--green);
            margin-bottom: 1rem;
            font-size: 1.8rem;
        }

        .fb-container p {
            margin-bottom: 1.5rem;
            font-size: 1.1rem;
            color: var(--black);
        }

        .endorsement-cards {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}
.endorsement-card {
  background: var(--white);
  border-radius: 12px;
  box-shadow: var(--shadow-3d);
  padding: 2rem;
  max-width: 350px;
  text-align: center;
  font-style: italic;
  color: var(--black);
  margin-bottom: 2rem;
}
.endorsement-card span {
  display: block;
  margin-top: 1rem;
  color: var(--green);
  font-weight: 600;
}

.testimonials-container {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}

.testimonial {
  background: var(--white);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 2rem;
  max-width: 350px;
  text-align: center;
  font-style: italic;
  color: var(--black);
  margin-bottom: 2rem;
}

.testimonial cite {
  display: block;
  margin-top: 1rem;
  color: var(--green);
  font-weight: 600;
}

.policies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.policy-card {
  background: var(--white);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 2rem;
  text-align: center;
  transition: var(--transition);
}

.policy-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.policy-icon {
  font-size: 3rem;
  color: var(--light-green);
  margin-bottom: 1rem;
}

.policy-card h3 {
  color: var(--green);
  margin-bottom: 0.5rem;
}

.policy-card p {
  color: var(--gray);
}


    .whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  font-size: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
  animation: floating 3s infinite;
  transition: background 0.3s;
}
.whatsapp-float:hover {
  background: #128C7E;
}

   
        #contact {
            background-color: var(--green);
            color: var(--white);
            padding-top: 10rem;
        }

        #contact .section-title {
            color: var(--white); /* White title for dark background */
        }

        #contact .section-title::after {
            background-color: var(--accent-gold); /* Gold line for dark background */
        }

        .contact-container {
            max-width: 700px;
            margin: 0 auto;
            padding: 0 1rem;
        }

        .form-group {
            margin-bottom: 2rem;
        }

        label {
            display: block;
            margin-bottom: 0.8rem; /* More space below label */
            font-weight: 600;
            font-size: 1.1rem;
        }

        input, textarea {
            width: 100%;
            padding: 1rem; /* More padding in fields */
            border: none;
            border-radius: 8px; /* More rounded fields */
            background-color: rgba(255, 255, 255, 0.95); /* Slightly less transparent */
            color: var(--black);
            font-family: var(--font-family);
            font-size: 1rem;
            transition: var(--transition);
        }

        input:focus, textarea:focus {
            outline: none;
            background-color: var(--white);
            box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.4); /* Clearer focus ring */
        }

        textarea {
            min-height: 180px; /* Taller textarea */
            resize: vertical;
        }

        .submit-btn {
            background-color: var(--accent-gold); /* Gold submit button */
            color: var(--green); /* Green text on gold */
            border: none;
            padding: 1.1rem 2.5rem; /* Larger button */
            font-size: 1.1rem;
            font-weight: 700;
            border-radius: 50px;
            cursor: pointer;
            transition: var(--transition);
            display: block; /* Make button full width by default */
            width: fit-content; /* Adjust width to content */
            margin: 0 auto; /* Center the button */
        }

        .submit-btn:hover {
            background-color: #E6B800; /* Darker gold on hover */
            transform: translateY(-3px); /* More pronounced lift */
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
        }

        .social-links {
            display: flex;
            justify-content: center;
            margin-top: 4rem; /* More space below form */
        }

        .social-link {
            display: flex;
            justify-content: center;
            align-items: center;
            width: 55px; /* Larger social icons */
            height: 55px;
            background-color: var(--white);
            color: var(--green);
            border-radius: 50%;
            margin: 0 0.7rem; /* Increased margin */
            font-size: 1.8rem; /* Larger icon size */
            transition: var(--transition);
            text-decoration: none;
            box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
        }

        .social-link:hover {
            background-color: var(--light-green); /* Green background on hover */
            color: var(--white); /* White icon on hover */
            transform: translateY(-8px) rotate(5deg); /* More dynamic hover */
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
        }

        /* Call to Action Banner */
        .cta-banner {
            background: linear-gradient(to right, var(--green), var(--light-green)); /* Gradient background */
            color: var(--white);
            padding: 4rem 2rem;
            text-align: center;
        }

        .cta-content h3 {
            font-size: 2.2rem;
            margin-bottom: 1rem;
            font-weight: 700;
            line-height: 1.2;
        }

        .cta-content p {
            font-size: 1.2rem;
            margin-bottom: 2rem;
            font-weight: 300;
        }

        .cta-button {
            display: inline-block;
            background-color: var(--white);
            color: var(--green);
            padding: 1.2rem 3rem;
            border-radius: 50px;
            text-decoration: none;
            font-weight: 700;
            font-size: 1.1rem;
            transition: var(--transition);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
        }

        .cta-button:hover {
            background-color: var(--accent-gold); /* Gold on hover */
            color: var(--white);
            transform: translateY(-3px);
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
        }

        footer {
            background-color: var(--black);
            color: var(--white);
            text-align: center;
            padding: 2.5rem; /* More padding */
            font-size: 0.9rem;
        }

        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(40px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes slideIn {
            from {
                opacity: 0;
                transform: translateX(-50px);
            }
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }

        @keyframes pulse {
            0% {
                transform: scale(1);
            }
            50% {
                transform: scale(1.05);
            }
            100% {
                transform: scale(1);
            }
        }

        @keyframes floating {
            0%, 100% {
                transform: translateY(0px);
            }
            50% {
                transform: translateY(-10px);
            }
        }

       

        @keyframes typewriter {
            from {
                width: 0;
            }
            to {
                width: 100%;
            }
        }

        @keyframes blink {
            50% {
                border-color: transparent;
            }
        }

        

        /* Floating Particles */
        .floating-particles {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            overflow: hidden;
            pointer-events: none;
            z-index: 0;
        }

        .floating-particle {
            position: absolute;
            background: var(--gradient-gold);
            border-radius: 50%;
            opacity: 0.7;
            animation: floatParticle 6s infinite ease-in-out;
        }

        .floating-particle:nth-child(2n) {
            background: var(--gradient-blue);
            animation-delay: -2s;
        }

        .floating-particle:nth-child(3n) {
            background: var(--purple);
            animation-delay: -4s;
        }

        @keyframes floatParticle {
            0%, 100% {
                transform: translateY(100vh) rotate(0deg);
                opacity: 0;
            }
            50% {
                transform: translateY(50vh) rotate(180deg);
                opacity: 0.7;
            }
        }

        /* Advanced Animations */
        @keyframes glowPulse {
            0%, 100% {
                box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
            }
            50% {
                box-shadow: 0 0 40px rgba(255, 215, 0, 0.6);
            }
        }

        @keyframes slideInFromLeft {
            from {
                opacity: 0;
                transform: translateX(-100px);
            }
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }

        @keyframes slideInFromRight {
            from {
                opacity: 0;
                transform: translateX(100px);
            }
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }


        

        /* Enhanced Hover Effects */
        .social-link:hover {
            transform: translateY(-8px) rotate(5deg) scale(1.1);
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
            background: var(--gradient-gold);
            color: var(--green);
        }

        .cta-button:hover {
            transform: translateY(-5px) scale(1.05);
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
            background: var(--gradient-blue);
        }

        

        /* Custom Scrollbar */
       

        ::-webkit-scrollbar-track {
            background: var(--light-gray);
        }

        ::-webkit-scrollbar-thumb {
            background: var(--gradient-green);
            border-radius: 4px;
        }

        ::-webkit-scrollbar-thumb:hover {
            background: var(--green);
        }

        


        /* Typewriter Effect */
        .typewriter {
            overflow: hidden;
            border-right: 2px solid var(--accent-gold);
            white-space: nowrap;
            animation: typewriter 3s steps(40, end), blink 0.75s step-end infinite;
        }

        


        /* Modal Styles */
        .modal {
            display: none;
            position: fixed;
            z-index: 1000;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0,0,0,0.8);
            justify-content: center;
            align-items: center;
        }

        .modal-content {
            max-width: 90%;
            max-height: 90%;
            background: var(--white);
            border-radius: 10px;
            overflow: hidden;
        }

        .modal img {
            width: 100%;
            height: auto;
        }

        .close {
            position: absolute;
            top: 10px;
            right: 20px;
            color: var(--white);
            font-size: 30px;
            cursor: pointer;
        }

        /* Live Backgrounds */
        .section-bg {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: -1;
            mix-blend-mode: multiply;
            transform: translateY(calc(var(--scroll) * 0.2));
        }

        .floating-container {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            pointer-events: none;
            overflow: hidden;
            z-index: 0;
        }

        .floating-element {
            position: absolute;
            opacity: 0.6;
            mix-blend-mode: screen;
            transition: transform 0.1s;
        }

        /* Scroll indicators */
        .scroll-indicator {
            position: absolute;
            bottom: 30px;
            left: 50%;
            transform: translateX(-50%);
            animation: bounce 2s infinite;
            color: var(--white);
            font-size: 2.5rem; /* Larger icon */
            opacity: 1;
            transition: opacity 0.5s ease;
        }

        .scroll-indicator.hidden {
            opacity: 0;
            pointer-events: none; /* Disable interaction when hidden */
        }

        @keyframes bounce {
            0%, 20%, 50%, 80%, 100% {
                transform: translateY(0) translateX(-50%);
            }
            40% {
                transform: translateY(-20px) translateX(-50%);
            }
            60% {
                transform: translateY(-10px) translateX(-50%);
            }
        }

        /* Media Queries for Responsiveness */
        @media (max-width: 992px) {
            .nav-links li {
                margin-left: 1.5rem;
            }
            .hero-content h1 {
                font-size: 3rem;
            }
            
            .about-img {
                order: -1; /* Image first on mobile */
                margin-bottom: 2rem;
                display: flex;
                justify-content: center;
            }
            .section-title {
                font-size: 2rem;
            }
            .value-card, .symbol {
                flex: 1 1 180px;
            }
            .initiatives {
                grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            }
            .gallery-grid {
                grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            }
        }

        @media (max-width: 768px) {
            nav {
                padding: 0 1.5rem;
            }
            .menu-toggle {
                display: block;
                position: relative;
                z-index: 1000; /* stays above the sidebar */
            }
                @media (max-width: 768px) {
            .nav-links {
                position: fixed;
                top: 75px;
                left: 0;
                right: 0;
                background-color: var(--green);
                width: 50%;
                flex-direction: column;
                align-items: center;
                padding: 1.5rem 0;
                transform: translateX(-100%);
                transition: transform 0.45s ease-in-out;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  
}

            .nav-links.active {
                right: 0; /* slide in */
                transform: translateX(0);
                box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
            }
            .nav-links li {
                margin: 1.2rem 0;
                width: 100%;
                text-align: center;
            }
            .nav-links a {
                display: block; /* Make links clickable across full width */
                padding: 0.8rem 0;
            }
            .nav-links a::after {
                left: 50%;
                transform: translateX(-50%);
                width: 0;
            }
            .nav-links a:hover::after,
            .nav-links a.active::after {
                width: 60%; /* Smaller underline for mobile */
            }
            section {
                padding: 6rem 1.5rem; /* Less padding on smaller screens */
            }
            #hero {
                padding-top: 100px;
            }
            .hero-content h1 {
                font-size: 2.5rem;
            }
            .hero-content .intro-text {
                font-size: 1.1rem;
            }
            .slogan span {
                font-size: 0.85rem;
                padding: 0.5rem 1rem;
            }
            
            .section-title {
                font-size: 1.8rem;
                margin-bottom: 3rem;
            }
            
            .value-card {
                min-width: unset; /* Allow flexibility */
                flex: 1 1 100%; /* Stack values on mobile */
                max-width: 300px; /* Limit width */
            }
            .social-link {
                width: 45px;
                height: 45px;
                font-size: 1.5rem;
            }
            .cta-content h3 {
                font-size: 1.8rem;
            }
            .cta-content p {
                font-size: 1rem;
            }
            .cta-button {
                padding: 1rem 2rem;
                font-size: 1rem;
            }
        }

        @media (max-width: 480px) {
            .logo {
                font-size: 1.3rem;
            }
            .logo .logo-icon {
                font-size: 1.5rem;
            }
            .hero-content h1 {
                font-size: 2rem;
            }
            .profile-photo {
                width: 180px;
                height: 180px;
            }
            .hero-badge {
                font-size: 0.8rem;
                padding: 0.3rem 0.7rem;
            }
            .section-title {
                font-size: 1.5rem;
            }
            
            .education h3 {
                font-size: 1.4rem;
            }
            .value-card h3 {
                font-size: 1.3rem;
            }
            .value-icon {
                font-size: 3rem;
            }
            .initiatives, .gallery-grid {
                grid-template-columns: 1fr; /* Single column layout for very small screens */
                max-width: 350px;
                margin-left: auto;
                margin-right: auto;
            }
            .news-item h3 {
                font-size: 1.4rem;
            }
            .social-link {
                width: 40px;
                height: 40px;
                font-size: 1.3rem;
            }
            .submit-btn {
                width: 100%; /* Full width button on small screens */
            }
        }
    /* Fix small screen issues */
@media (max-width: 768px) {
  section {
    padding: 5rem 1rem;   /* reduce padding */
    min-height: auto;     /* remove forced 100vh */
  }

  .nav-links {
    flex-direction: column;
    gap: 1rem;
  }

  .value-card,
  .initiative,
  .gallery-item {
    min-width: 100%;   /* let them shrink instead of overflow */
    max-width: 100%;
  }

  .hero-content h1 {
    font-size: 2rem;   /* shrink text */
  }

  .hero-content .intro-text {
    font-size: 1.1rem;
  }
}
