/* 
  Keenheart Foundation - Premium CSS Foundation
  Design: Modern, Clean, NGO-focused
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Montserrat:wght@600;700;800&display=swap');

:root {
    --primary: #d97706;
    /* Emerald 600 */
    --primary-dark: #1e2020;
    --primary-light: #34d399;
    --secondary: #10b981;
    /* Teal 500 */
    --accent: #d97706;
    /* Amber 600 */
    --dark: #0f172a;
    /* Slate 900 */
    --gray-dark: #334155;
    --gray-light: #f1f5f9;
    --white: #ffffff;
    --glass: rgba(255, 255, 255, 0.85);
    --shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--gray-dark);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Montserrat', sans-serif;
    color: var(--dark);
    font-weight: 700;
}

a {
    text-decoration: none;
    transition: var(--transition);
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

section {
    padding: 0;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.text-primary {
    color: var(--primary);
}

.bg-light {
    background-color: var(--gray-light);
}

.flex {
    display: flex;
}

.grid {
    display: grid;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    border: none;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(5, 150, 105, 0.3);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-accent {
    background-color: var(--accent);
    color: var(--white);
}

.btn-accent:hover {
    background-color: #b45309;
    transform: scale(1.05);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    animation: fadeIn 0.8s ease forwards;
}

/* Navbar */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    padding: 1rem 0;
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

header.scrolled {
    background: var(--glass);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    padding: 0.8rem 0;
}

header.header-hide {
    transform: translateY(-100%);
}

.navbar {
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--dark);
    letter-spacing: -1px;
}

.nav-links li {
    margin-left: 2rem;
}

.nav-links a {
    font-weight: 500;
    color: var(--gray-dark);
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a.active {
    color: var(--primary);
    font-weight: 700;
    position: relative;
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
}

.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--dark);
    margin-left: 1rem;
}

/* Hero Section */
.hero {
    height: 100vh;
    padding-top: 80px;
    /* Offset for fixed header */
    position: relative;
    color: var(--white);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background-color: var(--dark);
    /* Prevents white flashes */
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 2s ease-in-out;
}

.slide:nth-child(1) {
    animation: kenBurns 30s infinite alternate, crossfade 24s infinite;
    animation-delay: 0s;
}

.slide:nth-child(2) {
    animation: kenBurns 30s infinite alternate-reverse, crossfade 24s infinite;
    animation-delay: 8s;
}

.slide:nth-child(3) {
    animation: kenBurns 30s infinite alternate, crossfade 24s infinite;
    animation-delay: 16s;
}

@keyframes kenBurns {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.4);
    }

    /* Highly visible zoom effect */
}

@keyframes crossfade {
    0% {
        opacity: 0;
    }

    5% {
        opacity: 1;
    }

    38% {
        opacity: 1;
    }

    43% {
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}

@keyframes textFadeIn {
    0% {
        opacity: 0;
        transform: translateY(60px) scale(0.9);
        filter: blur(10px);
    }

    10% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }

    33% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }

    40% {
        opacity: 0;
        transform: translateY(-40px) scale(1.1);
        filter: blur(5px);
    }

    100% {
        opacity: 0;
        transform: translateY(-40px) scale(1.1);
        filter: blur(5px);
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(15, 23, 42, 0.7), rgba(15, 23, 42, 0.5));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 0 1.5rem;
    opacity: 0;
    margin: 0 auto;
    animation: textFadeIn 24s infinite;
}

.slide:nth-child(1) .hero-content {
    animation-delay: 0s;
}

.slide:nth-child(2) .hero-content {
    animation-delay: 8s;
}

.slide:nth-child(3) .hero-content {
    animation-delay: 16s;
}

.hero h1 {
    font-size: 3rem;
    color: var(--white);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero p {
    font-size: 1.15rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-btns .btn {
    margin: 0 0.5rem;
}



/* Programs Section */
.programs {
    padding: 5rem 0;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.mt-4 {
    margin-top: 3rem;
}

.mt-3 {
    margin-top: 2rem;
}

.mt-2 {
    margin-top: 1.5rem;
}

.mt-1 {
    margin-top: 1rem;
}

.mb-4 {
    margin-bottom: 3rem;
}

/* Video Section */
.video-section {
    padding: 6rem 0;
}

.video-container {
    position: relative;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding-bottom: 56.25%;
    /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: var(--shadow);
    background: var(--dark);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.programs-grid {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}

.program-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.program-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.card-img {
    height: 250px;
    background-size: cover;
    background-position: center;
}

.card-content {
    padding: 2rem;
}

.card-content h3 {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.card-content p {
    color: #64748b;
    margin-bottom: 1.5rem;
}

.read-more {
    font-weight: 600;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* CTA Section */
.cta {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    padding: 6rem 0;
}

.cta h2 {
    color: var(--white);
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.cta p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Footer */
footer {
    background: var(--dark);
    color: var(--white);
    padding: 5rem 0 2rem;
}

.footer-grid {
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

footer h3,
footer h4 {
    color: var(--white);
    margin-bottom: 1.5rem;
}

footer p {
    opacity: 0.7;
    margin-bottom: 1rem;
}

.footer-links ul li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    opacity: 0.7;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--primary-light);
    padding-left: 5px;
}

.social-links a {
    font-size: 1.5rem;
    margin-right: 1.2rem;
    opacity: 0.8;
}

.social-links a:hover {
    opacity: 1;
    color: var(--primary-light);
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.8rem 1.2rem;
    border-radius: 50px;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.6;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 3rem;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 2rem;
        box-shadow: var(--shadow);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        margin: 1rem 0;
    }

    .mobile-toggle {
        display: block;
    }

    .hero h1 {
        font-size: 2.25rem;
        margin-bottom: 1rem;
    }

    .hero p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .hero-btns .btn {
        margin: 0.5rem;
        width: auto;
        display: inline-block;
    }

}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }

    .hero p {
        font-size: 0.9rem;
    }

    .hero-btns .btn {
        padding: 0.7rem 1.2rem;
        font-size: 0.85rem;
    }

    .hero-content {
        padding: 0 1rem;
    }

    section {
        padding: 3rem 0;
    }
}

/* Blend Redesign: Premium About + Impact Grid */

.about-section {
    padding: 10rem 0 0rem 0;
    position: relative;
    background: #fff;
    overflow: hidden;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8rem;
    align-items: center;
    margin-bottom: 6rem;
}

.founder-visual {
    position: relative;
    perspective: 1000px;
}

.visual-card {
    position: relative;
    z-index: 2;
    border-radius: 40px;
    overflow: hidden;
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.15);
    background: var(--white);
    transform: rotateY(-5deg);
    transition: transform 0.6s ease;
}

.visual-card:hover {
    transform: rotateY(0deg);
}

.founder-img {
    width: 100%;
    height: 650px;
    object-fit: cover;
    display: block;
}

.identity-badge {
    position: absolute;
    bottom: -40px;
    right: -40px;
    padding: 2.5rem 3.5rem;
    border-radius: 35px;
    z-index: 10;
    overflow: hidden;
    animation: float 6s ease-in-out infinite, glow 3s ease-in-out infinite alternate;
    max-width: 350px;

    /* Ultimate Glassmorphism */
    background: linear-gradient(135deg, rgba(5, 150, 105, 0.95) 0%, rgba(6, 78, 59, 0.98) 100%);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);

    /* Multi-layered Premium Shadows */
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 0 20px rgba(255, 255, 255, 0.05);

    /* Glowing Gold Accent Border */
    border: 1px solid rgba(251, 191, 36, 0.3);
}

.identity-badge::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -100%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg,
            transparent 0%,
            rgba(255, 255, 255, 0) 45%,
            rgba(255, 255, 255, 0.2) 50%,
            rgba(255, 255, 255, 0) 55%,
            transparent 100%);
    animation: shine 4s infinite linear;
    transform: rotate(25deg);
}

@keyframes shine {
    0% {
        left: -100%;
        top: -50%;
    }

    100% {
        left: 100%;
        top: 50%;
    }
}

@keyframes glow {
    from {
        box-shadow: 0 20px 50px rgba(5, 150, 105, 0.4), 0 0 0 1px rgba(251, 191, 36, 0.2);
    }

    to {
        box-shadow: 0 30px 70px rgba(5, 150, 105, 0.6), 0 0 15px rgba(251, 191, 36, 0.4);
    }
}

.badge-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.badge-decorator {
    width: 40px;
    height: 3px;
    background: #fbbf24;
    border-radius: 10px;
}

.identity-badge h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    color: #fff;
    font-weight: 700;
    line-height: 1.1;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.identity-badge p {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    color: #fbbf24 !important;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 800;
    margin: 0;
}

/* Redefining float for more smoothness */
@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    33% {
        transform: translate(5px, -15px) rotate(1deg);
    }

    66% {
        transform: translate(-5px, -10px) rotate(-1deg);
    }
}

.visual-deco {
    position: absolute;
    top: -40px;
    left: -40px;
    width: 200px;
    height: 200px;
    border: 15px solid var(--gray-light);
    border-radius: 50%;
    z-index: 1;
}

/* Text Content Styling */
.section-tag {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 4px;
}

.display-title {
    font-size: 2.5rem;
    line-height: 1.1;
    color: var(--dark);
    font-weight: 700;
}

.italic-playfair {
    font-family: 'Montserrat', sans-serif;
    font-style: italic;
    font-weight: 400;
}

.lead-text {
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--primary);
    line-height: 1.4;
    border-left: 5px solid var(--primary);
    padding-left: 2rem;
}

.about-text-content p {
    font-size: 1.15rem;
    color: #475569;
    margin-bottom: 2rem;
}

/* Standalone Impact Stats Section */
.impact-section {
    padding: 4rem 0 4rem 0;
    background: #f8fafc;
    /* Premium light grey background */
    border-top: 1px solid rgba(0, 0, 0, 0.03);
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

.impact-grid-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.match-stat-card {
    background: #ffffff;
    padding: 2.2rem 1.8rem;
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 280px;
    border: 1px solid rgba(226, 232, 240, 0.6);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
}

.match-stat-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: transparent;
    transition: all 0.3s ease;
}

.match-stat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
    border-color: rgba(5, 150, 105, 0.2);
}

.match-stat-card .icon-circle {
    width: 56px;
    height: 56px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 2rem;
    transition: transform 0.4s ease;
}

.match-stat-card:hover .icon-circle {
    transform: scale(1.1) rotate(5deg);
}

.match-stat-card .top-label {
    font-size: 0.75rem;
    font-weight: 800;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 0.5rem;
}

.match-stat-card .main-value {
    font-size: 1.7rem;
    font-weight: 900;
    color: #0f172a;
    line-height: 1.1;
    margin-bottom: 0.5rem;
}

.match-stat-card .sub-label {
    font-size: 0.9rem;
    color: #64748b;
    font-weight: 600;
}

/* Card Varieties */
.border-green::after {
    background: var(--primary);
}

.border-red::after {
    background: #ef4444;
}

.border-blue::after {
    background: #3b82f6;
}

/* Premium Orange CTA */
.cta-orange-card {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #fff;
    padding: 2.2rem 1.8rem;
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    box-shadow: 0 20px 40px rgba(217, 119, 6, 0.25);
    border: none;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.cta-orange-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

.cta-orange-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(217, 119, 6, 0.35);
}

.cta-header {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 900;
    font-size: 1.4rem;
}

.cta-orange-card p {
    font-size: 0.95rem;
    line-height: 1.5;
    opacity: 0.95;
    font-weight: 500;
}

.btn-white-wide {
    background: #ffffff;
    color: #d97706;
    padding: 1rem;
    border-radius: 14px;
    text-align: center;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
    margin-top: auto;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.btn-white-wide:hover {
    background: #f8fafc;
    transform: scale(1.02);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Responsive Grid Blends */
@media (max-width: 1200px) {
    .about-grid {
        gap: 4rem;
    }

    .impact-grid-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .lead-text {
        border-left: none;
        padding-left: 0;
    }

    .founder-img {
        height: 500px;
    }
}

@media (max-width: 640px) {
    .impact-grid-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .match-stat-card {
        padding: 1.5rem;
        min-height: 220px;
    }

    .match-stat-card .main-value {
        font-size: 1.3rem;
    }

    .display-title {
        font-size: 2.25rem;
    }
}

/* Animations */
.reveal-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: all 1s ease-out;
}

.reveal-right {
    opacity: 0;
    transform: translateX(60px);
    transition: all 1s ease-out;
}

.reveal-up {
    opacity: 0;
    transform: translateY(60px);
    transition: all 1s ease-out;
}

.section-visible {
    opacity: 1 !important;
    transform: translate(0, 0) !important;
}

/* Gallery Outreach Section (Premium Card Redesign) */
.gallery-section {
    padding: 8rem 0;
    background: #fff;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 280px;
    gap: 2rem;
    perspective: 1000px;
}

.gallery-item {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    transition: transform 0.1s ease, box-shadow 0.4s ease;
    border: 1px solid rgba(0, 0, 0, 0.03);
    background: #fff;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.gallery-item.large {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-item.tall {
    grid-row: span 2;
}

.gallery-item:hover {
    box-shadow: 0 30px 60px rgba(5, 150, 105, 0.15);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(6, 78, 59, 0.95) 0%, rgba(6, 78, 59, 0.2) 100%);
    display: flex;
    align-items: flex-end;
    padding: 2.5rem;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 2;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.overlay-content {
    transform: translateY(30px);
    transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.gallery-item:hover .overlay-content {
    transform: translateY(0);
}

.overlay-content span {
    display: block;
    color: #fbbf24;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 3px;
    margin-bottom: 0.6rem;
}

.overlay-content h4 {
    color: #fff;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.view-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #fbbf24;
    color: #064e3b;
    padding: 0.8rem 1.5rem;
    border-radius: 15px;
    font-weight: 800;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.view-btn:hover {
    background: #fff;
    transform: scale(1.05);
}

/* Lightbox Premium Styles */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(6, 78, 59, 0.9);
    backdrop-filter: blur(15px);
    transition: all 0.4s ease;
}

.lightbox.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 80%;
    background: #fff;
    border-radius: 30px;
    padding: 15px;
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.5);
    animation: zoomIn 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.lightbox-content img {
    max-width: 100%;
    max-height: 70vh;
    border-radius: 20px;
    display: block;
}

.lightbox-caption {
    padding: 20px 10px;
    text-align: center;
}

.lightbox-caption h4 {
    color: #064e3b;
    font-size: 1.8rem;
    margin-bottom: 5px;
}

.lightbox-caption span {
    color: #fbbf24;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 800;
    font-size: 0.8rem;
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: #fff;
    font-size: 3rem;
    font-weight: 300;
    cursor: pointer;
    transition: 0.3s;
}

.lightbox-close:hover {
    color: #fbbf24;
    transform: rotate(90deg);
}

@keyframes zoomIn {
    from {
        transform: scale(0.8) translateY(50px);
        opacity: 0;
    }

    to {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

@media (max-width: 992px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 220px;
    }

    .gallery-item.large {
        grid-column: span 2;
        grid-row: span 1;
    }

    .gallery-item.tall {
        grid-row: span 1;
    }
}

@media (max-width: 640px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 200px;
        gap: 1rem;
    }

    .gallery-item.large {
        grid-column: span 2;
    }
}


/* Video Carousel Section */
.video-carousel-wrapper {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    overflow: hidden;
    padding: 20px 0 40px;
}

.video-carousel-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    gap: 30px;
}

.video-card {
    flex: 0 0 100%;
    max-width: 100%;
    border-radius: 40px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    cursor: pointer;
    position: relative;
}

.video-thumb {
    height: 450px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-thumb::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    transition: background 0.3s ease;
}

.video-card:hover .video-thumb::after {
    background: rgba(0, 0, 0, 0.4);
}

.play-overlay {
    position: relative;
    z-index: 2;
    width: 90px;
    height: 90px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: transform 0.3s ease, background 0.3s ease;
    box-shadow: 0 0 30px rgba(5, 150, 105, 0.4);
}

.video-card:hover .play-overlay {
    transform: scale(1.1);
    background: #047857;
}

.play-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--primary);
    border-radius: 50%;
    opacity: 0.6;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }

    100% {
        transform: scale(1.8);
        opacity: 0;
    }
}

.video-info {
    padding: 30px;
    text-align: left;
}

.video-info h4 {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 5px;
}

.video-info p {
    color: var(--primary);
    font-weight: 700;
    letter-spacing: 1px;
    font-size: 0.85rem;
    text-transform: uppercase;
}

/* Carousel Nav */
.carousel-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-top: 20px;
}

.nav-prev,
.nav-next {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background: #fff;
    color: var(--dark);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.nav-prev:hover,
.nav-next:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(5, 150, 105, 0.2);
}

.carousel-dots {
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--primary);
    width: 30px;
    border-radius: 10px;
}

/* Video Modal */
.video-modal {
    display: none;
    position: fixed;
    z-index: 3000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
}

.video-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-modal-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: #fff;
    font-size: 3rem;
    cursor: pointer;
    transition: 0.3s;
}

.video-modal-close:hover {
    color: var(--primary);
    transform: scale(1.1);
}

.video-modal-content {
    width: 90%;
    max-width: 1000px;
    aspect-ratio: 16/9;
    background: #000;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.5);
}

.iframe-wrapper {
    width: 100%;
    height: 100%;
}

.iframe-wrapper iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Core Values & Bank Details Section */
.core-values-section {
    padding: 6rem 0;
    background: #f8fafc;
}

.core-values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.core-value-card {
    background: #fff;
    border-radius: 24px;
    padding: 3rem 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    text-align: center;
    border: 1px solid rgba(5, 150, 105, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.core-value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(5, 150, 105, 0.15);
}

.core-icon {
    width: 70px;
    height: 70px;
    background: #f0fdf4;
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1.5rem;
}

.core-value-card h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--dark);
}

.core-value-card p {
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 0;
    flex: 1;
}

.bank-details {
    margin-top: 1.5rem;
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 16px;
    text-align: left;
    border: 1px solid #e2e8f0;
}

.bank-row {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px dashed #cbd5e1;
}

.bank-row:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.bank-row span {
    display: block;
    font-size: 0.85rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.bank-row strong {
    color: var(--dark);
    font-size: 1.05rem;
    font-weight: 700;
}

@media (max-width: 992px) {
    .core-values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .core-values-grid {
        grid-template-columns: 1fr;
    }
}