/* ==========================================================================
   MilkRun Logistics - Client Design Master Specification Stylesheet
   Pixel-accurate 1:1 recreation matching SCREENSHOT 1 Master Reference
   ========================================================================== */

:root {
    --client-navy: #0c376d;
    --client-navy-dark: #072a50;
    --client-navy-deep: #014492;
    --client-navy-footer: #063563;
    --client-green: #3ca935;
    --client-green-hover: #32962c;
    --client-green-light: #f0fdf4;
    --client-green-border: #bbf7d0;
    --client-green-accent: #4ed957;
    --client-text: #52647c;
    --client-text-dark: #0f172a;
    --client-text-muted: #64748b;
    --client-border: #e2e8f0;
    --client-border-light: #eef2f6;
    --client-bg-light: #f8fafc;
    --client-card-bg: #ffffff;
    --client-font: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Base Body Styles */
body {
    font-family: var(--client-font) !important;
    color: var(--client-text);
    background-color: #ffffff;
    padding-top: 66px;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Disable initial opacity hide from AOS animation */
[data-aos] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
}

/* Global Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--client-font) !important;
    color: var(--client-navy);
    font-weight: 700;
    letter-spacing: -0.3px;
}

.text-client-navy {
    color: var(--client-navy) !important;
}

.text-client-green {
    color: var(--client-green) !important;
}

/* Section Labels (e.g. — OUR SERVICES) */
.section-label-green {
    color: var(--client-green);
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    margin-bottom: 6px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--client-font);
}

.section-client-title {
    color: var(--client-navy);
    font-size: 28px;
    font-weight: 800;
    line-height: 1.18;
    letter-spacing: -0.4px;
    margin-bottom: 10px;
}

.section-client-desc {
    color: var(--client-text);
    font-size: 13px;
    line-height: 1.55;
    margin-bottom: 18px;
}

/* Standard Buttons */
.btn-client-green {
    background-color: var(--client-green);
    color: #ffffff !important;
    font-weight: 600;
    font-size: 13px;
    padding: 8px 22px;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: none;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 3px 10px rgba(60, 169, 53, 0.25);
    white-space: nowrap;
}

.btn-client-green:hover {
    background-color: var(--client-green-hover);
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(60, 169, 53, 0.35);
}

.btn-client-outline-green {
    background-color: #ffffff;
    color: var(--client-green) !important;
    border: 1.5px solid var(--client-green);
    font-weight: 600;
    font-size: 12.5px;
    padding: 7px 20px;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-client-outline-green:hover {
    background-color: var(--client-green);
    color: #ffffff !important;
    transform: translateY(-1px);
}

/* ==========================================================================
   1. NAVBAR / HEADER
   ========================================================================== */
.navbar-client {
    background-color: #ffffff;
    border-bottom: 1px solid var(--client-border-light);
    height: 66px;
    z-index: 1040;
    transition: all 0.25s ease;
}

.navbar-client .container {
    max-width: 1260px;
}

.client-logo-img {
    max-height: 38px;
    width: auto;
    object-fit: contain;
}

.client-nav-menu {
    gap: 10px;
}

.client-nav-link {
    color: #1e293b !important;
    font-weight: 500;
    font-size: 14px;
    padding: 6px 14px !important;
    position: relative;
    transition: color 0.2s ease;
}

.client-nav-link:hover {
    color: var(--client-green) !important;
}

.client-nav-link.active {
    color: var(--client-navy) !important;
    font-weight: 600;
}

.client-nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 14px;
    right: 14px;
    height: 3px;
    background-color: var(--client-green);
    border-radius: 2px;
}

/* ==========================================================================
   2. HERO SECTION (Full Panoramic Layout)
   ========================================================================== */
.client-hero-section {
    position: relative;
    background: #ffffff;
    overflow: hidden;
    height: 320px;
    min-height: 320px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #f1f5f9;
}

.client-hero-section .container {
    max-width: 1260px;
    position: relative;
    z-index: 2;
}

.hero-text-col {
    padding: 10px 0;
}

.hero-client-title {
    color: var(--client-navy);
    font-size: 40px;
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.6px;
    margin-bottom: 12px;
}

.hero-client-desc {
    color: #52647c;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 18px;
    max-width: 410px;
}

/* Right Panoramic Hero Visual */
.hero-panoramic-container {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 62%;
    z-index: 1;
    overflow: hidden;
}

.hero-panoramic-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right center;
    display: block;
}

/* Soft transition gradient between left white and right image */
.hero-panoramic-fade {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 100px;
    background: linear-gradient(to right, #ffffff 0%, rgba(255, 255, 255, 0.7) 40%, rgba(255, 255, 255, 0) 100%);
    z-index: 2;
    pointer-events: none;
}

@media (max-width: 991px) {
    .client-hero-section {
        height: auto;
        min-height: auto;
        padding-bottom: 0;
    }
    .hero-panoramic-container {
        position: relative;
        width: 100%;
        height: 220px;
    }
    .hero-panoramic-fade {
        display: none;
    }
    .hero-client-title {
        font-size: 32px;
    }
}

/* ==========================================================================
   3. SERVICES SECTION (4x2 Cards Grid)
   ========================================================================== */
.client-services-section {
    padding: 38px 0;
    background-color: #ffffff;
    border-bottom: 1px solid #f1f5f9;
}

.client-services-section .container {
    max-width: 1260px;
}

.services-left-intro {
    padding-right: 15px;
}

.services-left-intro .section-client-title {
    margin-bottom: 10px;
}

.services-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 11px;
}

.client-service-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 11px 13px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    transition: all 0.22s ease;
    text-decoration: none;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.client-service-card:hover {
    border-color: var(--client-green);
    box-shadow: 0 4px 14px rgba(12, 55, 109, 0.06);
    transform: translateY(-2px);
}

.client-service-icon {
    width: 34px;
    height: 34px;
    min-width: 34px;
    border-radius: 50%;
    border: 1.5px solid var(--client-green);
    color: var(--client-green);
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    transition: all 0.22s ease;
}

.client-service-card:hover .client-service-icon {
    background: var(--client-green-light);
}

.client-service-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--client-navy);
    margin-bottom: 2px;
    line-height: 1.25;
}

.client-service-desc {
    font-size: 10.5px;
    color: #64748b;
    line-height: 1.35;
    margin: 0;
}

@media (max-width: 1199px) {
    .services-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .services-cards-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   4. ABOUT US SECTION (4 Horizontal Blocks)
   ========================================================================== */
.client-about-section {
    padding: 38px 0;
    background-color: var(--client-bg-light);
    border-bottom: 1px solid #edf2f7;
}

.client-about-section .container {
    max-width: 1260px;
}

.about-horizontal-row {
    display: flex;
    align-items: center;
    gap: 18px;
}

.about-col-photo-left {
    flex: 0 0 25%;
    max-width: 25%;
    position: relative;
}

.about-col-content {
    flex: 0 0 30%;
    max-width: 30%;
}

.about-col-features {
    flex: 0 0 20%;
    max-width: 20%;
}

.about-col-photo-right {
    flex: 0 0 25%;
    max-width: 25%;
}

.about-photo-wrapper {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.05);
}

.about-photo-wrapper img {
    width: 100%;
    height: 175px;
    object-fit: cover;
    display: block;
}

/* Diagonal Green Wedge Accent on Left Photo */
.about-photo-left-accent {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 20px;
    background: var(--client-green);
    clip-path: polygon(100% 0, 100% 100%, 0 100%);
    pointer-events: none;
}

.about-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
}

.about-feature-item:last-child {
    margin-bottom: 0;
}

.about-feature-icon {
    width: 30px;
    height: 30px;
    min-width: 30px;
    border-radius: 50%;
    border: 1.5px solid var(--client-green);
    color: var(--client-green);
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13.5px;
}

.about-feature-title {
    font-size: 12.5px;
    font-weight: 700;
    color: var(--client-navy);
    margin-bottom: 1px;
    line-height: 1.25;
}

.about-feature-sub {
    font-size: 10.5px;
    color: #64748b;
    line-height: 1.35;
    margin: 0;
}

@media (max-width: 991px) {
    .about-horizontal-row {
        flex-wrap: wrap;
    }
    .about-col-photo-left,
    .about-col-content,
    .about-col-features,
    .about-col-photo-right {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* ==========================================================================
   5. OUR NETWORK SECTION (Pan-India Presence)
   ========================================================================== */
.client-network-section {
    padding: 38px 0;
    background-color: #ffffff;
    border-bottom: 1px solid #f1f5f9;
}

.client-network-section .container {
    max-width: 1260px;
}

.network-horizontal-row {
    display: flex;
    align-items: center;
    gap: 18px;
}

.network-col-text {
    flex: 0 0 27%;
    max-width: 27%;
}

.network-col-map {
    flex: 0 0 23%;
    max-width: 23%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.network-col-features {
    flex: 0 0 22%;
    max-width: 22%;
}

.network-col-photo {
    flex: 0 0 28%;
    max-width: 28%;
}

.network-map-img {
    max-height: 165px;
    width: auto;
    object-fit: contain;
    display: block;
}

.network-fleet-wrapper {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.05);
}

.network-fleet-wrapper img {
    width: 100%;
    height: 165px;
    object-fit: cover;
    display: block;
}

@media (max-width: 991px) {
    .network-horizontal-row {
        flex-wrap: wrap;
    }
    .network-col-text,
    .network-col-map,
    .network-col-features,
    .network-col-photo {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* ==========================================================================
   6. CONTACT SECTION (Signature Split Card)
   ========================================================================== */
.client-contact-section {
    padding: 38px 0 48px;
    background-color: #ffffff;
}

.client-contact-section .container {
    max-width: 1220px;
}

.client-contact-container {
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid var(--client-border);
    box-shadow: 0 6px 24px rgba(12, 55, 109, 0.07);
    overflow: hidden;
}

.contact-split-row {
    display: flex;
    align-items: stretch;
    min-height: 310px;
}

/* Left Navy Panel with Diagonal Angle Cut */
.contact-navy-panel {
    flex: 0 0 29%;
    max-width: 29%;
    background: linear-gradient(145deg, #014492 0%, #073872 100%);
    color: #ffffff;
    padding: 30px 26px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    clip-path: polygon(0 0, 100% 0, 91% 100%, 0 100%);
    z-index: 2;
}

.contact-navy-panel .section-label-green {
    color: var(--client-green-accent);
}

.contact-navy-title {
    font-size: 23px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 10px;
}

.contact-navy-desc {
    color: rgba(255, 255, 255, 0.85);
    font-size: 12px;
    line-height: 1.5;
    margin-bottom: 16px;
}

/* Middle Contact Info Panel */
.contact-info-panel {
    flex: 0 0 31%;
    max-width: 31%;
    padding: 28px 22px;
    border-right: 1px solid #edf2f7;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 16px;
    background: #ffffff;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.contact-info-icon {
    width: 32px;
    height: 32px;
    min-width: 32px;
    border-radius: 50%;
    border: 1.5px solid var(--client-green);
    color: var(--client-green);
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.contact-info-label {
    font-size: 12.5px;
    font-weight: 700;
    color: var(--client-navy);
    margin-bottom: 1px;
}

.contact-info-value {
    font-size: 11.5px;
    color: #52647c;
    line-height: 1.4;
    margin: 0;
    text-decoration: none;
    display: block;
}

.contact-info-value:hover {
    color: var(--client-green);
}

/* Right Enquiry Form Panel */
.contact-form-panel {
    flex: 0 0 40%;
    max-width: 40%;
    padding: 28px 26px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #ffffff;
}

.contact-form-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--client-navy);
    margin-bottom: 12px;
}

.form-control-client {
    border: 1px solid #d9e2ec;
    border-radius: 6px;
    padding: 6.5px 11px;
    font-size: 12px;
    color: #334e68;
    background-color: #ffffff;
    transition: all 0.2s ease;
    width: 100%;
}

.form-control-client:focus {
    border-color: var(--client-green);
    box-shadow: 0 0 0 3px rgba(60, 169, 53, 0.15);
    outline: none;
}

.form-control-client::placeholder {
    color: #94a3b8;
    font-size: 11.5px;
}

@media (max-width: 991px) {
    .contact-split-row {
        flex-direction: column;
    }
    .contact-navy-panel,
    .contact-info-panel,
    .contact-form-panel {
        flex: 0 0 100%;
        max-width: 100%;
        clip-path: none;
    }
    .contact-info-panel {
        border-right: none;
        border-bottom: 1px solid #edf2f7;
    }
}

/* ==========================================================================
   7. FOOTER
   ========================================================================== */
.footer-client {
    background-color: var(--client-navy-footer);
    color: rgba(255, 255, 255, 0.75);
    padding: 12px 0;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-client .container {
    max-width: 1260px;
}

.footer-logo {
    max-height: 30px;
    width: auto;
    object-fit: contain;
}

.footer-client-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 0;
    margin: 0;
}

.footer-client-links a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 12.5px;
    font-weight: 500;
    transition: color 0.2s ease;
}

.footer-client-links a:hover {
    color: var(--client-green);
}

.footer-client-links .divider {
    color: rgba(255, 255, 255, 0.35);
    font-size: 11.5px;
}

.footer-client-copy {
    font-size: 11.5px;
    color: rgba(255, 255, 255, 0.65);
}

/* Client Signature Green Geometric Corner Accent */
.footer-client-accent {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60px;
    height: 60px;
    overflow: hidden;
    pointer-events: none;
}

.footer-client-accent::before {
    content: '';
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 54px;
    height: 54px;
    background: var(--client-green);
    transform: rotate(45deg);
}

.footer-client-accent::after {
    content: '';
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 68px;
    height: 68px;
    border: 3.5px solid var(--client-green);
    transform: rotate(45deg);
}

/* Floating WhatsApp Button (Fixed bottom-right) */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 46px;
    height: 46px;
    background-color: #25d366;
    color: #ffffff !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
    z-index: 1050;
    text-decoration: none;
    transition: all 0.25s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.whatsapp-float:hover {
    background-color: #1eb956;
    transform: scale(1.08);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
}
