/* Global Styles */
       :root {
    --primary-color: green; /* Deep Blue */
    --primary-dark: #002244; /* Darker shade of Deep Blue */
    --secondary-color: #008000; /* Green */
    --accent-color: #FFD700; /* Gold */
    --text-color: #333333;
    --light-text: #f8f8f8;
    --background-light: #f9f9f9;
    --background-white: #eaffff;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            line-height: 1.6;
            color: var(--text-color);
            background: #dadbe0;
        }

        a {
            text-decoration: none;
            color: inherit;
        }

        ul {
            list-style: none;
        }

        img {
            max-width: 100%;
            height: auto;
        }

        .container {
            width: 90%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 15px;
        }

        .btn {
            display: inline-block;
            padding: 12px 24px;
            border-radius: 30px;
            font-weight: 600;
            transition: var(--transition);
            cursor: pointer;
            text-align: center;
        }

        .btn-primary {
            background-color: #002244;
            color: white;
        }

        .btn-primary:hover {
            background-color: var(--primary-dark);
            transform: translateY(-3px);
            box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
        }

        .btn-secondary {
            background-color: white;
            color: var(--primary-color);
            border: 2px solid var(--primary-color);
        }

        .btn-secondary:hover {
            background-color: var(--primary-color);
            color: white;
        }

        .section-title {
            font-size: 2.2rem;
            margin-bottom: 1.5rem;
            position: relative;
            display: inline-block;
        }

        .section-title::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 0;
            width: 60px;
            height: 4px;
            background-color: var(--primary-color);
        }

        /* Header and Navigation */
      /* GlobeGivers Navigation Styles */
.gg-header {
    position: relative;
    background: #281c5c;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.gg-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.gg-nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
   
    position: relative;
}

.gg-logo h1 {
    margin: 0;
    font-size: 1.8rem;
    color: #f7f8f8;
}

.gg-hamburger {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1010;
}

.gg-hamburger-line {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px 0;
    background-color: #ecf0f3;
    transition: all 0.3s ease;
}

.gg-nav {
    flex-grow: 1;
}

.gg-nav-menu {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    
}

.gg-nav-item {
    position: relative;
    margin: 0 5px;
}

.gg-nav-link {
    display: block;
    padding: 10px 15px;
    color: #e8ecf0;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}




.gg-dropdown-icon {
    font-size: 0.7rem;
    margin-left: 5px;
}

.gg-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: transparent;
    min-width: 200px;
    border-radius: 4px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    opacity: 0;   
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    padding: 10px 0;
    list-style: none;
    z-index: 1020;
}

.gg-dropdown:hover .gg-dropdown-menu {
    opacity: 1;
    
    visibility: visible;
    transform: translateY(0);
    background: transparent;
}

.gg-dropdown-item {
    display: block;
    padding: 8px 20px;
    color: #f0f2f5;
    background: #281c5c;
    text-decoration: none;
    font-weight: 400;
    transition: all 0.2s ease;
}

.gg-dropdown-item:hover {
    background: #f8faf9;
    color: #3498db;
}

.gg-cta-btn {
    display: inline-block;
    padding: 10px 20px;
    background: #e74c3c;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.gg-cta-btn:hover {
    background: #c0392b;
    color: #fff;
}

/* Mobile Responsive Styles */
@media (max-width: 991px) {
    .gg-hamburger {
        display: block;
    }
    
    .gg-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: #5a66aa;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: all 0.4s ease;
        overflow-y: auto;
        z-index: 1005;
        padding-top: 80px;
    }
    
    .gg-nav.gg-active {
        right: 0;
    }
    
    .gg-nav-menu {
        flex-direction: column;
        align-items: flex-start;
        padding: 0 20px;
    }
    
    .gg-nav-item {
        width: 100%;
        margin: 0;
        border-bottom: 1px solid #3bd127;
    }
    
    .gg-nav-link {
        padding: 15px 0;
    }
    
    .gg-dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding-left: 15px;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .gg-dropdown.gg-open .gg-dropdown-menu {
        max-height: 500px;
    }
    
    .gg-dropdown-toggle {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .gg-dropdown-icon {
        transition: transform 0.3s ease;
    }
    
    .gg-dropdown.gg-open .gg-dropdown-icon {
        transform: rotate(180deg);
    }
    
    .gg-cta-btn {
        margin: 15px 0;
    }
    
    /* Hamburger Animation */
    .gg-hamburger.gg-active .gg-hamburger-line:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .gg-hamburger.gg-active .gg-hamburger-line:nth-child(2) {
        opacity: 0;
    }
    
    .gg-hamburger.gg-active .gg-hamburger-line:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}

        /* Hero Section */
        .hero {
            height: 80vh;
            background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('/images/hero.jpg') center/cover no-repeat;
            display: flex;
            align-items: center;
            color: white;
            text-align: center;
        }

        .hero-content {
            max-width: 800px;
            margin: 0 auto;
        }

        .hero-title {
            font-size: 3rem;
            margin-bottom: 1.5rem;
            animation: fadeInDown 1s ease;
        }

        .hero-description {
            font-size: 1.2rem;
            margin-bottom: 2rem;
            animation: fadeInUp 1s ease 0.3s;
            animation-fill-mode: both;
        }

        .hero-btns {
            display: flex;
            justify-content: center;
            gap: 20px;
            animation: fadeInUp 1s ease 0.6s;
            animation-fill-mode: both;
        }

        /* About Section */
        .about {
            padding: 80px 0;
            text-align: left;
            background-color: var(--background-light);
        }

        .about-description {
            max-width: 800px;
            margin: 0 auto 3rem;
            font-size: 1.1rem;
        }

        .stats-container {
            display: flex;
            justify-content: space-between;
            flex-wrap: wrap;
            gap: 20px;
        }

        .stat-item {
            flex: 1 1 200px;
            background-color: white;
            padding: 30px 20px;
            border-radius: 10px;
            box-shadow: var(--shadow);
            transition: var(--transition);
        }

        .stat-item:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
        }

        .stat-number {
            font-size: 2.5rem;
            font-weight: 700;
            color: var(--primary-color);
            margin-bottom: 10px;
        }

        .stat-text {
            font-size: 1.1rem;
        }
/* Background colors */
.people { background-color: #4CAF50; }  /* Green */
.communities { background-color: #2196F3; }  /* Blue */
.volunteers { background-color: #FF9800; }  /* Orange */
.projects { background-color: #9C27B0; }  /* Purple */
.stat-item i {
    font-size: 50px; /* Increase or decrease as needed */
    margin-bottom: 10px;
}
        /* Programs Section */
        .programs {
            padding: 80px 0;
        }

        .programs-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 30px;
            margin-top: 3rem;
        }

        .program-card {
            background-color: white;
            border-radius: 10px;
            overflow: hidden;
            box-shadow: var(--shadow);
            transition: var(--transition);
        }

        .program-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
        }

        .program-img {
            height: 200px;
            overflow: hidden;
        }

        .program-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: var(--transition);
        }

        .program-card:hover .program-img img {
            transform: scale(1.1);
        }

        .program-content {
            padding: 20px;
        }

        .program-title {
            font-size: 1.3rem;
            margin-bottom: 10px;
            color: var(--primary-color);
        }

        .program-description {
            margin-bottom: 15px;
        }

        /* Testimonials Section */
        .testimonials {
            padding: 80px 0;
            background-color: var(--background-light);
            text-align: center;
        }

        .testimonial-slider {
            width: 100%;
            max-width: 800px;
            margin: 0 auto;
            position: relative;
            overflow: hidden;
        }

        .testimonial-slide {
            display: none;
            animation: fadeEffect 1.5s;
            padding: 30px;
        }

        .testimonial-slide.active {
            display: block;
        }

        .testimonial-content {
            background-color: white;
            padding: 30px;
            border-radius: 10px;
            box-shadow: var(--shadow);
            margin-bottom: 30px;
            border: 1px solid green;
            position: relative;
        }

        .testimonial-content::after {
            content: '';
            position: absolute;
            bottom: -20px;
            left: 50%;
            transform: translateX(-50%);
            border-left: 20px solid transparent;
            border-right: 20px solid transparent;
            border-top: 20px solid green;
        }

        .testimonial-text {
            font-style: italic;
            font-size: 1.1rem;
            margin-bottom: 20px;
        }

        .testimonial-author {
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .author-img {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            overflow: hidden;
            margin-right: 15px;
        }

        .author-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .author-info h4 {
            font-size: 1.1rem;
            margin-bottom: 5px;
        }

        .slider-controls {
            display: flex;
            justify-content: center;
            margin-top: 30px;
        }

        .slider-dots {
            display: flex;
            gap: 10px;
        }

        .dot {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background-color: #ddd;
            cursor: pointer;
            transition: var(--transition);
        }

        .dot.active {
            background-color: var(--primary-color);
        }

/* ========== CTA SECTION ========== */
.cta-section {
    background: linear-gradient(to #002244, navy, #0f0b89); /* Green gradient */
    color: rgb(5, 7, 26);
    text-align: center;
    padding: 60px 20px;
    margin: auto;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}



/* Title */
.cta-title {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 15px;
}

/* Description */
.cta-description {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 25px;
}

/* Buttons */
.cta-btns {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.btn {
    display: inline-block;
    padding: 12px 25px;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 5px;
    transition: 0.3s ease-in-out;
}


        /* Footer */
        footer {
            background-color: #2E7D32;
            color: white;
            padding: 60px 0 0;
        }

        .footer-container {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 40px;
        }

        .footer-col h3 {
            font-size: 1.3rem;
            margin-bottom: 1.5rem;
            position: relative;
        }

        .footer-col h3::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 0;
            width: 40px;
            height: 3px;
            background-color: var(--accent-color);
        }

        .footer-links li {
            margin-bottom: 10px;
        }

        .footer-links a {
            transition: var(--transition);
        }

        .footer-links a:hover {
            color: var(--accent-color);
            padding-left: 5px;
        }

        .social-links {
            display: flex;
            gap: 15px;
        }

        .social-links a {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 36px;
            height: 36px;
            background-color: rgba(255, 255, 255, 0.1);
            border-radius: 50%;
            transition: var(--transition);
        }

        .social-links a:hover {
            background-color: var(--accent-color);
            transform: translateY(-3px);
        }

        .copyright {
            text-align: center;
            padding: 20px 0;
            margin-top: 40px;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
        }

        /* Animations */
        @keyframes fadeInDown {
            from {
                opacity: 0;
                transform: translateY(-30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes fadeEffect {
            from {
                opacity: 0.4;
            }
            to {
                opacity: 1;
            }
        }

        /* Media Queries */
        @media (max-width: 992px) {
            .section-title {
                font-size: 2rem;
            }

            .hero-title {
                font-size: 2.5rem;
            }
        }

        @media (max-width: 768px) {
            .hamburger {
                display: block;
            }

            .nav-menu {
                position: fixed;
                top: 70px;
                left: -100%;
                flex-direction: column;
                background-color: white;
                width: 100%;
                text-align: center;
                box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
                transition: 0.3s;
                padding: 20px 0;
                height: calc(100vh - 70px);
                overflow-y: auto;
            }

            .nav-menu.active {
                left: 0;
            }

            .nav-item {
                margin: 0;
                padding: 10px 0;
            }

            .dropdown-menu {
                position: static;
                opacity: 1;
                visibility: visible;
                transform: none;
                width: 100%;
                box-shadow: none;
                max-height: 0;
                overflow: hidden;
                padding: 0;
                transition: max-height 0.3s ease;
            }

            .dropdown.active .dropdown-menu {
                max-height: 500px;
            }

            .dropdown-item {
                padding: 10px 0;
            }

            .dropdown-item:hover {
                padding-left: 0;
            }

            .hero {
                height: 70vh;
            }

            .hero-title {
                font-size: 2rem;
            }

            .hero-description {
                font-size: 1rem;
            }

            .hero-btns {
                flex-direction: column;
                align-items: center;
                gap: 10px;
            }

            .btn {
                width: 100%;
                max-width: 200px;
            }

            .stats-container {
                flex-direction: column;
            }

            .stat-item {
                margin-bottom: 20px;
            }
        }

        @media (max-width: 576px) {
            .section-title {
                font-size: 1.8rem;
            }

            .hero-title {
                font-size: 1.8rem;
            }

            .about, .programs, .testimonials, .cta-section {
                padding: 60px 0;
            }
        }
        
  .back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: var(--accent-color); /* Gold */
    color: var(--primary-color); /* Deep Blue */
    border: none;
    border-radius: 50%;
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    line-height: 50px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--primary-dark); /* Darker Deep Blue */
    color: var(--accent-color); /* Gold */
}      