@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    /* Color Palette */
    --primary: #2F5DAA;
    --primary-dark: #1E3A8A;
    --primary-light: #4776C4;
    --accent: #3B82F6;
    --midnight: #0F172A;
    --slate: #475569;
    --surface: #FFFFFF;
    --surface-soft: #F8FAFC;
    --surface-glass: rgba(255, 255, 255, 0.7);
    --border: rgba(47, 93, 170, 0.1);

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Effects */
    --shadow-sm: 0 2px 4px rgba(15, 23, 42, 0.05);
    --shadow-md: 0 10px 30px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 20px 50px rgba(15, 23, 42, 0.12);
    --glass-blur: blur(12px);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── RESET & BASE ── */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--midnight);
    background-color: var(--surface);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

body.no-scroll {
    overflow: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

section {
    padding: 100px 5%;
    position: relative;
}

/* ── UTILITIES ── */
.glass {
    background: var(--surface-glass);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--border);
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-header h2 {
    font-size: clamp(32px, 4vw, 48px);
    margin-bottom: 20px;
}

.section-header p {
    color: var(--slate);
    font-size: 18px;
}

/* ── BUTTONS ── */
.btn-pbase {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    font-size: 15px;
    border: none;
    gap: 8px;
}

.btn-pprimary {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 15px rgba(47, 93, 170, 0.3);
}

.btn-pprimary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(47, 93, 170, 0.4);
    background: var(--primary-dark);
}

.btn-pghost {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-pghost:hover {
    background: var(--primary);
    color: white;
}

.btn-pwhite {
    background: white;
    color: var(--primary);
}

.btn-pwhite:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* ── NAVIGATION (HEADER) ── */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 99999 !important;
    height: 90px;
    display: flex;
    align-items: center;
    background: #ffffff !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

header.scrolled {
    height: 70px;
    background: white;
    backdrop-filter: blur(15px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

@media (max-width: 1024px) {
    header {
        background: white !important;
        box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    }

    .logo-text,
    .logo-text small {
        color: var(--midnight) !important;
        text-shadow: none !important;
    }

    .burger span {
        background: var(--midnight) !important;
    }
}

.nav-container {
    width: 94%;
    max-width: 1600px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

@media (max-width: 1024px) {
    .nav-container {
        width: 100%;
        padding: 0 20px;
    }
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo img {
    height: 55px;
    border-radius: 8px;
    transition: var(--transition);
}

header.scrolled .logo img {
    height: 50px;
}

.logo-text {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 22px;
    color: var(--primary);
    letter-spacing: -0.5px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--midnight);
    font-weight: 500;
    font-size: 15px;
    transition: var(--transition);
}

.nav-menu a:hover {
    color: var(--primary);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.btn-nav-cta {
    padding: 10px 20px;
    font-size: 14px;
}

.burger {
    display: none;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
}

.burger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--primary);
    position: absolute;
    transition: 0.3s;
}

.burger span:nth-child(2) {
    top: 9px;
}

.burger span:last-child {
    top: 18px;
}

@media (max-width: 1100px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: white;
        flex-direction: column;
        justify-content: center;
        padding: 50px;
        transition: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
        z-index: 999;
        display: flex !important;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu a {
        font-size: 20px;
        color: var(--midnight) !important;
        text-shadow: none !important;
    }

    .burger {
        display: block;
        z-index: 1001;
    }

    .burger.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }

    .burger.active span:nth-child(2) {
        opacity: 0;
    }

    .burger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .admin-btn {
        display: none;
    }
}

/* ── HOME PAGE COMPONENTS ── */
.hero {
    position: relative;
    width: 100%;
    height: auto;
    min-height: unset;
    display: block;
    padding: 0;
    overflow: hidden;
    background: white;
    /* Matches image background */
    padding-top: 85px;
    /* Fixed Desktop Header Height */
}

.hero-main-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

.hero-content-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(15, 23, 42, 0.8) 0%, rgba(15, 23, 42, 0.2) 100%);
    display: flex;
    align-items: center;
    z-index: 5;
}

.hero .container {
    position: relative;
    z-index: 10;
}

@media (max-width: 768px) {
    .hero {
        background-position: 35% center;
        /* Adjust to keep the truck visible on mobile */
    }
}

/* For modern browsers, fixed background gives a nice parallax effect */
@media (min-width: 1025px) {
    .hero {
        background-attachment: fixed;
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.85) 0%, rgba(15, 23, 42, 0.5) 100%);
    z-index: 1;
}



.hero .container {
    position: relative;
    z-index: 10;
}

.hero-content {
    max-width: 800px;
    animation: heroFadeIn 1.2s ease forwards;
}

@keyframes heroFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-btns {
    display: flex;
    gap: 20px;
    margin-top: 40px;
}

.hero h1 {
    font-size: clamp(40px, 8vw, 72px);
    margin-bottom: 24px;
    line-height: 1.1;
    font-weight: 800;
    color: white;
}

.hero p {
    font-size: 20px;
    color: #e2e8f0;
    margin-bottom: 40px;
    max-width: 600px;
    border-left: 3px solid var(--accent);
    padding-left: 20px;
}

.trust-ticker {
    background: var(--surface-soft);
    padding: 40px 0;
    border-bottom: 1px solid var(--border);
    overflow: hidden;
}

.ticker-wrapper {
    display: flex;
    width: max-content;
    animation: ticker 30s linear infinite;
    align-items: center;
    gap: 80px;
}

.ticker-item img {
    height: 45px;
    opacity: 0.6;
    filter: grayscale(1);
    transition: var(--transition);
    cursor: pointer;
}

.ticker-item img:hover {
    opacity: 1;
    filter: grayscale(0);
}

@keyframes ticker {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.about-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-img-group {
    position: relative;
    height: 600px;
}

.main-about-img {
    width: 80%;
    height: 500px;
    border-radius: var(--radius-md);
    object-fit: cover;
    box-shadow: var(--shadow-lg);
}

.floating-badge {
    position: absolute;
    bottom: 50px;
    right: 0;
    padding: 40px;
    background: var(--surface-glass);
    backdrop-filter: var(--glass-blur);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    width: 250px;
    text-align: center;
}

.floating-badge h3 {
    font-size: 48px;
    color: var(--primary);
    display: block;
}

.svc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.svc-card {
    padding: 40px;
    border-radius: var(--radius-md);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.svc-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    background: white;
}

.svc-icon {
    font-size: 40px;
    color: var(--primary);
    margin-bottom: 25px;
}

.svc-card h3 {
    margin-bottom: 15px;
    font-size: 24px;
}

.svc-card p {
    color: var(--slate);
    font-size: 16px;
}

.stats-bar {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 70px 0;
    border-radius: var(--radius-lg);
    margin: 40px auto 100px;
    position: relative;
    z-index: 20;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.stat-item h2 {
    font-size: 40px;
    margin-bottom: 5px;
}

.stat-item p {
    font-size: 14px;
    opacity: 0.8;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* ── FOOTER ── */
footer {
    background: var(--midnight);
    color: white;
    padding: 80px 5% 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 60px;
    max-width: 1400px;
    margin: 0 auto 60px;
}

.footer-brand p {
    color: #94a3b8;
    margin-top: 20px;
    font-size: 15px;
    max-width: 300px;
}

.footer-col h4 {
    font-size: 18px;
    margin-bottom: 25px;
    color: white;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: var(--transition);
    font-size: 15px;
}

.footer-links a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.footer-contact li {
    display: flex;
    gap: 15px;
    color: #94a3b8;
    margin-bottom: 15px;
    font-size: 15px;
}

.footer-contact i {
    color: var(--accent);
    font-size: 18px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    color: #64748b;
    font-size: 14px;
}

/* ── ANIMATIONS ── */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1000px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.hide-mobile {
    display: inline;
}

@media (max-width: 1100px) {
    .hide-mobile {
        display: none;
    }

    .about-split {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .about-img-group {
        height: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .main-about-img {
        width: 100%;
        height: auto;
        max-height: 400px;
    }

    .floating-badge {
        position: relative;
        bottom: 0;
        right: 0;
        width: 100%;
        margin-top: 20px;
        padding: 20px;
    }

    .floating-badge h3 {
        font-size: 32px;
    }

    .stats-bar {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
        margin-top: 0;
        padding: 40px 0;
    }

    .hero h1 {
        font-size: 42px;
    }

    .hero p {
        font-size: 18px;
        margin: 0 auto 30px;
        border-left: none;
        padding-left: 0;
    }

    .hero-content {
        text-align: center;
    }

    .hero-btns {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    section {
        padding: 60px 20px;
    }

    /* Hero: use aspect ratio so full image is visible */
    .hero {
        height: auto;
        min-height: unset;
        padding: 0 !important;
        margin-top: 60px;
        /* Mobile header offset */
        background: var(--midnight);
    }

    /* Reduce section gaps on mobile */
    #about,
    .policy-section,
    #services,
    #coverage {
        padding-top: 40px !important;
        padding-bottom: 40px !important;
    }

    .hero-main-img {
        width: 100% !important;
        height: auto !important;
        min-height: unset !important;
        object-fit: contain !important;
        display: block !important;
    }

    .hero-content-overlay {
        position: relative;
        margin-top: -100px;
        padding: 100px 0 30px;
        background: linear-gradient(to bottom, rgba(15, 23, 42, 0) 0%, rgba(15, 23, 42, 0.9) 80px, var(--midnight) 120px, var(--midnight) 100%);
    }

    .hero .container {
        padding: 0 20px;
        width: 100%;
        text-align: center;
    }

    .hero-content {
        margin: 0 auto;
        max-width: 100%;
    }

    .hero h1 {
        font-size: 32px;
        line-height: 1.2;
        margin-bottom: 15px;
    }

    .hero p {
        font-size: 14px;
        margin: 0 auto 25px;
        line-height: 1.5;
        padding-left: 0;
        border-left: none;
    }

    .hero-btns {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px;
    }

    .hero-btns .btn-pbase {
        width: auto;
        min-width: 130px;
        font-size: 13px;
        padding: 10px 15px;
    }

    .label-premium {
        font-size: 10px;
        letter-spacing: 2px;
        margin-bottom: 10px;
    }
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .hero h1 {
        font-size: 28px;
    }

    .hero p {
        font-size: 14px;
        display: block;
        /* Show again but smaller */
        margin-bottom: 25px;
    }

    .hero {
        min-height: unset;
        padding-top: 0;
    }

    .hero-btns {
        flex-direction: column;
        align-items: center;
    }

    .hero-btns .btn-pbase {
        width: 100%;
        max-width: 280px;
    }
}

/* ── REFINEMENTS & UTILITIES ── */
.label-premium {
    letter-spacing: 3px;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 20px;
    display: block;
}

.btn-poutline-white {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
}

.btn-poutline-white:hover {
    background: white;
    color: var(--primary);
}

.badge-text-bold {
    font-weight: 600;
}

.story-label {
    color: var(--primary);
    font-weight: 700;
    letter-spacing: 2px;
}

.story-title {
    font-size: clamp(32px, 4vw, 42px);
    margin: 20px 0;
}

.story-desc {
    color: var(--slate);
    font-size: 18px;
    margin-bottom: 30px;
}

.bg-soft {
    background: var(--surface-soft);
}

.bg-midnight {
    background: var(--midnight);
    color: white;
}

.cta-wrap {
    text-align: center;
    padding: 120px 5%;
}

.cta-title {
    font-size: clamp(32px, 5vw, 56px);
    margin-bottom: 30px;
}

.cta-desc {
    font-size: 20px;
    color: #94a3b8;
    max-width: 800px;
    margin: 0 auto 50px;
}

.btn-poutline-only {
    border: 2px solid white;
    color: white;
}

.btn-poutline-only:hover {
    background: white;
    color: var(--midnight);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: start;
}

.contact-info-desc {
    color: var(--slate);
    margin-bottom: 40px;
    font-size: 18px;
}

.contact-list {
    list-style: none;
}

.contact-list li {
    font-size: 18px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-list i {
    color: var(--primary);
    width: 20px;
}

.form-wrapper {
    padding: 50px;
    border-radius: var(--radius-md);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-control-p {
    padding: 15px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    font-family: var(--font-body);
    width: 100%;
    outline: none;
    transition: var(--transition);
}

.form-control-p:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(47, 93, 170, 0.1);
}

@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}


/* ── MISSION & VISION ── */
.mission-vision {
    padding: 100px 0;
    background: var(--surface-soft);
}

.mv-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 150px;
}

.mv-item {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    align-items: center;
}

.mv-image-box {
    grid-column: 1 / span 8;
    grid-row: 1;
    position: relative;
    height: 550px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.mv-item:nth-child(even) .mv-image-box {
    grid-column: 5 / span 8;
}

.mv-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.mv-content-box {
    grid-column: 7 / span 6;
    grid-row: 1;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 60px;
    border-radius: var(--radius-lg);
    z-index: 10;
    box-shadow: var(--shadow-lg);
    transform: translateY(30px);
}

.mv-item:nth-child(even) .mv-content-box {
    grid-column: 1 / span 6;
}

.mv-label {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 3px;
    margin-bottom: 20px;
    display: block;
}

.mv-content-box h2 {
    font-size: 42px;
    margin-bottom: 25px;
    line-height: 1.2;
    color: var(--midnight);
}

.mv-content-box p {
    font-size: 18px;
    color: var(--slate);
    line-height: 1.8;
}

@media (max-width: 1024px) {
    .mv-item {
        display: flex;
        flex-direction: column;
        gap: 0;
    }

    .mv-image-box {
        width: 100%;
        height: 350px;
        border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    }

    .mv-content-box {
        width: 100%;
        transform: translateY(-50px);
        padding: 40px;
        border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    }
}

@media (max-width: 900px) {
    .mv-grid {
        grid-template-columns: 1fr;
    }

    .mv-card {
        padding: 40px;
    }
}

/* ── IMAGE GALLERY ── */
.gallery-section {
    padding: 100px 5%;
    background: white;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.gallery-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 350px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px 20px;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0) 100%);
    color: white;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
    opacity: 1;
}

.gallery-overlay h4 {
    font-size: 22px;
    margin: 0;
    font-family: var(--font-heading);
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    .gallery-item {
        height: 250px;
    }
    .gallery-overlay {
        opacity: 1;
        transform: translateY(0);
        background: linear-gradient(to top, rgba(15, 23, 42, 0.8) 0%, rgba(15, 23, 42, 0) 100%);
    }
}