/* --- GLOBAL RESET & TYPOGRAPHY --- */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    scroll-behavior: smooth;
}

:root {
    --feature-gap: 28px;
    --feature-padding: 34px;
    --feature-radius: 10px;
    --icon-size: 56px;
    /* adjust to make icons bigger/smaller */
    --icon-bg-size: 72px;
    /* optional background circle size */
    --white: #ffffff;
    --accent-orange: #ff6b35;
    /* Example color */
    --dark-bg: #1a1a1a;
    --primary-blue: #003264;
    /* --accent-orange: #ff9800; */
    --text-dark: #333;
    --text-light: #666;
    --bg-light: #f9f9f9;
    --white: #ffffff;
}

body {
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
}

/* --- UTILITIES --- */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.separator-line {
    width: 60px;
    height: 4px;
    background-color: var(--accent-orange);
    margin: 15px auto;
    border-radius: 2px;
}

.separator-line.left-align {
    margin: 15px 0;
}

.btn-primary {
    background-color: var(--accent-orange);
    color: var(--white);
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: 0.3s;
    display: inline-block;
}

.btn-primary:hover {
    cursor: pointer;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--white);
    color: var(--white);
    padding: 10px 28px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: 0.3s;
    display: inline-block;
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--primary-blue);
}

/* --- HERO SECTION WITH IMAGE CAROUSEL --- */
.hero-section {
    position: relative;
    height: 90vh;
    /* Full screen feel */
    min-height: 600px;
    overflow: hidden;
}

/* Navbar CSS */



/* --- Base Navbar Styles --- */
.navbar {
    position: fixed;
    /* Changed from absolute to fixed for sticky behavior */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    /* Default state: Transparent/Gradient */
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4), transparent);
    transition: all 0.4s ease;
    /* Smooth transition for background change */
}

/* --- The "Scrolled" State (Added via JS) --- */
.navbar.scrolled {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7));
    /* Solid color when scrolling */
    padding: 15px 50px;
    /* Slight shrink for sleek effect */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    /* Shadow only appears here */
}

.logo img {
    height: 50px;
    width: auto;
    display: block;
}

.nav-container {
    display: flex;
    align-items: center;
}

.navbar nav a {
    color: var(--white);
    text-decoration: none;
    margin: 0 15px;
    font-weight: 500;
    font-size: 16px;
    transition: color 0.3s;
}

.navbar nav a:hover {
    color: var(--accent-orange);
}

/* --- Hamburger Menu Styles --- */
.menu-toggle {
    display: none;
    /* Hidden on desktop */
    flex-direction: column;
    cursor: pointer;
}

.menu-toggle .bar {
    height: 3px;
    width: 25px;
    background-color: var(--white);
    margin: 3px 0;
    border-radius: 3px;
    transition: 0.3s;
}

.navbar.scrolled {
    background: var(--white);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.navbar.scrolled nav a {
    color: #333333;
    /* Dark Grey/Black */
}

.navbar.scrolled nav a:hover {
    color: var(--accent-orange);
}

.navbar.scrolled .menu-toggle .bar {
    background-color: #333333;
}

/* --- Mobile Responsiveness (Max-width 768px) --- */
@media screen and (max-width: 768px) {
    .navbar {
        padding: 20px;
        /* Reduced padding for mobile */
        background: var(--dark-bg);
        /* Optional: Ensure readable on mobile always, or keep transparent */
    }

    .menu-toggle {
        display: flex;
        /* Show hamburger */
    }

    .nav-container {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--dark-bg);
        flex-direction: column;
        align-items: center;
        padding: 20px 0;

        /* Animation state: Hidden by default */
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease-in-out;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    /* Class to open menu */
    .nav-container.active {
        max-height: 400px;
        /* Arbitrary large height to allow content */
    }

    .navbar nav {
        display: flex;
        flex-direction: column;
        text-align: center;
        margin-bottom: 20px;
    }

    .navbar nav a {
        margin: 15px 0;
        display: block;
    }
}


/* Navbar CSS End */

.carousel-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
    z-index: 5;
}

/* .feature-card .icon img {
    width: 47px;
    height: 47px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
} */
.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: rgba(0, 50, 100, 0.65); Blue tint overlay */
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0.55) 0%,
            rgba(0, 0, 0, 0.85) 40%,
            rgba(0, 0, 0, 0.55) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    padding: 0 20px;
    color: var(--white);
    animation: fadeInUp 1s ease forwards;
}

.hero-content h1 {
    font-size: 52px;
    margin-bottom: 20px;
    font-weight: 800;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);

}

.hero-content p {
    font-size: 22px;
    margin-bottom: 30px;
    opacity: 0.9;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- STATS BAR --- */
.stats-bar {
    display: flex;
    justify-content: space-around;
    background-color: var(--white);
    width: 85%;
    margin: -50px auto 60px auto;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 50;
}

.stat-item {
    text-align: center;
}

.stat-item h3 {
    color: var(--primary-blue);
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 5px;
}

.stat-item p {
    color: var(--text-light);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
}

/* --- FEATURES SECTION ---
*/


/* ---------- FEATURES SECTION (updated) ---------- */
/* Keep the original outer side-margins so the section aligns with the rest of the site */
.features-section {
    padding: 40px 10% 80px 10%;
    /* preserves your side margin requirement */
    text-align: center;
}

/* Header */
.section-header h2 {
    color: var(--primary-blue);
    font-size: 36px;
}

.section-header p {
    color: var(--text-light);
    margin-bottom: 50px;
    font-size: 18px;
}

/* Grid: 4 columns on large screens, then 3 / 2 / 1 via breakpoints */
.features-grid {
    display: grid;
    gap: 30px;
    /* Use a min width to control when columns collapse while keeping side margins */
    grid-template-columns: repeat(4, minmax(0, 1fr));
    /* 4 columns default */
    align-items: stretch;
}

/* Card visual - updated for more consistent sizing */
.feature-card {
    background: var(--white);
    padding: 34px 28px;
    /* slightly tighter padding for better density */
    border-radius: 10px;
    /* a touch larger radius for modern look */
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.06);
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-bottom-color 0.28s ease;
    border-bottom: 4px solid transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 220px;
    /* keeps visual rhythm across cards */
    text-align: center;
}

/* Hover state preserves your accent behaviour but with smoother shadow */
.feature-card:hover {
    transform: translateY(-10px);
    border-bottom-color: var(--accent-orange);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.10);
}

/* Icon wrapper: supports either a font icon (<i>) OR an <img> */
.feature-card .icon {
    margin-bottom: 18px;
    width: 64px;
    /* background circle size */
    height: 64px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: linear-gradient(180deg, rgba(255, 152, 0, 0.10), rgba(0, 50, 100, 0.04));
}

/* FontAwesome / letter icons (keep similar scale) */
.feature-card .icon i {
    font-size: 42px;
    /* keeps previous size for fa icons */
    color: var(--accent-orange);
    line-height: 1;
}

/* Real image icon support: matches size of font icons, keeps aspect ratio */
.feature-card .icon img {
    width: 42px;
    /* same as font icon size */
    height: 42px;
    object-fit: contain;
    display: block;
    background: transparent;
}

/* Title + description */
.feature-card h3 {
    color: var(--text-dark);
    margin: 8px 0 10px;
    font-size: 20px;
    line-height: 1.2;
}

.feature-card p {
    color: var(--text-light);
    font-size: 14px;
    margin: 0;
    flex-grow: 1;
}

/* Responsive breakpoints (keeps side margins intact because pad of section governs edges) */
@media (max-width: 1200px) {
    .features-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    /* 3 columns */
}

@media (max-width: 900px) {
    .features-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    /* 2 columns */
    .feature-card {
        min-height: 200px;
        padding: 28px 20px;
    }
}

@media (max-width: 480px) {
    .features-grid {
        grid-template-columns: 1fr;
    }

    /* 1 column */
    .feature-card {
        padding: 22px 18px;
        min-height: auto;
    }

    .feature-card .icon {
        width: 56px;
        height: 56px;
    }

    .feature-card .icon img {
        width: 36px;
        height: 36px;
    }

    .feature-card .icon i {
        font-size: 36px;
    }
}

/* Small accessibility nicety: ensure images have alt text; fallback visual if missing */
.feature-card .icon img[alt=""] {
    outline: 2px dashed rgba(0, 0, 0, 0.03);
}

/* --- ABOUT US SECTION (REDESIGNED) --- */
.about-section {
    padding: 100px 0;
    background-color: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.sub-heading {
    color: var(--accent-orange);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    margin-bottom: 10px;
}

.about-text h2 {
    color: var(--primary-blue);
    font-size: 42px;
    line-height: 1.2;
    margin-bottom: 20px;
}

.about-text .description {
    font-size: 17px;
    color: #555;
    margin-bottom: 30px;
}

.quote-box {
    background: #f4f8fb;
    border-left: 5px solid var(--accent-orange);
    padding: 25px;
    border-radius: 0 10px 10px 0;
    position: relative;
}

.quote-box i {
    font-size: 24px;
    color: var(--primary-blue);
    margin-bottom: 15px;
    display: block;
}

.quote-box p {
    font-style: italic;
    color: var(--primary-blue);
    font-weight: 500;
    font-size: 16px;
}

/* Founders Styling */
.founders-wrapper {
    background-color: #f0f4f8;
    padding: 40px;
    border-radius: 20px;
    text-align: center;
}

.founders-title {
    color: var(--primary-blue);
    margin-bottom: 30px;
    font-size: 24px;
}

.founders-row {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.founder-card {
    background: var(--white);
    padding: 25px;
    border-radius: 15px;
    width: 220px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: 0.3s;
}

.founder-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.1);
}

.founder-img img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--accent-orange);
    margin-bottom: 15px;
}

.founder-info h3 {
    font-size: 18px;
    color: var(--primary-blue);
    margin-bottom: 5px;
}

.founder-info span {
    display: block;
    font-size: 13px;
    color: var(--accent-orange);
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.founder-socials a {
    color: #aaa;
    margin: 0 5px;
    transition: 0.3s;
}

.founder-socials a:hover {
    color: var(--primary-blue);
}

/* ===== Why Choose TechOven section ===== */
.why-section {
    padding: 56px 10% 80px 10%;
    /* keeps same side margins as site */
    background: transparent;
    color: var(--text-dark);
}

.why-inner {
    max-width: 1200px;
    margin: 0 auto;
}

/* Heading */
.why-heading {
    text-align: center;
    margin-bottom: 34px;
}

.why-heading h2 {
    color: var(--primary-blue);
    font-size: 40px;
    margin: 0 0 10px;
    line-height: 1.05;
    font-weight: 800;
}

.why-heading p {
    color: var(--text-light);
    font-size: 16px;
    margin: 0 auto;
    max-width: 820px;
}

/* Grid layout */
.why-grid {
    display: grid;
    grid-template-columns: 1fr 496px;
    gap: 30px;
    align-items: center;
}

/* Image Card */
.why-image-card {
    background: var(--white);
    border-radius: 14px;
    padding: 22px;
    box-shadow: 0 24px 60px rgba(14, 30, 37, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 420px;
    overflow: hidden;
    transform-origin: center center;
}

.why-image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    display: block;
    transition: transform 900ms cubic-bezier(.2, .9, .2, 1);
}

/* Features list */
.why-features {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

/* Single feature */
.feature {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    background: #fff;
    padding: 18px;
    border-radius: 10px;
    border: 1px solid rgba(15, 30, 50, 0.06);
    box-shadow: 0 8px 30px rgba(14, 30, 37, 0.04);
    transition: transform .28s ease, box-shadow .28s ease;
}

.feature:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 48px rgba(14, 30, 37, 0.08);
}

/* Icon style */
.f-icon {
    min-width: 54px;
    min-height: 54px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, rgba(255, 152, 0, 0.08), rgba(0, 50, 100, 0.03));
    font-size: 22px;
    color: var(--accent-orange);
    flex-shrink: 0;
}

#thumb-icon {
    object-fit: contain;
}

/* Feature body */
.f-body h3 {
    margin: 0;
    font-size: 16px;
    color: var(--primary-blue);
    font-weight: 700;
}

.f-body p {
    margin: 6px 0 0;
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.45;
}

/* Responsive adjustments */
@media (max-width: 1100px) {
    .why-grid {
        grid-template-columns: 1fr 420px;
    }

    .why-image-card {
        min-height: 360px;
    }
}

@media (max-width: 880px) {
    .why-grid {
        grid-template-columns: 1fr;
    }

    .why-image-card {
        order: 0;
        min-height: 300px;
    }

    .why-features {
        order: 1;
        margin-top: 18px;
    }

    .why-heading h2 {
        font-size: 32px;
    }
}

/* ===== Simple scroll-in animation helpers ===== */
.animate-hidden {
    opacity: 0;
    transform: translateY(18px) scale(0.995);
    transition: opacity 560ms cubic-bezier(.2, .9, .2, 1), transform 560ms cubic-bezier(.2, .9, .2, 1);
}

.animate-in {
    opacity: 1 !important;
    transform: translateY(0) scale(1) !important;
}

/* Slight hover zoom for image when revealed */
.why-image-card.animate-in img {
    transform: scale(1.02);
}

/* Accessibility */
.why-section a {
    color: inherit;
}


/* --- CONTACT SECTION --- */
.contact-section {
    background: url('https://images.unsplash.com/photo-1423666639041-f56000c27a9a?q=80&w=1600&auto=format&fit=crop') no-repeat center center/cover;
    height: 400px;
    position: relative;
    color: var(--white);
    text-align: center;
}

.contact-overlay {
    background: rgba(0, 50, 100, 0.85);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-content h2 {
    font-size: 36px;
    margin-bottom: 10px;
}

.contact-boxes {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.c-box {
    text-align: center;
}

.c-box i {
    font-size: 30px;
    color: var(--accent-orange);
    margin-bottom: 10px;
}


/* ===== Product Preview Slider Styles (drop into index.css) ===== */
.product-preview-section {
    padding: 56px 10% 80px 10%;
    background: transparent;
    color: var(--text-dark);
}

.product-preview-section .section-header {
    text-align: center;
    margin-bottom: 28px;
}

.product-preview-section .section-header h2 {
    color: var(--primary-blue);
    font-size: 32px;
    margin-bottom: 6px;
}

.product-preview-section .section-header p {
    color: var(--text-light);
    font-size: 15px;
}

/* wrapper */
.preview-wrapper {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

/* main viewport */
.preview-main {
    position: relative;
    width: 100%;
    height: 520px;
    border-radius: 14px;
    overflow: hidden;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* slide */
.preview-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 480ms ease, transform 480ms ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px;
    box-sizing: border-box;
}

.preview-slide.active {
    opacity: 1;
    z-index: 2;
    transform: translateZ(0);
}

.preview-slide img {
    width: 100%;
    height: 100%;
    object-fit: fill;
    /* preserve entire screen image (change to cover if you prefer crop) */
    border-radius: 6px;
    box-shadow: 0 18px 40px rgba(10, 20, 30, 0.3);
    background: linear-gradient(180deg, #fff, #f6f6f6);
    display: block;
}

/* caption */
.preview-caption {
    position: absolute;
    left: 24px;
    bottom: 18px;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    padding: 8px 12px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 14px;
}

/* nav arrows */
.preview-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 40;
    border: 0;
    background: rgba(255, 255, 255, 0.9);
    width: 46px;
    height: 46px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    transition: transform .12s ease, opacity .12s ease;
}

.preview-nav:hover {
    transform: translateY(-50%) scale(1.04);
}

.preview-nav.prev {
    left: 18px;
}

.preview-nav.next {
    right: 18px;
}

/* thumbnails */
.preview-thumbs {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: center;
    margin-top: 18px;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 6px;
}

.thumb {
    border: 0;
    background: transparent;
    padding: 6px;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    min-width: 96px;
    cursor: pointer;
    border-radius: 8px;
    transition: transform .14s ease, box-shadow .14s ease, background .14s ease;
}

.thumb img {
    width: 88px;
    height: 56px;
    object-fit: cover;
    border-radius: 6px;
    display: block;
    box-shadow: 0 8px 18px rgba(12, 18, 30, 0.08);
}

.thumb .thumb-label {
    font-size: 12px;
    color: var(--text-light);
    white-space: nowrap;
    max-width: 96px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.thumb.active {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(10, 20, 30, 0.08);
    background: rgba(255, 152, 0, 0.05);
}

.thumb:focus {
    outline: 2px solid rgba(0, 50, 100, 0.12);
}

/* responsive */
@media (max-width: 980px) {
    .preview-main {
        height: 440px;
    }

    .thumb img {
        width: 76px;
        height: 48px;
    }
}

@media (max-width: 640px) {
    .preview-main {
        height: 320px;
        border-radius: 12px;
    }

    .preview-nav {
        width: 38px;
        height: 38px;
    }

    .thumb img {
        width: 68px;
        height: 44px;
    }

    .preview-thumbs {
        gap: 8px;
    }
}

/* Grid fallback if JS disabled (visually show all thumbnails as grid) */
.no-js .preview-main {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
    height: auto;
    padding: 12px;
}

.no-js .preview-main .preview-slide {
    position: static;
    opacity: 1;
    transform: none;
}

/* ========= Integrations Section ========= */

.integrations-section {
    padding: 80px 10%;
    background: #f9fafc;
    text-align: center;
}

.int-header h2 {
    font-size: 36px;
    color: var(--primary-blue);
    font-weight: 700;
}

.int-header p {
    margin-top: 10px;
    font-size: 18px;
    color: var(--text-light);
}

.integrations-grid {
    margin-top: 50px;
    display: grid;
    gap: 30px;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.int-card {
    background: #ffffff;
    padding: 30px 25px;
    border-radius: 12px;
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.07);
    transition: 0.3s;
    border-bottom: 4px solid transparent;
}

.int-card:hover {
    transform: translateY(-8px);
    border-bottom: 4px solid var(--accent-orange);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.int-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 15px auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.int-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.int-card h3 {
    margin-bottom: 9px;
    font-size: 20px;
    color: var(--primary-blue);
}

.int-card p {
    font-size: 14px;
    color: var(--text-light);
}

/* Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.7s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- Layout ---------- */
.mobile-app-section {
    padding: 80px 10%;
    background: #f7f9fc;
}

.mobile-app-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

@media (max-width: 900px) {
    .mobile-app-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* ---------- iPhone Mockup ---------- */
.iphone-frame {
    width: 300px;
    height: 620px;
    background: #000;
    border-radius: 40px;
    padding: 14px;
    margin: 0 auto;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.iphone-screen {
    width: 100%;
    height: 100%;
    border-radius: 28px;
    overflow: hidden;
    position: relative;
    background: #111;
}

/* ---------- Slides ---------- */
.slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: translateY(20px) scale(0.95);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.slide.active {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Caption */
.app-caption {
    text-align: center;
    margin-top: 16px;
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-blue);
    opacity: 0;
    transform: translateY(10px);
    transition: opacity .5s ease, transform .5s ease;
}

.app-caption.show {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- Text Column ---------- */
.section-title {
    font-size: 36px;
    font-weight: 800;
    color: var(--primary-blue);
    margin-bottom: 12px;
}

.section-subtitle {
    color: var(--text-light);
    font-size: 18px;
    margin-bottom: 32px;
}

/* ---------- Store Badges ---------- */
.app-badges {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.app-badges .badge {
    height: 46px;
    transition: transform .2s ease;
}

.app-badges .badge:hover {
    transform: scale(1.07);
}

@media (max-width: 900px) {
    .app-badges {
        justify-content: center;
    }

    .iphone-frame {
        width: 260px;
        height: 520px;
    }
}

/* ===============================
   PORTALS SECTION (MATCHING SITE STYLE)
   =============================== */

.portals-section {
    padding: 80px 10%;
    background-color: var(--bg-light);
    text-align: center;
}

/* Section Header */
.portals-section .section-header h2 {
    color: var(--primary-blue);
    font-size: 36px;
}

.portals-section .section-header p {
    color: var(--text-light);
    font-size: 17px;
    margin-top: 10px;
}

/* ===============================
   TAB BUTTONS (Site-matched design)
   =============================== */
.tab-controls {
    display: flex;
    justify-content: center;
    gap: 18px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.tab-btn {
    background: var(--white);
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
    font-weight: 600;
    padding: 12px 26px;
    font-size: 16px;
    border-radius: 8px;
    transition: 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tab-btn i {
    font-size: 18px;
}

.tab-btn:hover,
.tab-btn.active {
    background: var(--accent-orange);
    color: var(--white);
    border-color: var(--accent-orange);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 152, 0, 0.25);
    /* soft orange glow */
}

/* ===============================
   TABS CONTENT
   =============================== */
.tab-content {
    position: relative;
    min-height: 280px;
}

.portal-pane {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: 0.45s ease;
    pointer-events: none;
}

.portal-pane.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

/* ===============================
   FEATURE CARDS (MATCH HOME FEATURES)
   =============================== */
.feature-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 26px;
}

.portal-feature-card {
    background: var(--white);
    padding: 32px 28px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
    border-bottom: 4px solid transparent;
    /* same as homepage feature cards */
    transition: 0.3s ease;
    text-align: left;
}

.portal-feature-card:hover {
    transform: translateY(-8px);
    border-bottom: 4px solid var(--accent-orange);
    /* yellow/orange accent line */
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.10);
}

.portal-feature-card i {
    font-size: 36px;
    color: var(--accent-orange);
    margin-bottom: 14px;
}

.portal-feature-card h4 {
    font-size: 20px;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.portal-feature-card p {
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.5;
}

/* Smooth fade-in effect for each inner card */
.portal-feature-card {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity .4s ease, transform .4s ease, border-bottom .3s ease;
}

.portal-pane.active .portal-feature-card {
    opacity: 1;
    transform: translateY(0);
}

/* -------- FOUNDERS SECTION (Premium UI) -------- */
.founders-section {
    padding: 80px 0;
    background: var(--white);
    text-align: center;
}

.founders-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 40px;
}

/* Founder Card */
.founder-card {
    background: #ffffff;
    width: 340px;
    /* Wider premium width */
    padding: 35px;
    border-radius: 18px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    border-bottom: 5px solid var(--accent-orange);
    transition: transform .35s ease, box-shadow .35s ease;
    text-align: center;
}

.founder-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.12);
}

/* Founder Image */
.founder-img img {
    width: 160px;
    /* Bigger image */
    height: 160px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 20px;
    border: 4px solid var(--accent-orange);
}

/* Text */
.founder-card h3 {
    font-size: 22px;
    color: var(--primary-blue);
    font-weight: 700;
}

.founder-role {
    display: block;
    margin-top: 6px;
    color: var(--accent-orange);
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
    font-weight: 700;
    margin-bottom: 14px;
}

.founder-bio {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.5;
    min-height: 55px;
}

/* Social Icons */
.founder-socials {
    margin-top: 18px;
    display: flex;
    justify-content: center;
    gap: 18px;
}

.founder-socials a {
    font-size: 20px;
    color: var(--primary-blue);
    transition: transform .3s ease, color .3s ease;
}

.founder-socials a:hover {
    color: var(--accent-orange);
    transform: translateY(-4px);
}

/* Fade-in Animation */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInMove .9s ease-out forwards;
}

.fade-in:nth-child(2) {
    animation-delay: .25s;
}

@keyframes fadeInMove {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* --- FOOTER --- */
.site-footer {
    background-color: #111;
    color: #bbb;
    padding: 60px 0 20px 0;
    text-align: center;
}

.footer-container h2 {
    color: var(--white);
    font-size: 28px;
    margin-bottom: 10px;
}

.footer-links {
    margin: 30px 0;
}

.footer-links a {
    color: #bbb;
    margin: 0 15px;
    text-decoration: none;
    transition: 0.3s;
}

.footer-links a:hover {
    color: var(--accent-orange);
}

.footer-copy {
    font-size: 14px;
    border-top: 1px solid #333;
    padding-top: 20px;
    width: 80%;
    margin: 0 auto;
}

/* ===== Whitepaper / Brochure Section (matches site theme) ===== */
.whitepaper-section {
    padding: 64px 10% 72px 10%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 249, 250, 0.98));
    color: var(--text-dark);
}

.whitepaper-inner {
    display: grid;
    grid-template-columns: 1fr 520px;
    /* image left, copy right */
    gap: 36px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

/* cover */
.wp-cover {
    background: linear-gradient(180deg, rgba(0, 50, 100, 0.03), rgba(255, 152, 0, 0.02));
    padding: 18px;
    border-radius: 12px;
    box-shadow: 0 24px 60px rgba(14, 30, 37, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 360px;
    overflow: hidden;
}

.wp-cover img {
    width: 100%;
    max-width: 360px;
    height: auto;
    display: block;
    border-radius: 8px;
    object-fit: cover;
    transition: transform 600ms cubic-bezier(.2, .9, .2, 1);
}

.wp-cover:hover img {
    transform: translateY(-6px) scale(1.02);
}

/* copy area */
.wp-copy h2 {
    color: var(--primary-blue);
    font-size: 30px;
    margin-bottom: 10px;
}

.wp-copy .lead {
    color: var(--text-light);
    font-size: 16px;
    margin-bottom: 18px;
}

.wp-highlights {
    list-style: none;
    padding: 0;
    margin: 6px 0 18px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 18px;
}

.wp-highlights li {
    position: relative;
    padding-left: 28px;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 14px;
}

.wp-highlights li::before {
    content: "";
    position: absolute;
    left: 6px;
    top: 9px;
    width: 12px;
    height: 12px;
    border-radius: 3px;
    background: linear-gradient(180deg, var(--accent-orange), #ffb86b);
    box-shadow: 0 4px 14px rgba(255, 152, 0, 0.18);
}

/* form & actions */
.wp-actions {
    display: flex;
    gap: 14px;
    align-items: center;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.wp-form {
    display: flex;
    gap: 10px;
    align-items: center;
}

.wp-form input[type="email"] {
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid #e6e9ee;
    width: 300px;
    font-size: 14px;
    background: #fff;
}

.wp-form .wp-btn {
    padding: 11px 18px;
    border-radius: 10px;
    font-weight: 700;
}

/* outline link */
.wp-outline {
    display: inline-block;
    padding: 10px 16px;
    border-radius: 10px;
    border: 1px solid rgba(0, 50, 100, 0.08);
    color: var(--primary-blue);
    text-decoration: none;
    background: transparent;
    font-weight: 700;
}

/* feedback */
.wp-feedback {
    margin-top: 8px;
    font-size: 14px;
    color: #2a7a2a;
    font-weight: 600;
}

/* small text */
.small.muted {
    color: var(--text-light);
    font-size: 13px;
    margin-top: 10px;
}

/* responsive */
@media (max-width: 980px) {
    .whitepaper-inner {
        grid-template-columns: 1fr;
    }

    .wp-cover {
        order: 0;
        min-height: 260px;
    }

    .wp-copy {
        order: 1;
    }

    .wp-form input[type="email"] {
        width: 100%;
        max-width: 420px;
    }
}

/* animation helper (reuse same animate-on-scroll system used elsewhere) */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 560ms cubic-bezier(.2, .9, .2, 1), transform 560ms cubic-bezier(.2, .9, .2, 1);
}

.animate-on-scroll.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- CONTACT US SECTION ---------- */
.contact-us-section {
    padding: 80px 10%;
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

/* Left Side */
.contact-info h2 {
    color: var(--primary-blue);
    font-size: 36px;
    margin-bottom: 10px;
}

.contact-info p {
    color: var(--text-light);
    font-size: 16px;
    margin-top: 10px;
    margin-bottom: 30px;
}

.contact-details .detail-box {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 16px;
    color: var(--text-dark);
}

.contact-details i {
    font-size: 20px;
    color: var(--accent-orange);
}

/* Right Side (Form) */
.contact-form {
    background: var(--bg-light);
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.contact-form .form-group {
    margin-bottom: 18px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px;
    border-radius: 8px;
    background: var(--white);
    border: 1px solid #e1e1e1;
    font-size: 15px;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--accent-orange);
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 152, 0, 0.2);
}

.form-btn {
    width: 100%;
    margin-top: 10px;
    font-size: 18px;
}

/* Success/Error message */
.form-status {
    margin-top: 15px;
    font-weight: 600;
    font-size: 15px;
}

/* Animation */
.animate-contact {
    opacity: 0;
    transform: translateY(20px);
    transition: all .6s ease-out;
}

.animate-contact.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-info h2 {
        text-align: center;
    }

    .contact-details {
        text-align: center;
    }

    .detail-box {
        justify-content: center;
    }
}


/* --- RESPONSIVE --- */
@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .separator-line.left-align {
        margin: 15px auto;
    }

    .founders-wrapper {
        margin-top: 40px;
    }
}

@media (max-width: 768px) {

    .hero-content h1 {
        font-size: 32px;
    }

    .stats-bar {
        flex-direction: column;
        gap: 30px;
        width: 90%;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }
}