/* 
   Entity Auto Repair - Premium Theme 
   Colors: Dark Blue/Grey, Cyan Accents, White Text
*/

:root {
    --primary-color: #00adef;
    /* Cyan Blue from logo */
    --secondary-color: #2b2b2b;
    /* Dark Grey */
    --accent-red: #e74c3c;
    /* Red specific for warnings/attention */
    --dark-bg: #0f172a;
    /* Deep matte blue/black */
    --card-bg: #1e293b;
    --text-light: #f8fafc;
    --text-muted: #94a3b8;
    --glass-bg: rgba(15, 23, 42, 0.85);
    --glass-border: rgba(255, 255, 255, 0.1);
    --transition: all 0.3s ease;
    --font-main: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --section-pad: clamp(70px, 8vw, 120px);
    --section-pad-sm: clamp(50px, 8vw, 80px);
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--dark-bg);
    color: var(--text-light);
    line-height: 1.8;
    /* Increased for better readability */
    overflow-x: hidden;
    cursor: url("assets/cursor-wrench.svg") 16 16, auto;
}

a,
button,
input,
textarea,
select,
label,
.clickable {
    cursor: url("assets/cursor-wrench.svg") 16 16, auto;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--dark-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #008cb6;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.review-link,
.review-link-text,
.rate-link {
    color: var(--primary-color);
}

.review-link:hover,
.rate-link:hover {
    text-decoration: underline;
}

.info-bar .location-detail {
    color: var(--primary-color);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Buttons */
/* Hero Buttons (Premium) */
.hero-btns {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
}

.btn-primary {
    background: rgba(30, 41, 59, 0.7);
    /* Dark Glass */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--primary-color);
    border: 1px solid rgba(0, 173, 239, 0.3);
    padding: 15px 40px;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    transition: all 0.4s ease;
    border-radius: 4px;
    /* Slight radius */
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
    background: rgba(0, 173, 239, 0.1);
    border-color: var(--primary-color);
    box-shadow: 0 0 25px rgba(0, 173, 239, 0.4);
    transform: translateY(-2px);
    color: #fff;
    text-shadow: 0 0 10px rgba(0, 173, 239, 0.8);
}

.btn-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.8);
    padding: 15px 40px;
    font-size: 1.1rem;
    /* Slightly larger for numbers */
    font-weight: 600;
    letter-spacing: 1px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #fff;
    color: var(--dark-bg);
    border-color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.btn-link {
    background: transparent;
    color: var(--primary-color);
    padding: 0;
    text-transform: none;
    font-size: 1.1rem;
    font-weight: 500;
}

.btn-link:hover {
    margin-left: 10px;
    text-shadow: 0 0 10px rgba(0, 173, 239, 0.5);
}

/* Header */
#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
    transition: var(--transition);
}

#header.scrolled {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    padding: 10px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    background: rgba(30, 41, 59, 0.6);
    /* Darker background for better contrast */
    backdrop-filter: blur(10px);
    /* Blur effect */
    -webkit-backdrop-filter: blur(10px);
    border-radius: 15px;
    /* Rounded corners */
    padding: 5px 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo img {
    height: 70px;
    /* Adjust based on actual logo ratio */
}

#navbar ul {
    display: flex;
    gap: 30px;
    align-items: center;
}

#navbar a {
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding-bottom: 5px;
}

#navbar a.active,
#navbar a:hover {
    color: var(--primary-color);
}

#navbar a.active::after {
    width: 100%;
}

#navbar a.btn-primary {
    padding: 12px 30px;
    /* Ensure uniform padding */
    padding-bottom: 12px !important;
    /* Force bottom symmetry */
    border-bottom: 1px solid rgba(0, 173, 239, 0.3);
    /* Ensure border matches top/sides */
}

#navbar a:not(.btn-primary)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

#navbar a:not(.btn-primary):hover::after {
    width: 100%;
}

.mobile-menu-icon {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #fff;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: url('assets/hero 1.png') no-repeat center center/cover;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(15, 23, 42, 0.7), rgba(15, 23, 42, 0.4));
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 980px;
    width: 100%;
    padding: 0 20px;
}

.hero h1 {
    font-size: clamp(2rem, 3.6vw + 0.9rem, 3.4rem);
    /* Larger hero title */
    font-weight: 800;
    margin-bottom: 25px;
    line-height: 1.1;
    text-transform: uppercase;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.hero .highlight {
    color: var(--primary-color);
    white-space: nowrap;
    display: inline-block;
    font-size: clamp(1.6rem, 3.6vw + 0.6rem, 3.4rem);
}

.hero-subline {
    display: inline-block;
    white-space: nowrap;
    font-size: clamp(1.3rem, 3vw + 0.4rem, 2.8rem);
}

@media (max-width: 600px) {
    .hero {
        background-size: cover;
        background-position: center;
    }

    .hero h1 {
        font-size: clamp(1.7rem, 5.2vw + 0.6rem, 2.6rem);
    }

    .hero .highlight,
    .hero-subline {
        white-space: normal;
    }

    .hero-btns a {
        display: inline-flex;
        justify-content: center;
        width: 100%;
        max-width: 320px;
    }

    .btn-primary {
        letter-spacing: 2px;
    }
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: #e2e8f0;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translate(-50%, 0);
    }

    40% {
        transform: translate(-50%, -10px);
    }

    60% {
        transform: translate(-50%, -5px);
    }
}

/* Info Bar */
.info-bar {
    background: var(--secondary-color);
    padding: 40px 0;
    margin-top: -50px;
    position: relative;
    z-index: 10;
    border-top: 4px solid var(--primary-color);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.info-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.info-item h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.info-item p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Sections General */
section {
    padding: var(--section-pad) 0;
    scroll-margin-top: 90px;
}

.sub-heading {
    color: var(--primary-color);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 10px;
    display: block;
}

.title-accent {
    color: var(--primary-color);
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 50px;
}

.text-center {
    text-align: center;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.exp-badge {
    position: absolute;
    bottom: 30px;
    right: 30px;
    background: var(--primary-color);
    padding: 15px 25px;
    border-radius: 5px;
    text-align: center;
    font-weight: bold;
    box-shadow: 0 10px 20px rgba(0, 173, 239, 0.3);
}

.exp-badge span {
    display: block;
    font-size: 1.5rem;
    line-height: 1;
}

.exp-badge small {
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

.exp-badge.rate-badge {
    background: var(--primary-color);
    border: none;
    color: #fff;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.about-text p {
    color: var(--text-muted);
    margin-bottom: 30px;
}

.check-list li {
    margin-bottom: 15px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
}

.check-list i {
    color: var(--primary-color);
}

/* Services Section */
.services-section {
    background-color: #162032;
    /* Slightly lighter than body bg */
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 30px;
}

@media (max-width: 1200px) and (min-width: 901px) {
    .services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.service-card {
    background: var(--card-bg);
    padding: 40px 30px;
    border-radius: 10px;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border-color: var(--primary-color);
}

.icon-box {
    width: 60px;
    height: 60px;
    background: rgba(0, 173, 239, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    color: var(--primary-color);
    font-size: 1.5rem;
    transition: var(--transition);
}

.service-card:hover .icon-box {
    background: var(--primary-color);
    color: #fff;
    transform: rotateY(360deg);
}

.service-card h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    /* Making the form significantly larger as requested */
    gap: 60px;
    align-items: stretch;
    /* Ensures columns have the same height */
}

.contact-info {
    display: block;
    /* Ensures parallel alignment balance */
}

/* Contact Cards (Premium) */
.contact-cards-grid {
    display: grid;
    gap: 20px;
}

.contact-card {
    background: var(--card-bg);
    padding: 25px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    gap: 20px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 3px;
    background: var(--primary-color);
    opacity: 0.5;
    transition: var(--transition);
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-color: rgba(0, 173, 239, 0.3);
}

.contact-card:hover::before {
    opacity: 1;
    width: 6px;
}

.contact-card i {
    font-size: 1.8rem;
    color: var(--primary-color);
    background: rgba(0, 173, 239, 0.1);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.contact-card .icon-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-card:hover i {
    background: var(--primary-color);
    color: #fff;
    transform: rotate(10deg);
}

.contact-card h4 {
    margin-bottom: 5px;
    font-size: 1.1rem;
    color: #fff;
}

.contact-card p,
.contact-card a {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.4;
}

.contact-card a:hover {
    color: var(--primary-color);
}

.working-hours {
    background: var(--card-bg);
    padding: 20px;
    border-radius: 5px;
    border-left: 4px solid var(--primary-color);
    margin-top: 30px;
}

.time-zone {
    color: var(--primary-color);
    font-weight: 700;
}

.map-wrapper {
    height: 100%;
    min-height: 400px;
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid var(--card-bg);
}

/* Footer */
/* Footer (Premium Redesign) */
/* Footer (Premium Redesign) */
footer {
    background: radial-gradient(circle at top right, #1e293b 0%, #02040a 100%);
    padding: 100px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.95rem;
    position: relative;
    overflow: hidden;
}

/* Subtle texture overlay */
footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(#1e293b 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.1;
    pointer-events: none;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    /* 4 Columns */
    gap: 40px;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.footer-logo-container {
    width: fit-content;
    margin-bottom: 25px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    padding: 10px 25px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.footer-logo-container:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.footer-logo {
    height: 70px;
    /* Increased size */
    max-width: none;
}

.brand-col p {
    color: var(--text-muted);
    margin-bottom: 25px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 70px;
    height: 70px;
    font-size: 1.6rem;
    background: transparent;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    border-radius: 50%;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
    position: relative;
    padding: 0 !important;
    margin: 0 !important;
}

@media (max-width: 900px) {
    .social-links a {
        width: 65px;
        height: 65px;
        font-size: 1.5rem;
    }
}

@media (max-width: 600px) {
    .social-links a {
        width: 60px;
        height: 60px;
        font-size: 1.4rem;
    }
}

@media (max-width: 400px) {
    .social-links a {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
}

.social-links a i {
    font-size: inherit;
    line-height: 1 !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    justify-content: center;
    align-items: center;
    width: auto !important;
    height: auto !important;
    transform: none !important;
    transition: color 0.3s ease;
}

/* Brand Colors - Initial State */
.social-links a.fb i {
    color: #1877f2;
}

.social-links a.email i {
    color: #0078d4;
}

.social-links a.goo i {
    color: #DB4437;
}

.social-links a.wa i {
    color: #25d366;
}

/* Interactions */
.social-links a:hover {
    transform: scale(1.15) translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.social-links a:hover i {
    color: #fff !important;
}

.social-links a.fb:hover {
    background: #1877f2;
    box-shadow: 0 10px 25px rgba(24, 119, 242, 0.4);
}

.social-links a.email:hover {
    background: #0078d4;
    box-shadow: 0 10px 25px rgba(0, 120, 212, 0.4);
}

.social-links a.goo:hover {
    background: #DB4437;
    box-shadow: 0 10px 25px rgba(219, 68, 55, 0.4);
}

.social-links a.wa:hover {
    background: #25d366;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
}

.footer-col h4 {
    margin-bottom: 30px;
    font-size: 1.1rem;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    position: relative;
    display: inline-block;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary-color);
}

.footer-col ul li {
    margin-bottom: 15px;
}

.footer-col a {
    color: var(--text-muted);
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-col a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.footer-bottom {
    padding: 25px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: #64748b;
    font-size: 0.9rem;
    background: #02040a;
    position: relative;
    z-index: 1;
}

.footer-bottom p {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin: 0;
}

.footer-bottom img {
    transition: transform 0.3s ease;
}

.footer-bottom img:hover {
    transform: scale(1.1);
}

/* Newsletter Styles */
.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.newsletter-form input {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 5px;
    color: #fff;
    outline: none;
    transition: all 0.3s ease;
}

.newsletter-form input:focus {
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.1);
}

.newsletter-form button {
    background: var(--primary-color);
    color: #fff;
    border: none;
    padding: 15px;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.newsletter-form button:hover {
    background: #0090c5;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 173, 239, 0.3);
}

/* WhatsApp Float (Redesigned) */
.whatsapp-float {
    position: fixed;
    width: 70px;
    height: 70px;
    bottom: 40px;
    left: 40px;
    background: linear-gradient(135deg, #25d366 0%, #128C7E 100%);
    color: #FFF;
    border-radius: 50%;
    text-align: center;
    font-size: 35px;
    box-shadow: 0 4px 25px rgba(37, 211, 102, 0.5);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1) rotate(15deg);
    box-shadow: 0 10px 35px rgba(37, 211, 102, 0.7);
}

.whatsapp-float::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid #25d366;
    animation: pulse-border 2s infinite;
}

@keyframes pulse-border {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

@media (min-width: 1201px) {
    .hero {
        background-image: url('assets/hero 1.png');
        background-position: center center;
        /* Standard Desktop View */
    }
}

@media (max-width: 1200px) and (min-width: 901px) {
    .hero {
        height: 100vh;
        min-height: 100vh;
        background-image: url('assets/hero 1.png');
        background-position: center center;
        background-repeat: no-repeat;
        /* Optimized Tablet View */
        background-size: cover;
    }
}

@media (max-width: 1200px) and (orientation: portrait) {
    .hero {
        background-image: url('assets/hero 2.png');
    }
}

@media (max-width: 900px) {
    body {
        overflow-x: hidden;
    }

    .hero {
        height: 100vh;
        min-height: 100vh;
        background-attachment: scroll;
        background-image: url('assets/hero 2.png');
        background-position: center center;
        /* High-Impact Mobile View */
        background-repeat: no-repeat;
        background-size: cover;
    }

    .hero h1 {
        line-height: 1.1;
    }

    .hero p {
        font-size: 1.1rem;
        padding: 0 15px;
    }

    .hero p br {
        display: none;
    }

    .logo img {
        height: 50px;
        /* Smaller logo for mobile */
    }

    .info-grid,
    .about-grid,
    .contact-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .info-grid {
        gap: 20px;
    }

    .about-grid,
    .contact-container {
        gap: 35px;
    }

    section {
        padding: var(--section-pad-sm) 0;
        /* Reduced mobile padding */
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .footer-logo-container {
        margin: 0 auto 25px;
        /* Center footer logo */
    }

    .social-links {
        justify-content: center;
        /* Center social icons */
    }

    .footer-col h4::after {
        left: 50%;
        transform: translateX(-50%);
        /* Center the decorative line */
    }

    .footer-bottom p {
        display: flex;
        flex-direction: column;
        gap: 15px;
        text-align: center;
        align-items: center;
    }

    .footer-bottom p span {
        display: none;
        /* Hide divider on mobile */
    }

    .footer-bottom a {
        display: flex;
        justify-content: center;
        margin-top: 5px;
    }

    .info-bar {
        margin-top: 0;
    }

    .mobile-menu-icon {
        display: block;
    }

    #navbar {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(15, 23, 42, 0.95);
        backdrop-filter: blur(25px);
        -webkit-backdrop-filter: blur(25px);
        display: flex;
        justify-content: center;
        align-items: center;
        transform: translateX(100%);
        transition: transform 0.6s cubic-bezier(0.77, 0, 0.175, 1);
        z-index: 999;
        padding: 0;
        box-shadow: none;
    }

    #navbar.active {
        transform: translateX(0);
    }

    #navbar ul {
        flex-direction: column;
        gap: 35px;
        text-align: center;
    }

    #navbar ul li {
        opacity: 0;
        transform: translateY(20px);
        transition: all 0.4s ease;
    }

    #navbar.active ul li {
        opacity: 1;
        transform: translateY(0);
    }

    /* Staggered link reveal */
    #navbar.active ul li:nth-child(1) {
        transition-delay: 0.2s;
    }

    #navbar.active ul li:nth-child(2) {
        transition-delay: 0.3s;
    }

    #navbar.active ul li:nth-child(3) {
        transition-delay: 0.4s;
    }

    #navbar.active ul li:nth-child(4) {
        transition-delay: 0.5s;
    }

    #navbar.active ul li:nth-child(5) {
        transition-delay: 0.6s;
    }

    #navbar a {
        font-size: 1.8rem;
        font-weight: 700;
        letter-spacing: 2px;
        text-transform: uppercase;
    }

    #navbar a.btn-primary {
        margin-top: 20px;
        font-size: 1.2rem;
    }

    .mobile-menu-icon {
        display: block;
        z-index: 1001;
        position: relative;
    }

    .hero-btns {
        display: flex;
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }

    .btn-secondary {
        margin-left: 0;
    }

    .whatsapp-float {
        left: 20px;
        bottom: 20px;
    }

    .stats-row {
        flex-direction: column;
        gap: 30px;
        text-align: center;
        align-items: center;
    }
}

/* Quality Section */
.quality-section {
    background: linear-gradient(rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.9)), url('assets/mechanic.png');
    background-attachment: fixed;
    /* Parallax Effect */
    background-size: cover;
    background-position: center;
    padding: 100px 0;
    overflow: hidden;
    position: relative;
}

.quality-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.quality-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.quality-text p {
    color: var(--text-muted);
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.stats-row {
    display: flex;
    gap: 50px;
    margin-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
}

.stat h3 {
    font-size: 2.5rem;
    color: var(--primary-color);
    font-weight: 800;
}

.stat p {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
}

a.stat {
    color: inherit;
    text-decoration: none;
}

.quality-image img {
    border-radius: 10px;
    box-shadow: -20px 20px 0 rgba(0, 173, 239, 0.1);
    transition: var(--transition);
}

.quality-image:hover img {
    transform: scale(1.02);
}

@media (max-width: 900px) {
    .quality-section {
        background-attachment: scroll;
        /* Fix for mobile */
        padding: 60px 0;
    }

    .quality-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .quality-image {
        order: -1;
    }
}

/* Preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}

.preloader-content {
    text-align: center;
}

#preloader img {
    width: 550px;
    max-width: 80%;
    margin: 0 auto 30px;
    /* Dead center alignment */
    display: block;
    animation: pulse 2s infinite;
}

@media (max-width: 900px) {
    #preloader img {
        width: 300px;
        margin-left: auto;
        margin-right: auto;
    }
}

#preloader h2 {
    color: var(--dark-bg);
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 1s ease-out forwards 0.5s;
}

.loaded #preloader {
    opacity: 0;
    visibility: hidden;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Ultimate Premium Upgrades --- */

/* Custom Blurred Cursor */

/* Thick Glassmorphism Upgrade */
.hero-btns .btn-primary,
.service-card,
.contact-card,
.footer-logo-container {
    background: rgba(30, 41, 59, 0.6) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3) !important;
}

/* Section Reveal Fixes */
[data-aos] {
    transition-duration: 1000ms !important;
}

/* --- Top-Line Luxury Refinements --- */
::selection {
    background: var(--primary-color);
    color: #fff;
}

/* Ambient Energy Orbs */
body::before,
body::after {
    content: '';
    position: fixed;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 173, 239, 0.15) 0%, transparent 70%);
    z-index: -1;
    pointer-events: none;
    filter: blur(80px);
    animation: orbFloat 20s infinite alternate ease-in-out;
}

body::before {
    top: -100px;
    left: -100px;
}

body::after {
    bottom: -100px;
    right: -100px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
    animation-delay: -10s;
}

@keyframes orbFloat {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(100px, 100px) scale(1.2);
    }
}

/* Futuristic HUD Card Brackets */
.service-card,
.contact-card {
    position: relative;
    overflow: hidden;
}

.service-card::before,
.service-card::after,
.contact-card::before,
.contact-card::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border-color: var(--primary-color);
    border-style: solid;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 2;
}

/* Top Left */
.service-card::before,
.contact-card::before {
    top: 0;
    left: 0;
    border-width: 2px 0 0 2px;
    transform: translate(-10px, -10px);
}

/* Bottom Right */
.service-card::after,
.contact-card::after {
    bottom: 0;
    right: 0;
    border-width: 0 2px 2px 0;
    transform: translate(10px, 10px);
}

.service-card:hover::before,
.contact-card:hover::before,
.service-card:hover::after,
.contact-card:hover::after {
    opacity: 1;
    transform: translate(15px, 15px);
}

.service-card:hover::after,
.contact-card:hover::after {
    transform: translate(-15px, -15px);
}

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(to right, var(--primary-color), #fff);
    z-index: 10001;
    box-shadow: 0 0 10px var(--primary-color);
    transition: width 0.1s ease;
}

.service-card,
.contact-card {
    will-change: transform;
    transition: transform 0.4s ease;
}

.service-card:hover::before,
.contact-card:hover::before {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: skewX(-25deg);
    animation: luxuryGlint 1.2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    z-index: 2;
    pointer-events: none;
}

@keyframes luxuryGlint {
    0% {
        left: -150%;
    }

    100% {
        left: 150%;
    }
}

/* Digital Diagnostic Reveal */
.hero h1 {
    position: relative;
    overflow: hidden;
    clip-path: polygon(0 0, 0 0, 0 100%, 0% 100%);
    animation: digitalReveal 1.2s cubic-bezier(0.77, 0, 0.175, 1) forwards;
    animation-delay: 0.8s;
}

@keyframes digitalReveal {
    0% {
        clip-path: polygon(0 0, 0 0, 0 100%, 0% 100%);
    }

    100% {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }
}

.hero h1::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 2px;
    height: 100%;
    background: var(--primary-color);
    box-shadow: 0 0 15px var(--primary-color);
    animation: scanLine 1.2s cubic-bezier(0.77, 0, 0.175, 1) forwards;
    animation-delay: 0.8s;
}

@keyframes scanLine {
    0% {
        left: 0;
        opacity: 1;
    }

    100% {
        left: 100%;
        opacity: 0;
    }
}

/* Button & Card Micro-Interactions */
.btn-primary,
.whatsapp-float {
    transition: transform 0.1s ease-out, background 0.3s ease, box-shadow 0.3s ease !important;
}

.mesh-gradient {
    transition: transform 0.2s ease-out;
}

.hero-content {
    transition: transform 0.15s ease-out;
}

/* --- Premium Contact Form --- */
.premium-form {
    background: rgba(30, 41, 59, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    width: 100%;
    /* Match width of its container column */
    height: 100%;
    /* Match height of the column for perfect symmetry */
}

.form-header {
    margin-bottom: 30px;
}

.form-header h3 {
    margin-top: 0;
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.form-header p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.input-group.full-width {
    grid-column: span 2;
}

.input-group label {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-light);
}

.input-group input,
.input-group textarea {
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px 15px;
    border-radius: 8px;
    color: #fff;
    font-size: 1rem;
    transition: var(--transition);
}

.input-group input:focus,
.input-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(15, 23, 42, 0.8);
    box-shadow: 0 0 15px rgba(0, 173, 239, 0.2);
}

.form-submit {
    width: 100%;
    justify-content: center;
    padding: 15px;
    font-size: 1.1rem;
    margin-top: 10px;
}

@media (max-width: 600px) {
    .form-grid {
        grid-template-columns: 1fr;
    }

    .input-group.full-width {
        grid-column: span 1;
    }
}

/* --- Google Reviews Section --- */
.reviews-section {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--dark-bg) 0%, #0a0f1a 100%);
    position: relative;
    overflow: hidden;
}

.google-rating {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    padding: 15px 30px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.google-logo {
    height: 20px;
}

.google-rating .stars {
    color: #fbbc04;
    font-size: 1.2rem;
}

.google-rating span {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.review-card {
    background: rgba(30, 41, 59, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 20px;
    transition: var(--transition);
    position: relative;
}

.review-card:hover {
    transform: translateY(-10px);
    background: rgba(30, 41, 59, 0.6);
    border-color: var(--primary-color);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.review-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.user-info {
    display: flex;
    gap: 15px;
    align-items: center;
}

.user-info img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
}

.user-info h4 {
    color: var(--text-light);
    margin-bottom: 2px;
}

.user-info small {
    color: var(--text-muted);
    font-size: 0.8rem;
}

.gmap-icon {
    height: 20px;
}

.review-card .stars {
    color: #fbbc04;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.review-card p {
    color: #e2e8f0;
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 20px;
}

.review-card small {
    color: var(--text-muted);
    font-size: 0.8rem;
    display: block;
}

.mt-40 {
    margin-top: 40px;
}

@media (max-width: 900px) {
    .footer-content {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        text-align: left;
    }

    .footer-col.brand-col,
    .footer-col.newsletter-col {
        grid-column: 1 / -1;
        text-align: center;
    }

    .footer-col.links-col,
    .footer-col.services-col {
        text-align: left;
    }

    .footer-col.links-col h4::after,
    .footer-col.services-col h4::after {
        left: 0;
        transform: none;
    }
}

@media (max-width: 600px) {
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-col.links-col,
    .footer-col.services-col {
        text-align: center;
    }

    .footer-col.links-col h4::after,
    .footer-col.services-col h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
}
