/* ==============================================
   CSS VARIABLES & GLOBAL SETTINGS
   ============================================== */
:root {
    --primary-blue: #2756a1;   
    --secondary-blue: #0d6efd; 
    --accent-orange: #ff9802;  
    --text-gray: #6c757d;
    --text-dark: #212529; /* Added for readable dark text */
    --bg-light: #f8f9fa;
    --white: #ffffff;
    
    --font-heading: 'Rethink Sans', sans-serif;
    --font-body: 'DM Sans', sans-serif;
}

* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
}

body {
    font-family: var(--font-body);
    color: var(--text-gray);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--primary-blue);
}

a { 
    text-decoration: none; 
    transition: 0.3s ease; 
}

.container { 
    max-width: 1300px; 
    margin: 0 auto; 
    padding: 0 20px; 
}

.relative-z { 
    position: relative; 
    z-index: 2; 
}

/* ==============================================
   1. PAGE BANNER[cite: 1]
   ============================================== */
.page-banner {
    position: relative;
    padding: 130px 0;
    background-image: url('../images/contact-banner.jpg'); 
    background-size: cover;
    background-position: center;
}

.banner-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: #020e28b0; 
}

.banner-content {
    border-left: 5px solid var(--accent-orange);
    padding-left: 20px;
}

.banner-content h1 {
    color: var(--white);
    font-size: 3.8rem;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -1px;
}

.breadcrumb {
    color: var(--white);
    font-weight: 500;
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.breadcrumb .home-link {
    color: var(--accent-orange);
}

.breadcrumb i {
    font-size: 0.8rem;
    opacity: 0.8;
}

/* ==============================================
   2. JOURNEY / INFO CARDS SECTION[cite: 2]
   ============================================== */
.journey-section {
    padding: 90px 0;
    background-color: var(--bg-light);
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title .sub-title {
    color: var(--accent-orange);
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

.section-title h2 {
    font-size: 2.6rem;
    font-weight: 800;
    color: var(--primary-blue);
}

/* Cards Grid */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.info-card {
    background: var(--white);
    border-radius: 12px;
    padding: 35px 25px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
    border: 1px solid rgba(0,0,0,0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(39, 86, 161, 0.1);
}

.card-content {
    display: flex;
    gap: 20px;
    position: relative;
    z-index: 2;
}

.card-icon-box {
    width: 65px;
    height: 65px;
    background: rgba(39, 86, 161, 0.05); /* Very light blue tint */
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--accent-orange);
    flex-shrink: 0;
}

.card-text p {
    font-size: 0.95rem;
    color: var(--text-gray);
    margin-bottom: 6px;
    line-height: 1.5;
}

.card-text strong {
    color: var(--text-dark);
}

.card-link {
    display: inline-block;
    margin-top: 10px;
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--primary-blue);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.card-link i {
    margin-left: 5px;
    font-size: 0.8rem;
}

.card-link:hover {
    color: var(--accent-orange);
}

.watermark {
    position: absolute;
    bottom: 5px;
    right: 15px;
    font-size: 2.8rem;
    font-weight: 800;
    color: rgba(39, 86, 161, 0.04);
    text-transform: uppercase;
    z-index: 1;
    pointer-events: none;
    font-family: var(--font-heading);
}

/* ==============================================
   3. MAP & FORM SECTION[cite: 3]
   ============================================== */
.map-form-section {
    padding-bottom: 90px;
    background-color: var(--bg-light);
}

.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    border-radius: 20px;
    overflow: hidden;
}

/* Left Map */
.map-box {
    width: 100%;
    height: 100%;
    min-height: 550px;
    border-radius: 20px;
    overflow: hidden;
}

.map-box iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Right Form Background (Truck image) */
.form-background {
    /* Replace with your truck background image */
    background-image: url('../images/truck-bg.jpg'); 
    background-size: cover;
    background-position: center;
    border-radius: 20px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
}

/* Dark Glass Form Card Overlaying the Truck Background */
.glass-form-card {
    /* Dark semi-transparent background for contrast against the image */
    background: rgba(15, 23, 42, 0.85); 
    backdrop-filter: blur(8px);
    padding: 40px;
    border-radius: 20px;
    width: 100%;
    max-width: 550px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

/* Form Inputs styling */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.input-group {
    position: relative;
    margin-bottom: 20px;
}

.full-width {
    grid-column: 1 / -1;
}

/* Exact Pill-shaped input styles */
.input-group input,
.input-group select,
.input-group textarea {
    width: 100%;
    background: var(--white);
    border: 1px solid transparent;
    padding: 16px 50px 16px 25px; /* Right padding makes room for the icon */
    border-radius: 50px; /* Perfect pill shape */
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-dark);
    outline: none;
    transition: all 0.3s ease;
}

.input-group select {
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
}

.input-group textarea {
    border-radius: 25px; /* Softer radius for multiline */
    resize: none;
    min-height: 120px;
}

.input-group input:focus,
.input-group select:focus,
.input-group textarea:focus {
    border-color: var(--secondary-blue);
    box-shadow: 0 0 0 4px rgba(13, 110, 253, 0.25); /* Glow using secondary-blue */
}

/* Embedded Icons on the Right */
.form-icon {
    position: absolute;
    right: 22px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent-orange); /* Icons in accent orange */
    font-size: 1.05rem;
    pointer-events: none;
}

.textarea-group .form-icon {
    top: 25px; 
    transform: none;
}

/* Pill Submit Button */
.submit-action-btn {
    width: 100%;
    background: var(--accent-orange);
    color: var(--white);
    border: none;
    padding: 16px;
    border-radius: 50px; /* Pill shape */
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 5px;
}

.submit-action-btn:hover {
    background: var(--primary-blue); /* Hover turns to primary blue */
    box-shadow: 0 8px 20px rgba(39, 86, 161, 0.4);
}

/* ==============================================
   RESPONSIVE DESIGN 
   ============================================== */
@media (max-width: 1024px) {
    .cards-grid {
        grid-template-columns: 1fr;
    }
    
    .split-layout {
        grid-template-columns: 1fr;
    }
    
    .map-box {
        min-height: 400px;
    }
    
    .form-background {
        padding: 40px 20px;
    }
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .page-banner {
        padding: 90px 0;
    }
    .banner-content h1 {
        font-size: 2.8rem;
    }
    .section-title h2 {
        font-size: 2.2rem;
    }
}