:root {
    --primary-red: #b61818; /* Main red from logo */
    --primary-blue: #3c3c3c; /* Dark charcoal from logo text/icon */
    --primary-blue-hover: #1a1a1a; /* Near black for hover state */
    --text-dark: #222222;
    --text-light: #666666;
    --bg-light: #f8f2f2;
    /* Soft warm light tint matching red theme */
    --bg-white: #ffffff;
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Sukhumvit Set', 'Sukhumvit', 'Prompt', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-white);
    overflow-x: hidden;
}

/* Navbar */
.navbar {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    padding-top: 15px;
    padding-bottom: 15px;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-red) !important;
}

.nav-link {
    color: var(--text-dark) !important;
    font-weight: 500;
    margin-left: 15px;
    transition: all 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-red) !important;
}

.btn-primary-custom {
    background-color: var(--primary-blue);
    color: white;
    border: none;
    padding: 10px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary-custom:hover {
    background-color: var(--primary-blue-hover);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(60, 60, 60, 0.3);
}

.btn-secondary-custom {
    background-color: var(--primary-red);
    color: white;
    border: none;
    padding: 10px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-secondary-custom:hover {
    background-color: #8a1010; /* Darker red on hover */
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(182, 24, 24, 0.4);
}

/* Hero Section */
/* Hero Section - Template Style */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    background-color: #1a1a1a;
    /* Dark charcoal base from logo */
    /* Background with header-page.png as cover image with red-dark overlay for readability */
    background: linear-gradient(135deg, rgba(60, 60, 60, 0.80) 0%, rgba(26, 26, 26, 0.92) 100%), url('./header-page.webp') no-repeat center center;
    background-size: cover;
    overflow: hidden;
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0% 100%);
    /* Diagonal cut effect */
    margin-bottom: 50px;
}

.hero-content {
    z-index: 2;
    position: relative;
}

.hero-content h1 {
    font-size: 3.5rem;
    /* Larger font */
    font-weight: 800;
    margin-bottom: 25px;
    line-height: 1.1;
    color: white;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.hero-content h1 span {
    color: white;
}

.hero-content p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    max-width: 500px;
}

/* Floating Mockup */
.hero-image-container img {
    max-width: 100%;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
    animation: float 6s ease-in-out infinite;
}

/* Section General */
.section-padding {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(to right, var(--primary-red), var(--primary-blue));
    margin: 10px auto 0;
    border-radius: 2px;
}

.section-title p {
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
}

/* Services */
/* Services - Grid Style similar to template */
.service-card {
    background: white;
    padding: 30px 20px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    /* Softer shadow */
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    /* Subtle border */
    text-align: center;
    /* Center align like template */
    height: 100%;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-color: transparent;
}

.service-icon {
    font-size: 2.5rem;
    color: var(--primary-blue);
    /* Icon color */
    margin-bottom: 20px;
    background-color: var(--bg-light);
    /* Icon bg circle */
    width: 80px;
    height: 80px;
    line-height: 80px;
    border-radius: 50%;
    margin: 0 auto 20px;
    /* Center icon */
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background-color: var(--primary-blue);
    color: white;
}


/* Specific for Diesel/Red items if needed */
.service-card.diesel:hover {
    border-bottom-color: var(--primary-red);
}

.service-card.diesel .service-icon {
    color: var(--primary-red);
}

.service-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-light);
}

/* About Us */
.about-img {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    max-height: 450px;
}

.about-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.about-img:hover img {
    transform: scale(1.05);
}

/* Executives */
.team-item {
    text-align: center;
    margin-bottom: 30px;
}

.team-img {
    width: 100%;
    max-width: 250px;
    aspect-ratio: 1 / 1;
    border-radius: 15px;
    overflow: hidden;
    margin: 0 auto 20px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}



.team-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.team-info h5 {
    font-weight: 700;
    margin-bottom: 5px;
}

.team-info span {
    color: var(--primary-red);
    font-weight: 500;
    font-size: 0.9rem;
}

/* Clients */
.client-box {
    width: 100%;
    max-width: 250px;
    aspect-ratio: 1 / 1;
    border-radius: 15px;
    overflow: hidden;
    margin: 0 auto;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid #f0f0f0;
}

.client-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 15px;
    filter: grayscale(50%);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.client-box:hover img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

/* Contact */
.contact-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(182, 24, 24, 0.1); /* Matches red accent */
    color: var(--primary-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-right: 20px;
    flex-shrink: 0;
}

.contact-details h5 {
    font-weight: 600;
    margin-bottom: 5px;
}

.contact-details p {
    color: var(--text-light);
    margin: 0;
}

.form-control {
    padding: 15px;
    border-radius: 10px;
    border: 1px solid #eee;
    margin-bottom: 20px;
}

.form-control:focus {
    border-color: var(--primary-red);
    box-shadow: none;
}

.contact-details a {
    color: var(--text-light);
    text-decoration: none;
}

.contact-details a:hover {
    color: var(--primary-red);
}

/* Map */
.map-wrapper {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 2;
}

.map-iframe {
    border: 0;
    width: 100%;
    height: 100%;
    display: block;
}

/* Footer */
footer {
    background-color: #1a1a1a;
    color: white;
    padding: 50px 0 20px;
}

footer h4 {
    color: white;
    font-weight: 700;
    margin-bottom: 25px;
}

footer p {
    color: #999;
}

.footer-bottom {
    border-top: 1px solid #333;
    margin-top: 40px;
    padding-top: 20px;
    text-align: center;
}

/* Floating EV Graphic */
.floating-ev {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}