/* 
   Gagan Transport Company - Premium Design 2026
   Modern, High-Performance, Responsive
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Outfit:wght@400;500;700;800&display=swap');

:root {
    /* Color Palette - Modern Premium (Midnight & Amber) */
    --primary: #020617;
    /* Deepest Midnight */
    --primary-light: #1e293b;

    --accent: #f59e0b;
    /* Amber 500 */
    --accent-hover: #d97706;
    /* Amber 600 */
    --accent-glow: rgba(245, 158, 11, 0.4);

    --text-main: #0f172a;
    /* Slate 900 */
    --text-light: #475569;
    /* Slate 600 */
    --text-inv: #ffffff;

    --bg-body: #f8fafc;
    --bg-surface: #ffffff;
    --bg-alt: #f1f5f9;

    /* Spacing & Layout */
    --container-width: 1200px;
    --header-height: 80px;
    --section-spacing: 120px;

    /* Effects */
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    --radius-sm: 8px;
    --radius-md: 20px;
    --radius-lg: 30px;
    --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* --- RESET & BASE --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-body);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Outfit', sans-serif;
    color: var(--primary);
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

button {
    cursor: pointer;
    border: none;
    font-family: inherit;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* --- UTILITIES --- */
.section-title {
    text-align: center;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.section-title h2 span {
    color: var(--accent);
    position: relative;
    white-space: nowrap;
}

/* Underline effect for span */
.section-title h2 span::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--accent);
    opacity: 0.3;
    border-radius: 2px;
}

.section-title p {
    color: var(--text-light);
    font-size: 1.1rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    letter-spacing: 0.5px;
}

.btn-primary {
    background-color: var(--accent);
    color: var(--text-inv);
    box-shadow: 0 4px 15px var(--accent-glow);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--accent-glow);
}

/* --- HEADER --- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    height: var(--header-height);
    display: flex;
    align-items: center;
    transition: var(--transition);
    background: transparent;
}

.site-header.scrolled {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-sm);
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--text-inv);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.site-header.scrolled .logo {
    color: var(--primary);
}

.nav-desktop {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
}

.site-header.scrolled .nav-link {
    color: var(--primary-light);
}

.nav-link:hover {
    color: var(--text-inv);
}

.site-header.scrolled .nav-link:hover {
    color: var(--accent);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.header-cta {
    display: flex;
    align-items: center;
    gap: 20px;
}

.contact-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 16px;
    border-radius: 50px;
    color: var(--text-inv);
    font-size: 0.9rem;
    font-weight: 500;
    backdrop-filter: blur(4px);
}

.site-header.scrolled .contact-pill {
    background: var(--bg-alt);
    color: var(--primary);
}

.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--text-inv);
    background: none;
}

.site-header.scrolled .mobile-toggle {
    color: var(--primary);
}

/* Mobile Menu Styles (Default Hidden) */
.mobile-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background: var(--bg-surface);
    padding: 20px;
    box-shadow: var(--shadow-md);
    display: none;
    flex-direction: column;
    gap: 10px;
    z-index: 999;
}

/* --- HERO SECTION --- */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    color: var(--text-inv);
    overflow: hidden;
    padding-top: var(--header-height);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 100%;
    z-index: -2;
    overflow: hidden;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    /* Removed animation temporarily if it causes jitter, but kept for now with better sizing */
    animation: zoomEffect 24s infinite alternate;
}

@keyframes zoomEffect {
    from {
        transform: scale(1.15);
    }

    to {
        transform: scale(1.3);
        /* Slightly increased zoom */
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.7) 100%);
    z-index: -1;
}

.hero-content {
    max-width: 800px;
}

.hero-tag {
    display: inline-block;
    background: var(--accent);
    color: var(--text-inv);
    padding: 6px 12px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    margin-bottom: 24px;
    letter-spacing: 1px;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 24px;
    line-height: 1.1;
    color: var(--text-inv);
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
}

/* --- SERVICES SECTION --- */
.services {
    padding: var(--section-spacing) 0;
    background-color: var(--bg-body);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--bg-surface);
    padding: 40px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--accent);
    opacity: 0;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    width: 70px;
    height: 70px;
    background: var(--bg-alt);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--accent);
}

.service-icon img {
    width: 36px;
    height: 36px;
    /* This filter makes black icons slate-800 */
    filter: invert(13%) sepia(21%) saturate(945%) hue-rotate(182deg) brightness(95%) contrast(92%);
    transition: var(--transition);
}

.service-card:hover .service-icon img {
    /* Make icon white on hover */
    filter: brightness(0) invert(1);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.service-card p {
    color: var(--text-light);
    font-size: 1rem;
    margin-bottom: 0;
}

/* --- TRACK / WHY CHOOSE US --- */
.track-section {
    padding: var(--section-spacing) 0;
    background: var(--primary);
    color: var(--text-inv);
    position: relative;
    overflow: hidden;
}

.track-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    object-fit: cover;
    opacity: 0.1;
    z-index: 0;
}

.track-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
}

.track-features {
    margin-top: 40px;
    display: grid;
    gap: 24px;
}

.feature-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.feature-icon {
    color: var(--accent);
    font-size: 1.25rem;
    margin-top: 4px;
}

.feature-text h4 {
    color: var(--text-inv);
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.feature-text p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

/* --- TESTIMONIALS --- */
.testimonials {
    padding: var(--section-spacing) 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.client-card {
    background: var(--bg-surface);
    padding: 30px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--bg-alt);
}

.client-quote {
    color: var(--text-main);
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 24px;
}

.client-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.client-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--accent);
}

.client-details h5 {
    font-size: 1rem;
    margin-bottom: 2px;
}

.client-details span {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* --- CONTACT --- */
.contact-preview {
    background: var(--primary-light);
    color: var(--text-inv);
    padding: 80px 0;
}

.contact-row {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: space-between;
}

.contact-col {
    flex: 1;
    min-width: 250px;
}

.contact-col h4 {
    color: var(--text-inv);
    font-size: 1.25rem;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 12px;
}

.contact-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--accent);
}

.contact-list a {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    color: rgba(255, 255, 255, 0.8);
}

.contact-list a:hover {
    color: var(--accent);
    transform: translateX(5px);
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.social-link {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--accent);
    color: var(--text-inv);
}

/* --- FOOTER --- */
.site-footer {
    background: var(--primary);
    padding: 30px 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* --- RESPONSIVE --- */
@media (max-width: 991px) {
    .hero h1 {
        font-size: 3rem;
    }

    .nav-desktop {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }

    .contact-pill {
        display: none;
    }



    .mobile-menu.active {
        display: flex;
    }

    .mobile-menu .nav-link {
        color: var(--primary);
        font-size: 1.1rem;
        padding: 10px 0;
    }
}

@media (max-width: 768px) {
    :root {
        --section-spacing: 80px;
    }

    .hero h1 {
        font-size: 2rem;
        word-wrap: break-word;
    }

    .track-bg {
        width: 100%;
        opacity: 0.05;
    }
}