/* Hero Section with Video Background */
.hero {
    position: relative;
    padding-bottom: 37.25%;
    height: 0;
    overflow: hidden;
    max-width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden;
}

/* .hero::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 250px;
    background: -moz-linear-gradient(to bottom, transparent, #0057b8);
    background: linear-gradient(to bottom, transparent, #0057b8);
    z-index: 1;
} */

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    min-height: 100%;
    object-fit: contain;
    z-index: -2;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(30, 60, 114, 0.3);
    z-index: -1;
}

@keyframes oceanWave {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero-content {
    z-index: 1;
    max-width: 800px;
    padding: 0 20px;
    animation: fadeInUp 1.5s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    letter-spacing: 2px;
}

.hero p {
    font-size: 1.4rem;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 50%, #4caf9a 100%);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 25px rgba(30, 60, 114, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(30, 60, 114, 0.4);
}

.cta-button:hover::before {
    left: 100%;
}

/* Main Content */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 50px;
    /* color: #1e3c72; */
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(45deg, #1e3c72, #4ECDC4);
    border-radius: 2px;
}

/* About Section */
.about {
    /* background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%); */
    color: #fff !important;
}

.about-content {
    /* display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px; */
    align-items: center;
}

.about-text {
    font-size: 16px;
    line-height: 1.8;
    /* color: #555; */
}

.about-text h3 {
    /* color: #1e3c72; */
    font-size: 24px;
    margin-bottom: 20px;
}

.about-image {
    text-align: center;
}

.logo-placeholder {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    color: white;
    font-size: 2rem;
    font-weight: bold;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Vision & Mission */
.vision-mission {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

.vision-mission::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(30, 60, 114, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(42, 82, 152, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(76, 175, 200, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.vm-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
    position: relative;
    z-index: 1;
}

.vm-item:last-child {
    margin-bottom: 0;
}

.vm-item.reverse {
    direction: rtl;
}

.vm-item.reverse > * {
    direction: ltr;
}

.vm-content {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    padding: 50px 40px;
    border-radius: 24px;
    border: 1px solid rgba(30, 60, 114, 0.1);
    box-shadow: 
        0 20px 40px rgba(30, 60, 114, 0.1),
        0 1px 0 rgba(255, 255, 255, 0.4) inset;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.vm-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #1e3c72, #2a5298, #4caf9a);
    border-radius: 24px 24px 0 0;
}

.vm-content:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 32px 64px rgba(30, 60, 114, 0.15),
        0 1px 0 rgba(255, 255, 255, 0.4) inset;
}

.vm-content h3 {
    font-size: 2.2rem;
    margin-bottom: 30px;
    color: #1e3c72;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.vm-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #475569;
    margin-bottom: 20px;
}

.vm-content ul {
    list-style: none;
    padding-left: 0;
}

.vm-content ul li {
    margin-bottom: 20px;
    padding: 15px 20px;
    background: rgba(30, 60, 114, 0.05);
    border-radius: 12px;
    border-left: 4px solid #4caf9a;
    position: relative;
    transition: all 0.3s ease;
}

.vm-content ul li:hover {
    background: rgba(30, 60, 114, 0.08);
    transform: translateX(8px);
}

.vm-content ul li::before {
    content: '🌊';
    margin-right: 12px;
    font-size: 1.2rem;
}

.vm-image {
    position: relative;
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(30, 60, 114, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.vm-image:hover {
    transform: scale(1.02);
    box-shadow: 0 30px 60px rgba(30, 60, 114, 0.3);
}

.vm-image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 50%, #4caf9a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    text-align: center;
    position: relative;
}

.vm-image-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
}

.vm-image-placeholder img{
    max-width: 100%;
    width: 100%;
    height: 100%;
    object-position: 50% center;
    object-fit: cover;
    position: absolute;
    left: 0;
}

/* Animation classes */
.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide-in-left.visible,
.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Gallery Section */
.gallery {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 50%, #4caf9a 100%);
    padding: 100px 0;
    position: relative;
}

.gallery::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 30% 40%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(76, 175, 154, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.gallery .section-title {
    color: white;
    position: relative;
    z-index: 1;
}

.gallery-slider {
    position: relative;
    margin-top: 50px;
    z-index: 1;
    overflow: hidden;
    border-radius: 20px;
}

.slider-container {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-slide {
    min-width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    padding: 0 20px;
}

.gallery-item {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    cursor: pointer;
    height: 320px;
}

.gallery-item img{
    max-width: 100%;
    width: 100%;
    height: 100%;
    object-position: 50% center;
    object-fit: cover;
    position: absolute;
    left: 0;
}

.gallery-item:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.gallery-placeholder {
    height: 220px;
    background: linear-gradient(135deg, #2a5298, #4caf9a, #1e3c72);
    background-size: 200% 200%;
    animation: gradientShift 4s ease-in-out infinite;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
    position: relative;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(30, 60, 114, 0.9);
    backdrop-filter: blur(10px);
}

.lightbox-content {
    position: relative;
    margin: 5% auto;
    padding: 0;
    width: 90%;
    max-width: 800px;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    animation: lightboxZoom 0.3s ease-out;
}

@keyframes lightboxZoom {
    from { transform: scale(0.7); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.lightbox-header {
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    color: white;
    padding: 20px;
    position: relative;
}

.lightbox-header h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
}

.lightbox-header p {
    margin: 8px 0 0 0;
    opacity: 0.9;
    font-size: 1rem;
}

.lightbox-close {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

.gallery-content {
    padding: 20px;
    color: white;
    height: 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.gallery-content h4 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    font-weight: 600;
    line-height: 1.3;
}

.gallery-content p {
    font-size: 0.9rem;
    opacity: 0.9;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Slider Navigation */
.slider-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    font-size: 1.2rem;
}

.slider-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.slider-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.slider-dots {
    display: flex;
    gap: 12px;
    align-items: center;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: white;
    transform: scale(1.2);
}

/* Fancybox Styles */
.fancybox-overlay {
    background: rgba(30, 60, 114, 0.9) !important;
}

.fancybox-wrap {
    border-radius: 12px !important;
    overflow: hidden !important;
}

.fancybox-title {
    background: linear-gradient(135deg, #1e3c72, #2a5298) !important;
    color: white !important;
    font-weight: 600 !important;
    padding: 15px 20px !important;
}

/* CTA Section */
.final-cta {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    text-align: center;
    padding: 100px 0;
}

.final-cta h2 {
    font-size: 3rem;
    margin-bottom: 30px;
}

.final-cta p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero{
        height: 100%;
    }
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .vm-item {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .vm-item.reverse {
        direction: ltr;
    }

    .vm-image {
        height: 300px;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .masonry-grid {
        grid-template-columns: 1fr;
    }

    .gallery-slide {
        grid-template-columns: 1fr;
    }

    .gallery-item {
        height: 380px;
    }

    .gallery-placeholder {
        height: 180px;
    }
}

@media (max-width: 480px) {
    .gallery-item {
        height: 280px;
    }
}

/* Scroll animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.card_white {
    background: linear-gradient(135deg, #f8fdff 0%, #e8f4fd 100%);
    padding: 20px;
    border-radius: 20px;
    margin: 20px 0;
    box-shadow: 0 10px 30px rgba(44, 90, 160, 0.1);
    overflow: hidden;
    position: relative;
    color: #000;
}

.lightbox {
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.lightbox.show {
    opacity: 1;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    transform: translateY(-50%);
}

.lightbox-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    font-size: 1.5rem;
}

.lightbox-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

/* Gallery Item Image Styling */
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 18px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .lightbox-nav {
        padding: 0 10px;
    }
    
    .lightbox-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
}

section{
    overflow: hidden;
}

.slider_container {
    position: relative;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-bottom: 30px;
}

.slider-header {
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    padding: 2rem;
    text-align: center;
    border-bottom: 1px solid #e2e8f0;
}

.slider-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    margin-top: 1.5rem;
}

.nav-btn {
    background: white;
    border: 2px solid #e2e8f0;
    padding: 0.7rem 1.2rem;
    border-radius: 50px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    color: #64748b;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.nav-btn:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

.nav-btn.active {
    background: #3b82f6;
    color: white;
    border-color: #3b82f6;
}

.slide-counter {
    color: #64748b;
    font-size: 0.9rem;
    font-weight: 300;
}

.slider-content {
    min-height: 400px;
    padding: 2.5rem;
}

.slide {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
}

.slide.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.slide-title {
    font-size: 20px;
    font-weight: 600;
    color: #1e40af;
    margin-bottom: 2rem;
    text-align: center;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 1rem;
}

.key-partners-grid {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.partner-item {
    background: #f8fafc;
    padding: 10px;
    border-radius: 12px;
    border-left: 4px solid #3b82f6;
}

.partner-label {
    font-weight: 600;
    color: #1e40af;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.partner-content {
    color: #475569;
    line-height: 1.6;
}

.organizations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
}

.org-card {
    background: #f8fafc;
    padding: 1.2rem;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    cursor: pointer;
}

.org-card:hover {
    background: #f1f5f9;
    border-color: #3b82f6;
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.1);
}

.org-card h3 {
    color: #1e40af;
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.org-card p {
    color: #64748b;
    font-size: 0.85rem;
    line-height: 1.4;
}

.navigation {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 0;
    padding: 0 2rem 2rem;
}

.nav-arrow {
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.2rem;
    color: #64748b;
}

.nav-arrow:hover {
    background: #3b82f6;
    color: white;
    border-color: #3b82f6;
}

.nav-arrow:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

@media (max-width: 768px) {
    .slider-content {
        padding: 1.5rem;
    }

    .organizations-grid {
        grid-template-columns: 1fr;
    }

    .nav-btn {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
    }
}