/* ============================================
   DTEHM Health Ministries - Main Stylesheet
   Brand Colors: Blue #01399a, Green #04a028, Gray #6C757D
   ============================================ */

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

body { font-family: 'Inter', sans-serif; line-height: 1.6; color: #1a1a1a; overflow-x: hidden; }

:root {
    --primary-blue: #01399a;
    --primary-green: #04a028;
    --dark-blue: #012a73;
    --light-blue: #e8f0fe;
    --secondary-gray: #6C757D;
    --white: #ffffff;
    --gray-light: #f8f9fa;
    --gray-text: #6c757d;
    --gray-border: #dee2e6;
    --success-green: #04a028;
    --accent-light: #f0faf3;
    --light-gray: #f8f9fa;
    /* Backward compatibility with old ULFA pages */
    --primary-yellow: #01399a;
    --primary-black: #012a73;
    --light-yellow: #e8f0fe;
}

h1, h2, h3, h4, h5, h6 { font-family: 'Poppins', sans-serif; font-weight: 700; color: var(--primary-blue); }
html { scroll-behavior: smooth; }

/* Accessibility - Focus styles for keyboard navigation */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
    outline: 2px solid var(--primary-green);
    outline-offset: 2px;
}

/* Navigation */
.navbar { background: var(--primary-blue) !important; padding: 0.8rem 0; box-shadow: 0 2px 15px rgba(1,57,154,0.15); transition: all 0.3s; }
.navbar.scrolled { padding: 0.4rem 0; background: rgba(1,57,154,0.98) !important; }
.navbar-brand { font-family: 'Poppins', sans-serif; font-weight: 800; font-size: 1.5rem; color: var(--white) !important; display: flex; align-items: center; gap: 0.5rem; }
.navbar-brand i { font-size: 1.8rem; color: var(--primary-green); }
.navbar-brand .brand-logo { height: 40px; width: auto; max-width: 80px; object-fit: contain; }
.navbar-brand .brand-main { font-size: 1.5rem; font-weight: 800; line-height: 1.1; display: block; color: var(--white); }
.navbar-brand .brand-sub { font-size: 0.65rem; font-weight: 400; color: rgba(255,255,255,0.8); letter-spacing: 1px; display: block; margin-top: -2px; }
.navbar-toggler { 
    border: none !important; 
    padding: 0.5rem; 
    background: transparent;
    position: relative;
}
.navbar-toggler:focus { 
    box-shadow: none !important; 
    outline: none;
}
.navbar-toggler:focus-visible { 
    box-shadow: 0 0 0 3px rgba(4,160,40,0.5) !important; 
    outline: none;
}
.navbar-toggler-icon { 
    background-image: none !important; 
    width: 28px; 
    height: 2.5px; 
    background-color: var(--white); 
    display: block; 
    position: relative;
    transition: all 0.3s ease;
}
.navbar-toggler-icon::before, 
.navbar-toggler-icon::after { 
    content: ''; 
    width: 28px; 
    height: 2.5px; 
    background-color: var(--white); 
    display: block; 
    position: absolute;
    left: 0;
    transition: all 0.3s ease;
}
.navbar-toggler-icon::before { top: -9px; }
.navbar-toggler-icon::after { top: 9px; }
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
    background-color: transparent;
}
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::before {
    transform: rotate(45deg);
    top: 0;
}
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::after {
    transform: rotate(-45deg);
    top: 0;
}
.nav-link { font-weight: 500; color: rgba(255,255,255,0.9) !important; margin: 0 0.3rem; padding: 0.5rem 0.8rem !important; transition: all 0.3s; position: relative; font-size: 0.95rem; }
.nav-link::after { content: ''; position: absolute; bottom: 0; left: 50%; width: 0; height: 2px; background: var(--primary-green); transition: all 0.3s; transform: translateX(-50%); }
.nav-link:hover::after, .nav-link.active::after { width: 80%; }
.nav-link:hover { color: var(--white) !important; }
.dropdown { position: relative; }
.dropdown:hover .dropdown-menu { display: block; opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-menu { background: var(--white); border: none; border-top: 3px solid var(--primary-green); margin-top: 0; display: block; opacity: 0; visibility: hidden; transform: translateY(-10px); transition: all 0.3s; box-shadow: 0 10px 30px rgba(0,0,0,0.12); border-radius: 0 0 8px 8px; min-width: 220px; }
.dropdown-toggle::after { display: none; }
.dropdown-toggle .dropdown-icon { display: inline-block; width: 8px; height: 8px; border: 2px solid rgba(255,255,255,0.7); border-left: 0; border-top: 0; transform: rotate(45deg); margin-left: 0.4rem; margin-bottom: 2px; transition: all 0.3s; }
.dropdown:hover .dropdown-toggle .dropdown-icon { border-color: var(--primary-green); transform: rotate(225deg); }
.dropdown-item { color: #333; padding: 0.7rem 1.5rem; transition: all 0.3s; font-size: 0.9rem; }
.dropdown-item:hover { background: var(--light-blue); color: var(--primary-blue); }
.dropdown-item i { margin-right: 0.5rem; width: 20px; color: var(--primary-green); }
.dropdown-item:hover i { color: var(--primary-blue); }
.btn-cta-nav { background: var(--primary-green); border: 2px solid var(--primary-green); padding: 0.5rem 1.2rem; color: var(--white); font-weight: 700; transition: all 0.3s; font-size: 0.85rem; border-radius: 4px; text-decoration: none; display: inline-block; }
.btn-cta-nav:hover { background: var(--white); color: var(--primary-green); border-color: var(--white); }
.btn-cta-nav span, .btn-cta-nav i { position: relative; }

/* Shop nav button */
.nav-shop-btn {
    display: inline-flex; align-items: center;
    background: rgba(4,160,40,.15);
    border: 1.5px solid rgba(4,160,40,.5);
    color: #fff !important;
    padding: 0.45rem 1.1rem;
    border-radius: 6px;
    font-weight: 700; font-size: 0.88rem;
    text-decoration: none;
    transition: all .25s;
    white-space: nowrap;
}
.nav-shop-btn:hover, .nav-shop-btn--active {
    background: var(--primary-green) !important;
    border-color: var(--primary-green) !important;
    color: #fff !important;
    box-shadow: 0 4px 14px rgba(4,160,40,.35);
}
@media (max-width: 991px) {
    .nav-shop-btn { margin: 0.25rem 0.8rem; display: inline-flex; }
}

/* Hero */
#hero { 
    background: linear-gradient(135deg, rgba(1,57,154,0.95) 0%, rgba(1,42,115,0.92) 50%, rgba(1,57,154,0.88) 100%), url('../../uploads/hero-background.jpg') center/cover;
    min-height: 85vh; 
    display: flex; 
    align-items: center; 
    padding: 120px 0 80px 0; 
    color: var(--white); 
    position: relative; 
    overflow: hidden; 
}
#hero::before { 
    content: ''; 
    position: absolute; 
    top: -50%; 
    right: -20%; 
    width: 60%; 
    height: 150%; 
    background: var(--primary-green); 
    opacity: 0.06; 
    transform: rotate(-15deg); 
}
#hero::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to top, var(--gray-light), transparent);
    z-index: 1;
}
/* Floating orbs decoration */
.hero-orb {
    position: absolute;
    border-radius: 50%;
    background: rgba(4,160,40,0.08);
    animation: floatOrb 6s ease-in-out infinite;
    pointer-events: none;
}
.hero-orb-1 { width: 300px; height: 300px; top: 10%; left: -5%; animation-delay: 0s; }
.hero-orb-2 { width: 200px; height: 200px; bottom: 15%; right: -3%; animation-delay: 2s; background: rgba(255,255,255,0.04); }
.hero-orb-3 { width: 150px; height: 150px; top: 50%; left: 60%; animation-delay: 4s; }
@keyframes floatOrb {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-20px) scale(1.05); }
}
.hero-content-wrapper {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}
.hero-badge {
    margin-bottom: 1.5rem;
}
.hero-badge .badge-dtehm { 
    background: rgba(4,160,40,0.2); 
    color: var(--primary-green); 
    padding: 0.6rem 1.8rem; 
    font-weight: 700; 
    font-size: 0.8rem; 
    letter-spacing: 2px; 
    display: inline-block; 
    text-transform: uppercase; 
    border-radius: 50px;
    border: 1px solid rgba(4,160,40,0.3);
    backdrop-filter: blur(10px);
}
.hero-title { 
    font-size: 3.5rem; 
    font-weight: 900; 
    margin-bottom: 1.5rem; 
    line-height: 1.2; 
    color: var(--white); 
}
.hero-title .highlight { 
    color: var(--primary-green); 
}
.hero-lead { 
    font-size: 1.25rem; 
    margin-bottom: 2.5rem; 
    color: rgba(255,255,255,0.9); 
    line-height: 1.7; 
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}
.hero-buttons { 
    display: flex; 
    gap: 1rem; 
    flex-wrap: wrap; 
    margin-bottom: 4rem;
    justify-content: center;
}
.hero-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}
.hero-stat-item {
    text-align: center;
    padding: 1.5rem 1rem;
    background: rgba(255,255,255,0.08);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255,255,255,0.1);
}
.hero-stat-item:hover {
    background: rgba(255,255,255,0.15);
    transform: translateY(-5px);
    border-color: rgba(4,160,40,0.3);
    box-shadow: 0 8px 32px rgba(0,0,0,0.15);
}
.hero-stat-item .stat-icon {
    font-size: 2rem;
    color: var(--primary-green);
    margin-bottom: 0.5rem;
    display: block;
}
.hero-stat-item .stat-number {
    font-size: 1.8rem;
    font-weight: 900;
    display: block;
    color: var(--white);
    line-height: 1;
    margin-bottom: 0.3rem;
}
.hero-stat-item .stat-label {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.8);
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.btn-hero { 
    padding: 1rem 2.5rem; 
    font-weight: 700; 
    text-transform: uppercase; 
    letter-spacing: 1px; 
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); 
    border: 2px solid; 
    position: relative; 
    overflow: hidden; 
    z-index: 1; 
    border-radius: 8px;
    text-decoration: none;
    display: inline-block;
    font-size: 0.9rem;
}
.btn-hero span { 
    position: relative; 
}
.btn-hero-primary { 
    background: var(--primary-green); 
    border-color: var(--primary-green); 
    color: var(--white); 
}
.btn-hero-primary:hover { 
    background: var(--white); 
    color: var(--primary-green); 
    border-color: var(--white);
}
.btn-hero-outline { 
    background: transparent; 
    border-color: var(--white); 
    color: var(--white); 
}
.btn-hero-outline:hover { 
    background: var(--white); 
    color: var(--primary-blue); 
    border-color: var(--white); 
}

/* Sections */
section { padding: 5rem 0; }
.section-title { text-align: center; margin-bottom: 3.5rem; }
.section-title .badge-section { background: var(--light-blue); color: var(--primary-blue); padding: 0.5rem 1.5rem; font-weight: 700; font-size: 0.78rem; letter-spacing: 2px; display: inline-block; margin-bottom: 1rem; text-transform: uppercase; border-radius: 50px; }
.section-title h2 { font-size: 2.5rem; font-weight: 800; margin-bottom: 1rem; position: relative; }
.section-title h2::after { content: ''; display: block; width: 50px; height: 4px; background: var(--primary-green); margin: 0.75rem auto 0; border-radius: 2px; }
.section-title p.subtitle { font-size: 1.1rem; color: var(--gray-text); max-width: 700px; margin: 0 auto; }

/* Service / Feature Cards */
.service-card { background: var(--white); padding: 2rem; height: 100%; border: 1px solid var(--gray-border); border-radius: 16px; transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); position: relative; overflow: hidden; }
.service-card::before { content: ''; position: absolute; left: 0; top: 0; width: 4px; height: 0; background: linear-gradient(180deg, var(--primary-green), var(--primary-blue)); transition: height 0.4s; border-radius: 0 4px 4px 0; }
.service-card:hover::before { height: 100%; }
.service-card:hover { border-color: transparent; box-shadow: 0 20px 40px rgba(1,57,154,0.12); transform: translateY(-8px); }
.service-icon { width: 64px; height: 64px; background: linear-gradient(135deg, var(--light-blue), #d4e4fc); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 1.5rem; color: var(--primary-blue); border-radius: 16px; transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); }
.service-card:hover .service-icon { background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue)); color: var(--white); transform: scale(1.1) rotate(-5deg); }
.service-card h3 { font-size: 1.3rem; margin-bottom: 0.8rem; }
.service-card p { color: var(--gray-text); line-height: 1.7; font-size: 0.95rem; }

/* Mission */
#mission { background: var(--gray-light); }
.mission-card { background: var(--white); padding: 2.5rem; height: 100%; border: 1px solid var(--gray-border); border-radius: 16px; transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); position: relative; overflow: hidden; }
.mission-card::before { content: ''; position: absolute; left: 0; top: 0; width: 4px; height: 0; background: linear-gradient(180deg, var(--primary-green), var(--primary-blue)); transition: height 0.4s; }
.mission-card:hover::before { height: 100%; }
.mission-card:hover { border-color: transparent; box-shadow: 0 20px 40px rgba(1,57,154,0.1); transform: translateY(-5px); }
.mission-icon { width: 70px; height: 70px; background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue)); display: flex; align-items: center; justify-content: center; font-size: 1.8rem; margin-bottom: 1.5rem; color: var(--white); border-radius: 16px; transition: all 0.4s; }
.mission-card:hover .mission-icon { background: linear-gradient(135deg, var(--primary-green), #038a22); transform: scale(1.1) rotate(-5deg); }
.mission-card h3 { font-size: 1.8rem; margin-bottom: 1rem; }
.mission-card p { color: var(--gray-text); line-height: 1.8; font-size: 1.05rem; }

/* Impact / Stats Section */
#impact { background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%); color: var(--white); position: relative; overflow: hidden; }
#impact::before { content: ''; position: absolute; top: -30%; right: -10%; width: 40%; height: 160%; background: rgba(4,160,40,0.06); transform: rotate(-12deg); border-radius: 50%; pointer-events: none; }
#impact::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 4px; background: var(--primary-green); }
#impact .section-title h2 { color: var(--white); }
#impact .section-title h2::after { background: var(--primary-green); }
#impact .section-title .badge-section { background: rgba(4,160,40,0.2); color: var(--primary-green); border: 1px solid rgba(4,160,40,0.3); }
#impact .section-title p.subtitle { color: rgba(255,255,255,0.8); }
.impact-card { text-align: center; padding: 2rem; transition: all 0.4s; }
.impact-card:hover { transform: translateY(-5px); }
.impact-icon { width: 80px; height: 80px; background: rgba(255,255,255,0.08); margin: 0 auto 1.5rem; display: flex; align-items: center; justify-content: center; font-size: 2rem; color: var(--primary-green); border-radius: 20px; border: 2px solid rgba(255,255,255,0.1); transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); }
.impact-card:hover .impact-icon { background: var(--primary-green); color: var(--white); border-color: var(--primary-green); transform: scale(1.1) rotate(-5deg); }
.impact-number { font-size: 3rem; font-weight: 900; color: var(--white); margin-bottom: 0.5rem; }
.impact-label { font-size: 0.9rem; color: rgba(255,255,255,0.75); text-transform: uppercase; letter-spacing: 1.5px; font-weight: 600; }

/* Product Cards */
.product-card { background: var(--white); border: 1px solid var(--gray-border); border-radius: 12px; overflow: hidden; height: 100%; transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); }
.product-card:hover { box-shadow: 0 16px 40px rgba(1,57,154,0.12); transform: translateY(-6px); border-color: transparent; }
.product-card .product-image { height: 200px; overflow: hidden; position: relative; background: var(--gray-light); }
.product-card .product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1); }
.product-card:hover .product-image img { transform: scale(1.08); }
.product-card .product-badge { position: absolute; top: 0.75rem; left: 0.75rem; background: var(--primary-green); color: var(--white); padding: 0.25rem 0.6rem; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; border-radius: 4px; letter-spacing: 0.5px; }
.product-card .product-body { padding: 1.25rem; }
.product-card .product-category { font-size: 0.75rem; color: var(--primary-green); font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 0.4rem; }
.product-card h4 { font-size: 1rem; margin-bottom: 0.4rem; color: var(--primary-blue); line-height: 1.3; }
.product-card .product-price { font-size: 1.1rem; font-weight: 800; color: var(--primary-blue); margin-bottom: 0.4rem; }
.product-card .product-desc { color: var(--gray-text); font-size: 0.85rem; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.btn-product { display: inline-block; background: var(--primary-blue); color: var(--white); padding: 0.6rem 1.5rem; font-weight: 600; text-decoration: none; border-radius: 8px; font-size: 0.85rem; transition: all 0.3s; border: 2px solid var(--primary-blue); }
.btn-product:hover { background: var(--primary-green); border-color: var(--primary-green); color: var(--white); }

/* Programs / Projects */
.program-card { background: var(--white); border: 1px solid var(--gray-border); border-radius: 12px; padding: 2rem; height: 100%; transition: all 0.3s; position: relative; }
.program-card:hover { box-shadow: 0 10px 30px rgba(1,57,154,0.1); transform: translateY(-5px); border-color: var(--primary-blue); }
.program-icon { width: 60px; height: 60px; background: var(--light-blue); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 1.5rem; color: var(--primary-blue); border-radius: 12px; transition: all 0.3s; }
.program-card:hover .program-icon { background: var(--primary-blue); color: var(--white); }
.program-card h3 { font-size: 1.4rem; margin-bottom: 1rem; }
.program-card p { color: var(--gray-text); line-height: 1.7; }

/* Get Involved / CTA Cards */
#get-involved { background: var(--light-blue); }
.involvement-card { background: var(--white); padding: 2.5rem; text-align: center; height: 100%; border: 1px solid var(--gray-border); border-radius: 12px; transition: all 0.3s; }
.involvement-card:hover { box-shadow: 0 10px 30px rgba(1,57,154,0.1); transform: translateY(-5px); }
.involvement-icon { width: 80px; height: 80px; background: var(--primary-blue); margin: 0 auto 1.5rem; display: flex; align-items: center; justify-content: center; font-size: 2rem; color: var(--white); border-radius: 50%; transition: all 0.3s; }
.involvement-card:hover .involvement-icon { background: var(--primary-green); }
.involvement-card h4 { font-size: 1.4rem; margin-bottom: 1rem; }
.btn-involvement { background: var(--primary-blue); border: 2px solid var(--primary-blue); color: var(--white); padding: 0.8rem 2rem; font-weight: 700; transition: all 0.3s; text-transform: uppercase; text-decoration: none; display: inline-block; border-radius: 6px; font-size: 0.9rem; }
.btn-involvement:hover { background: var(--primary-green); border-color: var(--primary-green); color: var(--white); }

/* Testimonials */
.testimonial-card { 
    background: var(--white); 
    padding: 2.5rem; 
    height: 100%; 
    border: 1px solid var(--gray-border); 
    border-radius: 12px;
    transition: all 0.3s; 
    display: flex;
    flex-direction: column;
}
.testimonial-card:hover { 
    box-shadow: 0 10px 30px rgba(1,57,154,0.1); 
    transform: translateY(-3px);
}
.testimonial-icon {
    font-size: 2.5rem;
    color: var(--primary-green);
    margin-bottom: 1rem;
}
.testimonial-text { 
    font-style: italic; 
    color: #343a40; 
    font-size: 1.05rem; 
    line-height: 1.7; 
    margin-bottom: 1.5rem;
    flex: 1;
}
.testimonial-author { 
    border-top: 2px solid var(--gray-border);
    padding-top: 1rem;
}
.testimonial-author strong {
    display: block;
    font-size: 1.1rem;
    color: var(--primary-blue);
    margin-bottom: 0.3rem;
}
.testimonial-author span {
    display: block;
    font-size: 0.9rem;
    color: var(--gray-text);
}

/* News */
#news { background: var(--gray-light); }
.news-card { background: var(--white); overflow: hidden; height: 100%; border: 1px solid var(--gray-border); border-radius: 16px; transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); }
.news-card:hover { box-shadow: 0 20px 40px rgba(1,57,154,0.1); transform: translateY(-6px); border-color: transparent; }
.news-image { height: 220px; background: #dee2e6; overflow: hidden; position: relative; border-radius: 16px 16px 0 0; }
.news-badge { position: absolute; top: 1rem; left: 1rem; background: var(--primary-green); color: var(--white); padding: 0.4rem 1rem; font-size: 0.8rem; font-weight: 700; text-transform: uppercase; border-radius: 4px; }
.news-content { padding: 1.5rem; }
.news-meta { display: flex; gap: 1rem; margin-bottom: 1rem; font-size: 0.85rem; color: var(--gray-text); }
.news-content h4 { font-size: 1.3rem; margin-bottom: 0.8rem; }
.news-content h4 a { color: var(--primary-blue); text-decoration: none; }
.news-content h4 a:hover { color: var(--primary-green); }

/* CTA Section */
#cta { background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%); color: var(--white); position: relative; overflow: hidden; }
#cta::before { content: ''; position: absolute; top: -40%; left: -15%; width: 50%; height: 180%; background: rgba(4,160,40,0.06); transform: rotate(15deg); border-radius: 50%; pointer-events: none; }
.cta-content { position: relative; z-index: 2; text-align: center; }
.cta-content h2 { font-size: 3rem; font-weight: 900; color: var(--white); margin-bottom: 1rem; }
.cta-content p { color: rgba(255,255,255,0.9); }

/* Contact */
.contact-item { display: flex; align-items: start; gap: 1.5rem; padding: 1.5rem; background: var(--white); margin-bottom: 1rem; border: 1px solid var(--gray-border); border-radius: 12px; transition: all 0.3s; }
.contact-item:hover { box-shadow: 0 5px 20px rgba(1,57,154,0.1); border-color: var(--primary-blue); }
.contact-item-icon { width: 50px; height: 50px; min-width: 50px; background: var(--primary-blue); display: flex; align-items: center; justify-content: center; font-size: 1.3rem; color: var(--white); border-radius: 12px; }
.contact-item:hover .contact-item-icon { background: var(--primary-green); }
.contact-item h5 { color: var(--primary-blue); margin-bottom: 0.3rem; }
.contact-item p { color: var(--gray-text); margin: 0; }
.contact-form .form-control { border: 1px solid var(--gray-border); border-radius: 8px; padding: 0.9rem 1rem; margin-bottom: 1rem; transition: all 0.3s; background: var(--white); }
.contact-form .form-control:focus { border-color: var(--primary-blue); box-shadow: 0 0 0 3px rgba(1,57,154,0.1); outline: none; }
.btn-submit { background: var(--primary-blue); border: 2px solid var(--primary-blue); border-radius: 8px; padding: 1rem 2.5rem; color: var(--white); font-weight: 700; width: 100%; transition: all 0.3s; text-transform: uppercase; }
.btn-submit:hover { background: var(--primary-green); border-color: var(--primary-green); color: var(--white); }

/* Footer */
footer { background: #0a1628; color: var(--white); padding: 3.5rem 0 1.5rem; }
.footer-section h4 { color: var(--white); font-size: 1.2rem; margin-bottom: 1.5rem; position: relative; padding-bottom: 0.75rem; }
.footer-section h4::after { content: ''; display: block; width: 40px; height: 3px; background: var(--primary-green); position: absolute; bottom: 0; left: 0; }
.footer-section ul { list-style: none; padding: 0; }
.footer-section ul li { margin-bottom: 0.7rem; }
.footer-section ul li a { color: rgba(255,255,255,0.7); text-decoration: none; transition: all 0.3s; font-size: 0.95rem; }
.footer-section ul li a:hover { color: var(--primary-green); padding-left: 0.3rem; }
.social-link { width: 40px; height: 40px; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.7); text-decoration: none; transition: all 0.3s; border-radius: 8px; }
.social-link:hover { background: var(--primary-green); color: var(--white); border-color: var(--primary-green); }
.footer-bottom { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.08); text-align: center; color: rgba(255,255,255,0.5); font-size: 0.9rem; }
.footer-contact-item { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.8rem; color: rgba(255,255,255,0.7); font-size: 0.95rem; }
.footer-contact-item i { color: var(--primary-green); width: 18px; text-align: center; }
.footer-contact-item a { color: rgba(255,255,255,0.7); text-decoration: none; }
.footer-contact-item a:hover { color: var(--primary-green); }

.alert-custom { padding: 1.5rem; margin-bottom: 1.5rem; border-radius: 8px; font-weight: 500; display: none; }
.alert-success { background: var(--accent-light); color: var(--primary-green); border: 1px solid var(--primary-green); }
.alert-error { background: #fef2f2; color: #dc2626; border: 1px solid #dc2626; }

/* Page Header */
.page-header { background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%); color: var(--white); padding: 120px 0 60px; text-align: center; position: relative; }
.page-header::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 4px; background: var(--primary-green); }
.page-header h1 { font-size: 2.5rem; font-weight: 900; color: var(--white); margin-bottom: 0.75rem; }
.page-header p { font-size: 1.1rem; color: rgba(255,255,255,0.85); max-width: 700px; margin: 0 auto; }
.page-header .breadcrumb { justify-content: center; margin-top: 1rem; }
.page-header .breadcrumb-item, .page-header .breadcrumb-item a { color: rgba(255,255,255,0.7); font-size: 0.9rem; }
.page-header .breadcrumb-item.active { color: var(--primary-green); }
.page-header .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,0.4); }

/* Buttons - General */
.btn-primary-custom { background: var(--primary-blue); color: var(--white); border: 2px solid var(--primary-blue); padding: 0.75rem 2rem; font-weight: 600; border-radius: 8px; transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); text-decoration: none; display: inline-block; }
.btn-primary-custom:hover { background: var(--dark-blue); border-color: var(--dark-blue); color: var(--white); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(1,57,154,0.25); }
.btn-green-custom { background: var(--primary-green); color: var(--white); border: 2px solid var(--primary-green); padding: 0.75rem 2rem; font-weight: 600; border-radius: 8px; transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); text-decoration: none; display: inline-block; }
.btn-green-custom:hover { background: #038a22; border-color: #038a22; color: var(--white); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(4,160,40,0.25); }
.btn-outline-custom { background: transparent; color: var(--primary-blue); border: 2px solid var(--primary-blue); padding: 0.75rem 2rem; font-weight: 600; border-radius: 8px; transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); text-decoration: none; display: inline-block; }
.btn-outline-custom:hover { background: var(--primary-blue); color: var(--white); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(1,57,154,0.25); }

/* Branch Offices */
.branch-card { background: var(--white); border: 1px solid var(--gray-border); border-radius: 12px; padding: 1.5rem; text-align: center; transition: all 0.3s; }
.branch-card:hover { box-shadow: 0 5px 20px rgba(1,57,154,0.1); border-color: var(--primary-green); }
.branch-card .branch-icon { width: 50px; height: 50px; background: var(--light-blue); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; color: var(--primary-blue); font-size: 1.2rem; }
.branch-card h5 { color: var(--primary-blue); margin-bottom: 0.5rem; }
.branch-card p { color: var(--gray-text); font-size: 0.9rem; margin: 0; }
.branch-card a { color: var(--primary-green); text-decoration: none; font-weight: 600; }

/* FAQ */
.faq-item { background: var(--white); border: 1px solid var(--gray-border); border-radius: 12px; margin-bottom: 1rem; overflow: hidden; }
.faq-item .faq-question { padding: 1.25rem 1.5rem; cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-weight: 600; color: var(--primary-blue); transition: all 0.3s; }
.faq-item .faq-question:hover { background: var(--light-blue); }
.faq-item .faq-question i { transition: transform 0.3s; color: var(--primary-green); }
.faq-item.active .faq-question i, .faq-question[aria-expanded="true"] i { transform: rotate(180deg); }
.faq-item .faq-answer { padding: 0 1.5rem 1.25rem; color: var(--gray-text); line-height: 1.7; }
.faq-item.active .faq-answer { display: block; }

/* Insurance */
.insurance-card { background: var(--white); border: 1px solid var(--gray-border); border-radius: 12px; overflow: hidden; }
.insurance-card .insurance-header { background: var(--primary-blue); color: var(--white); padding: 2rem; text-align: center; }
.insurance-card .insurance-header h3 { color: var(--white); }
.insurance-card .insurance-body { padding: 2rem; }
.insurance-card .insurance-price { font-size: 2.5rem; font-weight: 900; color: var(--primary-blue); }
.insurance-card .insurance-features li { padding: 0.5rem 0; color: #555; border-bottom: 1px solid var(--gray-border); }
.insurance-card .insurance-features li i { color: var(--primary-green); margin-right: 0.5rem; }

/* Team */
.team-card { background: var(--white); border: 1px solid var(--gray-border); border-radius: 16px; overflow: hidden; text-align: center; transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); }
.team-card:hover { box-shadow: 0 20px 40px rgba(1,57,154,0.1); transform: translateY(-6px); border-color: transparent; }
.team-card .team-photo { height: 250px; overflow: hidden; background: var(--light-blue); display: flex; align-items: center; justify-content: center; }
.team-card .team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-card .team-photo i { font-size: 4rem; color: var(--primary-blue); }
.team-card .team-info { padding: 1.5rem; }
.team-card .team-info h4 { color: var(--primary-blue); margin-bottom: 0.3rem; font-size: 1.1rem; }
.team-card .team-info p { color: var(--primary-green); font-weight: 600; font-size: 0.9rem; margin: 0; }

/* Video Section */
.video-container {
    position: relative;
    background: var(--white);
    padding: 0;
    border: 2px solid var(--gray-border);
    border-radius: 12px;
    overflow: hidden;
}
.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    background: #000;
}
.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Donation / Causes Progress */
.progress-bar-custom { height: 10px; background: #e9ecef; border-radius: 10px; overflow: hidden; }
.progress-bar-custom .progress-fill { height: 100%; background: linear-gradient(90deg, var(--primary-green), var(--primary-blue)); border-radius: 10px; transition: width 0.5s; }

/* Gallery */
.gallery-card { border-radius: 12px; overflow: hidden; position: relative; }
.gallery-card img { width: 100%; height: 250px; object-fit: cover; transition: transform 0.3s; }
.gallery-card:hover img { transform: scale(1.05); }
.gallery-card .gallery-overlay { position: absolute; inset: 0; background: rgba(1,57,154,0.6); opacity: 0; transition: opacity 0.3s; display: flex; align-items: center; justify-content: center; }
.gallery-card:hover .gallery-overlay { opacity: 1; }
.gallery-card .gallery-overlay i { font-size: 2rem; color: var(--white); }

/* ============================================
   UTILITY CLASSES 
   Used across pages to replace inline styles
   so media queries can override them
   ============================================ */
.section-pad { padding: 5rem 0; }
.section-pad-sm { padding: 3.5rem 0; }
.section-heading { font-size: 2rem; font-weight: 800; color: var(--dark-blue); margin-bottom: 1rem; }
.section-subtext { color: var(--gray-text); line-height: 1.8; }
.stat-value { font-size: 2.5rem; font-weight: 800; color: var(--primary-blue); margin-bottom: 0.3rem; }
.content-block { background: var(--white); border-radius: 16px; padding: 2rem; box-shadow: 0 2px 15px rgba(0,0,0,0.06); border: 1px solid var(--gray-border); }
.icon-circle-lg { width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; flex-shrink: 0; }
.icon-circle-md { width: 45px; height: 45px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; }
.icon-circle-sm { width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.75rem; flex-shrink: 0; }
.detail-sticky { position: sticky; top: 100px; }
.hero-img-placeholder { height: 400px; display: flex; align-items: center; justify-content: center; }
.product-thumb { width: 70px; height: 70px; border-radius: 8px; overflow: hidden; cursor: pointer; border: 2px solid var(--gray-border); flex-shrink: 0; }
.product-thumb img { width: 100%; height: 100%; object-fit: cover; }
.step-circle { width: 55px; height: 55px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; font-weight: 700; flex-shrink: 0; background: var(--primary-blue); color: var(--white); margin: 0 auto 1rem; }
.badge-pill { display: inline-block; padding: 0.3rem 1rem; border-radius: 20px; font-size: 0.85rem; font-weight: 600; }
.info-grid { display: grid; gap: 1.5rem; }
.info-grid-2 { grid-template-columns: repeat(2, 1fr); }
.info-grid-3 { grid-template-columns: repeat(3, 1fr); }
.info-grid-4 { grid-template-columns: repeat(4, 1fr); }
.cta-inline-btns { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; }
.category-filter-row { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; }
.text-break-word { word-break: break-word; overflow-wrap: break-word; }
img.responsive-img { max-width: 100%; height: auto; }

/* Smooth global selection color */
::selection { background: rgba(1,57,154,0.15); color: var(--dark-blue); }

/* Smooth focus styles */
a:focus-visible, button:focus-visible { outline: 2px solid var(--primary-blue); outline-offset: 2px; border-radius: 4px; }

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
    .hero-orb { display: none; }
}

/* Responsive */
@media (max-width: 991px) {
    .hero-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    .hero-title {
        font-size: 2.5rem;
    }
    .hero-lead {
        font-size: 1.1rem;
    }
    .navbar-collapse {
        background: var(--primary-blue);
        padding: 1rem 0;
        margin-top: 0.5rem;
        border-top: 2px solid var(--primary-green);
    }
    .nav-link {
        padding: 0.8rem 1rem !important;
        margin: 0;
    }
    .dropdown-menu {
        background: var(--white);
        border: none;
        border-top: 2px solid var(--primary-green);
        margin: 0.5rem 0;
        position: static !important;
        transform: none !important;
        display: none;
        box-shadow: none;
    }
    .dropdown-menu.show {
        display: block;
        opacity: 1;
        visibility: visible;
    }
    .dropdown-toggle .dropdown-icon {
        float: right;
    }
    .btn-cta-nav {
        width: 100%;
        margin-top: 0.5rem;
        text-align: center;
    }

    /* Typography scaling */
    .section-heading { font-size: 1.6rem !important; }
    .section-pad { padding: 3.5rem 0 !important; }
    .section-pad-sm { padding: 2.5rem 0 !important; }
    .stat-value { font-size: 2rem !important; }
    .info-grid { gap: 1rem !important; }
    
    /* Networking section tablet */
    .network-main-title { font-size: 2rem; }
    .network-highlight-grid { grid-template-columns: repeat(3, 1fr); gap: 0.75rem; }
}

@media (max-width: 768px) {
    h1 { font-size: 2rem !important; }
    h2 { font-size: 1.75rem !important; }
    h3 { font-size: 1.4rem !important; }
    h4 { font-size: 1.2rem !important; }
    
    .navbar { padding: 0.6rem 0; }
    .navbar-brand { font-size: 1.2rem; }
    .navbar-brand i { font-size: 1.4rem; }
    .navbar-brand .brand-main { font-size: 1.2rem; }
    .navbar-brand .brand-sub { font-size: 0.55rem; }
    
    #hero { padding: 100px 0 60px 0; min-height: auto; }
    .hero-title { font-size: 1.8rem !important; }
    .hero-lead { font-size: 1rem; margin-bottom: 2rem; }
    .hero-buttons { flex-direction: column; margin-bottom: 2.5rem; }
    .btn-hero { width: 100%; padding: 0.9rem 2rem; font-size: 0.9rem; text-align: center; }
    
    section { padding: 3rem 0; }
    .section-title { margin-bottom: 2rem; }
    .section-title h2 { font-size: 1.75rem !important; }
    .section-title p.subtitle { font-size: 0.95rem; }
    .section-title .badge-section { font-size: 0.75rem; padding: 0.4rem 1rem; }

    /* Utility class overrides */
    .section-heading { font-size: 1.5rem !important; }
    .section-pad { padding: 2.5rem 0 !important; }
    .section-pad-sm { padding: 2rem 0 !important; }
    .stat-value { font-size: 1.75rem !important; }
    .content-block { padding: 1.5rem !important; }
    .icon-circle-lg { width: 50px !important; height: 50px !important; font-size: 1.2rem !important; }
    .icon-circle-md { width: 40px !important; height: 40px !important; font-size: 1rem !important; }
    .detail-sticky { position: static !important; }
    .hero-img-placeholder { height: 250px !important; }
    .step-circle { width: 44px !important; height: 44px !important; font-size: 1.1rem !important; }
    .info-grid { gap: 0.75rem !important; }
    
    .mission-card { padding: 2rem; margin-bottom: 1.5rem; }
    .mission-icon { width: 55px; height: 55px; font-size: 1.5rem; margin-bottom: 1rem; }
    .impact-card { padding: 1.5rem; margin-bottom: 1rem; }
    .impact-icon { width: 60px; height: 60px; font-size: 1.5rem; margin-bottom: 1rem; }
    .impact-number { font-size: 2.5rem; }
    
    .product-card .product-image { height: 180px; }
    .product-card .product-body { padding: 1rem; }
    .product-card h4 { font-size: 0.95rem; }
    .product-card .product-price { font-size: 1rem; }
    .product-card .product-desc { font-size: 0.8rem; -webkit-line-clamp: 2; }
    .program-card { padding: 1.5rem; margin-bottom: 1.5rem; }
    .involvement-card { padding: 2rem; margin-bottom: 1.5rem; }
    .involvement-icon { width: 60px; height: 60px; font-size: 1.5rem; }
    .testimonial-card { padding: 1.5rem; margin-bottom: 1.5rem; }
    .news-image { height: 180px; }
    .news-content { padding: 1.2rem; }
    
    .contact-item { padding: 1.2rem; flex-direction: column; text-align: center; gap: 1rem; }
    .contact-item-icon { margin: 0 auto; }
    .contact-form .form-control { padding: 0.8rem; font-size: 0.95rem; }
    
    #cta { padding: 3rem 0; }
    .cta-content h2 { font-size: 1.75rem !important; }
    
    footer { padding: 2.5rem 0 1rem; }
    .footer-section { margin-bottom: 2rem; }
    .footer-section h4 { font-size: 1.1rem; margin-bottom: 1rem; }
    .footer-section h4::after { left: 0; }
    .social-link { width: 36px; height: 36px; }
    
    .page-header { padding: 100px 0 50px; }
    .page-header h1 { font-size: 1.8rem !important; }
    .page-header p { font-size: 0.95rem; }
    
    .team-card .team-photo { height: 200px; }
    
    /* Networking section mobile */
    .network-main-title { font-size: 1.75rem !important; }
    .network-subtitle { font-size: 1rem; }
    .network-highlight-grid { grid-template-columns: repeat(3, 1fr); gap: 0.5rem; }
    .network-highlight-card { padding: 1rem; }
    .network-highlight-number { font-size: 1.5rem; }
    .network-highlight-label { font-size: 0.7rem; }
    .network-earnings-visual { padding: 1.5rem; }
    .earnings-flow-icon { width: 44px; height: 44px; font-size: 1rem; }
    .network-cta-section { flex-direction: column; text-align: center; }

    /* Category filter scroll on mobile */
    .category-filter-row { 
        flex-wrap: nowrap !important; 
        overflow-x: auto; 
        -webkit-overflow-scrolling: touch;
        padding-bottom: 0.5rem;
        gap: 0.5rem !important;
    }
    .category-filter-row .btn { white-space: nowrap; flex-shrink: 0; }
}

/* ============================================
   NETWORKING / EARNINGS SECTION - HOMEPAGE
   ============================================ */
.network-section {
    background: linear-gradient(135deg, #f0faf3 0%, var(--light-blue) 50%, #f0faf3 100%);
    position: relative;
    overflow: hidden;
}
.network-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 50%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(1,57,154,0.03) 0%, transparent 70%);
    pointer-events: none;
}
.network-content-wrap {
    position: relative;
    z-index: 2;
}
.network-heading-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(4,160,40,0.1);
    color: var(--primary-green);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    border: 1px solid rgba(4,160,40,0.2);
}
.network-heading-badge i { font-size: 0.9rem; }
.network-main-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--dark-blue);
    margin-bottom: 1rem;
    line-height: 1.2;
}
.network-main-title span { color: var(--primary-green); }
.network-subtitle {
    color: var(--gray-text);
    font-size: 1.1rem;
    max-width: 600px;
    line-height: 1.7;
    margin-bottom: 2rem;
}

/* Earnings visual card */
.network-earnings-visual {
    background: var(--white);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 16px 48px rgba(1,57,154,0.08);
    border: 1px solid rgba(1,57,154,0.06);
    position: relative;
}
.earnings-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}
.earnings-flow-item {
    text-align: center;
    flex: 1;
    min-width: 100px;
}
.earnings-flow-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin: 0 auto 0.5rem;
    transition: all 0.3s;
}
.earnings-flow-item:hover .earnings-flow-icon {
    transform: scale(1.1) rotate(-5deg);
}
.earnings-flow-icon.blue { background: var(--light-blue); color: var(--primary-blue); }
.earnings-flow-icon.green { background: rgba(4,160,40,0.1); color: var(--primary-green); }
.earnings-flow-icon.gold { background: #fff8e6; color: #e6a817; }
.earnings-flow-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--gray-text);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.earnings-flow-value {
    font-size: 1rem;
    font-weight: 800;
    color: var(--dark-blue);
}
.earnings-flow-arrow {
    color: var(--primary-green);
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* Highlight stat cards */
.network-highlight-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}
.network-highlight-card {
    background: var(--white);
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    border: 1px solid var(--gray-border);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}
.network-highlight-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-blue), var(--primary-green));
    transform: scaleX(0);
    transition: transform 0.4s;
}
.network-highlight-card:hover::after { transform: scaleX(1); }
.network-highlight-card:hover {
    border-color: transparent;
    box-shadow: 0 12px 32px rgba(1,57,154,0.1);
    transform: translateY(-4px);
}
.network-highlight-number {
    font-size: 2rem;
    font-weight: 900;
    color: var(--primary-blue);
    line-height: 1;
    margin-bottom: 0.25rem;
}
.network-highlight-number.green { color: var(--primary-green); }
.network-highlight-label {
    font-size: 0.8rem;
    color: var(--gray-text);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.network-cta-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-border);
}
.network-cta-text {
    color: var(--gray-text);
    font-size: 1rem;
    line-height: 1.6;
}
.network-cta-text strong {
    color: var(--dark-blue);
}

/* Video testimonials */
.video-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    border: 1px solid var(--gray-border);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.video-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.1);
    border-color: transparent;
}
.video-embed {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
}
.video-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

@media (max-width: 576px) {
    .container { padding-left: 1rem; padding-right: 1rem; }
    .hero-title { font-size: 1.5rem !important; line-height: 1.3; }
    .hero-stats-grid { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
    .hero-stat-item { padding: 1rem 0.5rem; }
    .hero-stat-item .stat-number { font-size: 1.4rem; }
    .hero-stat-item .stat-label { font-size: 0.7rem; }
    .section-title h2 { font-size: 1.5rem !important; }
    .section-title h2::after { width: 40px; height: 3px; margin-top: 0.5rem; }
    .btn-hero, .btn-involvement, .btn-submit { padding: 0.8rem 1.5rem; font-size: 0.85rem; }
    .impact-number { font-size: 2rem; }
    .news-image { height: 160px; }

    /* Product cards mobile optimization */
    .product-card { border-radius: 8px; }
    .product-card .product-image { height: 150px; }
    .product-card .product-body { padding: 0.75rem; }
    .product-card h4 { font-size: 0.85rem; margin-bottom: 0.25rem; }
    .product-card .product-price { font-size: 0.9rem; margin-bottom: 0.25rem; }
    .product-card .product-desc { font-size: 0.75rem; -webkit-line-clamp: 2; }
    .product-card .product-badge { top: 0.5rem; left: 0.5rem; padding: 0.2rem 0.5rem; font-size: 0.6rem; }
    .row.g-4 > .col-6 { padding-left: 6px !important; padding-right: 6px !important; }

    /* Networking section mobile */
    .network-highlight-grid { grid-template-columns: 1fr !important; gap: 1rem !important; }
    .network-cta-section { flex-direction: column !important; text-align: center; }
    .network-earnings-visual { padding: 1.5rem !important; }
    .earnings-flow { flex-direction: column; gap: 0.75rem; }
    .earnings-flow-arrow { transform: rotate(90deg); }

    /* Utility class overrides */
    .section-heading { font-size: 1.3rem !important; }
    .section-pad { padding: 2rem 0 !important; }
    .section-pad-sm { padding: 1.5rem 0 !important; }
    .stat-value { font-size: 1.5rem !important; }
    .content-block { padding: 1.2rem !important; }
    .icon-circle-lg { width: 44px !important; height: 44px !important; font-size: 1rem !important; }
    .icon-circle-md { width: 36px !important; height: 36px !important; font-size: 0.9rem !important; }
    .product-thumb { width: 55px !important; height: 55px !important; }
    .cta-inline-btns { flex-direction: column !important; }
    .cta-inline-btns a { width: 100% !important; text-align: center; margin-left: 0 !important; }
}
