/* ============================================================
   CAM LOGISTICS — Design System v2.0
   Theme: Navy Muda + Orange (Light Professional)
   Based on DESIGN.md specifications
   ============================================================ */

:root {
    /* Primary Colors (Blue / Navy) */
    --navy: #0055DA;
    --navy-dark: #003B99;
    --navy-light: #3377E1;

    /* Accent Colors (Cyan — from DESIGN.md) */
    --cyan: #11224E;
    --cyan-dark: #091228;

    /* Accent Colors (Orange) */
    --orange: #FB8500;
    --orange-dark: #E65C00;
    --orange-hover: #FF8C00;
    --orange-soft: #FFE4D6;
    --orange-glow: rgba(251, 133, 0, 0.3);

    /* Neutral Colors */
    --white: #FFFFFF;
    --gray-bg: #F8FAFC;
    --gray-100: #F1F5F9;
    --gray-200: #E2E8F0;
    --gray-300: #CBD5E1;
    --text-body: #334155;
    --text-muted: #64748B;
    --text-light: #94A3B8;

    /* Functional */
    --success: #22C55E;
    --whatsapp: #25D366;
    --danger: #EF4444;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 131, 176, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 131, 176, 0.08);
    --shadow-lg: 0 12px 32px rgba(0, 131, 176, 0.12);
    --shadow-xl: 0 20px 48px rgba(0, 131, 176, 0.15);

    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-2xl: 24px;
    --radius-full: 50px;
}

/* ============================================================
   BASE RESET & TYPOGRAPHY
   ============================================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--white);
    color: var(--text-body);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    color: var(--navy-dark);
    line-height: 1.3;
}

a {
    color: var(--navy);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--orange);
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================================
   NAVBAR
   ============================================================ */

#navbar {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 50px;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.6);
    transition: all 0.35s ease;
}

#navbar.scrolled {
    padding: 12px 50px;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 48px;
    width: auto;
    object-fit: contain;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-links li {
    display: flex;
    align-items: center;
}

.nav-links li a {
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--navy-dark);
    position: relative;
    padding: 4px 0;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--orange);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.nav-links li a:hover::after {
    width: 100%;
}

.nav-links li a:hover {
    color: var(--orange);
}

.nav-cta {
    background: var(--orange);
    color: #fff !important;
    border: none;
    padding: 10px 24px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
    letter-spacing: 0.3px;
}

.nav-cta:hover {
    background: var(--orange-dark);
    box-shadow: 0 4px 16px var(--orange-glow);
    transform: translateY(-1px);
}

/* Mobile Menu Toggle */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 26px;
    height: 3px;
    background: var(--navy-dark);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* ============================================================
   HERO SECTION
   ============================================================ */

#hero {
    position: relative;
    width: 100%;
    margin-top: 80px; /* Offset for fixed navbar */
    background-color: var(--navy);
    overflow: hidden;
}

.hero-bg {
    width: 100%;
    height: auto;
    min-height: 500px;
    object-fit: cover;
    display: block;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.3) 0%,
        rgba(0, 0, 0, 0.6) 100%
    );
    z-index: 1;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    padding: 0 20px;
    z-index: 2;
    text-align: center;
    max-width: 800px;
}

.hero-content h1 {
    font-size: 60px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    color: #fff;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.15);
}

.hero-content p {
    font-size: 22px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 40px;
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 36px;
    font-size: 15px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    background-color: var(--orange);
    color: #fff;
    border-radius: var(--radius-md);
    border: none;
    box-shadow: 0 4px 16px var(--orange-glow);
    transition: all 0.3s ease;
    cursor: pointer;
    letter-spacing: 0.3px;
}

.cta-btn:hover {
    background-color: var(--orange-dark);
    border-color: var(--orange-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 127, 80, 0.45);
    color: #fff;
}

.hero-buttons .cta-btn.outline {
    background-color: transparent;
    border-color: #fff;
    color: #fff;
    box-shadow: none;
}

.hero-buttons .cta-btn.outline:hover {
    background-color: #fff;
    border-color: #fff;
    color: var(--orange);
    box-shadow: 0 8px 24px rgba(255, 127, 80, 0.35);
}

@keyframes slowZoom {
    0% { transform: scale(1.02); }
    100% { transform: scale(1.12); }
}

/* ============================================================
   SECTIONS — GENERAL
   ============================================================ */

.section {
    padding: 100px 0;
}

.section-alt {
    background-color: var(--gray-bg);
}

.section-title {
    font-size: 38px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 16px;
    color: var(--navy-dark);
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 56px;
    font-size: 17px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.section-divider {
    width: 60px;
    height: 4px;
    background: var(--orange);
    border-radius: 4px;
    margin: 16px auto 24px;
}

/* ============================================================
   ESTIMATOR SECTION
   ============================================================ */

#estimator {
    padding: 60px 0 80px;
    background-color: var(--white);
    position: relative;
    z-index: 5;
    margin-top: -60px; /* Overlaps hero section slightly for a dynamic look */
}

.estimator-box {
    background: var(--gray-200);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-xl);
    padding: 40px;
    border: 1px solid var(--gray-300);
}

.estimator-header {
    text-align: center;
    margin-bottom: 30px;
}

.estimator-header h2 {
    font-size: 28px;
    color: var(--navy);
    margin-bottom: 8px;
}

.estimator-header p {
    color: var(--text-body);
}

.estimator-form {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    align-items: flex-end;
}

.estimator-form .form-group:nth-child(1),
.estimator-form .form-group:nth-child(2) {
    grid-column: span 3;
}

.estimator-form .form-group:nth-child(3),
.estimator-form .form-group:nth-child(4),
.estimator-form .btn-group {
    grid-column: span 2;
}

/* Tablet breakpoint: 2-column layout for estimator */
@media (min-width: 769px) and (max-width: 1024px) {
    .estimator-form {
        grid-template-columns: repeat(2, 1fr);
    }
    .estimator-form .form-group:nth-child(1),
    .estimator-form .form-group:nth-child(2) {
        grid-column: span 1;
    }
    .estimator-form .form-group:nth-child(3),
    .estimator-form .form-group:nth-child(4) {
        grid-column: span 1;
    }
    .estimator-form .btn-group {
        grid-column: span 2;
    }
    .estimator-box {
        padding: 32px;
    }
}

/* Mobile: full-width single column */
@media (max-width: 768px) {
    .estimator-form .form-group,
    .estimator-form .btn-group {
        grid-column: span 6 !important;
    }
}

.estimator-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--navy-dark);
    font-size: 14px;
}

.estimator-form input,
.estimator-form select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    background-color: #F8F9FA;
    transition: all 0.3s ease;
    color: var(--text-body);
}

.estimator-form input:focus,
.estimator-form select:focus {
    outline: none;
    border-color: var(--orange);
    box-shadow: 0 0 0 3px var(--orange-glow);
    background-color: var(--white);
}

.estimator-btn {
    width: 100%;
    height: 46px; /* Matches input height roughly */
    justify-content: center;
}

.estimator-result {
    margin-top: 30px;
    text-align: center;
    animation: fadeInDown 0.4s ease;
}

.result-divider {
    border: none;
    border-top: 1px dashed var(--gray-300);
    margin-bottom: 24px;
}

.estimator-result h3 {
    font-size: 32px;
    color: var(--orange);
    margin-bottom: 8px;
    font-weight: 800;
}

.estimator-result p {
    color: var(--navy);
    font-weight: 500;
    margin-bottom: 20px;
}

.wa-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Dynamic Field Toggle Animation */
#armadaField,
#beratField {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

#armadaField.hiding,
#beratField.hiding {
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
}

/* Lead Time Display */
.lead-time-display {
    color: var(--navy) !important;
    font-weight: 600 !important;
    background: #e2f0fb;
    padding: 8px 16px;
    border-radius: var(--radius-md);
    display: inline-block;
    margin: 0 auto 20px;
    font-size: 14px;
    border: 1px solid #c2def4;
    animation: fadeInDown 0.4s ease;
}

/* Minimum Weight Warning Notice */
.min-weight-notice {
    background: linear-gradient(135deg, #FFF3CD, #FFEAA7);
    color: #856404 !important;
    padding: 12px 18px;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 500 !important;
    border-left: 4px solid #FB8500;
    text-align: left;
    margin: 12px auto 20px;
    max-width: 600px;
    animation: fadeInDown 0.4s ease;
}

.min-weight-notice strong {
    color: #664D03;
}

/* Number input spinner styling */
.estimator-form input[type="number"]::-webkit-outer-spin-button,
.estimator-form input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.estimator-form input[type="number"] {
    -moz-appearance: textfield;
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */

#about {
    background-color: var(--gray-bg);
    position: relative;
    overflow: hidden;
}

#about::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('images/about_bg.jpg');
    background-size: cover;
    background-position: center;
    z-index: 0;
}

#about .container {
    position: relative;
    z-index: 1;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-top: 40px;
}

.about-text p {
    margin-bottom: 18px;
    font-size: 16px;
    color: var(--text-body);
    line-height: 1.8;
}

.about-text strong {
    color: var(--navy-dark);
}

.mission-box {
    margin-top: 28px;
    padding: 28px 32px;
    background: var(--gray-200);
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--orange);
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.3s ease;
}

.mission-box:hover {
    box-shadow: var(--shadow-md);
}

.mission-box h3 {
    font-size: 20px;
    margin-bottom: 8px;
    color: var(--navy);
}

.mission-box p {
    color: var(--text-body);
    margin-bottom: 0;
}

.about-stats {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 32px;
    height: 100%;
}

.stat-card {
    background: var(--gray-200);
    border: 1px solid var(--gray-300);
    padding: 32px 20px;
    border-radius: var(--radius-xl);
    text-align: center;
    transition: all 0.35s ease;
    box-shadow: var(--shadow-sm);
}

.stat-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--orange-soft);
}

.stat-card h3 {
    font-size: 36px;
    color: var(--orange);
    margin-bottom: 8px;
    font-weight: 700;
}

.stat-card p {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 1.2px;
    color: var(--text-body);
}

/* ============================================================
   SERVICES SECTION
   ============================================================ */

#services {
    background-color: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.service-card {
    background: var(--gray-200);
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: var(--shadow-sm);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--orange-soft);
}

.service-img {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.service-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 40%, var(--white) 100%);
}

.service-icon {
    position: absolute;
    bottom: -20px;
    left: 28px;
    width: 48px;
    height: 48px;
    background: var(--orange);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    box-shadow: 0 4px 12px var(--orange-glow);
}

.service-icon svg {
    width: 24px;
    height: 24px;
    fill: #fff;
}

.service-content {
    padding: 32px 28px 28px;
}

.service-content h3 {
    font-size: 22px;
    margin-bottom: 12px;
    color: var(--navy);
    font-weight: 700;
}

.service-content p {
    color: var(--text-body);
    margin-bottom: 20px;
    font-size: 15px;
    line-height: 1.7;
}

.service-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 22px;
    background: var(--orange);
    border: none;
    color: #fff;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.service-btn:hover {
    background: var(--orange-dark);
    color: #fff;
    box-shadow: 0 4px 12px var(--orange-glow);
    transform: translateY(-1px);
}

/* ============================================================
   FAQ SECTION
   ============================================================ */

#faq {
    background-color: var(--white);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-list {
    display: flex;
    flex-direction: column;
}

.faq-item {
    border-bottom: 1px solid var(--gray-200);
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 24px 0;
    font-size: 16px;
    font-weight: 600;
    color: var(--navy);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Inter', sans-serif;
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: var(--orange);
}

.faq-icon {
    font-size: 24px;
    font-weight: 400;
    color: var(--navy);
    transition: color 0.3s ease;
}

.faq-question:hover .faq-icon {
    color: var(--orange);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    color: var(--text-body);
    font-size: 15px;
    line-height: 1.7;
}

.faq-item.active .faq-answer {
    padding-bottom: 24px;
    max-height: 500px; /* Arbitrary high value for transition */
}


/* ============================================================
   COVERAGE SECTION
   ============================================================ */

#coverage {
    position: relative;
    background-color: var(--navy-dark);
    color: #fff;
    overflow: hidden;
}

#coverage .coverage-bg {
    position: absolute;
    inset: 0;
    background-image: url('images/coverage_new.png');
    background-size: cover;
    background-position: center;
    opacity: 0.25;
    z-index: 0;
}

#coverage .container {
    position: relative;
    z-index: 1;
}

#coverage .section-title {
    color: #fff;
}

.coverage-box {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-2xl);
    padding: 44px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.coverage-box p {
    font-size: 18px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
}

.branches-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.branch-card {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 32px 24px;
    border-radius: var(--radius-xl);
    text-align: center;
    transition: all 0.35s ease;
}

.branch-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--orange);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.branch-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 16px;
    background: var(--orange);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.branch-icon svg {
    width: 24px;
    height: 24px;
    fill: #fff;
}

.branch-card h3 {
    color: #fff;
    margin-bottom: 10px;
    font-size: 18px;
    font-weight: 700;
}

.branch-card p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    line-height: 1.6;
}

/* ============================================================
   FOOTER
   ============================================================ */

footer {
    background-color: var(--navy);
    padding: 72px 0 0;
    color: var(--white);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    margin-top: 4px;
    font-weight: 500;
}

.footer-logo {
    height: 56px;
    width: auto;
    margin-bottom: 12px;
    object-fit: contain;
}

.footer-contact h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #fff;
    font-weight: 700;
}

.footer-contact p {
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.65);
    font-size: 14px;
    line-height: 1.7;
}

.footer-contact strong {
    color: rgba(255, 255, 255, 0.85);
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.65);
}

.footer-contact a:hover {
    color: var(--orange);
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    padding: 24px 0;
    margin-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.4);
    font-size: 13px;
    background: rgba(0, 0, 0, 0.15);
}

/* ============================================================
   MODAL — Track & Admin
   ============================================================ */

.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(42, 63, 84, 0.55);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: var(--white);
    padding: 40px;
    border: none;
    border-top: 4px solid var(--orange);
    border-radius: var(--radius-xl);
    width: 90%;
    max-width: 480px;
    position: relative;
    box-shadow: var(--shadow-xl);
    animation: modalIn 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes modalIn {
    from {
        opacity: 0;
        transform: translateY(-24px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.close-btn {
    color: var(--text-muted);
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    top: 16px;
    right: 24px;
    transition: color 0.2s ease;
    line-height: 1;
}

.close-btn:hover {
    color: var(--navy-dark);
}

.modal-content h2 {
    color: var(--navy-dark);
    margin-bottom: 8px;
    font-size: 24px;
}

.modal-content > p {
    color: var(--text-muted);
    margin-bottom: 24px;
    font-size: 15px;
}

.track-form {
    display: flex;
    gap: 10px;
}

.track-form input {
    flex: 1;
    padding: 12px 16px;
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-200);
    background: var(--gray-bg);
    color: var(--text-body);
    font-size: 15px;
    font-family: 'Inter', sans-serif;
    transition: border-color 0.3s ease;
}

.track-form input:focus {
    outline: none;
    border-color: var(--orange);
    box-shadow: 0 0 0 3px var(--orange-soft);
}

.track-form input::placeholder {
    color: var(--text-light);
}

.track-result {
    margin-top: 20px;
    padding: 16px 20px;
    background: var(--orange-soft);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--orange);
}

.track-result h4 {
    color: var(--navy-dark);
    margin-bottom: 5px;
}

.track-result p {
    margin-bottom: 0;
    font-size: 14px;
    color: var(--text-body);
}

/* Admin Modal Form */
.modal-content .form-group {
    margin-bottom: 16px;
}

.modal-content .form-group input {
    width: 100%;
    padding: 12px 16px;
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-200);
    background: var(--gray-bg);
    color: var(--text-body);
    font-size: 15px;
    font-family: 'Inter', sans-serif;
    transition: border-color 0.3s ease;
}

.modal-content .form-group input:focus {
    outline: none;
    border-color: var(--orange);
    box-shadow: 0 0 0 3px var(--orange-soft);
}

.modal-content .form-group input::placeholder {
    color: var(--text-light);
}

/* ============================================================
   TRACKING & UPDATE PAGES
   ============================================================ */

.tracking-page {
    background-color: var(--gray-bg);
}

.pt-120 {
    padding-top: 120px;
    padding-bottom: 60px;
    min-height: 100vh;
}

.search-bar {
    display: flex;
    gap: 12px;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.search-bar input {
    flex: 1;
    padding: 14px 20px;
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-200);
    background: var(--white);
    color: var(--text-body);
    font-size: 15px;
    font-family: 'Inter', sans-serif;
    transition: border-color 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.search-bar input:focus {
    outline: none;
    border-color: var(--orange);
    box-shadow: 0 0 0 3px var(--orange-soft);
}

.search-bar input::placeholder {
    color: var(--text-light);
}

/* Tracking Result Styles */
.tracking-result-box {
    padding: 30px;
}

.tracking-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    border-bottom: 1px solid var(--gray-200);
    padding-bottom: 20px;
}

.tracking-header h3 {
    color: var(--navy-dark);
    font-size: 22px;
}

.text-primary {
    color: var(--orange);
}

.status-badge {
    padding: 8px 18px;
    border-radius: var(--radius-full);
    background: var(--orange);
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.3px;
}

.status-badge.delivered {
    background: var(--success);
}

.tracking-content {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 32px;
    align-items: start;
}

/* Shipment Summary Card */
.shipment-summary {
    background: var(--white);
    border: 1px solid var(--gray-200);
    padding: 32px;
    border-radius: var(--radius-xl);
    border-top: 5px solid var(--orange);
    box-shadow: var(--shadow-md);
}

.summary-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--gray-200);
}

.summary-header h3 {
    font-size: 22px;
    color: var(--navy-dark);
    margin: 0;
}

.summary-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.detail-group {
    display: flex;
    flex-direction: column;
}

.detail-group .label {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.detail-group .value {
    font-size: 15px;
    color: var(--navy-dark);
    font-weight: 600;
}

/* Timeline */
.timeline-section {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    padding: 32px;
}

.timeline-section h4 {
    color: var(--navy-dark);
    margin-bottom: 20px;
    font-size: 18px;
    border-bottom: 1px solid var(--gray-200);
    padding-bottom: 16px;
}

.jne-timeline {
    position: relative;
    padding-top: 8px;
}

.jne-timeline::before {
    content: '';
    position: absolute;
    left: 130px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--gray-200);
}

.jne-timeline-item {
    display: flex;
    margin-bottom: 32px;
    position: relative;
}

.jne-timeline-item .time-box {
    width: 110px;
    text-align: right;
    padding-right: 28px;
    flex-shrink: 0;
}

.jne-timeline-item .time-box .date {
    color: var(--navy-dark);
    font-weight: 600;
    font-size: 14px;
    display: block;
}

.jne-timeline-item .time-box .time {
    color: var(--text-muted);
    font-size: 13px;
}

.jne-timeline-item .dot {
    position: absolute;
    left: 130px;
    transform: translateX(-50%);
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--white);
    border: 3px solid var(--orange);
    top: 2px;
    z-index: 2;
}

.jne-timeline-item.delivered .dot {
    background: var(--success);
    border-color: var(--success);
    box-shadow: 0 0 10px rgba(34, 197, 94, 0.4);
}

.jne-timeline-item .content-box {
    padding-left: 36px;
    flex-grow: 1;
}

.jne-timeline-item .content-box h5 {
    color: var(--orange);
    font-size: 15px;
    margin-bottom: 4px;
    font-weight: 700;
}

.jne-timeline-item.delivered .content-box h5 {
    color: var(--success);
}

.jne-timeline-item .content-box p {
    color: var(--text-body);
    font-size: 14px;
    margin: 0;
}

/* Media Section */
.media-section .glass {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    backdrop-filter: none;
}

.media-section .glass h4 {
    color: var(--navy-dark);
}

/* Update Form */
.update-form-box {
    max-width: 600px;
    margin: 0 auto;
    padding: 40px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    border-top: 5px solid var(--orange);
    box-shadow: var(--shadow-md);
    backdrop-filter: none;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    color: var(--navy-dark);
    font-weight: 600;
    font-size: 14px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-200);
    background: var(--gray-bg);
    color: var(--text-body);
    font-size: 15px;
    font-family: 'Inter', sans-serif;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--orange);
    box-shadow: 0 0 0 3px var(--orange-soft);
}

.form-group input::placeholder {
    color: var(--text-light);
}

.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-200);
    background: var(--gray-bg);
    color: var(--text-body);
    font-size: 15px;
    font-family: 'Inter', sans-serif;
    transition: border-color 0.3s ease;
    resize: vertical;
}

.form-group textarea:focus {
    outline: none;
    border-color: var(--orange);
    box-shadow: 0 0 0 3px var(--orange-soft);
}

.form-group select option {
    background: var(--white);
    color: var(--text-body);
}

/* Admin Data Table */
.admin-table-box {
    max-width: 900px;
    margin: 40px auto 0;
    padding: 32px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    backdrop-filter: none;
}

.admin-table-box h3 {
    color: var(--navy-dark);
    margin-bottom: 20px;
    font-size: 18px;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    color: var(--text-body);
    text-align: left;
    font-size: 14px;
}

.admin-table thead tr {
    background: var(--navy-dark);
}

.admin-table thead th {
    padding: 14px 16px;
    color: #fff;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.admin-table tbody tr {
    border-bottom: 1px solid var(--gray-100);
    transition: background 0.2s ease;
}

.admin-table tbody tr:hover {
    background: var(--gray-bg);
}

.admin-table tbody td {
    padding: 14px 16px;
}

.text-center {
    text-align: center;
}

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */

.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.visible {
    opacity: 1;
    transform: translate(0);
}

/* Staggered animation for grids */
.stagger-1 { transition-delay: 0.05s; }
.stagger-2 { transition-delay: 0.12s; }
.stagger-3 { transition-delay: 0.20s; }
.stagger-4 { transition-delay: 0.28s; }

/* ============================================================
   ACCESSIBILITY — Focus Visible
   ============================================================ */

:focus-visible {
    outline: 2px solid var(--orange);
    outline-offset: 2px;
    border-radius: var(--radius-sm);
}

button:focus-visible,
.cta-btn:focus-visible {
    outline: 2px solid var(--orange);
    outline-offset: 2px;
    box-shadow: 0 0 0 4px var(--orange-glow);
}

input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: none;
    border-color: var(--orange);
    box-shadow: 0 0 0 3px var(--orange-glow);
}

/* ============================================================
   RESPONSIVE — TABLET (<=900px)
   ============================================================ */

@media (max-width: 900px) {
    #navbar {
        padding: 14px 24px;
    }

    #navbar.scrolled {
        padding: 10px 24px;
    }

    .hamburger {
        display: flex;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        right: 0;
        width: 280px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        padding: 80px 32px 32px;
        gap: 0;
        box-shadow: -8px 0 32px rgba(0, 0, 0, 0.1);
        z-index: 999;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        width: 100%;
        border-bottom: 1px solid var(--gray-100);
    }

    .nav-links li a {
        display: block;
        padding: 16px 0;
        font-size: 15px;
    }

    .nav-links li a::after {
        display: none;
    }

    .nav-links li:last-child {
        border-bottom: none;
        margin-top: 12px;
    }

    .nav-cta {
        width: 100%;
        text-align: center;
        padding: 14px 24px;
    }

    .about-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .hero-content h1 {
        font-size: 38px;
    }

    .hero-content p {
        font-size: 18px;
    }

    .section {
        padding: 72px 0;
    }

    .section-title {
        font-size: 30px;
    }

    .tracking-content {
        grid-template-columns: 1fr;
    }

    .jne-timeline::before {
        left: 20px;
    }

    .jne-timeline-item {
        flex-direction: column;
    }

    .jne-timeline-item .time-box {
        width: 100%;
        text-align: left;
        padding-left: 44px;
        margin-bottom: 6px;
    }

    .jne-timeline-item .dot {
        left: 20px;
        top: 2px;
    }

    .jne-timeline-item .content-box {
        padding-left: 44px;
    }

    .summary-header {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }

    .update-form-box {
        padding: 28px 20px;
    }

    .admin-table-box {
        padding: 20px 16px;
    }
}

/* ============================================================
   RESPONSIVE — MOBILE (<=480px)
   ============================================================ */

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 30px;
    }

    .hero-content p {
        font-size: 16px;
        margin-bottom: 28px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 12px;
    }

    .cta-btn {
        width: 100%;
        justify-content: center;
        padding: 14px 24px;
    }

    .section {
        padding: 56px 0;
    }

    .section-title {
        font-size: 26px;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

    .coverage-box {
        padding: 28px 20px;
    }

    .branches-grid {
        grid-template-columns: 1fr;
    }

    .track-form {
        flex-direction: column;
    }

    .search-bar {
        flex-direction: column;
    }
}

/* ============================================================
   UTILITY / GLASS (legacy compat)
   ============================================================ */

.glass {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
}

/* Override glass for coverage section (dark context) */
#coverage .glass,
#coverage .coverage-box {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* ============================================================
   FLOATING WHATSAPP BUTTON
   ============================================================ */
.floating-wa {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366; /* Official WhatsApp color */
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.floating-wa svg {
    width: 32px;
    height: 32px;
}

.floating-wa:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.6);
    color: white;
}

@media (max-width: 768px) {
    .floating-wa {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }
    .floating-wa svg {
        width: 28px;
        height: 28px;
    }
}

/* ============================================================
   PARTNERS GRID
   ============================================================ */
.partners-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 20px 0;
}

.partner-card {
    background: var(--cyan);
    border-radius: var(--radius-md);
    padding: 15px;
    width: 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.partner-img-wrapper {
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.partner-card img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: all 0.3s ease;
    /* Optional: filter to make logos white on cyan background */
    /* filter: brightness(0) invert(1); */
}

.partner-card .partner-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--navy-dark);
    transition: all 0.3s ease;
}

.partner-card:hover {
    background: var(--orange);
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(255, 127, 80, 0.3);
}

.partner-card:hover .partner-name {
    color: #ffffff;
}
.partner-logo-box:hover::before {
    bottom: -4px;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.testimonial-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-200);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.testimonial-rating {
    color: var(--orange);
    font-size: 20px;
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.testimonial-text {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-body);
    font-style: normal;
    margin-bottom: 25px;
    flex-grow: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
    border-top: 1px solid var(--gray-200);
    padding-top: 20px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: var(--navy-soft);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
}

.author-info h4 {
    color: var(--navy-dark);
    font-size: 16px;
    margin-bottom: 4px;
}

.author-info p {
    font-size: 13px;
    color: var(--text-muted);
    font-style: italic;
}

/* ============================================================
   NEW FEATURES (B2B, FLEET, BADGES)
   ============================================================ */
.cta-btn.outline {
    background: transparent;
    border: 2px solid var(--gray-300);
    color: var(--text-body);
    box-shadow: none;
}
.cta-btn.outline:hover {
    background: var(--gray-bg);
    border-color: var(--gray-400);
    transform: translateY(-2px);
}

.fleet-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}
.fleet-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.fleet-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}
.fleet-img {
    height: 180px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    border-bottom: 1px solid var(--gray-200);
}
.fleet-content {
    padding: 24px;
}
.fleet-content h3 {
    font-size: 20px;
    color: var(--navy-dark);
    margin-bottom: 15px;
}
.fleet-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.fleet-content li {
    font-size: 14px;
    color: var(--text-body);
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
    border-bottom: 1px dashed var(--gray-200);
    padding-bottom: 8px;
}
.fleet-content li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.trust-badges {
    background: linear-gradient(135deg, var(--cyan-dark), var(--cyan));
    padding: 60px 0;
    color: var(--white);
    position: relative;
    overflow: hidden;
}
.trust-badges::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at top right, rgba(255,255,255,0.1), transparent 50%);
    pointer-events: none;
}
.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 40px;
    position: relative;
    z-index: 1;
}
.cert-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--text-body);
}
.cert-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(251, 133, 0, 0.2);
}
.cert-img-wrapper {
    flex-shrink: 0;
    width: 90px;
    height: 90px;
    background: #f8f9fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    border: 2px solid var(--gray-200);
}
.cert-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.cert-content h3 {
    color: var(--navy-dark);
    font-size: 18px;
    margin-bottom: 6px;
    font-weight: 700;
}
.cert-desc {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 10px;
    line-height: 1.5;
}
.cert-reg {
    font-size: 13px;
    color: var(--cyan-dark);
    background: rgba(17, 34, 78, 0.1);
    padding: 4px 12px;
    border-radius: 20px;
    display: inline-block;
}
@media (max-width: 768px) {
    .cert-card {
    }
}
.testimonial-rating {
    color: var(--orange);
    font-size: 20px;
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.testimonial-text {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-body);
    font-style: normal;
    margin-bottom: 25px;
    flex-grow: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
    border-top: 1px solid var(--gray-200);
    padding-top: 20px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: var(--navy-soft);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
}

.author-info h4 {
    color: var(--navy-dark);
    font-size: 16px;
    margin-bottom: 4px;
}

.author-info p {
    font-size: 13px;
    color: var(--text-muted);
    font-style: italic;
}

/* ============================================================
   NEW FEATURES (B2B, FLEET, BADGES)
   ============================================================ */
.cta-btn.outline {
    background: transparent;
    border: 2px solid var(--gray-300);
    color: var(--text-body);
    box-shadow: none;
}
.cta-btn.outline:hover {
    background: var(--gray-bg);
    border-color: var(--gray-400);
    transform: translateY(-2px);
}

.fleet-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}
.fleet-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.fleet-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}
.fleet-img {
    height: 180px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    border-bottom: 1px solid var(--gray-200);
}
.fleet-content {
    padding: 24px;
}
.fleet-content h3 {
    font-size: 20px;
    color: var(--navy-dark);
    margin-bottom: 15px;
}
.fleet-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.fleet-content li {
    font-size: 14px;
    color: var(--text-body);
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
    border-bottom: 1px dashed var(--gray-200);
    padding-bottom: 8px;
}
.fleet-content li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.trust-badges {
    background: linear-gradient(135deg, var(--cyan-dark), var(--cyan));
    padding: 60px 0;
    color: var(--white);
    position: relative;
    overflow: hidden;
}
.trust-badges::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at top right, rgba(255,255,255,0.1), transparent 50%);
    pointer-events: none;
}
.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 40px;
    position: relative;
    z-index: 1;
}
.cert-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--text-body);
}
.cert-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(251, 133, 0, 0.2);
}
.cert-img-wrapper {
    flex-shrink: 0;
    width: 90px;
    height: 90px;
    background: #f8f9fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    border: 2px solid var(--gray-200);
}
.cert-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.cert-content h3 {
    color: var(--navy-dark);
    font-size: 18px;
    margin-bottom: 6px;
    font-weight: 700;
}
.cert-desc {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 10px;
    line-height: 1.5;
}
.cert-reg {
    font-size: 13px;
    color: var(--cyan-dark);
    background: rgba(17, 34, 78, 0.1);
    padding: 4px 12px;
    border-radius: 20px;
    display: inline-block;
}
@media (max-width: 768px) {
    .cert-card {
        flex-direction: column;
        text-align: center;
    }
}

/* =========================================
   INFINITE SCROLLING PARTNERS MARQUEE
   ========================================= */
.marquee-container {
    overflow: hidden;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 30px;
    padding: 20px 0;
}

.marquee-row {
    display: flex;
    width: 100%;
    overflow: hidden;
}

.marquee-content {
    display: flex;
    gap: 30px;
    min-width: 200%;
    flex-shrink: 0;
}

.marquee-left .marquee-content {
    animation: scrollLeft 40s linear infinite;
}

.marquee-right .marquee-content {
    animation: scrollRight 40s linear infinite;
}

.marquee-container:hover .marquee-content {
    animation-play-state: paused;
}

@keyframes scrollLeft {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes scrollRight {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}

.marquee-card {
    background: #FFFFFF;
    border-radius: 12px;
    padding: 20px;
    width: 180px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    flex-shrink: 0;
    position: relative;
    border: 1px solid transparent;
    overflow: hidden; /* Contains the sliding overlay */
}

.marquee-card img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.marquee-card:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(17, 34, 78, 0.15); /* Elegant Dark Blue shadow */
    border-color: rgba(17, 34, 78, 0.3);
    z-index: 10;
}

.marquee-card:hover img {
    transform: scale(0.95) translateY(-5px);
}

.marquee-tooltip {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    color: var(--navy-dark);
    padding: 10px 15px;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    border-top: 1px solid rgba(17, 34, 78, 0.15);
    opacity: 0;
    transform: translateY(100%);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: normal;
    line-height: 1.3;
}

.marquee-card:hover .marquee-tooltip {
    opacity: 1;
    transform: translateY(0);
}
