:root {
    /* Primary Colors */
    --color-charcoal: #121212;
    --color-coal: #1E1E1E;
    --color-yellow: #FFD200;
    --color-yellow-hover: #E6BD00;
    --color-red: #C41E3A;
    --color-grey: #4A4A4A;
    --color-light-grey: #F5F5F5;
    --color-white: #FFFFFF;

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --section-padding: 100px 5%;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--color-charcoal);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--color-white);
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: -0.02em;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Base Components */
.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background-color: var(--color-yellow);
}

.section-title.centered {
    text-align: center;
}

.section-title.centered::after {
    left: 50%;
    transform: translateX(-50%);
}

.btn {
    display: inline-block;
    padding: 15px 35px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-heading);
    font-size: 0.9rem;
}

.btn-primary {
    background-color: var(--color-yellow);
    color: var(--color-charcoal);
}

.btn-primary:hover {
    background-color: var(--color-charcoal);
    color: var(--color-yellow);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--color-yellow);
    color: var(--color-yellow);
}

.btn-outline:hover {
    background-color: var(--color-yellow);
    color: var(--color-charcoal);
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    padding: 20px 0;
    background-color: transparent;
}

header.scrolled {
    background-color: rgba(18, 18, 18, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 12px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

nav {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 25px;
}

.logo img {
    height: 85px;
    width: 85px;
    object-fit: contain;
    border-radius: 6px;
    transition: var(--transition);
}

header.scrolled .logo img {
    height: 60px;
    width: 60px;
}

@media (max-width: 1250px) {
    .logo img {
        height: 50px;
        width: 50px;
    }
}

.nav-links {
    display: flex;
    gap: 12px;
}

.mobile-toggle {
    display: none;
}

.nav-links a {
    color: var(--color-white);
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    transition: var(--transition);
}

header.scrolled .nav-links a {
    color: var(--color-white);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--color-yellow);
}

/* Dropdown Menu Support */
.dropdown {
    position: relative;
    display: flex;
    align-items: center;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--color-charcoal);
    min-width: 200px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1000;
    top: 100%;
    left: 0;
    padding: 10px 0;
    border-radius: 5px;
    flex-direction: column;
}

.dropdown:hover .dropdown-content {
    display: flex;
}

.dropdown-content li {
    width: 100%;
}

.dropdown-content a {
    color: var(--color-white);
    padding: 12px 20px;
    text-decoration: none;
    display: block;
    font-size: 0.85rem;
    text-transform: none;
    letter-spacing: 0;
}

.dropdown-content a:hover {
    background-color: var(--color-coal);
    color: var(--color-yellow);
}

/* Forms & Inputs */
.contact-form {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.08);
    border: 1px solid rgba(0,0,0,0.05);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--color-charcoal);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
    background-color: #fcfcfc;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-yellow);
    background-color: white;
    box-shadow: 0 5px 15px rgba(255, 210, 0, 0.1);
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23121212' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: calc(100% - 20px) center;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--color-white);
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Default Hero Overlay */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.65);
    z-index: 1;
}

.hero-default {
    background-image: url('../assets/hero-images/home-hero.png');
}

.hero-about {
    background-image: url('../assets/hero-images/about-hero.png');
}

.hero-founder {
    background-image: url('../assets/hero-images/founder-hero.png');
}

.hero-services {
    background-image: url('../assets/hero-images/services-hero.png');
}

.hero-fleet {
    background-image: url('../assets/hero-images/fleet-hero.png');
}

.hero-clients {
    background-image: url('../assets/hero-images/clients-hero.png');
}

.hero-contact {
    background-image: url('../assets/hero-images/contact-hero.png');
}

.hero-ambika {
    background-image: url('../assets/Ambika Enterprises/ambika-hero.png');
}

.hero .container {
    position: relative;
    z-index: 2;
    padding: 160px 0 80px;
}

@media (max-width: 768px) {
    .hero {
        padding: 120px 0 60px;
    }
}

.hero-content {
    max-width: 800px;
}

.hero-tagline {
    color: var(--color-yellow);
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    display: block;
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 2rem;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

.hero-btns {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 2rem;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.btn:active {
    transform: translateY(-1px);
}

/* Hover effects and micro-animations */
.card-hover {
    transition: var(--transition);
}

.card-hover:hover {
    transform: translateY(-10px);
}

/* Animations Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Footer */
footer {
    background-color: var(--color-charcoal);
    color: var(--color-white);
    padding: 80px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col h4 {
    color: var(--color-yellow);
    margin-bottom: 1.5rem;
}

.footer-col p {
    font-size: 0.9rem;
    opacity: 0.7;
    margin-bottom: 1rem;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    font-size: 0.9rem;
    opacity: 0.7;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--color-yellow);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    opacity: 0.5;
}

/* Responsive Utility Classes */
.grid-2,
.grid-3,
.grid-4 {
    display: grid;
    gap: 30px;
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

.flex-resp {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

/* Mobile Responsive */
@media (max-width: 992px) {
    :root {
        --section-padding: 60px 5%;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .grid-4,
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1250px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--color-charcoal);
        padding: 20px;
        box-shadow: 0 10px 10px rgba(0, 0, 0, 0.2);
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-toggle {
        display: block;
        cursor: pointer;
        margin-left: auto;
    }

    .mobile-toggle span {
        display: block;
        width: 25px;
        height: 3px;
        background: var(--color-white);
        margin: 5px 0;
        transition: var(--transition);
    }

    .mobile-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -7px);
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .grid-4,
    .grid-3,
    .grid-2 {
        grid-template-columns: 1fr;
    }

    .flex-resp {
        flex-direction: column;
        text-align: center;
    }

    .hero-btns {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    .hero-btns .btn {
        margin-left: 0 !important;
        width: 100%;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .dropdown {
        flex-direction: column;
        align-items: flex-start;
    }

    .dropdown-content {
        position: static;
        box-shadow: none;
        background-color: var(--color-coal);
        width: 100%;
        padding: 0;
        margin-top: 10px;
    }

    .dropdown-content a {
        padding: 10px 20px;
    }
}