/* Reset & Base Styles */
:root {
    --primary: #1a535c;
    --primary-dark: #0d3a42;
    --primary-light: #4a8b94;
    --secondary: #f7fff7;
    --accent: #ff6b6b;
    --accent-dark: #e05a5a;
    --dark: #1e1e1e;
    --gray: #6c757d;
    --light: #f8f9fa;
    --transition: cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.12);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.15);
    --border-radius: 12px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Source Sans Pro', sans-serif;
    line-height: 1.7;
    color: var(--dark);
    background: #ffffff;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

.container-custom {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Progress Bar */
.progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: var(--accent);
    z-index: 1001;
    transition: width 0.3s var(--transition);
}

/* Professional Header */
.professional-header {
    background: white;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding: 0.5rem 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    backdrop-filter: blur(10px);
    background: rgba(255,255,255,0.98);
    transition: all 0.3s var(--transition);
}

.professional-header.scrolled {
    box-shadow: var(--shadow-sm);
    background: rgba(255,255,255,0.98);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
}

.logo-img {
    height: 50px;
    width: auto;
    filter: brightness(0) saturate(100%) invert(23%) sepia(38%) saturate(573%) hue-rotate(147deg) brightness(92%) contrast(89%);
}

.logo-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    font-weight: 900;
    color: rgba(3, 177, 3, 0.808);
    letter-spacing: -0.5px;
}

.logo-subtitle {
    font-size: 0.7rem;
    color: rgba(3, 177, 3, 0.808);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-top: -5px;
}

/* Professional Navigation */
.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-link {
    text-decoration: none;
    color: var(--dark);
    font-weight: 600;
    font-size: 0.95rem;
    position: relative;
    padding: 0.5rem 0;
    transition: color 0.3s var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--primary);
}

.btn-donate-pro {
    background: rgba(3, 177, 3, 0.808);
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s var(--transition);
    letter-spacing: 0.5px;
}

.btn-donate-pro:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary);
    cursor: pointer;
    z-index: 1002;
}

.mobile-menu {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: white;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    transform: translateY(-100%);
    opacity: 0;
    transition: all 0.3s var(--transition);
    z-index: 999;
}

.mobile-menu.active {
    transform: translateY(0);
    opacity: 1;
}

.mobile-menu .nav-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Hero Section with Background Image */
.hero-with-bg {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 70px;
    position: relative;
    overflow: hidden;
}

.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-bg-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(79, 80, 80, 0.116) 0%,
        rgba(13, 58, 66, 0.9) 100%
    );
    z-index: 1;
}

.hero-content-bg {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    color: white;
}

.hero-badge-bg {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 2rem;
    letter-spacing: 1px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.9;
        transform: scale(1.02);
    }
}

.hero-title-bg {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    color: white;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero-title-bg span {
    color: var(--accent);
    position: relative;
    display: inline-block;
}

.hero-title-bg span::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 8px;
    background: rgba(255,107,107,0.3);
    z-index: -1;
}

.hero-subtitle-bg {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin-bottom: 3rem;
    font-weight: 400;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.hero-stats-bg {
    display: flex;
    gap: 2rem;
    margin: 3rem 0;
}

.stat-item-bg {
    text-align: center;
}

.stat-number-bg {
    font-family: 'Montserrat', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    color: white;
    display: block;
    line-height: 1;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.stat-label-bg {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-cta-bg {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-primary-bg {
    background: rgba(3, 177, 3, 0.808);
    color: white;
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s var(--transition);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.btn-primary-bg:hover {
    background: var(--accent-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-outline-white {
    background: transparent;
    color: white;
    padding: 1rem 2.5rem;
    border: 2px solid white;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s var(--transition);
}

.btn-outline-white:hover {
    background: white;
    color: var(--primary);
    transform: translateY(-3px);
}

/* Page Hero Section */
.page-hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    position: relative;
    overflow: hidden;
    color: white;
}

.about-hero {
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.55) 0%,
        rgba(0, 0, 0, 0.25) 40%,
        rgba(0, 0, 0, 0.05) 100%
    ),
    url('img/1.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.programs-hero {
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.55) 0%,
        rgba(0, 0, 0, 0.25) 40%,
        rgba(0, 0, 0, 0.05) 100%
    ),
    url('img/back to school.jpeg');
    background-size: cover;
    background-position: center;
}

.contact-hero {
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.55) 0%,
        rgba(0, 0, 0, 0.25) 40%,
        rgba(0, 0, 0, 0.05) 100%
    ),
    url('img/community engagement.jpg');
    background-size: cover;
}

.gallery-hero {
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.55) 0%,
        rgba(0, 0, 0, 0.25) 40%,
        rgba(0, 0, 0, 0.05) 100%
    ),
    url('img/hero1.JPG');
    background-size: cover;
}

/* Ensure hero overlay works correctly */
.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.page-hero .hero-content-page {
    position: relative;
    z-index: 2;
}

.hero-content-page {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-badge-page {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 2rem;
    letter-spacing: 1px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    animation: pulse 2s infinite;
}

.hero-title-page {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    color: white;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero-subtitle-page {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
    font-weight: 400;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.hero-cta-page {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary-pro {
    background: rgba(3, 177, 3, 0.808);
    color: white;
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s var(--transition);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.btn-primary-pro:hover {
    background: var(--accent-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    z-index: 2;
    color: rgba(255, 255, 255, 0.8);
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(
        to bottom,
        rgba(255,255,255,0.8) 0%,
        rgba(255,255,255,0) 100%
    );
    animation: scrollLine 2s infinite;
}

@keyframes scrollLine {
    0% {
        height: 0;
        opacity: 0;
    }
    50% {
        height: 60px;
        opacity: 1;
    }
    100% {
        height: 0;
        opacity: 0;
        transform: translateY(60px);
    }
}

/* Section Styling */
.section-pro {
    padding: 100px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-label {
    font-size: 0.9rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    margin-bottom: 1rem;
    display: block;
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto;
    font-weight: 400;
}

/* About Section */
.about-section {
    background: var(--light);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image-container {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    transition: transform 0.8s var(--transition);
}

.about-image:hover {
    transform: scale(1.05);
}

.about-content h3 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-dark);
}

.about-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: var(--gray);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.value-item {
    background: white;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s var(--transition);
    border-left: 4px solid var(--primary);
}

.value-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.value-item h5 {
    font-size: 1.1rem;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

/* Programs Section */
.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.program-card-pro {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.4s var(--transition);
    height: 100%;
}

.program-card-pro:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.program-image-container {
    height: 250px;
    overflow: hidden;
}

.program-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--transition);
}

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

.program-content {
    padding: 2rem;
}

.program-content h4 {
    font-size: 1.5rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.program-content p {
    color: var(--gray);
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.program-link {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s var(--transition);
}

.program-link:hover {
    gap: 1rem;
}

/* Impact Section */
.impact-section {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: white;
}

.impact-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 4rem 0;
}

.impact-stat {
    text-align: center;
    padding: 2rem;
    background: rgba(255,255,255,0.1);
    border-radius: var(--border-radius);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    transition: transform 0.3s var(--transition);
}

.impact-stat:hover {
    transform: translateY(-5px);
}

.impact-number {
    font-size: 3.5rem;
    font-weight: 800;
    display: block;
    margin-bottom: 0.5rem;
    color: white;
}

.impact-label {
    font-size: 1rem;
    opacity: 0.9;
}

/* Gallery Section */
.gallery-grid-pro {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.gallery-item-pro {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    height: 300px;
    cursor: pointer;
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--transition);
}

.gallery-overlay-pro {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26,83,92,0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s var(--transition);
}

.gallery-item-pro:hover .gallery-overlay-pro {
    opacity: 1;
}

.gallery-item-pro:hover .gallery-image {
    transform: scale(1.1);
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-form-pro .form-group {
    margin-bottom: 1.5rem;
}

.contact-form-pro input,
.contact-form-pro select,
.contact-form-pro textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: var(--border-radius);
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 1rem;
    transition: all 0.3s var(--transition);
}

.contact-form-pro input:focus,
.contact-form-pro select:focus,
.contact-form-pro textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(26,83,92,0.1);
}

.contact-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 3rem;
}

.contact-info-item {
    background: var(--light);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    border-left: 3px solid var(--accent);
    transition: transform 0.3s var(--transition);
}

.contact-info-item:hover {
    transform: translateY(-3px);
}

.contact-info-item h5 {
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

/* Cards for Programs & Get Involved */
.involvement-card-pro {
    background: white;
    padding: 30px;
    border-radius: var(--border-radius);
    text-align: center;
    height: 100%;
    box-shadow: var(--shadow-md);
    transition: all 0.3s var(--transition);
    border-top: 4px solid var(--accent);
}

.involvement-card-pro:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.involvement-card-pro h4 {
    color: var(--primary-dark);
    margin: 1rem 0;
}

.involvement-card-pro p {
    color: var(--gray);
    margin-bottom: 1.5rem;
}

.involvement-link-pro {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s var(--transition);
}

.involvement-link-pro:hover {
    gap: 1rem;
}

.contact-info-card-pro {
    background: white;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s var(--transition);
    border-left: 3px solid var(--accent);
}

.contact-info-card-pro:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.info-icon-pro {
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    font-size: 1.25rem;
}

/* Footer */
.footer-pro {
    background: var(--dark);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    font-size: 2rem;
    font-weight: 900;
    color: white;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color 0.3s var(--transition);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: white;
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 1.5rem;
}

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

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

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s var(--transition);
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.6s var(--transition);
}

.scale-in.visible {
    opacity: 1;
    transform: scale(1);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.8s var(--transition);
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.8s var(--transition);
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Loading Animation */
.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s linear infinite;
    margin-left: 10px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Typewriter Effect */
.typewriter {
    overflow: hidden;
    border-right: 2px solid var(--accent);
    white-space: nowrap;
    animation: typing 3.5s steps(40, end), blink-caret 0.75s step-end infinite;
}

@keyframes typing {
    from { width: 0 }
    to { width: 100% }
}

@keyframes blink-caret {
    from, to { border-color: transparent }
    50% { border-color: var(--accent) }
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.cta-description {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Chatbot Styles */
.chatbot-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.chatbot-button {
    width: 60px;
    height: 60px;
    background: rgba(0, 0, 255, 0.616);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s var(--transition);
}

.chatbot-button:hover {
    background: var(--accent-dark);
    transform: scale(1.1);
}

.chatbot-window {
    position: absolute;
    bottom: 70px;
    right: 0;
    width: 350px;
    height: 500px;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    display: none;
    flex-direction: column;
    overflow: hidden;
}

.chatbot-window.active {
    display: flex;
}

.chatbot-header {
    background: var(--primary);
    color: white;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chatbot-header h5 {
    margin: 0;
    font-size: 1.2rem;
}

.btn-close-chat {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

.chatbot-messages {
    flex: 1;
    padding: 1rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.bot-message, .user-message {
    max-width: 80%;
    padding: 0.75rem 1rem;
    border-radius: 18px;
    font-size: 0.95rem;
    line-height: 1.4;
}

.bot-message {
    background: var(--light);
    align-self: flex-start;
    border-bottom-left-radius: 5px;
}

.user-message {
    background: var(--primary);
    color: white;
    align-self: flex-end;
    border-bottom-right-radius: 5px;
}

.chatbot-input {
    display: flex;
    padding: 1rem;
    border-top: 1px solid rgba(0,0,0,0.1);
    background: white;
}

.chatbot-input input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 30px;
    outline: none;
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 0.95rem;
}

.chatbot-input button {
    background: rgba(3, 177, 3, 0.808);
    color: white;
    border: none;
    border-radius: 30px;
    padding: 0.75rem 1.5rem;
    margin-left: 0.5rem;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.chatbot-input button:hover {
    background: var(--accent-dark);
}

/* Gallery Page Specific Styles */
.gallery-grid-enhanced {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.gallery-item-enhanced {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    height: 300px;
    cursor: pointer;
}

.gallery-item-enhanced img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--transition);
}

.gallery-item-enhanced:hover img {
    transform: scale(1.1);
}

.gallery-overlay-enhanced {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 83, 92, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s var(--transition);
    padding: 2rem;
}

.gallery-item-enhanced:hover .gallery-overlay-enhanced {
    opacity: 1;
}

.gallery-content {
    text-align: center;
    color: white;
}

.gallery-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: white;
}

.gallery-description {
    font-size: 0.95rem;
    opacity: 0.9;
    margin-bottom: 1rem;
}

.gallery-category {
    display: inline-block;
    background: var(--accent);
    color: white;
    padding: 0.25rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.gallery-filters {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.filter-btn {
    background: white;
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 0.5rem 1.5rem;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s var(--transition);
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--primary);
    color: white;
}

.video-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s var(--transition);
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.video-thumbnail {
    position: relative;
    height: 200px;
    overflow: hidden;
}

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

.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 107, 107, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s var(--transition);
}

.video-play-btn:hover {
    background: var(--accent);
    transform: translate(-50%, -50%) scale(1.1);
}

.video-content {
    padding: 1.5rem;
}

.video-title {
    font-size: 1.25rem;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.video-description {
    color: var(--gray);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.video-duration {
    display: inline-block;
    background: var(--light);
    color: var(--primary);
    padding: 0.25rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.gallery-stat {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    display: block;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: var(--gray);
}

/* Lightbox Styles */
.lightbox-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.lightbox-caption {
    background: white;
    padding: 1.5rem;
    border-radius: 0 0 var(--border-radius) var(--border-radius);
    width: 100%;
    text-align: center;
    margin-top: -5px;
}

.lightbox-caption h3 {
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.lightbox-caption p {
    color: var(--gray);
    font-size: 1rem;
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 3rem;
    cursor: pointer;
    transition: color 0.3s var(--transition);
    z-index: 10001;
}

.lightbox-close:hover {
    color: var(--accent);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s var(--transition);
    z-index: 10001;
}

.lightbox-nav:hover {
    background: var(--accent);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-nav.prev {
    left: -70px;
}

.lightbox-nav.next {
    right: -70px;
}

/* Notification Styles */
.notification {
    position: fixed;
    top: 100px;
    right: 20px;
    background: #4CAF50;
    color: white;
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 15px;
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

.notification-close {
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .hero-title-bg, .hero-title-page {
        font-size: 3rem;
    }
    .section-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 992px) {
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .hero-title-bg, .hero-title-page {
        font-size: 2.5rem;
    }
    
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .chatbot-window {
        width: 300px;
        height: 400px;
    }
}

@media (max-width: 768px) {
    .container-custom {
        padding: 0 1rem;
    }
    
    .hero-title-bg, .hero-title-page {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-stats-bg {
        flex-wrap: wrap;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .programs-grid {
        grid-template-columns: 1fr;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-info-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-cta-bg, .hero-cta-page, .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-cta-bg button, .hero-cta-page button, .cta-buttons button,
    .hero-cta-bg a, .hero-cta-page a, .cta-buttons a {
        width: 100%;
        justify-content: center;
    }
    
    .chatbot-window {
        right: -50px;
    }
    
    .lightbox-nav {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }
    
    .lightbox-nav.prev {
        left: 10px;
    }
    
    .lightbox-nav.next {
        right: 10px;
    }
    
    .lightbox-close {
        top: -50px;
        right: 10px;
        font-size: 2.5rem;
    }
    
    .lightbox-caption {
        padding: 1rem;
    }
    
    .lightbox-caption h3 {
        font-size: 1.25rem;
    }
    
    .lightbox-caption p {
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .section-pro {
        padding: 60px 0;
    }
    
    .hero-title-bg, .hero-title-page {
        font-size: 1.8rem;
    }
    
    .hero-subtitle-bg, .hero-subtitle-page {
        font-size: 1rem;
    }
    
    .chatbot-widget {
        bottom: 20px;
        right: 20px;
    }
    
    .chatbot-window {
        width: 280px;
        height: 400px;
        right: -30px;
    }
    
    .gallery-grid-pro {
        grid-template-columns: 1fr;
    }
}

/* Additional Responsive for Gallery Grid */
@media (max-width: 992px) {
    .gallery-grid-pro {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .gallery-grid-pro {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
}

/* Gallery Item Hover Effects */
.gallery-item-pro {
    transition: all 0.4s var(--transition);
    opacity: 1;
    transform: scale(1);
}

/* Filter Button Active State */
.filter-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* Load More Button */
#loadMoreBtn {
    transition: all 0.3s var(--transition);
}

#loadMoreBtn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

#loadMoreBtn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}