/* ==========================================================
   GLOBAL CARRY EXPRESS LLC
   Option 3: Modern Industrial Steel & Safety Yellow
==========================================================*/

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Poppins',sans-serif;
    background:#F9F9F9;
    color:#222;
    line-height:1.7;
    overflow-x:hidden;
}

/* Option 3 Color Variables */
:root{
    --primary:#222831;       /* Dark Steel */
    --secondary:#393E46;     /* Iron Gray */
    --gold:#FFD369;          /* Safety Yellow */
    --white:#ffffff;
    --light:#F9F9F9;         /* Soft Snow Gray */
    --header-bg: rgba(250, 250, 250, 0.96); /* Off-White / Pearl */
    --text:#393E46;
    --heading:#222831;
    --shadow:0 15px 40px rgba(0,0,0,.08);
    --radius:14px;
}

img{
    max-width:100%;
    display:block;
}

a{
    text-decoration:none;
}

/* Container */
.container{
    width:90%;
    max-width:1250px;
    margin:auto;
}

/* Sections */
section, .section{
    padding:90px 0;
}

.section-title, .section-heading{
    text-align:center;
    margin-bottom:60px;
}

.section-title h5, .section-heading span{
    color:var(--gold);
    font-weight:700;
    letter-spacing:2px;
    text-transform:uppercase;
    display:block;
    margin-bottom:12px;
    font-size:16px;
}

.section-title h2, .section-heading h2{
    font-size:42px;
    color:var(--heading);
    margin-bottom:18px;
    font-weight:700;
}

.section-title p, .section-heading p{
    max-width:720px;
    margin:auto;
    color:#555;
}
/* Buttons */
.primary-btn, .btn-primary{
    display:inline-block;
    background:var(--gold);
    color:var(--primary);
    padding:15px 35px;
    border-radius:50px;
    font-weight:700;
    transition:.35s;
    border:none;
    cursor:pointer;
}

.primary-btn:hover, .btn-primary:hover{
    transform:translateY(-4px);
    background:#ffe18d;
    box-shadow:0 18px 40px rgba(255, 211, 105, 0.4);
}

.secondary-btn, .btn-secondary{
    display:inline-block;
    border:2px solid var(--white);
    color:var(--white);
    padding:15px 35px;
    border-radius:50px;
    font-weight:600;
    transition:.35s;
}

.secondary-btn:hover, .btn-secondary:hover{
    background:var(--white);
    color:var(--primary);
}

/* ==========================
HEADER / NAVBAR (Pearl Glass Theme)
========================== */
/* ==========================
HEADER / NAVBAR (Light Glass Theme - Option 3)
========================== */

.nav, .header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Container alignment fix for larger logos */
header, .header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(250, 250, 250, 0.96);
    backdrop-filter: blur(10px);
    z-index: 9999;
    padding: 8px 0; /* Reduced vertical padding slightly to accommodate bigger logo */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.logo {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 22px;
    font-weight: 800;
    color: var(--primary);
}

/* Increased Logo Size */
.brand-logo {
    height: 56px; /* Increased from 42px */
    max-height: 65px;
    width: auto;
    object-fit: contain;
    background: transparent;
    padding: 0;
    filter: none;
    transition: height 0.3s ease; /* Smooth transition */
}

.logo span {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--secondary); /* Iron Gray (#393E46) */
}

nav {
    display: flex;
    align-items: center;
}

nav a, nav ul li a {
    color: var(--primary); /* Dark Steel links for contrast */
    font-size: 16px;
    font-weight: 600;
    transition: .3s;
    margin: 0 15px;
}

nav a:hover, nav ul li a:hover, nav ul li a.active {
    color: #d19d10; /* Darker yellow/gold shade for readability on light BG */
}

.nav-btn {
    background: var(--primary); /* Dark Steel button */
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 700;
    color: var(--white); /* White button text */
    transition: .3s;
}

.nav-btn:hover {
    background: var(--gold); /* Safety Yellow on hover */
    color: var(--primary);
    transform: translateY(-3px);
}
/* ==========================
HERO
========================== */
.hero{
    min-height:100vh;
    position:relative;
    background:linear-gradient(rgba(34,40,49,.85),rgba(57,62,70,.88)),
               url("https://images.unsplash.com/photo-1601584115197-04ecc0da31d7?auto=format&fit=crop&w=1800&q=80");
    background-size:cover;
    background-position:center;
    display:flex;
    align-items:center;
    padding-top:100px;
}

.overlay{
    position:absolute;
    inset:0;
    background:rgba(0,0,0,.15);
}

.hero-content{
    position:relative;
    z-index:2;
    color:var(--white);
}

.hero-content h4{
    color:var(--gold);
    font-size:20px;
    font-weight:700;
    letter-spacing:3px;
    text-transform:uppercase;
    margin-bottom:15px;
}

.hero-content h1{
    font-size:64px;
    font-weight:800;
    line-height:1.15;
    margin-bottom:25px;
}

.hero-content h1 span{
    color:var(--gold);
}

.hero-content p{
    font-size:18px;
    margin-bottom:35px;
    color:#eee;
    max-width:700px;
}

.hero-buttons{
    display:flex;
    gap:20px;
    flex-wrap:wrap;
    align-items:center;
}

/* ==========================
STATISTICS
========================== */
.stats{
    background:var(--white);
    padding:70px 0;
}

.stat-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:30px;
}

.stat{
    background:var(--white);
    padding:45px;
    text-align:center;
    border-radius:18px;
    box-shadow:var(--shadow);
    transition:.4s;
}

.stat:hover{
    transform:translateY(-10px);
}

.stat h2{
    font-size:50px;
    color:var(--primary);
    margin-bottom:12px;
}

.stat p{
    font-size:18px;
    font-weight:500;
}

/* ==========================
ABOUT
========================== */
.about{
    background:var(--white);
}

.about-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:60px;
    align-items:center;
}

.about-grid img{
    border-radius:18px;
    box-shadow:var(--shadow);
}

.about-grid h3{
    font-size:34px;
    margin-bottom:20px;
    color:var(--heading);
}

.about-grid p{
    margin-bottom:22px;
    font-size:17px;
    color:#555;
}

/* ==========================
SERVICES
========================== */
.services{
    background:var(--light);
}

.service-card-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    height: 100%;
}

.service-card{
    background:var(--white);
    padding:35px;
    border-radius:18px;
    box-shadow:var(--shadow);
    transition:.35s;
    position:relative;
    overflow:hidden;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
}

.service-grid, .services-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:30px;
}

.service-card::before{
    content:"";
    position:absolute;
    top:0;
    left:0;
    width:6px;
    height:100%;
    background:var(--gold);
}

.service-card:hover{
    transform:translateY(-12px);
    box-shadow:0 25px 45px rgba(0,0,0,.12);
}

.service-card i{
    font-size:48px;
    color:var(--primary);
    margin-bottom:20px;
}

.service-card h3{
    font-size:22px;
    margin-bottom:15px;
    color:var(--heading);
}

.service-card p{
    font-size:16px;
    color:#666;
}

/* ==========================
DISPATCH
========================== */
.dispatch{
    background:linear-gradient(135deg, var(--primary), var(--secondary));
    color:var(--white);
}

.dispatch-content{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:70px;
    align-items:center;
}

.dispatch-left span{
    color:var(--gold);
    font-weight:700;
    letter-spacing:2px;
    text-transform:uppercase;
}

.dispatch-left h2{
    font-size:42px;
    margin:20px 0;
    color:var(--white);
}

.dispatch-left p{
    color:#e6e6e6;
    margin-bottom:20px;
}

.dispatch-right{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:20px;
}

.dispatch-box{
    background:rgba(255,255,255,.08);
    border:1px solid rgba(255,255,255,.15);
    border-radius:16px;
    padding:25px;
    display:flex;
    align-items:center;
    gap:15px;
    transition:.3s;
}

.dispatch-box:hover{
    background:rgba(255,255,255,.15);
    transform:translateY(-6px);
}

.dispatch-box i{
    color:var(--gold);
    font-size:22px;
}

.dispatch-box span{
    color:var(--white);
    font-weight:600;
}

/* ==========================
COVERAGE
========================== */
.coverage{
    background:var(--white);
}

.coverage-grid, .states-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
    gap:20px;
    margin-top:45px;
}

.coverage-box, .state-card{
    background:var(--primary);
    color:var(--white);
    padding:22px;
    text-align:center;
    border-radius:14px;
    font-size:18px;
    font-weight:600;
    transition:.35s;
    cursor:pointer;
    box-shadow:var(--shadow);
}

.coverage-box:hover, .state-card:hover{
    background:var(--gold);
    color:var(--primary);
    transform:translateY(-8px);
}

/* ==========================
WHY CHOOSE US & OUR GOAL
========================== */
.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    align-items: stretch;
}

.why-card-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    height: 100%;
}

.why-card {
    background: var(--white);
    padding: 35px 25px;
    border-radius: 18px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: 0.35s;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
}

.why-card-link:hover .why-card {
    transform: translateY(-10px);
    box-shadow: 0 25px 45px rgba(0,0,0,.12);
}

.why-card i {
    font-size: 48px;
    color: var(--primary);
    margin-bottom: 20px;
}

.why-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--heading);
}

.why-card p {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
}

.goal-box{
    margin-top:60px;
    background:linear-gradient(135deg, var(--primary), var(--secondary));
    color:var(--white);
    padding:45px;
    border-radius:18px;
    text-align:center;
}

.goal-box h3{
    font-size:30px;
    margin-bottom:15px;
}

.goal-box p{
    max-width:900px;
    margin:auto;
    color:#f2f2f2;
}

/* ==========================
DEDICATED CARRIER CTA
========================== */
.carrier{
    background:linear-gradient(rgba(34,40,49,.88),rgba(57,62,70,.88)),
               url("https://images.unsplash.com/photo-1519003722824-194d4455a60c?auto=format&fit=crop&w=1800&q=80");
    background-size:cover;
    background-position:center;
    padding:110px 0;
    color:var(--white);
    text-align:center;
}

.carrier h2{
    font-size:48px;
    margin-bottom:25px;
}

.carrier p{
    max-width:900px;
    margin:auto;
    font-size:20px;
    line-height:1.9;
}

.carrier .primary-btn, .carrier .btn-primary{
    display:inline-block;
    margin-top:40px;
}

/* ==========================
FREIGHT QUOTE
========================== */
.quote {
    background: var(--primary);
    color: var(--white);
}

.quote .section-title h2 {
    color: var(--white);
}

.quote .section-title h5 {
    color: var(--gold);
}

.quote p {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 45px;
    font-size: 18px;
}

.quote form, 
.quote-form {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    max-width: 1100px;
    margin: auto;
}

/* Wrapper for Inputs & Error Messages */
.quote .form-group {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.quote .form-group.full-width {
    grid-column: 1 / -1;
}

/* Standard Input Styling */
.quote input, 
.quote select, 
.quote textarea,
.quote-form input, 
.quote-form select, 
.quote-form textarea {
    width: 100%;
    padding: 18px 20px;
    border: 2px solid transparent; /* Added base border for seamless transition */
    outline: none;
    border-radius: 12px;
    font-size: 16px;
    background: var(--white);
    transition: .3s;
    font-family: 'Poppins', sans-serif;
    box-sizing: border-box;
}

.quote textarea, 
.quote-form textarea {
    height: 170px;
    resize: none;
}

/* ==========================
RED FLAG ERROR STYLING
========================== */

/* Highlight input field in red */
.quote input.input-error, 
.quote select.input-error, 
.quote textarea.input-error {
    border: 2px solid #ff3333 !important;
    background-color: #fff0f0 !important;
}

/* Red error text below input */
.error-msg {
    color: #ff4d4d;
    font-size: 13px;
    font-weight: 600;
    margin-top: 6px;
    display: none;
    text-align: left;
}

.error-msg.show {
    display: block;
}

/* ==========================
BUTTON STYLING
========================== */
.quote button, 
.quote-form button {
    grid-column: 1 / -1;
    padding: 18px;
    background: var(--gold);
    color: var(--primary);
    border: none;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: .3s;
}

.quote button:hover, 
.quote-form button:hover {
    background: var(--white);
    transform: translateY(-4px);
}

/* ==========================
CONTACT
========================== */
.contact{
    background: var(--light);
}

.contact-wrapper{
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 35px;
    align-items: stretch;
}

.contact-cards{
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-card{
    background: var(--white);
    padding: 25px 30px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 25px;
    text-align: left;
    box-shadow: var(--shadow);
    transition: .35s;
}

.contact-card:hover{
    transform: translateX(6px);
}

.contact-card i{
    font-size: 32px;
    color: var(--gold);
    background: var(--primary);
    width: 65px;
    height: 65px;
    min-width: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-bottom: 0;
}

.contact-card h3{
    margin-bottom: 5px;
    color: var(--heading);
    font-size: 20px;
}

.contact-card p{
    color: #666;
    line-height: 1.6;
    font-size: 15px;
}

.contact-map-container{
    width: 100%;
    height: 100%;
    min-height: 380px;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 4px solid var(--white);
}

.contact-map-container iframe{
    width: 100%;
    height: 100%;
    min-height: 380px;
    border: none;
}

@media(max-width: 992px){
    .contact-wrapper{
        grid-template-columns: 1fr;
    }
    
    .contact-map-container,
    .contact-map-container iframe{
        min-height: 320px;
        height: 320px;
    }
}

/* ==========================
FOOTER
========================== */
footer{
    background:var(--primary);
    color:var(--white);
    padding:70px 0 25px;
}

.footer-grid, .footer-container{
    display:grid;
    grid-template-columns:2fr 1fr 1fr;
    gap:60px;
}

.footer-logo{
    display:flex;
    align-items:center;
    gap:15px;
    font-size:24px;
    font-weight:700;
    margin-bottom:20px;
    color:var(--white);
}

/* Footer Logo maintains clean transparent appearance on dark footer */
.brand-logo-footer {
    height:48px;
    width:auto;
    object-fit:contain;
    background:transparent;
    padding:0;
    filter: drop-shadow(0px 0px 4px rgba(255,255,255,0.7));
}

.footer-logo span{
    color:var(--gold);
}

footer p{
    color:#ccc;
    line-height:1.9;
}

.footer-links{
    display:flex;
    flex-direction:column;
    gap:15px;
}

.footer-links a{
    color:#ddd;
    transition:.3s;
}

.footer-links a:hover{
    color:var(--gold);
    padding-left:8px;
}

.footer-bottom, .copyright{
    margin-top:55px;
    padding-top:20px;
    border-top:1px solid rgba(255,255,255,.15);
    text-align:center;
    color:#bbb;
}

/* ==========================
SCROLLBAR
========================== */
::-webkit-scrollbar{
    width:10px;
}

::-webkit-scrollbar-track{
    background:#ddd;
}

::-webkit-scrollbar-thumb{
    background:var(--primary);
    border-radius:20px;
}

::-webkit-scrollbar-thumb:hover{
    background:var(--gold);
}

/* ==========================
RESPONSIVE DESIGN
========================== */
@media(max-width:992px){
    .hero-content h1{
        font-size:50px;
    }

    .about-grid, .dispatch-content, .footer-grid, .footer-container{
        grid-template-columns:1fr;
    }

    .quote form, .quote-form{
        grid-template-columns:1fr;
    }
}

@media(max-width:768px){
    .nav{
        flex-direction:column;
        height:auto;
        padding:15px 0;
    }

    nav{
        flex-wrap:wrap;
        justify-content:center;
        gap:18px;
        margin:15px 0;
    }

    .hero{
        text-align:center;
    }

    .hero-content{
        margin:auto;
    }

    .hero-content h1{
        font-size:40px;
    }

    .hero-buttons{
        justify-content:center;
    }

    .section-title h2, .section-heading h2{
        font-size:32px;
    }

    .stat-grid, .service-grid, .services-grid, 
    .coverage-grid, .states-grid, .why-grid, 
    .dispatch-right, .contact-grid{
        grid-template-columns:1fr;
    }
}

@media(max-width:500px){
    .hero-content h1{
        font-size:34px;
    }

    .hero-content p{
        font-size:16px;
    }

    .primary-btn, .secondary-btn, .btn-primary, .btn-secondary{
        display:block;
        width:100%;
        text-align:center;
    }

    .hero-buttons{
        flex-direction:column;
    }
}