/* ═══════════════════════════════════════════════════════════════
   Vyapto Website — SRP US Logistics inspired theme
   ═══════════════════════════════════════════════════════════════ */

:root {
    --primary: #0c2d6b;
    --primary-dark: #071a3d;
    --primary-light: #0f2a56;
    --accent: #e85d04;
    --accent-light: #fff4ed;
    --text: #1e293b;
    --text-muted: #64748b;
    --text-light: #94a3b8;
    --bg: #ffffff;
    --bg-alt: #f1f5f9;
    --bg-dark: #071a3d;
    --border: #e2e8f0;
    --shadow: 0 4px 24px rgba(12, 45, 107, 0.08);
    --shadow-lg: 0 20px 60px rgba(12, 45, 107, 0.12);
    --radius: 12px;
    --radius-lg: 20px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --header-h: 80px;
    --topbar-h: 40px;
}

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

html { scroll-behavior: smooth; }

html { overflow-x: hidden; }
body {
    font-family: "Poppins", sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    max-width: 100%;
}
body.menu-open { overflow: hidden; }

.container {
    width: 90%;
    max-width: 1280px;
    margin: 0 auto;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

/* ── Top bar ── */
.top-bar {
    background: var(--primary-dark);
    color: rgba(255,255,255,0.85);
    font-size: 13px;
    height: var(--topbar-h);
    display: flex;
    align-items: center;
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 10001;
    transition: transform var(--transition), opacity var(--transition);
}
.top-bar.hide {
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
}
.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}
.top-bar a { color: rgba(255,255,255,0.9); text-decoration: none; transition: color var(--transition); }
.top-bar a:hover { color: #fff; }
.top-bar-info { display: flex; gap: 24px; flex-wrap: wrap; }
.top-bar-info span, .top-bar-info a { display: inline-flex; align-items: center; gap: 6px; }
.top-bar-info i { color: var(--accent); font-size: 12px; }

/* ── Header ── */
.site-header {
    position: fixed;
    top: var(--topbar-h);
    left: 0; right: 0;
    z-index: 10000;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid transparent;
    transition: all var(--transition);
}
.site-header.scrolled {
    top: 0;
    box-shadow: var(--shadow);
    border-bottom-color: var(--border);
}
.site-header .navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-h);
    gap: 20px;
}
.logo img { height: 48px; width: auto; }
.desktop-logo { display: block; }
.mobile-logo { display: none; }

.nav-links {
    display: flex;
    align-items: center;
    gap: 6px;
}
.nav-links > a,
.nav-dropdown-trigger {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    font-size: 15px;
    padding: 8px 14px;
    border-radius: 8px;
    transition: all var(--transition);
    cursor: pointer;
    background: none;
    border: none;
    font-family: inherit;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.nav-links > a:hover,
.nav-links > a.active,
.nav-dropdown-trigger:hover { color: var(--primary); background: var(--bg-alt); }
.nav-links > a.active { font-weight: 600; }

.nav-dropdown { position: relative; }
.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 240px;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all var(--transition);
    z-index: 100;
}
.nav-dropdown.open .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.nav-dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    text-decoration: none;
    color: var(--text);
    font-size: 14px;
    border-radius: 8px;
    transition: all var(--transition);
}
.nav-dropdown-menu a:hover { background: var(--bg-alt); color: var(--primary); }
.nav-dropdown-menu a i { color: var(--accent); width: 18px; text-align: center; }

.header-actions { display: flex; align-items: center; gap: 12px; }
.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    border: 2px solid var(--primary);
    color: var(--primary);
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: all var(--transition);
    background: transparent;
    cursor: pointer;
    font-family: inherit;
}
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background: linear-gradient(135deg, var(--accent) 0%, #dc4a00 100%);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: all var(--transition);
    cursor: pointer;
    font-family: inherit;
    box-shadow: 0 4px 16px rgba(232, 93, 4, 0.3);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(232, 93, 4, 0.4);
}
.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background:#fff;
    color: var(--primary);
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: all var(--transition);
    cursor: pointer;
    font-family: inherit;
}
.btn-secondary:hover { background: var(--accent); color: var(--accent-light); transform: translateY(-2px); }

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 22px;
    color: var(--text);
    cursor: pointer;
    padding: 8px;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: calc(var(--topbar-h) + var(--header-h));
    left: 0; right: 0; bottom: 0;
    background: #fff;
    z-index: 9999;
    padding: 24px;
    flex-direction: column;
    gap: 4px;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform var(--transition);
}
.mobile-menu.active { transform: translateX(0); }
.mobile-menu a {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    font-size: 16px;
    padding: 14px 16px;
    border-radius: 10px;
    transition: background var(--transition);
}
.mobile-menu a:hover { background: var(--bg-alt); }
.mobile-menu .mobile-submenu {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding-left: 12px;
    margin: 2px 0 6px;
    border-left: 2px solid var(--bg-alt);
}
.mobile-menu .mobile-submenu a { font-size: 14px; color: var(--text-muted); padding: 10px 14px; }

body { padding-top: calc(var(--topbar-h) + var(--header-h)); }

/* ── Scroll reveal ── */
[data-reveal] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
    transition-delay: calc(var(--reveal-delay, 0) * 1s);
}
[data-reveal].revealed { opacity: 1; transform: translateY(0); }
[data-reveal="left"] { transform: translateX(-30px); }
[data-reveal="left"].revealed { transform: translateX(0); }
[data-reveal="right"] { transform: translateX(30px); }
[data-reveal="right"].revealed { transform: translateX(0); }
[data-reveal="scale"] { transform: scale(0.92); }
[data-reveal="scale"].revealed { transform: scale(1); }

/* ── Section utilities ── */
.section { padding: 40px 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--bg-dark); color: #fff; }
.section-header {
    text-align: center;
    /* max-width: 720px; */
    margin: 0 auto 56px;
}
.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--accent-light);
    color: var(--accent);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}



.section-header h2 {
    letter-spacing: -.025em;
    font-size: clamp(2.25rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--text);
    margin-bottom: 16px;
    line-height: 2.5rem;
}
.section-dark .section-header h2 { color: #fff; }
.section-header p { color: var(--text-muted); font-size: 17px; line-height: 1.7; }
.section-dark .section-header p { color: rgba(255,255,255,0.75); }

/* ── Hero ── */
.hero-section {
    position: relative;
    padding: 0px 0 0;
    overflow: hidden;
    background: #071a3d;
    /* background: var(--primary-light); */
    /* background: linear-gradient(
128deg, #103579 0%, #0f3478 100%); */
    /* background: linear-gradient(180deg, #f0f4fa 0%, #fff 100%); */
    /* min-height: calc(100vh - var(--topbar-h) - var(--header-h)); */
    min-height:auto;
    display: flex;
    flex-direction: column;
}
.hero-bg-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 20% 50%, rgba(12,45,107,0.04) 0%, transparent 50%),
                      radial-gradient(circle at 80% 20%, rgba(232,93,4,0.04) 0%, transparent 40%);
    pointer-events: none;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: center;
    position: relative;
    z-index: 1;
    flex: 1;
    /* padding-bottom: 40px; */
}
.hero-content .trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border: 1px solid var(--border);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 10px;
    box-shadow: var(--shadow);
    animation: fadeInDown 0.8s ease;
}
.trust-badge .star { color: #f59e0b; }
.hero-content h1 {
    font-size: clamp(1.8rem, 5vw, 2.8rem);
    font-weight: 800;
    line-height: 1.15;
    color: var(--accent-light);
    margin-bottom: 8px;
}
.hero-content h1 .highlight {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-content .hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.4;
}
.hero-content .hero-desc {
    font-size: 17px;
    color: var(--accent-light);
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 520px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}
.hero-image-wrap {
    position: relative;
    width: 100%;
    max-width: 100%;
    height: clamp(400px, 60vw, 530px);
}

.hero-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-lg);
}
/* .hero-image-wrap {
    position: relative;
    width: 100%;
    max-width: 520px;
}
.hero-image-wrap img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    max-height: 540px;
    object-fit: cover;
    width: 100%;
} */
/* .hero-image-wrap::before {
    content: '';
    position: absolute;
    inset: -18px -18px 24px 24px;
    background: linear-gradient(120deg, rgb(230 89 3), rgb(17 54 123));
    border-radius: var(--radius-lg);
    z-index: -1;
} */
.hero-image-badge {
    position: absolute;
    left: -24px;
    bottom: 32px;
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    padding: 14px 20px;
    border-radius: 14px;
    box-shadow: var(--shadow-lg);
}
.hero-image-badge i {
    width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    background: var(--accent-light);
    color: var(--accent);
    border-radius: 10px;
    font-size: 18px;
}
.hero-image-badge span {
    font-weight: 600;
    font-size: 14px;
    color: var(--text);
}
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-16px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ── Stats bar ── */
.stats-bar {
    background: var(--primary);
    padding: 0;
    position: relative;
    z-index: 2;
    margin-top: auto;
}
.stats-bar .container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
}
.stat-item {
    padding: 36px 24px;
    text-align: center;
    color: #fff;
    border-right: 1px solid rgba(255,255,255,0.12);
    transition: background var(--transition);
}
.stat-item:last-child { border-right: none; }
.stat-item:hover { background: rgba(255,255,255,0.05); }
.stat-item h3 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 6px;
}
.stat-item p {
    font-size: 14px;
    color: rgba(255,255,255,0.75);
    font-weight: 400;
}

/* ── Service cards ── */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 28px;
}
.service-card {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all var(--transition);
    display: flex;
    flex-direction: column;
}
.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}
.service-card.revealed:hover {
    transform: translateY(-1px);
}
.service-card.revealed:hover .service-card-body h3 {
    color: var(--accent);
}
.service-card.revealed:hover .service-card-body a {
    color: var(--accent);
}

.service-card-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}
.service-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.service-card:hover .service-card-image img { transform: scale(1.08); }
.service-card-image .icon-fallback {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    background: #071a3d;
    font-size: 48px; color: rgba(255,255,255,0.8);
}
.service-card-body { padding: 28px; flex: 1; display: flex; flex-direction: column; }
.service-card-body h3 {
    font-size: 1.00rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text);
}
.service-card-body p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
    flex: 1;
    margin-bottom: 20px;
}
.service-card-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}
.service-card-actions a {
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: color var(--transition);
}
.service-card-actions .learn-more { color: var(--primary); }
.service-card-actions .learn-more:hover { color: var(--accent); }
.service-card-actions .explore {
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.service-card-actions .explore:hover { gap: 8px; }

/* ── Why partner cards ── */
.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.why-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    text-align: start;
    border: 1px solid var(--border);
    transition: all var(--transition);
}
.why-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}
.why-card .why-icon {
    margin-bottom: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    font-size: 1.5rem;
    line-height: 1;
}
.why-icon {
    background: var(--accent);
    border-radius: var(--radius);
}
.why-icon i {
    font-size: 22px;
    color: #fff;
}
.why-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--primary);
    display: inline-block;
    padding-bottom: 10px;
    position: relative;
}
.why-card h3::after {
    content: '';
    display: block;
    width: 100%;
    height: 3px;
    background: var(--accent);
    margin-top: 8px;
    border-radius: 2px;
}
.why-card p { font-size: 14px; color: var(--text-muted); line-height: 1.7; }

/* ── Process steps ── */
.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    position: relative;
}
.process-grid::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 12.5%;
    right: 12.5%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    z-index: 0;
}
.process-step {
    text-align: center;
    position: relative;
    z-index: 1;
}
.process-step .step-number {
    width: 80px; height: 80px;
    background: #fff;
    border: 3px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    transition: all var(--transition);
}
.process-step:hover .step-number {
    background: var(--primary);
    color: #fff;
    transform: scale(1.1);
}
.process-step h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text);
}
.process-step p { font-size: 13px; color: var(--text-muted); line-height: 1.6; }

/* ── Impact section ── */
.impact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.impact-card {
    background: var(--bg);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    transition: all var(--transition);
}

.impact-card:hover {
    background: var(--accent);
    transform: translateY(-4px);
}

.impact-card:hover h3,
.impact-card:hover p {
    color: var(--accent-light) !important;
}

.impact-card h3 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 8px;
}
.impact-card p { font-size: 14px; color: var(--accent); }

/* ── Testimonial carousel ── */
.testimonial-carousel {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}
.testimonial-slide {
    border-radius: var(--radius);
    background: var(--bg);
    display: none;
    text-align: start;
    padding: 60px;
    animation: fadeIn 0.5s ease;
}
.testimonial-slide.active { display: block; }
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
.testimonial-quote {
    font-size: clamp(1.1rem, 2.5vw, 1.35rem);
    font-style: italic;
    color: var(--text);
    line-height: 1.8;
    margin-bottom: 32px;
    position: relative;
}
.testimonial-quote::before {
    content: '\201C';
    font-size: 4rem;
    color: var(--accent);
    opacity: 1;
    position: absolute;
    top: -25px;
    left: 0%;
    transform: translateX(-50%);
    font-style: normal;
    line-height: 1;
}
.textalign {
    display: flex;
    justify-content: flex-start;
}
.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: start;
    gap: 16px;
}
.testimonial-author .avatar {
    width: 56px; height: 56px;
    border-radius: 50%;
    object-fit: cover;
    background: var(--bg-alt);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 20px;
    color: var(--primary);
}
.testimonial-author .author-info { text-align: left; }
.testimonial-author h4 { font-size: 16px; font-weight: 700; color: var(--text); }
.testimonial-author span { font-size: 13px; color: var(--text-muted); }
.carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 32px;
}
.carousel-prev, .carousel-next {
    width: 44px; height: 44px;
    border-radius: 50%;
    border: 2px solid var(--border);
    background: #fff;
    color: var(--text);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
    font-size: 14px;
}
.carousel-prev:hover, .carousel-next:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--bg-alt);
}
.carousel-dots { display: flex; gap: 8px; }
.carousel-dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: var(--border);
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    padding: 0;
}
.carousel-dot.active { background: var(--accent); width: 28px; border-radius: 5px; }
.carousel-counter { font-size: 13px; color: var(--text-muted); min-width: 50px; text-align: center; }

/* ── Gallery ── */
.gallery-section { overflow: hidden; }
.gallery-marquee { overflow: hidden; padding: 10px 0; }
.gallery-track {
    display: flex;
    gap: 16px;
    will-change: transform;
}
.gallery-item {
    flex-shrink: 0;
    width: 280px;
    height: 200px;
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.gallery-item:hover img { transform: scale(1.1); }
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px;
}
.gallery-grid .gallery-item { width: auto; }

/* ── FAQ accordion ── */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 12px;
    overflow: hidden;
    transition: box-shadow var(--transition);
}
.faq-item.open { box-shadow: var(--shadow);
    }
.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
    background: #fff;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
    text-align: left;
    transition: background var(--transition);
}
.faq-item:hover {
    border-left: 4px solid var(--accent);
}
.faq-question:hover { background: var(--accent-light); color: var(--accent); }
.faq-question i {
    transition: transform var(--transition);
    color: var(--accent);
    flex-shrink: 0;
}
.faq-item.open .faq-question i { transform: rotate(180deg); }
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}
.faq-item.open .faq-answer { max-height: 300px; }
.faq-answer-inner {
    padding: 0 24px 20px;
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.7;
}

/* ── CTA banner ── */
.cta-banner {
    background: #071a3d;
    border-radius: var(--radius-lg);
    padding: 60px 48px;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
    margin: 0 0 60px;
}
.cta-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.cta-banner h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 700;
    margin-bottom: 12px;
    position: relative;
}
.cta-banner p {
    font-size: 17px;
    opacity: 0.85;
    margin-bottom: 28px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}
.cta-banner .btn-primary { position: relative; }

/* ── Footer ── */
.site-footer {
    background: var(--primary-dark);
    color: rgba(255,255,255,0.8);
    padding: 40px 0 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 40px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand img {
    height: 50px;
    margin-bottom: 16px;
    background: #fff;
    padding: 8px 12px;
    border-radius: 8px;
    display: inline-block;
}
.footer-brand p { font-size: 14px; line-height: 1.7; margin-bottom: 20px; }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: all var(--transition);
    font-size: 16px;
}
.footer-social a:hover { background: var(--accent); transform: translateY(-2px); }
.footer-col h4 {
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 14px;
    transition: color var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.footer-col ul a:hover { color: #fff; }
.footer-contact-item {
    display: flex;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 14px;
}
.footer-contact-item i { color: var(--accent); margin-top: 3px; flex-shrink: 0; }
.footer-contact-item a { color: rgba(255,255,255,0.8); text-decoration: none; }
.footer-contact-item a:hover { color: #fff; }
.footer-branches { margin-top: 8px; }
.footer-branches span {
    display: inline-block;
    background: rgba(255,255,255,0.08);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    margin: 0 6px 6px 0;
}
.footer-bottom {
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 13px;
}
.footer-bottom a { color: rgba(255,255,255,0.6); text-decoration: none; margin-left: 20px; }
.footer-bottom a:hover { color: #fff; }

/* ── Page hero (inner pages) ── */
.page-hero {
    background: #071a3d;
    padding: 80px 0 60px;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.page-hero-bg {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    opacity: 0.2;
}
.page-hero-content { position: relative; z-index: 1; }
.page-hero h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    margin-bottom: 12px;
}
.page-hero-subtitle {
    display: block;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 12px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.page-hero p {
    color: rgba(255,255,255,0.75);
    max-width: 640px;
    margin: 0 auto;
    font-size: 17px;
    line-height: 1.7;
}

/* ── Content sections (inner pages) ── */
.content-section { padding: 70px 0; background: var(--bg-alt); }
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px;
}
.card-item {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 0;
    border: 1px solid var(--border);
    transition: all var(--transition);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.card-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card-item-body {
    padding: 24px 28px 28px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.card-item .icon {
    width: 56px; height: 56px;
    background: var(--accent-light);
    color: var(--accent);
    border-radius: var(--radius);
    display: flex; align-items: center; justify-content: center;
    font-size: 24px; margin: 28px 28px 0;
}
.card-item h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; color: var(--primary); }
.card-item p { color: var(--text-muted); font-size: 14px; line-height: 1.6; margin-bottom: 16px; flex: 1; }
.card-item a.read-more,
.card-item .btn-primary { margin-top: auto; width: fit-content; }
.card-item a.read-more { color: var(--primary); font-weight: 600; text-decoration: none; }
.card-item a.read-more:hover { color: var(--accent); }
.card-item img.cover {
    width: 100%; height: 200px; object-fit: cover;
    border-radius: 0; margin-bottom: 0;
    display: block;
}

.career-block { margin-bottom: 56px; }
.career-block:last-child { margin-bottom: 0; }
.career-block > h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--primary);
    display: inline-block;
    padding-bottom: 10px;
    border-bottom: 3px solid var(--accent);
}
.career-block .cards-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.detail-page { background: var(--bg-alt); padding: 50px 0 70px; min-height: 60vh; }
.detail-card {
    background: #fff; border-radius: var(--radius-lg); padding: 40px;
    box-shadow: var(--shadow); max-width: 900px; margin: 0 auto;
    border: 1px solid var(--border);
}
.detail-card h1 { font-size: 2rem; font-weight: 800; margin-bottom: 16px; }
.detail-hero-image { width: 100%; max-height: 420px; object-fit: cover; border-radius: var(--radius); margin-bottom: 24px; }
.detail-lead { color: var(--text-muted); margin-bottom: 24px; font-size: 1.1rem; }
.detail-card .content, .blog-content { line-height: 1.8; color: var(--text); }
.detail-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.blog-meta { font-size: 13px; color: var(--text-light); margin-bottom: 12px; }
.empty-state { text-align: center; color: var(--text-muted); grid-column: 1 / -1; padding: 40px; }

/* ── Contact page ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; }
.contact-info-item { display: flex; gap: 16px; margin-bottom: 24px; }
.contact-info-item i {
    width: 48px; height: 48px;
    background: var(--accent-light); color: var(--accent);
    border-radius: var(--radius);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0; font-size: 18px;
}
.contact-info-item a { color: var(--primary); text-decoration: none; }
.section-heading-left { font-size: 1.6rem; font-weight: 700; margin-bottom: 24px; }
.contact-form {
    background: #fff; border-radius: var(--radius-lg); padding: 36px;
    border: 1px solid var(--border); box-shadow: var(--shadow);
}
.contact-form .form-heading { font-size: 1.2rem; font-weight: 700; margin-bottom: 24px; }
.contact-form label { font-weight: 600; font-size: 14px; margin-bottom: 6px; display: block; color: var(--text); }
.contact-form input, .contact-form textarea {
    width: 100%; padding: 12px 16px;
    border: 1px solid var(--border); border-radius: var(--radius);
    font-family: inherit; margin-bottom: 16px; font-size: 15px;
    transition: border-color var(--transition);
}
.contact-form input:focus, .contact-form textarea:focus {
    outline: none; border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(12,45,107,0.1);
}
.contact-form textarea { min-height: 140px; resize: vertical; }
.field-error { color: #dc2626; font-size: 13px; margin: -12px 0 12px; }

/* ── About page ── */
.about-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}
.about-intro h2 { font-size: 2rem; font-weight: 700; margin-bottom: 16px; color: var(--primary-dark); }
.about-intro p { color: var(--text-muted); line-height: 1.8; margin-bottom: 16px; }
.timeline { position: relative; padding-left: 40px; }
.timeline::before {
    content: '';
    position: absolute;
    left: 15px; top: 0; bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--primary), var(--accent));
}
.timeline-item { position: relative; margin-bottom: 40px; }
.timeline-item::before {
    content: '';
    position: absolute;
    left: -33px; top: 4px;
    width: 14px; height: 14px;
    background: var(--accent);
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 0 0 2px var(--primary);
}
.timeline-item .year {
    font-size: 14px; font-weight: 700;
    color: var(--accent); margin-bottom: 4px;
}
.timeline-item h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 6px; }
.timeline-item p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }
.locations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 16px;
}
.location-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    text-align: center;
    transition: all var(--transition);
}
.location-card:hover { border-color: var(--primary); transform: translateY(-4px); box-shadow: var(--shadow); }
.location-card h4 { font-weight: 700; margin-bottom: 4px; }
.location-card span { font-size: 13px; color: var(--text-muted); }

/* ── Alerts ── */
.alert-success {
    background: #ecfdf5; color: #065f46;
    border: 1px solid #a7f3d0;
    padding: 14px 20px; border-radius: var(--radius);
    margin: 16px auto; max-width: 1280px; width: 90%;
    font-weight: 500;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .hero-grid { grid-template-columns: 1fr; text-align: center; }
    .hero-content, .hero-visual { min-width: 0; max-width: 100%; }
    .hero-content h1,
    .hero-content .hero-subtitle,
    .hero-content .hero-desc { overflow-wrap: break-word; max-width: 100%; }
    .hero-content .hero-desc { margin-left: auto; margin-right: auto; }
    .hero-actions { justify-content: center; }
    .managecontent { justify-content: center; }
    .hero-visual { order: -1; max-width: 500px; margin: 0 auto; }
    .why-grid { grid-template-columns: repeat(2, 1fr); max-width: 640px; margin: 0 auto; }
    .cards-grid,
    .career-block .cards-grid { grid-template-columns: repeat(2, 1fr); }
    .process-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 24px; }
    .process-grid::before { display: none; }
    .impact-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .about-intro { grid-template-columns: 1fr; gap: 32px; }
    .contact-grid { grid-template-columns: 1fr; }
    .testimonial-slide { padding: 40px; }
    /* Hero stacks here \u2014 keep carousel from collapsing (avoid % height chain) */
    .hero-section { padding: 20px 0 40px; }
    .hero-grid { gap: 24px; }
    .hero-visual { order: -1; width: 100%; max-width: 560px; margin: 0 auto; }
    .hero-image-wrap {
        margin-top: 0;
        height: auto;
        aspect-ratio: 16 / 10;
        min-height: 300px;
        border-radius: var(--radius-lg);
        overflow: hidden;
    }
    .hero-image-wrap .custom-carousel,
    .hero-image-wrap .carousel-inner { height: 100%; min-height: inherit; }
    .hero-image-wrap .carousel-item,
    .hero-image-wrap .features-item { height: 100%; }
    .hero-content.margingtopmanage { margin-top: 4px; margin-bottom: 0; }
    .hero-content h1 { margin-bottom: 12px; }
    .hero-content .hero-desc { margin-bottom: 24px; }
}

@media (max-width: 768px) {
    :root { --header-h: 64px; }
    .top-bar { display: none; }
    body { padding-top: var(--header-h); }
    .site-header { top: 0; }
    .nav-links, .header-actions .btn-outline { display: none; }
    .menu-toggle { display: block; }
    .mobile-menu { display: flex; top: var(--header-h); }
    .desktop-logo { display: none; }
    .mobile-logo { display: block; }
    .stats-bar .container { grid-template-columns: 1fr; }
    .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.12); }
    .managecontent { flex-direction: column; align-items: stretch; }
    .managecontent .box-fixing { max-width: 100%; width: 100%; }
    .why-grid { grid-template-columns: 1fr; max-width: 480px; }
    .process-grid { grid-template-columns: 1fr; }
    .impact-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .cards-grid,
    .career-block .cards-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .footer-bottom a { margin: 0 10px; }
    .cta-banner { padding: 40px 24px; margin-bottom: 40px; }
    .section { padding: 48px 0; }
    .content-section { padding: 48px 0; }
    .page-hero { padding: 60px 0 40px; }
    .section-header { margin-bottom: 40px; }
    .detail-page { padding: 40px 0 56px; }
    .detail-card { padding: 28px 22px; }
    .detail-card h1 { font-size: 1.6rem; }
    .contact-form { padding: 28px 22px; }
    .testimonial-slide { padding: 32px 24px; }
    /* Keep hero carousel from collapsing on mobile (avoid % height chain) */
    .hero-visual { width: 100%; max-width: 500px; }
    .hero-image-wrap {
        height: auto;
        aspect-ratio: 4 / 3;
        min-height: 260px;
    }
    .hero-image-wrap .custom-carousel,
    .hero-image-wrap .carousel-inner { height: 100%; min-height: inherit; }
}

@media (max-width: 480px) {
    .container { width: 92%; }
    .impact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .header-actions { display: none; }
    .hero-content h1 { font-size: 1.75rem; line-height: 1.2; }
    .hero-content .hero-subtitle,
    .hero-content .hero-desc { max-width: 100%; }
    .hero-content .hero-desc { font-size: 15px; }
    .hero-actions { flex-direction: column; }
    .hero-actions a { width: 100%; justify-content: center; }
    .section-header { margin-bottom: 32px; }
    .cta-banner { padding: 32px 20px; }
    .cta-banner .btn-primary { width: 100%; justify-content: center; }
    .detail-card { padding: 22px 18px; }
    .detail-card h1 { font-size: 1.4rem; }
    .detail-actions { flex-direction: column; }
    .detail-actions .btn-outline,
    .detail-actions .btn-primary { width: 100%; justify-content: center; }
    .testimonial-slide { padding: 28px 20px; text-align: start; }
    .testimonial-quote::before { display: none; }
    .page-hero { padding: 48px 0 32px; }
    .faq-question { padding: 16px 18px; font-size: 15px; }
    .faq-answer-inner { padding: 0 18px 16px; }
    .why-icon { margin-left: auto; margin-right: auto; }
    .why-card { text-align: center; }
    .why-card h3 { display: block; }
}



/* ajay css  */
.managecontent {
    margin-top: 10px;
    gap: 10px;
    display: flex;
    flex-wrap: wrap;
}

.box-fixing {
    max-width: 10rem;
    background: #fff;
    padding: 14px 20px;
    border-radius: 14px;
    box-shadow: var(--shadow-lg);
}
.box-fixing2 {
    max-width: fit-content;
    background: #fff;
    padding: 14px 20px;
    border-radius: 14px;
    box-shadow: var(--shadow-lg);
}
.managetextproper {
    text-align: start;
    font-size: 1.5rem;
        line-height: 2rem;
}
.managetext {
    text-align: start;
line-height: 1.25;
 font-size: 0.75rem;

    margin-top: 0.25rem;

}

.managebutton {
  border-radius: 14px !important;
  padding: 14px 20px !important;
}
.margingtopmanage {
    margin-top: 35px;
    margin-bottom: 40px;
}

/* Container sizing */
.custom-carousel {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.carousel-inner {
    width: 100%;
    height: 100%;
    position: relative;
}

/* Hide all slides by default and make them stack */
.carousel-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
    z-index: 1;
}

/* Show the active slide */
.carousel-item.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

/* Image scaling & management (Fixes your height/width issue) */
.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}


.to-cyan-400 {
    --tw-gradient-to: var(--accent) var(--tw-gradient-to-position);
}
.from-brand {
    --tw-gradient-from: var(--accent) var(--tw-gradient-from-position);
        --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.bg-gradient-to-r {
    background: var(--accent);
}
.rounded-full {
    border-radius: 9999px;
}
.w-24 {
    width: 6rem;
}
.h-1 {
    height: .25rem;
}
.mb-6 {
    margin-bottom: 1.5rem;
}
.mx-auto {
    margin-left: auto;
    margin-right: auto;
}


.to-brand {
    --tw-gradient-to: var(--accent) var(--tw-gradient-to-position);
}


/* Container Canvas Shared Rules */
.custom-carousel {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.carousel-inner {
    width: 100%;
    height: 100%;
    position: relative;
}

/* Slide Visibility & Transition Layer Engine for Carousel 1 & 2 */
.carousel-item,
.features-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
    z-index: 1;
}

.carousel-item.active,
.features-item.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

/* Image Scale Layout Mechanics */
.carousel-item img,
.features-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}
/* Container stacking and gaps */
.features-list-wrapper {
    display: flex;
    flex-direction: column;
    gap: 16px; /* Spacing between cards */
    width: 100%;
}

/* Base Card structure matching your image */
.box-fixing2.borde-coloe {
    display: flex;
    align-items: flex-start; /* Keeps numbering aligned cleanly at the top */
    gap: 20px;
    background: rgb(255 255 255);
    border: 1px solid rgb(229 231 235);
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

/* Active/Hover states matching your image highlight border */
.box-fixing2.borde-coloe:hover,
.box-fixing2.borde-coloe.active {
    border-color: var(--accent); /* Beautiful deep teal layout tint */
}

/* Badge Numbering Circle Styles */
.card-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background-color: #94a3b8; /* Cool gray badge background */
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    border-radius: 50%;
    flex-shrink: 0; /* Keeps circle perfectly round */
    transition: background-color 0.2s ease;
}

/* Changes the circle badge color when hovering or active */
.box-fixing2.borde-coloe:hover .card-number,
.box-fixing2.borde-coloe.active .card-number {
    background-color: var(--accent); /* Matching clean teal accent */
}

/* Clean text structuring adjustments */
.card-body-content {
    flex: 1;
}

.managetextproper {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 8px 0;
}

.managetext {
    font-size: 14px;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}
/* ── Services showcase page ── */
.svc-hero {
    position: relative;
    min-height: 320px;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: #fff;
    padding: 88px 0 72px;
}
.svc-hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.02);
}
.svc-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, rgba(7, 26, 61, 0.92) 0%, rgba(7, 26, 61, 0.78) 55%, rgba(7, 26, 61, 0.65) 100%);
}
.svc-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 760px;
}
.svc-hero-title {
    font-size: clamp(2rem, 4.6vw, 3.15rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin: 0 0 18px;
}
.svc-hero-accent { color: #ff7a1a; display: inline; }
.svc-hero-rest { color: #fff; display: inline; margin-left: 0.25em; }
.svc-hero-copy {
    margin: 0;
    max-width: 640px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.05rem;
    line-height: 1.75;
}

.svc-showcase {
    background: #fff;
    padding: 28px 0 90px;
}
.svc-row {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: clamp(28px, 5vw, 72px);
    align-items: center;
    padding: 64px 0;
    border-bottom: 1px solid #e8eef6;
}
.svc-row:last-child { border-bottom: 0; padding-bottom: 24px; }
.svc-row--reverse .svc-row-copy { order: 2; }
.svc-row--reverse .svc-row-media { order: 1; }

.svc-row-label {
    margin: 0 0 12px;
    color: #e85d04;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}
.svc-row-title {
    margin: 0 0 10px;
    color: #0c2d6b;
    font-size: clamp(1.7rem, 3vw, 2.35rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
}
.svc-row-tagline {
    margin: 0 0 16px;
    color: #0c2d6b;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.svc-row-desc {
    margin: 0 0 28px;
    color: #64748b;
    font-size: 1rem;
    line-height: 1.75;
    max-width: 540px;
}

.svc-includes { margin-bottom: 28px; }
.svc-includes-title {
    margin: 0 0 14px;
    color: #0f172a;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.svc-includes-grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 28px;
}
.svc-includes-grid li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #334155;
    font-size: 0.95rem;
    line-height: 1.45;
}
.svc-includes-arrow {
    color: #e85d04;
    font-weight: 700;
    flex-shrink: 0;
    line-height: 1.45;
}

.svc-row-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #0c2d6b;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.2s ease, gap 0.2s ease;
}
.svc-row-link:hover {
    color: #e85d04;
    gap: 12px;
}

.svc-row-media { width: 100%; }
.svc-row-frame {
    position: relative;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 18px 50px rgba(12, 45, 107, 0.12);
    aspect-ratio: 4 / 3;
    background: #eef2f7;
}
.svc-row-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.7s ease;
}
.svc-row:hover .svc-row-frame img { transform: scale(1.05); }

@media (max-width: 960px) {
    .svc-row,
    .svc-row--reverse {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 48px 0;
    }
    .svc-row--reverse .svc-row-copy,
    .svc-row--reverse .svc-row-media {
        order: initial;
    }
    .svc-row-media { order: -1; }
    .svc-includes-grid { grid-template-columns: 1fr; }
    .svc-hero { padding: 64px 0 52px; min-height: 260px; }
}

@media (prefers-reduced-motion: reduce) {
    .svc-row-frame img { transition: none; }
}

/* ── Single service detail page ── */
.svc-detail {
    background: #f4f7fb;
    padding: 56px 0 80px;
    min-height: 58vh;
}
.svc-detail-wrap {
    max-width: 920px;
}
.svc-detail-card {
    background: #fff;
    border-radius: 28px;
    padding: clamp(36px, 5vw, 56px);
    box-shadow: 0 18px 50px rgba(12, 45, 107, 0.08);
    border: 1px solid rgba(15, 23, 42, 0.04);
}
.svc-detail-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    color: #0f172a;
    font-size: 28px;
}
.svc-detail-category {
    margin: 0 0 10px;
    color: #e85d04;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.svc-detail-title {
    margin: 0 0 14px;
    color: #0c2d6b;
    font-size: clamp(1.85rem, 3.4vw, 2.5rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
}
.svc-detail-tagline {
    margin: 0 0 12px;
    color: #0c2d6b;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.svc-detail-desc {
    margin: 0 0 28px;
    max-width: 640px;
    color: #64748b;
    font-size: 1.05rem;
    line-height: 1.7;
}
.svc-detail-media {
    margin: 0 0 28px;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #eef2f7;
}
.svc-detail-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.7s ease;
}
.svc-detail-card:hover .svc-detail-media img {
    transform: scale(1.03);
}
.svc-detail-includes {
    margin: 0 0 28px;
}
.svc-detail-body {
    margin: 0 0 28px;
    color: #334155;
    line-height: 1.8;
}
.svc-detail-body p { margin: 0 0 14px; }
.svc-detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 8px;
}
.svc-btn-outline,
.svc-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 12px 26px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
.svc-btn-outline {
    background: #fff;
    color: #0c2d6b;
    border: 2px solid #0c2d6b;
}
.svc-btn-outline:hover {
    background: #0c2d6b;
    color: #fff;
    transform: translateY(-2px);
}
.svc-btn-primary {
    background: linear-gradient(135deg, #e85d04 0%, #dc4a00 100%);
    color: #fff;
    border: 2px solid transparent;
    box-shadow: 0 10px 24px rgba(232, 93, 4, 0.28);
}
.svc-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(232, 93, 4, 0.34);
    color: #fff;
}

@media (max-width: 640px) {
    .svc-detail { padding: 36px 0 56px; }
    .svc-detail-card { border-radius: 22px; padding: 28px 20px; }
    .svc-detail-actions { flex-direction: column; }
    .svc-btn-outline,
    .svc-btn-primary { width: 100%; }
}

/* ── Products page (Foods + VMS showcase) ── */
.prod-hero {
    position: relative;
    min-height: 300px;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: #fff;
    padding: 88px 0 72px;
}
.prod-hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.prod-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(7,26,61,0.88) 0%, rgba(7,26,61,0.72) 100%);
}
.prod-hero-inner { position: relative; z-index: 1; max-width: 760px; }
.prod-hero-title {
    margin: 0 0 14px;
    font-size: clamp(2.2rem, 5vw, 3.2rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #fff;
}
.prod-hero-lead {
    margin: 0;
    max-width: 700px;
    font-size: 1.2rem;
    line-height: 1.65;
    color: #ffb07a;
    opacity: 0.95;
}

.prod-block { background: #fff; padding: 72px 0 80px; }
.prod-block--alt { background: #f7f9fc; }
.prod-subblock { margin-top: 64px; }

.prod-showcase {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: clamp(28px, 5vw, 64px);
    align-items: center;
}
.prod-showcase--reverse { grid-template-columns: 1.05fr 0.95fr; }
.prod-showcase--reverse .prod-showcase-copy { order: 1; }
.prod-showcase--reverse .prod-showcase-media { order: 2; }

.prod-frame {
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 18px 50px rgba(12, 45, 107, 0.12);
    aspect-ratio: 4 / 3;
    background: #eef2f7;
}
.prod-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.7s ease;
}
.prod-showcase:hover .prod-frame img { transform: scale(1.04); }

.prod-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}
.prod-meta-num,
.prod-meta-cat {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #e85d04;
}
.prod-meta-cat { color: #64748b; }
.prod-meta-line {
    width: 28px;
    height: 2px;
    background: #e85d04;
    opacity: 0.7;
}
.prod-title {
    margin: 0 0 10px;
    color: #0c2d6b;
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.15;
}
.prod-tagline {
    display: block;
    margin: 0 0 14px;
    color: #e85d04;
    font-weight: 600;
    font-size: 1rem;
}
.prod-tagline--blue { color: #0c2d6b; }
.prod-desc {
    margin: 0 0 22px;
    color: #64748b;
    font-size: 1rem;
    line-height: 1.75;
}
.prod-highlights {
    list-style: none;
    margin: 0 0 24px;
    padding: 0;
    display: grid;
    gap: 10px;
}
.prod-highlights li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    color: #334155;
    font-size: 0.95rem;
    line-height: 1.45;
}
.prod-cta { margin-top: 8px; }

.prod-section-head { margin-bottom: 32px; }
.prod-section-head.center { text-align: center; }
.prod-section-head.center .prod-meta { justify-content: center; }
.prod-section-title {
    margin: 0;
    color: #0c2d6b;
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    font-weight: 800;
    letter-spacing: -0.02em;
}
.prod-section-sub {
    margin: 12px auto 0;
    max-width: 560px;
    color: #64748b;
    font-size: 1rem;
    line-height: 1.6;
}
.prod-section-sub.left { margin-left: 0; max-width: 650px; }

.flavors-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    margin-bottom: 28px;
}
.flavor-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #e8eef6;
    box-shadow: 0 10px 30px rgba(12, 45, 107, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.flavor-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(12, 45, 107, 0.12);
}
.flavor-img-wrap {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #eef2f7;
}
.flavor-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}
.flavor-card:hover .flavor-img-wrap img { transform: scale(1.05); }
.flavor-info { padding: 20px 22px 24px; }
.flavor-meta {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #e85d04;
    margin-bottom: 8px;
}
.flavor-title {
    margin: 0 0 8px;
    color: #0c2d6b;
    font-size: 1.15rem;
    font-weight: 800;
}
.flavor-desc {
    margin: 0;
    color: #64748b;
    font-size: 0.92rem;
    line-height: 1.55;
}

.badge-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 18px;
    justify-content: center;
    padding: 8px 0 4px;
}
.badge-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border: 1px solid #e8eef6;
    border-radius: 999px;
    padding: 8px 14px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #334155;
    box-shadow: 0 4px 14px rgba(12, 45, 107, 0.04);
}
.badge-item i { color: #e85d04; font-size: 14px; }

.highlights-grid {
    display: grid;
    gap: 18px;
}
.highlights-grid--5 { grid-template-columns: repeat(5, 1fr); }
.highlights-grid--3 { grid-template-columns: repeat(3, 1fr); }
.highlight-card {
    background: #fff;
    border: 1px solid #e8eef6;
    border-radius: 18px;
    padding: 22px 20px;
    box-shadow: 0 8px 24px rgba(12, 45, 107, 0.05);
    transition: transform 0.2s ease;
}
.highlight-card:hover { transform: translateY(-3px); }
.highlight-card h4 {
    margin: 0 0 8px;
    color: #0c2d6b;
    font-size: 1rem;
    font-weight: 700;
}
.highlight-card p {
    margin: 0;
    color: #64748b;
    font-size: 0.88rem;
    line-height: 1.55;
}
.icon-tile {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    background: #fff4ed;
    color: #e85d04;
    font-size: 20px;
}
.icon-tile.blue {
    background: #eaf0fb;
    color: #0c2d6b;
}

.expect-card {
    margin-top: 48px;
    background: #f4f7fb;
    border-left: 4px solid #e85d04;
    border-radius: 14px;
    padding: 24px 28px;
}
.expect-card h3 {
    margin: 0 0 10px;
    color: #0c2d6b;
    font-size: 1.1rem;
    font-weight: 700;
}
.expect-card p {
    margin: 0;
    color: #334155;
    font-size: 0.98rem;
    line-height: 1.65;
}

.vms-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 22px;
}
.vms-chip {
    display: inline-flex;
    padding: 7px 12px;
    border-radius: 999px;
    background: #eaf0fb;
    color: #0c2d6b;
    font-size: 0.78rem;
    font-weight: 600;
    border: 1px solid #d7e3f5;
}
.vms-vision {
    margin: 8px 0 20px;
    padding-top: 18px;
    border-top: 1px dashed #d7e3f5;
}
.vms-vision h4 {
    margin: 0 0 8px;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #e85d04;
}
.vms-vision-title {
    margin: 0;
    color: #0c2d6b;
    font-size: 1.05rem;
    font-weight: 700;
}
.vms-vision-text {
    margin: 6px 0 0;
    color: #64748b;
    font-size: 0.92rem;
    line-height: 1.55;
}

@media (max-width: 1100px) {
    .highlights-grid--5 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 960px) {
    .prod-showcase,
    .prod-showcase--reverse {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .prod-showcase--reverse .prod-showcase-copy,
    .prod-showcase--reverse .prod-showcase-media { order: initial; }
    .prod-showcase-media { order: -1; }
    .flavors-grid { grid-template-columns: 1fr; }
    .highlights-grid--3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
    .prod-hero { padding: 64px 0 52px; min-height: 240px; }
    .prod-block { padding: 48px 0 56px; }
    .highlights-grid--5,
    .highlights-grid--3 { grid-template-columns: 1fr; }
    .badge-bar { gap: 10px; justify-content: flex-start; }
    .vms-chip { font-size: 0.72rem; padding: 6px 10px; }
}

/* ── Careers page ── */
.career-hero {
    position: relative;
    min-height: 420px;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: #fff;
    padding: 96px 0 80px;
}
.career-hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.career-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, rgba(7,26,61,0.9) 0%, rgba(7,26,61,0.75) 100%);
}
.career-hero-inner { position: relative; z-index: 1; max-width: 760px; }
.career-eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #ffb07a;
}
.career-hero-title {
    margin: 0 0 16px;
    font-size: clamp(2.2rem, 5vw, 3.4rem);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.02em;
    color: #fff;
}
.career-hero-lead {
    margin: 0 0 28px;
    max-width: 640px;
    color: rgba(255,255,255,0.86);
    font-size: 1.08rem;
    line-height: 1.7;
}
.career-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 28px;
}
.career-hero-meta span {
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.7);
}
.career-hero-meta b {
    display: block;
    margin-top: 4px;
    font-size: 1rem;
    letter-spacing: 0;
    text-transform: none;
    color: #fff;
}

.career-culture { background: #fff; padding: 72px 0 80px; }
.career-culture-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: clamp(28px, 5vw, 56px);
    align-items: center;
}
.career-section-title {
    margin: 0 0 14px;
    color: #0c2d6b;
    font-size: clamp(1.6rem, 3vw, 2.3rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
}
.career-lead {
    margin: 0;
    color: #64748b;
    font-size: 1.05rem;
    line-height: 1.7;
    max-width: 520px;
}
.career-photo {
    position: relative;
    border-radius: 22px;
    overflow: hidden;
    height: 320px;
    box-shadow: 0 18px 50px rgba(12, 45, 107, 0.12);
}
.career-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.career-photo-tag {
    position: absolute;
    left: 16px;
    bottom: 16px;
    background: rgba(255,255,255,0.95);
    color: #0c2d6b;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 8px 12px;
    border-radius: 999px;
}

.career-roles {
    background: #f4f7fb;
    padding: 72px 0 80px;
}
.role-list { margin-top: 28px; }
.role-row {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr auto;
    gap: 16px 20px;
    align-items: center;
    padding: 22px 24px;
    border-bottom: 1px solid #e2e8f0;
    border-radius: 10px;
    transition: background 0.25s ease;
}
.role-row:first-child { border-top: 1px solid #e2e8f0; }
.role-row:hover { background: #fff; }
.role-row h3 {
    margin: 0;
    color: #0c2d6b;
    font-size: 1.05rem;
    font-weight: 700;
}
.role-row p {
    margin: 4px 0 0;
    color: #64748b;
    font-size: 0.88rem;
}
.role-row .rt {
    font-size: 0.78rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}
.role-apply-btn {
    padding: 9px 18px !important;
    min-height: 40px !important;
    font-size: 0.82rem !important;
}

.career-apply {
    background: #071a3d;
    padding: 72px 0 80px;
    color: #fff;
}
.career-apply-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(28px, 5vw, 56px);
    align-items: center;
}
.career-apply-text {
    margin: 0;
    max-width: 420px;
    color: rgba(255,255,255,0.75);
    line-height: 1.7;
}
.career-form {
    background: #fff;
    border-radius: 18px;
    padding: 28px;
    box-shadow: 0 18px 50px rgba(8, 18, 40, 0.2);
}
.career-form label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: #0c2d6b;
}
.career-form input {
    width: 100%;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 12px 14px;
    margin-bottom: 16px;
    font-size: 0.9rem;
    font-family: inherit;
    color: #0f172a;
    outline: none;
}
.career-form input:focus {
    border-color: #e85d04;
    box-shadow: 0 0 0 3px rgba(232, 93, 4, 0.12);
}
.career-submit {
    width: 100%;
    justify-content: center;
    border: none;
    cursor: pointer;
    margin-top: 4px;
}

.career-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(8,18,40,0.6);
    backdrop-filter: blur(6px);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 24px;
}
.career-modal.is-open { display: flex; }
.career-modal-card {
    max-width: 480px;
    width: 100%;
    text-align: center;
    padding: 40px;
    border-radius: 18px;
    box-shadow: 0 24px 48px rgba(12,31,61,0.2);
    background: #fff;
}
.career-modal-icon {
    margin: 0 auto 20px;
    background: rgba(30,142,90,0.1);
    color: #1e8e5a;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}
.career-modal-card h3 {
    font-size: 1.4rem;
    color: #0c2d6b;
    margin: 0 0 12px;
}
.career-modal-card p {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0 0 28px;
}

@media (max-width: 960px) {
    .career-culture-grid,
    .career-apply-grid { grid-template-columns: 1fr; }
    .career-photo { height: 260px; }
}
@media (max-width: 780px) {
    .role-row {
        grid-template-columns: 1fr auto;
        gap: 10px 16px;
        padding: 18px 16px;
        align-items: start;
    }
    .role-row .rt:nth-child(2) { grid-column: 1; grid-row: 2; }
    .role-row .rt:nth-child(3) { display: none; }
    .role-row a.role-apply-btn {
        grid-column: 2;
        grid-row: 1 / span 2;
        align-self: center;
        white-space: nowrap;
    }
}
@media (max-width: 600px) {
    .values-grid { grid-template-columns: repeat(2, 1fr) !important; }
    .career-hero { padding: 72px 0 56px; min-height: 340px; }
}
@media (max-width: 480px) {
    .role-row {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 16px 12px;
        border-radius: 12px;
        border: 1px solid #e2e8f0;
        margin-bottom: 10px;
        background: #fff;
    }
    .role-row .rt:nth-child(2),
    .role-row .rt:nth-child(3) { display: block; }
    .role-row a.role-apply-btn {
        width: 100%;
        justify-content: center;
        grid-column: auto;
        grid-row: auto;
    }
}
@media (max-width: 360px) {
    .values-grid { grid-template-columns: 1fr !important; }
}

/* ── Blog pages + unique image animation ── */
.blog-hero {
    position: relative;
    min-height: 320px;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: #fff;
    padding: 88px 0 72px;
    background: #071a3d;
}
.blog-hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.35;
}
.blog-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, rgba(7,26,61,0.92) 0%, rgba(7,26,61,0.7) 100%);
}
.blog-hero-inner { position: relative; z-index: 1; max-width: 720px; }
.blog-hero-title {
    margin: 0 0 14px;
    font-size: clamp(2.1rem, 4.8vw, 3.2rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.12;
    color: #fff;
}
.blog-hero-lead {
    margin: 0;
    max-width: 620px;
    color: rgba(255,255,255,0.82);
    font-size: 1.08rem;
    line-height: 1.7;
}

.blog-listing { background: #f4f7fb; padding: 64px 0 80px; }
.blog-featured {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: clamp(24px, 4vw, 48px);
    align-items: center;
    margin-bottom: 48px;
    text-decoration: none;
    color: inherit;
}
.blog-featured-copy h2 {
    margin: 0 0 12px;
    color: #0c2d6b;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.15;
}
.blog-featured-copy p {
    margin: 0 0 18px;
    color: #64748b;
    font-size: 1.02rem;
    line-height: 1.7;
}
.blog-featured-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 3;
    background: #e85d04;
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 7px 12px;
    border-radius: 999px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.blog-grid--3 { grid-template-columns: repeat(3, 1fr); }
.blog-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #e8eef6;
    box-shadow: 0 10px 30px rgba(12, 45, 107, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(12, 45, 107, 0.12);
}
.blog-card-link { display: block; text-decoration: none; color: inherit; }
.blog-card-body { padding: 22px 22px 26px; }
.blog-card-body h3 {
    margin: 0 0 10px;
    color: #0c2d6b;
    font-size: 1.15rem;
    font-weight: 800;
    line-height: 1.25;
}
.blog-card-body p {
    margin: 0 0 16px;
    color: #64748b;
    font-size: 0.92rem;
    line-height: 1.6;
}
.blog-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    margin-bottom: 10px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #e85d04;
}
.blog-read {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #0c2d6b;
    font-weight: 700;
    font-size: 0.92rem;
    transition: color 0.2s ease, gap 0.2s ease;
}
.blog-card:hover .blog-read,
.blog-featured:hover .blog-read {
    color: #e85d04;
    gap: 12px;
}

/* Unique image animation: wipe reveal + ghost parallax + 3D tilt */
.blog-media {
    --tilt-x: 0deg;
    --tilt-y: 0deg;
    --ghost-x: 0px;
    --ghost-y: 0px;
    position: relative;
    perspective: 900px;
}
.blog-media--featured { min-height: 340px; }
.blog-media--detail {
    margin-bottom: 36px;
    border-radius: 24px;
}
.blog-media-ghost {
    position: absolute;
    inset: 10% -6% -8% 8%;
    background-size: cover;
    background-position: center;
    border-radius: 22px;
    filter: blur(0.2px) saturate(0.85);
    opacity: 0.28;
    transform: translate3d(var(--ghost-x), var(--ghost-y), 0) rotate(-3deg);
    transition: transform 0.35s ease, opacity 0.35s ease;
    z-index: 0;
}
.blog-media-frame {
    position: relative;
    z-index: 1;
    overflow: hidden;
    border-radius: 20px;
    aspect-ratio: 16 / 11;
    background: #e8eef6;
    box-shadow: 0 18px 40px rgba(7, 26, 61, 0.16);
    transform: rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
    transition: transform 0.35s ease;
}
.blog-media--featured .blog-media-frame { aspect-ratio: 5 / 4; border-radius: 24px; }
.blog-media--detail .blog-media-frame { aspect-ratio: 21 / 10; border-radius: 24px; }
.blog-media-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1.04);
    transition: transform 0.7s ease;
}
.blog-card:hover .blog-media-frame img,
.blog-featured:hover .blog-media-frame img,
.blog-media--detail:hover .blog-media-frame img {
    transform: scale(1.1);
}
.blog-wipe {
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,0.35) 48%, transparent 62%);
    transform: translateX(-120%) skewX(-18deg);
    pointer-events: none;
    z-index: 2;
}
.blog-card:hover .blog-wipe,
.blog-featured:hover .blog-wipe,
.blog-media--detail:hover .blog-wipe {
    animation: blogShine 0.9s ease;
}
@keyframes blogShine {
    from { transform: translateX(-120%) skewX(-18deg); }
    to { transform: translateX(140%) skewX(-18deg); }
}

/* Scroll reveal: diagonal clip wipe when revealed */
.blog-media[data-reveal],
.blog-media {
    /* keep tilt container visible; wipe on frame via revealed parent */
}
[data-reveal] .blog-media-frame,
.blog-media[data-reveal] .blog-media-frame {
    clip-path: inset(0 100% 0 0);
    transition: clip-path 0.9s cubic-bezier(0.22, 1, 0.36, 1), transform 0.35s ease;
}
[data-reveal].revealed .blog-media-frame,
.blog-media.revealed .blog-media-frame,
.blog-featured.revealed .blog-media-frame,
.blog-card.revealed .blog-media-frame {
    clip-path: inset(0 0 0 0);
}

.blog-pagination { margin-top: 40px; display: flex; justify-content: center; }

.blog-detail-hero {
    background: #071a3d;
    color: #fff;
    padding: 56px 0 40px;
}
.blog-back {
    display: inline-block;
    margin-bottom: 18px;
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
}
.blog-back:hover { color: #ffb07a; }
.blog-detail-hero .blog-meta-row { color: #ffb07a; }
.blog-detail-title {
    margin: 0 0 14px;
    max-width: 860px;
    font-size: clamp(1.9rem, 4vw, 2.8rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.15;
    color: #fff;
}
.blog-detail-lead {
    margin: 0;
    max-width: 720px;
    color: rgba(255,255,255,0.8);
    font-size: 1.08rem;
    line-height: 1.7;
}
.blog-detail-body { background: #f4f7fb; padding: 40px 0 72px; }
.blog-detail-wrap { max-width: 920px; }
.blog-article {
    background: #fff;
    border-radius: 20px;
    padding: clamp(24px, 4vw, 40px);
    border: 1px solid #e8eef6;
    box-shadow: 0 10px 30px rgba(12, 45, 107, 0.05);
    color: #334155;
    line-height: 1.85;
    font-size: 1.02rem;
}
.blog-article p { margin: 0 0 16px; }
.blog-detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}
.blog-recent { background: #fff; padding: 64px 0 80px; }

@media (max-width: 960px) {
    .blog-featured { grid-template-columns: 1fr; }
    .blog-grid,
    .blog-grid--3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
    .blog-grid,
    .blog-grid--3 { grid-template-columns: 1fr; }
    .blog-hero { padding: 64px 0 52px; min-height: 260px; }
    .blog-media-ghost { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    .blog-wipe { display: none; }
    [data-reveal] .blog-media-frame,
    .blog-media[data-reveal] .blog-media-frame {
        clip-path: none;
    }
}
