/* --- DESIGN SYSTEM & BRAND PALETTE --- */
:root {
    --primary: #e63946;          /* Compassionate Heart Red */
    --primary-dark: #b81d24;
    --secondary: #457b9d;        /* Professional Trust Blue */
    --dark: #1d3557;             /* Serious Deep Blue Text */
    --light: #f8f9fa;            /* Clean light-grey background text */
    --white: #ffffff;
    --gray-text: #6c757d;       /* Standard reading text color */
    --footer-bg: #0b131a;        /* Deep Premium Legal Footer Dark */
    --footer-text: rgba(255, 255, 255, 0.75);
    --success-green: #2a9d8f;    /* Secure M-Pesa Tone */
    --font-stack: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* --- RESET & GLOBAL RULES --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-stack);
    color: var(--dark);
    background-color: var(--light);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* --- REUSABLE UTILITIES --- */
.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.section-title p {
    color: var(--gray-text);
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.1rem;
}

.btn {
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    cursor: pointer;
    border: none;
    font-size: 0.95rem;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(230, 57, 70, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
    margin-left: 10px;
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--dark);
    transform: translateY(-2px);
}

/* --- STICKY TOP NAVIGATION --- */
header {
    background-color: var(--white);
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
}

.logo {
    font-weight: 800;
    font-size: 1.4rem;
    color: var(--primary);
    text-decoration: none;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 25px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: var(--primary);
}

/* Hamburger mobile system */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--dark);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }

/* --- HERO BLOCK --- */
.hero {
    background: linear-gradient(rgba(29, 53, 87, 0.7), rgba(29, 53, 87, 0.85)), url('assets/images/landscape-child.jpg') no-repeat center center/cover;
    color: var(--white);
    padding: 120px 0;
    min-height: 65vh;
    display: flex;
    align-items: center;
}

.hero-content {
    max-width: 750px;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 35px;
    opacity: 0.95;
    text-shadow: 0 1px 5px rgba(0,0,0,0.3);
}

/* --- MISSION STATEMENT BLOCK --- */
.mission-section {
    padding: 60px 0;
    background-color: var(--white);
}

.mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.mission-card {
    background-color: var(--light);
    padding: 35px;
    border-radius: 12px;
    border-left: 5px solid var(--secondary);
}

.mission-card h3 {
    font-size: 1.5rem;
    color: var(--dark);
    margin-bottom: 15px;
}

/* --- STATS LAYER --- */
.stats-strip {
    background-color: var(--dark);
    color: var(--white);
    padding: 60px 0;
    text-align: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.stat-card h2 {
    font-size: 3.2rem;
    color: var(--primary);
    font-weight: 800;
    margin-bottom: 5px;
}

.stat-card p {
    font-weight: 500;
    font-size: 1rem;
    opacity: 0.9;
}

/* --- HISTORY TIMELINE LAYER --- */
.history-section {
    padding: 90px 0;
}

.timeline {
    position: relative;
    max-width: 900px;
    margin: 40px auto 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background-color: #dee2e6;
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
}

.timeline-container {
    padding: 15px 40px;
    position: relative;
    width: 50%;
}

.timeline-container::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    right: -10px;
    background-color: var(--white);
    border: 4px solid var(--primary);
    top: 25px;
    border-radius: 50%;
    z-index: 1;
}

.left { left: 0; }
.right { left: 50%; }
.right::after { left: -10px; }

.timeline-content {
    padding: 25px;
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
    border-top: 3px solid var(--secondary);
}

.timeline-content h3 {
    color: var(--primary);
    margin-bottom: 10px;
    font-size: 1.25rem;
}

/* --- SECTORS / BRAND GRID PACK --- */
.sectors-section {
    background-color: var(--white);
    padding: 90px 0;
}

.sectors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.sector-card {
    background-color: var(--light);
    border-radius: 14px;
    padding: 35px;
    border: 1px solid #e9ecef;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sector-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.04);
}

.sector-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.sector-card h3 {
    margin-bottom: 12px;
    font-size: 1.4rem;
}

.progress-bar-container {
    background-color: #e9ecef;
    height: 10px;
    border-radius: 10px;
    overflow: hidden;
    margin: 20px 0 8px 0;
}

.progress-fill {
    background-color: var(--primary);
    height: 100%;
    width: 0%; /* Fills dynamically with JS */
    transition: width 2s cubic-bezier(0.1, 1, 0.1, 1);
}

.progress-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    font-weight: 700;
}

/* --- GOVERNANCE MANDATE LAYER --- */
.governance-section {
    padding: 90px 0;
}

.governance-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    align-items: center;
}

.governance-grid h2 {
    font-size: 2.3rem;
    margin-bottom: 15px;
}

.policy-item {
    margin-top: 20px;
    padding-left: 15px;
    border-left: 3px solid var(--success-green);
}

.gov-rules {
    background-color: var(--white);
    padding: 40px;
    border-radius: 14px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.02);
}

.gov-rules h3 {
    margin-bottom: 20px;
    color: var(--secondary);
}

.gov-rules ul {
    list-style: none;
}

.gov-rules li {
    margin-bottom: 15px;
    position: relative;
    padding-left: 20px;
}

.gov-rules li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-green);
    font-weight: 700;
}

/* --- TESTIMONIALS MOD --- */
.testimonials-section {
    background-color: var(--white);
    padding: 90px 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.testimonial-card {
    background-color: var(--light);
    padding: 35px;
    border-radius: 12px;
    position: relative;
}

.testimonial-card .quote {
    font-style: italic;
    margin-bottom: 15px;
    font-size: 1.05rem;
}

.testimonial-card h4 {
    color: var(--secondary);
}

/* --- REMITTANCE CARD AND DONATE MODULE --- */
.donate-section {
    padding: 90px 0;
}

.donate-card {
    background-color: var(--white);
    max-width: 800px;
    margin: 0 auto;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.04);
    border-top: 6px solid var(--primary);
    text-align: center;
}

.donate-subtitle {
    color: var(--gray-text);
    margin-top: 10px;
    font-size: 1.1rem;
}

.mpesa-channels {
    background-color: #f4fbf8;
    border: 2px dashed #ccebe0;
    padding: 30px;
    border-radius: 12px;
    margin: 30px 0;
    text-align: left;
}

.mpesa-channels h3 {
    color: var(--success-green);
    margin-bottom: 15px;
    text-align: center;
}

.channel-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #e6f6f0;
}

.channel-row:last-child {
    border-bottom: none;
}

.channel-row .highlight {
    color: var(--primary);
    font-weight: 800;
    font-size: 1.1rem;
}

.volunteer-box {
    font-size: 0.95rem;
    color: var(--gray-text);
    margin-top: 20px;
}

/* --- PREMIUM FOOTER ARCHITECTURE --- */
footer {
    background-color: var(--footer-bg);
    color: var(--footer-text);
    padding: 80px 0 30px 0;
    font-size: 0.9rem;
    border-top: 4px solid var(--primary);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1.2fr 2fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-col h3 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 8px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 35px;
    height: 2px;
    background-color: var(--primary);
}

.footer-col p {
    line-height: 1.7;
}

.social-handles {
    margin-top: 20px;
    font-size: 0.85rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--footer-text);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--primary);
}

/* Government Stamp Blocks */
.gov-stack {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.gov-stamp-box {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px dashed rgba(255, 255, 255, 0.15);
    padding: 18px;
    border-radius: 8px;
    border-left: 4px solid var(--secondary);
}

.stamp-title {
    color: #f1faee;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    margin-bottom: 6px;
    letter-spacing: 0.5px;
}

.stamp-body {
    font-size: 0.82rem;
    line-height: 1.5;
    color: #a8dadc;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
}

.baseline-audit {
    margin-top: 6px;
    opacity: 0.7;
}

/* --- TOAST NOTIFICATION POPUP --- */
.live-popup {
    position: fixed;
    bottom: 25px;
    left: -450px;
    background: var(--white);
    color: var(--dark);
    padding: 14px 24px;
    border-radius: 50px;
    box-shadow: 0 10px 35px rgba(0,0,0,0.12);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 2000;
    transition: left 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-size: 0.95rem;
    border-left: 5px solid var(--success-green);
    font-weight: 600;
}

.live-pulse {
    width: 10px;
    height: 10px;
    background-color: var(--success-green);
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(42, 157, 143, 0.7);
    animation: pulse-ring 1.5s infinite;
}

@keyframes pulse-ring {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(42, 157, 143, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(42, 157, 143, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(42, 157, 143, 0); }
}

/* --- RESPONSIVE CSS MEDIA QUERIES --- */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .footer-col.HTML-gov-column {
        grid-column: span 2;
    }
    .governance-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        height: calc(100vh - 70px);
        text-align: center;
        gap: 35px;
        padding-top: 50px;
        transition: left 0.4s cubic-bezier(0.1, 1, 0.1, 1);
        box-shadow: 0 15px 20px rgba(0,0,0,0.05);
    }

    .nav-links.active {
        left: 0;
    }

    .hero h1 { font-size: 2.4rem; }
    .mission-grid, .testimonials-grid { grid-template-columns: 1fr; }

    .timeline::after { left: 31px; }
    .timeline-container { width: 100%; padding-left: 60px; padding-right: 20px; }
    .timeline-container::after { left: 23px; }
    .left, .right { left: 0; }

    .footer-grid { grid-template-columns: 1fr; }
    .footer-col.HTML-gov-column { grid-column: span 1; }
    .donate-card { padding: 30px 20px; }
}
/* --- NEW HERO SLIDER BLOCK --- */
.hero {
    position: relative;
    width: 100%;
    height: 85vh; /* Taller to fit slider + text beautifully */
    min-height: 600px;
    display: flex;
    align-items: flex-end; /* This forces the text to the bottom */
    padding-bottom: 60px;
    overflow: hidden;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;              /* landscape photos fill the banner edge-to-edge */
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.5s ease-in-out; /* Super smooth 1.5 second crossfade */
}

/* Gradient overlay so the text pops, but leaves the faces clear at the top */
.slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(29, 53, 87, 0.1) 0%, rgba(29, 53, 87, 0.95) 100%);
}

.slide.active {
    opacity: 1;
}

.hero-container {
    position: relative;
    z-index: 2; /* Sits completely on top of the images */
    width: 100%;
}

.hero-content {
    max-width: 850px;
    margin: 0 auto;
    text-align: center;
    color: var(--white);
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 0 4px 15px rgba(0,0,0,0.5);
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 35px;
    opacity: 0.95;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}
/* --- PREMIUM LOGO STYLING --- */
.logo {
    font-weight: 800;
    font-size: 1.6rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: -0.5px;
    z-index: 1001; /* Keeps it above the mobile menu */
}

.logo-icon {
    font-size: 1.8rem;
    filter: drop-shadow(0 2px 5px rgba(230, 57, 70, 0.4));
}

.logo-text {
    background: linear-gradient(90deg, var(--primary), var(--primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
/* --- LOGO STYLING --- */
.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    line-height: 1;
}

.logo-img {
    height: 40px;
    width: auto;
    display: block;
    object-fit: contain;
}

/* Slightly larger on desktop */
@media (min-width: 768px) {
    .logo-img {
        height: 48px;
    }
}

/* Mobile: keep it compact */
@media (max-width: 480px) {
    .logo-img {
        height: 32px;
    }
}/* --- LOGO STYLING --- */
.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    line-height: 1;
    gap: 10px;
}

.logo-img {
    height: 55px;
    width: auto;
    display: block;
    object-fit: contain;
}

.logo-text {
    font-weight: 800;
    font-size: 1.4rem;
    color: var(--primary);
}

/* Desktop */
@media (min-width: 768px) {
    .logo-img {
        height: 65px;
    }
    .logo-text {
        font-size: 1.6rem;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .logo-img {
        height: 42px;
    }
    .logo-text {
        font-size: 1.1rem;
    }
}
.join-mission-section {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.join-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
}

.join-card {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.join-card .icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.join-card form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
}

.join-card input, .join-card textarea {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .join-grid {
        grid-template-columns: 1fr;
    }
}
.join-grid-three {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.join-card {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease;
}

.join-card:hover {
    transform: translateY(-5px);
}

.pay-info {
    background: #f0f4f8;
    padding: 10px;
    border-radius: 8px;
    margin-top: 15px;
    font-size: 0.9rem;
}

.payment-section { padding: 60px 0; background: #fff; }
.payment-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.pay-card { border: 1px solid #eee; padding: 30px; border-radius: 12px; }

.btn-pay {
    display: block;
    background: #003366;
    color: white;
    padding: 12px;
    margin: 10px 0;
    text-align: center;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
}

.btn-pay:hover { background: #004a94; }

@media (max-width: 768px) {
    .payment-grid { grid-template-columns: 1fr; }
}
.support-hub { padding: 80px 0; background: #ffffff; }

.support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.support-card {
    background: #f8fbff;
    padding: 30px;
    border-radius: 15px;
    border: 1px solid #e1e8ed;
    text-align: center;
}

.support-card .icon { font-size: 3rem; margin-bottom: 20px; }

.data-box {
    background: #fff;
    padding: 15px;
    border-radius: 8px;
    border: 1px dashed #003366;
    margin-top: 15px;
}

.note { font-size: 0.8rem; color: #666; margin-top: 15px; }

/* Responsive Adjustments */
@media (max-width: 768px) {
    .support-grid { grid-template-columns: 1fr; }
}

.newsletter-section {
    padding: 80px 0;
    background-color: #f5f5f7; /* Soft Apple-style gray */
    text-align: center;
}

.newsletter-content {
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-content h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.newsletter-content p {
    color: #6e6e73; /* Subtle text color */
    margin-bottom: 30px;
    line-height: 1.6;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.newsletter-form input {
    padding: 15px;
    border: 1px solid #d2d2d7;
    border-radius: 10px;
    font-size: 1rem;
}

.newsletter-form button {
    padding: 15px;
    background: #000;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
}
#backToTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: none; /* Hidden by default */
    background: #000;
    color: #fff;
    border: none;
    padding: 15px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}
.sector-link {
    text-decoration: none; /* Removes underline */
    color: inherit;       /* Keeps the text looking original */
    display: block;       /* Makes the whole area clickable */
    transition: transform 0.2s ease;
}

/* Optional: Adds a subtle hover effect to show it's a link */
.sector-link:hover .sector-card {
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
    transform: translateY(-5px);
}
/* Desktop: Standard Flex Row */

.video-container-centered {
    margin-top: 30px;
    text-align: center;
    padding: 20px;
}

.video-wrapper {
    position: relative;
    max-width: 600px; /* Limits size on desktop */
    margin: 15px auto; /* Centers the video block */
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.thumbnail-img {
    width: 100%;
    display: block;
    transition: transform 0.3s ease;
}

.video-thumbnail-link:hover .thumbnail-img {
    transform: scale(1.05); /* Zoom effect on hover */
}

/* Play button overlay */
.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 50px;
    color: white;
    background: rgba(0,0,0,0.5);
    padding: 10px 20px;
    border-radius: 50px;
}

.video-caption {
    font-size: 0.9rem;
    color: #888;
    margin-top: 10px;
}
.video-section {
    text-align: center;
    padding: 40px 20px;
}

.video-wrapper {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 20px auto;
    /* This creates the perfect 16:9 rectangle shape */
    aspect-ratio: 16 / 9; 
    border-radius: 20px;
    overflow: hidden; /* This makes sure the video corners are rounded */
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    background-color: #000; /* Keeps it black while loading */
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}



























