:root {
    --primary: #1c446c; /* The exact dark navy blue from the infographic banner */
    --secondary: #113a5f; /* Darker navy blue for accents */
    --accent: #eef7f2; /* Light mint green from infographic Net-to-Net background */
    --accent-dark: #2e7d32; /* The rich green from infographic checkmarks */
    --accent-light: #f2f9f5; /* Very light minty background */
    --text-main: #1d2d3d; /* Dark slate blue-grey for perfect contrast */
    --text-muted: #4e6178; /* Muted slate for captions/paragraphs */
    --white: #ffffff;
    --light-bg: #f5f9fc; /* Extremely soft blue-grey background */
    --blue-gradient: linear-gradient(135deg, #1c446c 0%, #2c6f9e 100%);
    --shadow-sm: 0 4px 6px rgba(28, 68, 108, 0.04);
    --shadow-md: 0 10px 20px rgba(28, 68, 108, 0.06);
    --shadow-lg: 0 20px 40px rgba(28, 68, 108, 0.1);
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

img {
    max-width: 100%;
    height: auto;
}

html, body {
    width: 100%;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    color: var(--text-main);
    background-color: var(--white);
    overflow-wrap: break-word;
}

h1, h2, h3, h4 {
    font-family: 'Outfit', sans-serif;
    color: var(--primary);
    font-weight: 700;
}

/* --- Layout --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

section {
    padding: 5rem 0;
}

/* --- Navigation --- */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 2000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
    transition: var(--transition);
    transform: translateZ(0); /* Hardware acceleration */
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 80px;
    padding-top: 10px;
    padding-bottom: 10px;
    flex-wrap: wrap;
    gap: 1rem;
}

.logo img {
    height: 50px;
    width: auto;
}

.header-phone a {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--white);
    background: var(--blue-gradient);
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    border: 1px solid rgba(28, 68, 108, 0.2);
}

.header-phone a:hover {
    background: var(--secondary);
    color: var(--white);
    transform: scale(1.05);
}

.header-phone i {
    width: 18px;
    height: 18px;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--primary);
    font-weight: 500;
    transition: var(--transition);
    font-size: 0.95rem;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-cta {
    background: var(--blue-gradient);
    color: var(--white) !important;
    padding: 0.6rem 1.2rem;
    border-radius: 5px;
    font-weight: 600;
}

/* --- Hero Section --- */
.hero {
    padding-top: 7rem;
    padding-bottom: 4.5rem;
    background: linear-gradient(rgba(28, 68, 108, 0.82), rgba(17, 58, 95, 0.88)), url('slider.jpeg') no-repeat center center / cover;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3.8rem;
    line-height: 1.15;
    margin-bottom: 1.25rem;
    color: var(--white);
    text-shadow: 0 4px 12px rgba(0,0,0,0.25);
}

.hero p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.hero-btns {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
    justify-content: center;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    display: inline-block;
}

.btn-primary {
    background: var(--blue-gradient);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(28, 68, 108, 0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(28, 68, 108, 0.4);
}

.btn-outline {
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

/* --- Section headers --- */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--blue-gradient);
    border-radius: 2px;
}

/* --- Stats Section --- */
.stats-section {
    padding: 4rem 0;
    background: var(--white);
    border-bottom: 1px solid #eee;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--blue-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: 'Outfit', sans-serif;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.8rem;
    color: #666;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.grid-4 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }

/* --- Grid System --- */
.grid {
    display: grid;
    gap: 2rem;
}

.grid-3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

/* --- Cards --- */
.card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(28, 68, 108, 0.12);
    border-color: var(--primary);
}



/* --- Back to Top --- */
.back-to-top {
    position: fixed;
    bottom: 5rem;
    right: 2rem;
    background: var(--blue-gradient);
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(28, 68, 108, 0.3);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    background: var(--secondary);
}

.card h3 {
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.card-icon {
    width: 50px;
    height: 50px;
    background: var(--accent);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

/* --- About Section --- */
.about-box {
    background: var(--light-bg);
    padding: 3rem;
    border-radius: 20px;
    border-left: 5px solid var(--primary);
}

.about-list {
    margin-top: 1rem;
    margin-left: 1.5rem;
    list-style-type: disc;
}

.about-list li {
    margin-bottom: 0.5rem;
}

/* --- Benefits Section --- */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.benefit-card {
    background: var(--white);
    color: var(--text-main);
    padding: 2rem;
    border-radius: 12px;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    border: 1px solid #dbeafe;
    border-top: 4px solid var(--primary);
}

.benefit-card h3 { color: var(--primary); }
.benefit-card:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(28, 68, 108, 0.12); border-color: var(--primary); }

/* --- Process Section --- */
.process-steps {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.step {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.step-num {
    background: var(--blue-gradient);
    color: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

/* --- FAQ Section --- */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.faq-question {
    padding: 1.5rem 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: var(--transition);
    color: var(--text-muted);
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding-bottom: 1.5rem;
}

/* --- Contact & Footer --- */
footer {
    background: var(--white);
    color: var(--text-main);
    padding: 5rem 0 2rem;
    border-top: 1px solid #dbeafe;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-section h3 {
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #dbeafe;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.powered-by {
    margin-top: 1rem;
    font-style: normal;
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.75rem;
}

/* --- Calculator Section --- */
.calculator-wrapper {
    max-width: 1100px;
    margin: 0 auto;
}

.calculator-card.bw-theme {
    background: var(--white);
    color: var(--text-main);
    border: 1px solid #dbeafe;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.bw-theme .calc-inputs {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.bw-theme .form-group {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.bw-theme .calc-inputs label {
    color: var(--text-muted);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.bw-theme .calc-inputs input {
    background: var(--light-bg);
    border: none;
    border-bottom: 2px solid #dbeafe;
    color: var(--text-main);
    padding: 1rem 0;
    font-size: 1.5rem;
    font-family: 'Outfit', sans-serif;
    border-radius: 0;
    width: 100%;
    transition: all 0.4s ease;
    outline: none;
}

.bw-theme .calc-inputs input:focus {
    border-bottom-color: var(--primary);
    background: transparent;
}

.bw-theme .calc-inputs input:hover {
    border-bottom-color: #93c5fd;
}

.bw-theme .calc-inputs input[type="range"] {
    -webkit-appearance: none;
    width: 100%;
    height: 4px;
    background: #dbeafe;
    border: none;
    outline: none;
    padding: 0;
    margin: 2rem 0;
    cursor: pointer;
    border-radius: 2px;
}

.bw-theme .calc-inputs input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    background: var(--primary);
    cursor: pointer;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(28, 68, 108, 0.3);
    transition: all 0.3s ease;
}

.bw-theme .calc-inputs input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 0 20px rgba(28, 68, 108, 0.5);
}

.bw-theme #bcd-value {
    color: var(--primary);
    font-weight: 700;
    margin-left: 0.5rem;
}

.bw-theme .calc-result-box {
    margin-top: 2.5rem;
    padding-top: 2.5rem;
    border-top: 1px solid #dbeafe;
    text-align: center;
}

.bw-theme .calc-result-box h3 {
    color: var(--text-muted);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.bw-theme .result-value {
    background: var(--blue-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 3.5rem;
    margin: 1rem 0;
    font-weight: 800;
}

.bw-theme .calc-note {
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .calculator-card.bw-theme {
        padding: 0.8rem;
    }
    
    .bw-theme .result-value {
        font-size: 1.8rem;
    }

    .bw-theme .calc-inputs input {
        font-size: 1rem;
        padding: 0.6rem 0;
    }

    .bw-theme .calc-inputs {
        gap: 1rem;
    }
}

/* --- Animations --- */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate {
    animation: fadeIn 0.8s ease forwards;
}

/* --- Sticky & Floating Elements --- */
.sticky-contact {
    position: fixed;
    bottom: 10rem; /* Lifted higher to avoid Back to Top button */
    right: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    z-index: 2000;
}

.sticky-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: var(--transition);
    text-decoration: none;
}

.sticky-btn:hover {
    transform: scale(1.1);
}

.sticky-btn.whatsapp {
    background: #25d366;
}

.sticky-btn.call {
    background: var(--blue-gradient);
}

.sticky-btn i {
    width: 28px;
    height: 28px;
}

.mobile-sticky-bar {
    display: none;
    position: fixed;
    bottom: 0 !important;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 3000;
    box-shadow: 0 -2px 15px rgba(0,0,0,0.15);
    box-sizing: border-box;
    overflow: hidden;
    transform: translateZ(0); /* Hardware acceleration */
}

.mobile-sticky-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
    padding: 0.5rem 0.2rem;
    color: var(--white);
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.65rem;
    letter-spacing: 0.5px;
    flex: 1;
}

.mobile-sticky-btn.call {
    background: var(--primary);
}

.mobile-sticky-btn.whatsapp {
    background: #25d366;
}

.mobile-sticky-btn i {
    width: 16px;
    height: 16px;
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    
    section {
        padding: 3rem 0;
    }

    .hero {
        padding-top: 6rem;
        padding-bottom: 3.5rem;
    }

    .hero h1 { 
        font-size: 2.2rem; 
    }

    .section-header h2 { 
        font-size: 1.8rem; 
    }

    .about-box {
        padding: 1.5rem;
    }

    .grid-2 {
        grid-template-columns: 1fr;
    }

    .step {
        flex-direction: column;
        gap: 1rem;
    }

    .step-num {
        margin-bottom: 0.5rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .sticky-contact {
        display: none; /* Hide floating buttons on mobile to use the bar instead */
    }

    .mobile-sticky-bar {
        display: flex;
    }

    .header-phone span {
        display: none; /* Only show icon on mobile header to save space */
    }

    .header-phone a {
        padding: 0.5rem;
        border-radius: 50%;
    }

    footer {
        padding-bottom: 5rem; /* Space for sticky bar */
    }
}

@media (max-width: 480px) {
    .grid-3, .grid-2 {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 1.8rem;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }

    .hero-btns {
        flex-direction: column;
    }
}

/* --- Animations --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.8s ease-out;
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.8s ease-out;
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate {
    animation: fadeIn 0.8s ease forwards;
}

/* --- Norm Fixation Alternating Layout --- */
.norms-list {
    display: flex;
    flex-direction: column;
    gap: 6rem;
    margin-bottom: 6rem;
}

.norm-row {
    display: flex;
    align-items: center;
    gap: 5rem;
}

.norm-row:nth-child(even) {
    flex-direction: row-reverse;
}

.norm-row-image {
    flex: 1.1;
    max-width: 55%;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(28, 68, 108, 0.08);
    transition: var(--transition);
}

.norm-row-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.norm-row:hover .norm-row-image img {
    transform: scale(1.05);
}

.norm-row-image:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.norm-row-content {
    flex: 0.9;
}

.norm-row-content h3 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1.25rem;
    position: relative;
    display: inline-block;
}

.norm-row-content h3::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--blue-gradient);
    border-radius: 2px;
}

.norm-row-content p {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.8;
}

@media (max-width: 992px) {
    .norm-row {
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .norms-list {
        gap: 4rem;
    }
    
    .norm-row, .norm-row:nth-child(even) {
        flex-direction: column !important;
        gap: 1.5rem;
    }
    
    .norm-row-image {
        max-width: 100%;
        width: 100%;
        flex: none;
    }
    
    .norm-row-content {
        flex: none;
        width: 100%;
    }
    
    .norm-row-content h3 {
        font-size: 1.6rem;
    }
}

.infographic-container {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(28, 68, 108, 0.08);
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
    transition: var(--transition);
}

.infographic-container:hover {
    box-shadow: var(--shadow-lg);
}

.zoomable-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    transition: var(--transition);
}

.zoomable-image:hover {
    transform: scale(1.015);
    cursor: zoom-in;
}

.insight-badge {
    background: var(--accent);
    color: var(--accent-dark);
    display: inline-block;
    padding: 0.35rem 0.85rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
    border: 1px solid rgba(46, 125, 50, 0.15);
}

/* --- YouTube Video Grid --- */
.video-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

@media (max-width: 1024px) {
    .video-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1.5rem;
    }
}

@media (max-width: 576px) {
    .video-grid {
        grid-template-columns: 1fr !important;
        gap: 1.25rem;
    }
}
