:root {
    --blue:       #064d81;
    --blue-mid:   #0072b1;
    --blue-light: #0095da;
    --green:      #a6ce39;
    --white:      #ffffff;
    --off-white:  #f4f7fb;
    --text-dark:  #1a1a2e;
    --text-mid:   #3d3d3d;
    --text-light: #6b7280;
    --border:     #dde3ec;
    --shadow:     0 4px 24px rgba(6,77,129,0.10);
    --shadow-hover: 0 12px 40px rgba(6,77,129,0.18);
    --radius:     14px;
    --max-width:  1240px;
    --font-head:  'Barlow Condensed', sans-serif;
    --font-body:  'Barlow', sans-serif;
    --transition: 0.28s cubic-bezier(0.4,0,0.2,1);
}

/* Dark theme variables */
[data-theme="dark"] {
    --blue:       #2a8bc9;
    --blue-mid:   #1c6ea4;
    --blue-light: #4aa9e0;
    --green:      #b8d74a;
    --white:      #1a1a2e;
    --off-white:  #2d2d44;
    --text-dark:  #f0f0f0;
    --text-mid:   #d0d0d0;
    --text-light: #a0a0b0;
    --border:     #3d3d5c;
    --shadow:     0 4px 24px rgba(0,0,0,0.25);
    --shadow-hover: 0 12px 40px rgba(0,0,0,0.35);
}

/* Smooth theme transitions */
body,
header,
.pre-header,
.navbar,
.nav-links > a,
.nav-links > .dropdown > a,
.product-card,
.testimonial-card,
.contact-card,
.footer {
    transition: background-color var(--transition), 
                color var(--transition), 
                border-color var(--transition), 
                box-shadow var(--transition);
}

/* ===================== RESET ===================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--text-dark); background: var(--white) url('../img/subtle background.png') repeat; overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ===================== PRE-HEADER BAR ===================== */
.pre-header {
    background: var(--blue);
    color: var(--white);
    font-size: 0.8rem;
    padding: 7px 0;
    border-bottom: 2px solid var(--blue-light);
}
.pre-header-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}
.pre-header-text { font-weight: 500; letter-spacing: 0.05em; opacity: 0.9; }
.pre-header-socials { display: flex; gap: 10px; }
.pre-header-socials a {
    color: var(--white);
    width: 26px; height: 26px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.35);
    display: flex; align-items: center; justify-content: center;
    font-size: 0.72rem;
    transition: background var(--transition), border-color var(--transition);
}
.pre-header-socials a:hover { background: var(--green); border-color: var(--green); }

/* ===================== HEADER / NAV ===================== */
header {
    position: sticky; top: 0; z-index: 1000;
    background: var(--white);
    box-shadow: 0 2px 16px rgba(6,77,129,0.10);
}
.navbar {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.nav-brand { display: flex; align-items: center; gap: 12px; }
.nav-brand img { height: 48px; }
.nav-brand-text {
    font-family: var(--font-head);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--blue);
    letter-spacing: 0.02em;
    line-height: 1.2;
}
.nav-brand-text span { color: var(--blue-light); }

/* Nav links */
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links > a, .nav-links > .dropdown > a {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-dark);
    padding: 8px 12px;
    border-radius: 6px;
    transition: color var(--transition), background var(--transition);
    white-space: nowrap;
}
.nav-links > a:hover, .nav-links > .dropdown > a:hover { color: var(--blue); background: var(--off-white); }
.nav-links a.active { color: var(--blue); }

/* Dropdown */
.dropdown { position: relative; }
.dropdown-content {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    background: var(--white);
    min-width: 240px;
    border-radius: var(--radius);
    box-shadow: 0 12px 40px rgba(6,77,129,0.15);
    border: 1px solid var(--border);
    overflow: hidden;
    z-index: 200;
}
.dropdown:hover .dropdown-content { display: block; }
.dropdown-content a {
    display: block;
    padding: 10px 18px;
    font-size: 0.84rem;
    font-weight: 500;
    color: var(--text-dark);
    border-bottom: 1px solid var(--border);
    transition: background var(--transition), color var(--transition);
}
.dropdown-content a:last-child { border-bottom: none; }
.dropdown-content a:hover { background: var(--off-white); color: var(--blue); padding-left: 24px; }

/* Nav CTA */
.nav-cta {
    background: var(--green);
    color: var(--blue) !important;
    padding: 9px 18px !important;
    border-radius: 8px !important;
    font-weight: 700 !important;
    font-size: 0.85rem !important;
    transition: background var(--transition), transform var(--transition) !important;
}
.nav-cta:hover { background: #93bb2e !important; transform: translateY(-1px); }

/* Mobile toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--blue);
    cursor: pointer;
}

/* ===================== HERO SECTION ===================== */
.hero {
    position: relative;
    height: 92vh;
    min-height: 560px;
    overflow: hidden;
    background: var(--blue);
}
.video-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1s ease; }
.video-slide.active { opacity: 1; }
.video-slide video { width: 100%; height: 100%; object-fit: cover; }
.video-slide::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(6,77,129,0.72) 0%, rgba(0,149,218,0.38) 100%);
}
.video-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
}
.video-overlay h1 {
    font-family: var(--font-head);
    font-size: clamp(2.4rem, 6vw, 5.2rem);
    font-weight: 800;
    color: var(--white);
    letter-spacing: 0.02em;
    line-height: 1.1;
    text-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
.video-overlay p {
    font-size: clamp(1rem, 2vw, 1.3rem);
    color: rgba(255,255,255,0.88);
    margin-top: 16px;
}
.hero-btns {
    display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; justify-content: center;
}
.hero-btn {
    padding: 14px 30px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.95rem;
    font-family: var(--font-body);
    cursor: pointer;
    transition: all var(--transition);
}
.hero-btn-primary { background: var(--green); color: var(--blue); border: 2px solid var(--green); }
.hero-btn-primary:hover { background: #93bb2e; transform: translateY(-2px); }
.hero-btn-secondary { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.6); }
.hero-btn-secondary:hover { background: rgba(255,255,255,0.12); }

/* Carousel dots */
.carousel-dots {
    position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
    display: flex; gap: 8px; z-index: 10;
}
.carousel-dot {
    width: 9px; height: 9px; border-radius: 50%;
    background: rgba(255,255,255,0.45);
    cursor: pointer; border: none;
    transition: background var(--transition), transform var(--transition);
}
.carousel-dot.active { background: var(--green); transform: scale(1.3); }

/* ===================== SECTION BASE ===================== */
.section { padding: 80px 20px; }
.section-inner { max-width: var(--max-width); margin: 0 auto; }
.section-label {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--blue-light);
    margin-bottom: 10px;
}
.section-title {
    font-family: var(--font-head);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--blue);
    line-height: 1.1;
    margin-bottom: 18px;
}
.section-title span { color: var(--blue-light); }
.section-desc { font-size: 1.05rem; color: var(--text-mid); line-height: 1.7; max-width: 660px; }
.divider { height: 3px; width: 60px; background: var(--green); border-radius: 2px; margin-bottom: 24px; }

/* ===================== USP STRIPS ===================== */
.usp-strips { background: var(--off-white); }
.usp-strips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}
.usp-strip-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 36px 30px;
    border-left: 5px solid var(--blue-light);
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: box-shadow var(--transition), transform var(--transition);
}
.usp-strip-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-4px); }
.usp-strip-icon { font-size: 2.4rem; color: var(--blue-light); }
.usp-strip-card h3 { font-family: var(--font-head); font-size: 1.4rem; font-weight: 700; color: var(--blue); }
.usp-strip-card p { font-size: 0.95rem; color: var(--text-mid); line-height: 1.65; }
.usp-strip-cta {
    display: inline-flex; align-items: center; gap: 6px;
    font-weight: 700; font-size: 0.85rem; color: var(--blue-light);
    margin-top: auto;
    transition: gap var(--transition);
}
.usp-strip-cta:hover { gap: 10px; }

/* ===================== ABOUT US ===================== */
.about-section { background: var(--white); }
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.about-video-wrap {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-hover);
    aspect-ratio: 16/9;
    background: var(--blue);
}
.about-video-wrap iframe { width: 100%; height: 100%; border: none; }
.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 36px;
}
.stat-card {
    background: var(--off-white);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    border: 1px solid var(--border);
    transition: background var(--transition), transform var(--transition);
}
.stat-card:hover { background: var(--blue); transform: translateY(-3px); }
.stat-card:hover .stat-num, .stat-card:hover .stat-label { color: var(--white); }
.stat-num { font-family: var(--font-head); font-size: 2.2rem; font-weight: 800; color: var(--blue); line-height: 1; }
.stat-label { font-size: 0.82rem; font-weight: 600; color: var(--text-light); margin-top: 6px; text-transform: uppercase; letter-spacing: 0.07em; }

/* Mission Vision */
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 36px; }
.mv-card {
    background: linear-gradient(135deg, rgba(166,206,57,0.10), rgba(0,149,218,0.08));
    border-radius: var(--radius);
    padding: 28px;
    border: 1px solid rgba(166,206,57,0.25);
    box-shadow: 0 0 8px rgba(0,149,218,0.12);
}
.mv-card h3 { font-family: var(--font-head); font-size: 1.5rem; color: var(--blue); margin-bottom: 12px; border-bottom: 3px solid var(--blue-light); padding-bottom: 8px; width: fit-content; }
.mv-card p { font-size: 0.95rem; line-height: 1.7; color: var(--text-mid); }

/* Core Values */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
    margin-top: 36px;
}
/* Core Values Carousel */
.carousel-container {
    width: 100%;
    overflow: hidden;
    margin-top: 40px;
    padding: 20px 0;
}
.carousel-track {
    display: flex;
    gap: 20px;
    width: max-content;
    animation: scroll 20s linear infinite;
}
.carousel-track:hover { animation-play-state: paused; }
@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.value-card {
    min-width: 260px;
    max-width: 260px;
    padding: 32px 24px;
    background: linear-gradient(135deg, rgba(166,206,57,0.12), rgba(0,149,218,0.06));
    border-radius: var(--radius);
    border: 1px solid rgba(166,206,57,0.22);
    box-shadow: 0 0 8px rgba(0,149,218,0.10);
    transition: transform var(--transition), box-shadow var(--transition);
}
.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.value-card h4 { font-family: var(--font-head); font-size: 1.15rem; color: var(--blue); margin-bottom: 8px; }
.value-card p { font-size: 0.9rem; color: var(--text-mid); line-height: 1.6; }

/* ===================== PRODUCT CENTER ===================== */
.products-section { background: var(--off-white); }
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 22px;
    margin-top: 40px;
}
.product-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: box-shadow var(--transition), transform var(--transition);
    display: flex;
    flex-direction: column;
    cursor: pointer;
}
.product-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-6px); }
.product-card-img {
    height: 180px;
    overflow: hidden;
    background: var(--off-white);
    display: flex; align-items: center; justify-content: center;
}
.product-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.product-card:hover .product-card-img img { transform: scale(1.06); }
.product-card-body { padding: 20px; flex: 1; display: flex; flex-direction: column; gap: 10px; }
.product-card-body h3 { font-family: var(--font-head); font-size: 1.15rem; font-weight: 700; color: var(--blue); line-height: 1.25; }
.product-card-explore {
    margin-top: auto;
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 0.84rem; font-weight: 700; color: var(--blue-light);
    transition: gap var(--transition);
}

/* ===================== APPLICATION INDUSTRIES ===================== */
.apps-section { background: var(--off-white); }
.apps-grid, .verticals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 40px;
}
.apps-section .product-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: box-shadow var(--transition), transform var(--transition);
    display: flex;
    flex-direction: column;
    cursor: pointer;
}
.apps-section .product-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-6px); }
.apps-section .product-card-body { padding: 20px; flex: 1; display: flex; flex-direction: column; gap: 10px; }
.apps-section .product-card-body h3 { font-family: var(--font-head); font-size: 1.25rem; font-weight: 700; color: var(--blue); line-height: 1.25; }
.apps-section .product-card-body p { font-size: 0.9rem; color: var(--text-mid); line-height: 1.6; }
.apps-section .product-card-explore {
    margin-top: auto;
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 0.88rem; font-weight: 700; color: var(--blue-light);
    transition: gap var(--transition);
}
.apps-section .product-card:hover .product-card-explore { gap: 10px; }
.apps-section .product-card.hidden-app { display: none !important; }
.view-more-btn {
    margin-top: 32px;
    background: var(--blue);
    color: var(--white);
    border: none;
    padding: 12px 32px;
    border-radius: 8px;
    font-weight: 700;
    font-family: var(--font-body);
    font-size: 0.9rem;
    cursor: pointer;
    transition: background var(--transition), transform var(--transition);
}
.view-more-btn:hover { background: var(--blue-mid); transform: translateY(-2px); }

/* ===================== JOURNEY / TIMELINE ===================== */
.journey-section { background: var(--off-white); }
.timeline {
    position: relative;
    margin-top: 48px;
    padding-left: 36px;
}
.timeline::before {
    content: '';
    position: absolute;
    left: 12px; top: 0; bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--blue-light), var(--green));
    border-radius: 2px;
}
.timeline-item {
    position: relative;
    margin-bottom: 36px;
}
.timeline-item::before {
    content: '';
    position: absolute;
    left: -30px;
    top: 6px;
    width: 14px; height: 14px;
    border-radius: 50%;
    background: var(--green);
    border: 3px solid var(--white);
    box-shadow: 0 0 0 3px var(--blue-light);
}
.timeline-year {
    font-family: var(--font-head);
    font-size: 1rem;
    font-weight: 800;
    color: var(--blue-light);
    letter-spacing: 0.06em;
    margin-bottom: 4px;
}
.timeline-content {
    background: var(--white);
    border-radius: 10px;
    padding: 16px 20px;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--green);
    font-size: 0.92rem;
    color: var(--text-mid);
    line-height: 1.65;
}

/* ===================== TESTIMONIALS ===================== */
.testimonials-section { background: var(--blue); }
.testimonials-section .section-title { color: var(--white); }
.testimonials-section .section-label { color: var(--green); }
.testimonials-section .divider { background: var(--green); }
.testimonials-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}
.testimonials-slider {
    position: relative;
    width: 100%;
    height: 320px;
    overflow: hidden;
}
.testimonial-card {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
    background: rgba(255,255,255,0.08);
    border-radius: var(--radius);
    padding: 50px;
    border: 1px solid rgba(255,255,255,0.15);
    backdrop-filter: blur(6px);
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.testimonial-card.active { opacity: 1; }
.nav-arrow {
    background: none;
    color: var(--green);
    border: none;
    padding: 10px;
    cursor: pointer;
    font-size: 2rem;
    transition: transform var(--transition);
    z-index: 10;
}
.nav-arrow:hover { transform: scale(1.2); }
@media (max-width: 600px) {
    .testimonials-slider { height: 380px; }
    .testimonial-card { padding: 30px; }
}
.testimonial-stars { color: var(--green); font-size: 1rem; margin-bottom: 14px; letter-spacing: 2px; }
.testimonial-quote { font-size: 0.93rem; color: rgba(255,255,255,0.88); line-height: 1.7; font-style: italic; }
.testimonial-author { margin-top: 18px; display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
    width: 42px; height: 42px; border-radius: 50%;
    background: var(--green);
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-head); font-weight: 800; font-size: 1.1rem; color: var(--blue);
}
.testimonial-name { font-weight: 700; color: var(--white); font-size: 0.95rem; }
.testimonial-role { font-size: 0.8rem; color: rgba(255,255,255,0.6); }

/* ===================== BLOG SECTION ===================== */
.blog-section { background: var(--white); }
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 40px;
}
.blog-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: box-shadow var(--transition), transform var(--transition);
}
.blog-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-5px); }
.blog-thumb {
    height: 180px;
    background: linear-gradient(135deg, var(--blue) 0%, var(--blue-light) 100%);
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
}
.blog-thumb img { width: 100%; height: 100%; object-fit: cover; }
.blog-thumb-icon { font-size: 3rem; color: rgba(255,255,255,0.4); }
.blog-body { padding: 22px; }
.blog-tag {
    display: inline-block;
    font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--blue-light);
    background: rgba(0,149,218,0.1);
    padding: 3px 10px; border-radius: 20px; margin-bottom: 10px;
}
.blog-title { font-family: var(--font-head); font-size: 1.15rem; font-weight: 700; color: var(--blue); line-height: 1.3; margin-bottom: 10px; }
.blog-excerpt { font-size: 0.88rem; color: var(--text-light); line-height: 1.6; margin-bottom: 16px; }
.blog-read-more { font-size: 0.84rem; font-weight: 700; color: var(--blue-light); display: inline-flex; align-items: center; gap: 6px; transition: gap var(--transition); }
.blog-card:hover .blog-read-more { gap: 10px; }

/* ===================== CONTACT SECTION ===================== */
.contact-section { background: var(--off-white); }
.contact-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 32px;
    margin-top: 40px;
    align-items: start;
}
.contact-map iframe {
    width: 100%; height: 400px; border: none;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.contact-info-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: var(--shadow);
}
.contact-info-row { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 22px; }
.contact-icon { width: 40px; height: 40px; border-radius: 8px; background: rgba(0,149,218,0.1); display: flex; align-items: center; justify-content: center; color: var(--blue-light); font-size: 1rem; flex-shrink: 0; }
.contact-label { font-weight: 700; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--blue); margin-bottom: 3px; }
.contact-val { font-size: 0.93rem; color: var(--text-mid); line-height: 1.5; }
.contact-cta {
    display: block;
    width: 100%;
    background: var(--green);
    color: var(--blue);
    text-align: center;
    padding: 14px 20px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.95rem;
    margin-top: 10px;
    transition: background var(--transition), transform var(--transition);
}
.contact-cta:hover { background: #93bb2e; transform: translateY(-2px); }

/* FAQ */
.faq-section {
    margin-top: 40px;
    background: var(--white);
    border-radius: var(--radius);
    padding: 36px;
    box-shadow: var(--shadow);
}
.faq-section h3 { font-family: var(--font-head); font-size: 1.8rem; color: var(--blue); text-align: center; margin-bottom: 28px; }
.accordion-item { border-bottom: 1px solid var(--border); }
.accordion-header {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 16px 0;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    transition: color var(--transition);
}
.accordion-header:hover { color: var(--blue); }
.accordion-header::after { content: '+'; font-size: 1.4rem; color: var(--blue-light); flex-shrink: 0; transition: transform var(--transition); }
.accordion-item.open .accordion-header::after { transform: rotate(45deg); }
.accordion-content { display: none; padding: 0 0 16px 0; }
.accordion-content.open { display: block; }
.accordion-content p { font-size: 0.93rem; color: var(--text-mid); line-height: 1.7; }
.accordion-content a { color: var(--blue-light); font-weight: 600; }

/* ===================== FOOTER ===================== */
footer { background: var(--blue); color: var(--white); padding: 0; }
.footer-top {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 60px 20px 40px;
    display: grid;
    grid-template-columns: 1.8fr 1fr 1.4fr;
    gap: 40px;
}
.footer-brand-logo { height: 48px; margin-bottom: 16px; filter: brightness(0) invert(1); }
.footer-brand-desc { font-size: 0.9rem; color: rgba(255,255,255,0.75); line-height: 1.7; margin-bottom: 20px; }
.footer-socials { display: flex; gap: 10px; }
.footer-socials a {
    width: 36px; height: 36px; border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.3);
    display: flex; align-items: center; justify-content: center;
    color: var(--white); font-size: 0.8rem;
    transition: background var(--transition), border-color var(--transition);
}
.footer-socials a:hover { background: var(--green); border-color: var(--green); color: var(--blue); }
.footer-col h4 { font-family: var(--font-head); font-size: 1.1rem; font-weight: 700; color: var(--white); margin-bottom: 18px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 0.88rem; color: rgba(255,255,255,0.75); transition: color var(--transition), padding-left var(--transition); }
.footer-col ul li a:hover { color: var(--green); padding-left: 4px; }
.footer-contact-row { display: flex; gap: 10px; margin-bottom: 12px; align-items: flex-start; }
.footer-contact-icon { color: var(--green); font-size: 0.9rem; margin-top: 3px; flex-shrink: 0; }
.footer-contact-text { font-size: 0.88rem; color: rgba(255,255,255,0.8); line-height: 1.5; }

/* Popular Searches */
.popular-searches {
    margin: 0 auto;
    padding: 30px 20px;
    max-width: var(--max-width);
    border-top: 1px solid rgba(255,255,255,0.12);
}
.popular-searches h5 { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: rgba(255,255,255,0.5); margin-bottom: 16px; }
.ps-accordion-item { border-top: 1px solid rgba(255,255,255,0.08); }
.ps-accordion-btn {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    color: rgba(255,255,255,0.65);
    font-size: 0.85rem;
    font-weight: 600;
    font-family: var(--font-body);
    padding: 10px 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color var(--transition);
}
.ps-accordion-btn:hover { color: var(--green); }
.ps-accordion-btn::after { content: '›'; font-size: 1.1rem; flex-shrink: 0; }
.ps-accordion-content { display: none; padding: 0 0 12px 0; }
.ps-accordion-content.open { display: block; }
.ps-accordion-content p { font-size: 0.82rem; color: rgba(255,255,255,0.5); line-height: 1.65; }

/* Footer bottom */
.footer-bottom {
    padding: 18px 20px;
    margin: 0;
    border-top: 1px solid rgba(255,255,255,0.12);
    text-align: center;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.45);
    display: flex; justify-content: center; align-items: center; gap: 20px; flex-wrap: wrap;
}
.footer-bottom a { color: rgba(255,255,255,0.55); transition: color var(--transition); }
.footer-bottom a:hover { color: var(--green); }

/* ===================== UTILITY ===================== */
.text-center { text-align: center; }
.mt-10 { margin-top: 10px; }
.mt-20 { margin-top: 20px; }
.mt-32 { margin-top: 32px; }
.demarcation-line { height: 3px; background: linear-gradient(90deg, var(--blue-light), var(--green)); opacity: 0.35; margin: 0; }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 900px) {
    .menu-toggle { display: block; }
    header .navbar { position: relative; }
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px; left: 0;
        width: 100%;
        background: var(--white);
        padding: 10px 0;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        z-index: 500;
        text-align: center;
    }
    .nav-links.active { display: flex; }
    .nav-links > a, .nav-links > .dropdown > a { 
        padding: 15px 20px; 
        border-bottom: 1px solid var(--border); 
        border-radius: 0;
        width: 100%;
        display: block;
    }
    .nav-links > a:last-child { border-bottom: none; }
    
    .dropdown-content {
        position: static;
        display: none;
        box-shadow: none;
        border: none;
        background: var(--off-white);
        width: 100%;
        border-radius: 0;
        margin: 0;
    }
    .dropdown.active .dropdown-content { display: block; }
    .dropdown-content a {
        padding: 12px 20px;
        border-bottom: 1px solid rgba(0,0,0,0.05);
    }
    .about-grid, .contact-grid { grid-template-columns: 1fr; }
    .about-stats, .mv-grid { grid-template-columns: 1fr 1fr; }
    .footer-top { grid-template-columns: 1fr; gap: 30px; }
    .hero { height: 75vh; }
}
@media (max-width: 600px) {
    .pre-header-text { display: none; }
    .about-stats, .mv-grid { grid-template-columns: 1fr; }
    .apps-grid { grid-template-columns: 1fr; }
}

/* ===================== PAGE HERO ===================== */
.page-hero {
    height: 220px;
    background: linear-gradient(135deg, var(--blue) 0%, var(--blue-mid) 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 20px;
    position: relative;
}
.page-hero-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    width: 100%;
}
.breadcrumb {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.7);
    margin-bottom: 12px;
}
.breadcrumb a {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
}
.breadcrumb a:hover { color: var(--green); }
.page-hero h1 {
    font-family: var(--font-head);
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    color: var(--white);
    line-height: 1.1;
}
.page-hero p {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.85);
    margin-top: 10px;
    max-width: 700px;
}

/* ===================== SIDEBAR & TABLES ===================== */
.sidebar-links li a { 
    display: block; 
    padding: 14px 20px; 
    font-size: 0.95rem; 
    border-bottom: 1px solid var(--border); 
    color: var(--text-mid); 
    font-weight: 500; 
    text-decoration: none !important;
    transition: all var(--transition);
}
.sidebar-links li a:hover { 
    background: var(--off-white); 
    color: var(--blue); 
    padding-left: 26px; 
    border-left: 4px solid var(--blue-light); 
}
.sidebar-links li a.active { 
    background: var(--off-white); 
    border-left: 4px solid var(--green); 
    color: var(--blue); 
    font-weight: 700; 
}
.detail-card ul { list-style: none; padding: 0; margin-top: 15px; }
.detail-card ul li { 
    position: relative; 
    padding-left: 28px; 
    margin-bottom: 12px; 
    font-size: 0.95rem; 
    line-height: 1.6; 
    color: var(--text-mid);
}
.detail-card ul li::before { 
    content: '✔'; 
    position: absolute; 
    left: 0; 
    color: var(--green); 
    font-weight: 800; 
    font-size: 1.1rem;
}
.spec-table-wrap { border-radius: 10px; overflow: hidden; border: 1px solid var(--border); margin: 20px 0; }
.spec-table { width: 100%; border-collapse: collapse; }
.spec-table th { background: var(--blue); color: white; padding: 14px 20px; text-align: left; font-family: var(--font-head); text-transform: uppercase; letter-spacing: 0.05em; font-size: 0.9rem; }
.spec-table td { padding: 12px 20px; border-bottom: 1px solid var(--border); color: var(--text-mid); font-size: 0.92rem; }
.spec-table tr:last-child td { border-bottom: none; }
.spec-table tr:nth-child(even) { background: #f9fafb; }
.spec-table tr:hover { background: #f1f5f9; }
