:root {
    --bg-color: #0268B2;
    /* Logo Blue background */
    --surface-color: #ffffff;
    /* White cards for contrast against blue */
    --surface-hover: #f5f5f5;
    /* Hover state for white */
    --primary-red: #e31837;
    /* Power Plus Logo Red */
    --primary-blue: #0268b2;
    /* Power Plus Logo Blue */
    --text-main: #000000;
    /* Black text for readability on white/light areas */
    --text-inverse: #ffffff;
    /* White text for readability on blue areas */
    --text-muted: #555555;
    /* Dark gray for muted text on cards */
    --font-main: 'Inter', sans-serif;
    --transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    overflow-x: hidden;
    max-width: 100vw;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-inverse);
    /* Default to white text on the main blue bg */
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* Background Animation */
.animation-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    mix-blend-mode: screen;
}

.stagger-visualizer {
    width: 100vw;
    height: 100vh;
    background-image: radial-gradient(rgba(255, 255, 255, 0.4) 2px, transparent 2px);
    background-size: 40px 40px;
    -webkit-mask-image: radial-gradient(circle 300px at var(--mouse-x, 50%) var(--mouse-y, 50%), black, transparent);
    mask-image: radial-gradient(circle 300px at var(--mouse-x, 50%) var(--mouse-y, 50%), black, transparent);
    will-change: mask-position, -webkit-mask-position;
}

/* Main Content Layer */
.content-wrapper {
    position: relative;
    z-index: 10;
}

/* Header */
header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: transparent;
    box-shadow: none;
    border-bottom: 1px solid transparent;
    transition: var(--transition);
}

header.scrolled {
    background: rgba(15, 15, 15, 0.3);
    /* Transparent dark base */
    backdrop-filter: blur(12px);
    /* Frosted glass blur */
    -webkit-backdrop-filter: blur(12px);
    /* Safari support */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.logo img {
    height: 75px;
    object-fit: contain;
    transition: var(--transition);
}

.nav-links {
    display: flex;
    gap: 3rem;
    align-items: center;
}

.nav-links li a {
    font-size: 0.95rem;
    /* slightly larger */
    font-weight: 900;
    /* Extra bold */
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-inverse);
    /* WHITE TEXT in the nav bar */
    transition: var(--transition);
}

.nav-links li a:hover {
    color: var(--text-main);
    /* Hover to black */
}

.cta-btn {
    border: 2px solid var(--text-inverse);
    padding: 0.6rem 1.5rem;
    border-radius: 30px;
    /* Rounded pill shape */
    color: var(--text-inverse) !important;
    background: transparent;
    font-weight: 800;
}

.cta-btn:hover {
    background: var(--text-inverse);
    color: var(--primary-blue) !important;
    transform: scale(1.05);
    /* Premium hover scale */
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    z-index: 1001;
}

.menu-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: var(--text-inverse);
    /* White hamburger menu */
    transition: var(--transition);
}

/* Sections */
.section {
    padding: 8rem 5%;
    max-width: 1200px;
    margin: 0 auto;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.section-header {
    margin-bottom: 5rem;
    opacity: 0;
    transform: translateY(20px);
}

.section-title {
    font-size: 2rem;
    font-weight: 900;
    letter-spacing: 4px;
    color: var(--text-inverse);
    /* White title on blue bg */
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    /* Pop the title */
}

.section-line {
    width: 60px;
    height: 5px;
    background: var(--primary-red);
    border-radius: 2px;
}

/* Hero Section */
.hero {
    align-items: flex-start;
    position: relative;
    width: 100%;
    max-width: 100% !important; /* Defeat any section constraints */
    margin: 0 !important;
    padding: 0 !important; /* Move padding to hero-content */
}

.hero-bg {
    position: absolute;
    top: -10px; /* Cover upper sub-pixel bleed */
    left: 0;
    right: 0;
    width: 100%;
    height: calc(100% + 20px); /* Extend beyond top and bottom */
    background-image: url('https://images.unsplash.com/photo-1509391366360-2e959784a276?q=80&w=1920&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    z-index: -1;
    transition: background-image 1s ease-in-out;
}

.hero-bg video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Very thin and minute blue overlay, just enough to tint it like the older design */
    background: linear-gradient(to right, rgba(2, 104, 178, 0.4) 0%, rgba(2, 104, 178, 0.1) 100%);
}

.hero-content {
    max-width: 800px;
    z-index: 10;
    padding-top: 100px;
    padding-left: 5%; /* Restored horizontal padding */
    padding-right: 5%;
}

.ml11 {
    font-weight: 900;
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1rem;
    letter-spacing: -2px;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.4);
}

.ml11 .text-wrapper {
    position: relative;
    display: inline-block;
    padding-top: 0.1em;
    padding-right: 0.05em;
    padding-bottom: 0.15em;
}

.ml11 .line {
    opacity: 0;
    position: absolute;
    left: 0;
    height: 100%;
    width: 6px;
    background-color: var(--primary-red);
    transform-origin: 0 50%;
}

.ml11 .line1 {
    top: 0;
    left: 0;
}

.hero-subtitle {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-main);
    /* Black text */
    background: #ffffff;
    /* Add white bg for high contrast on black text */
    padding: 0.4rem 1.2rem;
    display: inline-block;
    margin-bottom: 1.5rem;
    opacity: 0;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.hero-text {
    font-size: 1.2rem;
    color: var(--text-inverse);
    /* White text */
    margin-bottom: 3rem;
    max-width: 600px;
    opacity: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
    font-weight: 600;
}

.hero-btn {
    display: inline-block;
    padding: 1rem 3rem;
    background: var(--text-main);
    color: var(--text-inverse);
    font-weight: 900;
    letter-spacing: 2px;
    font-size: 1.1rem;
    transition: var(--transition);
    opacity: 0;
    border-radius: 30px;
    /* Rounded pill shape */
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.4);
    will-change: transform, opacity;
}

.hero-btn:hover {
    background: var(--primary-red);
    color: var(--text-inverse);
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(227, 24, 55, 0.4);
}

.hero-btn:active {
    transform: translateY(-2px) scale(0.98);
    box-shadow: 0 6px 15px rgba(227, 24, 55, 0.4);
}

/* Services */
.services-grid {
    display: grid;
    /* Explicitly use a 2-column grid so 4 items are perfectly symmetrical */
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    /* Increased gap spacing for optimization */
}

/* On smaller tablets/mobile, let the grid stack */
@media (max-width: 900px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.service-card {
    background: var(--surface-color);
    /* White cards */
    border: 1px solid rgba(0, 0, 0, 0.05);
    /* Added slight border */
    transition: var(--transition);
    opacity: 0;
    transform: translateY(20px);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    /* Softened shadow */
}

.service-card:hover {
    background: var(--surface-hover);
    transform: translateY(-10px) !important;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4);
}

.card-image {
    width: 100%;
    height: 240px;
    overflow: hidden;
    position: relative;
}

.card-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.1) 100%);
    pointer-events: none;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.service-card:hover .card-image img {
    transform: scale(1.1);
}

.card-content {
    padding: 2.5rem 2rem;
    /* Adjusted padding */
    border-top: 5px solid var(--primary-red);
}

.service-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: 900;
    color: var(--text-main);
    /* Black title on white card */
}

.service-card p {
    color: var(--text-muted);
    /* Dark gray desc on white card */
    font-size: 1.1rem;
    font-weight: 600;
}

/* About */
.about-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 3rem;
    align-items: stretch;
    background: var(--surface-color);
    /* White background */
    padding: 5rem;
    /* Increased padding */
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    opacity: 0;
    transform: translateY(30px);
}

.about-text p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.8;
    font-weight: 600;
}

.features-list li {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    color: var(--text-main);
    font-weight: 800;
}

.features-list .bullet {
    width: 12px;
    height: 12px;
    background: var(--primary-red);
    display: inline-block;
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 0.4em;
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.stat-item {
    background: var(--bg-color);
    /* Blue background for stat cards */
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    border-radius: 12px;
    transition: var(--transition);
    border: 3px solid transparent;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    border-color: var(--primary-red);
}

.stat-num {
    display: block;
    font-size: 3.2rem;
    font-weight: 900;
    color: var(--text-inverse);
    /* White stats */
    line-height: 1;
    margin-bottom: 0.8rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    font-variant-numeric: tabular-nums;
}

.stat-label {
    display: inline-block;
    font-size: 1rem;
    font-weight: 900;
    letter-spacing: 2px;
    color: var(--text-main);
    background: #ffffff;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    text-transform: uppercase;
    white-space: nowrap;
    /* Prevent breaking into two lines */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Gallery Section */
.gallery-container {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 4/3;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    opacity: 0;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-cta {
    background: var(--surface-color);
    padding: 4rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-left: 10px solid var(--primary-red);
    opacity: 0;
}

.gallery-cta h3 {
    font-size: 2rem;
    font-weight: 900;
    color: var(--text-main);
    margin-bottom: 1rem;
}

.gallery-cta p {
    font-size: 1.2rem;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.drive-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 1.2rem 3rem;
    background: var(--text-main);
    color: var(--text-inverse) !important;
    font-weight: 900;
    letter-spacing: 2px;
    font-size: 1.1rem;
    border-radius: 30px;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.4);
    transition: var(--transition);
}

.drive-btn:hover {
    background: var(--primary-red);
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.6);
}

@media (max-width: 900px) {
    .gallery-cta {
        padding: 3rem 2rem;
    }
}

/* Calculator */
.calc-container {
    background: var(--surface-color);
    padding: 4rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
}

.calc-input-group {
    margin-bottom: 3rem;
}

.calc-input-group label {
    display: block;
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--text-main);
    margin-bottom: 1.5rem;
}

.slider-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary-red);
    margin-bottom: 2rem;
}

input[type="range"] {
    width: 100%;
    max-width: 600px;
    height: 8px;
    background: #e0e0e0;
    border-radius: 5px;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: var(--primary-red);
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(227, 24, 55, 0.4);
    transition: transform 0.2s;
}

input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.calc-results {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.result-card {
    background: var(--bg-color);
    padding: 2rem 1rem;
    border-radius: 12px;
    color: var(--text-inverse);
    transition: var(--transition);
}

.result-card h5 {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.result-card p {
    font-size: 2rem;
    font-weight: 900;
    margin: 0;
}

.result-card.highlight {
    background: var(--primary-red);
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(227, 24, 55, 0.3);
}

.calc-disclaimer {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-style: italic;
    margin-top: 2rem;
}

/* Contact */
.contact-container {
    background: var(--surface-color);
    padding: 5rem;
    /* Increased padding */
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    /* Softer border */
    border-left: 10px solid var(--primary-red);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    /* Softened shadow */
    opacity: 0;
    transform: translateY(30px);
}

.contact-info {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 3rem;
}

.contact-item h4 {
    font-size: 1.1rem;
    font-weight: 900;
    letter-spacing: 2px;
    color: var(--primary-red);
    margin-bottom: 1rem;
}

.contact-item p {
    font-size: clamp(0.6rem, 3.2vw, 1.2rem); /* Aggressively fluidly shrink font to guarantee 37 characters fit strictly on ultra-narrow screens */
    color: var(--text-main);
    font-weight: 700;
    white-space: nowrap; /* Force single line */
}

/* Footer */
footer {
    padding: 4rem 5% 4rem 5%; /* Resized bottom padding */
    background: #014c82;
    /* Slightly darker than main blue for contrast */
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
    margin: 0;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-links-center {
    display: flex;
    gap: 2.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links-center a {
    color: #ffffff;
    font-weight: 800;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
}

.footer-links-center a:hover {
    color: var(--primary-red);
}

.footer-content p {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    opacity: 0.9;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 35px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: var(--transition);
}

.whatsapp-float:hover {
    background-color: #128C7E;
    transform: scale(1.1);
    color: #FFF;
}

/* Custom Language Dropdown */
.language-dropdown {
    background: transparent;
    color: var(--text-inverse);
    border: 2px solid var(--text-inverse);
    padding: 0.5rem 1rem;
    border-radius: 30px;
    font-family: var(--font-main);
    font-weight: 800;
    font-size: 0.85rem;
    text-transform: uppercase;
    cursor: pointer;
    outline: none;
    transition: var(--transition);
    appearance: none;
    -webkit-appearance: none;
}
.language-dropdown:hover {
    background: var(--text-inverse);
    color: var(--primary-blue);
}
.language-dropdown option {
    color: var(--text-main);
}
/* Hide Google Auto-Injected Top Banner and Fix Alignment */
.goog-te-banner-frame,
.goog-te-balloon-frame,
.goog-tooltip,
.goog-tooltip:hover,
#goog-gt-tt,
.skiptranslate,
iframe[name="goog_te_menu_frame"] {
    display: none !important;
    height: 0 !important;
    visibility: hidden !important;
    border: none !important;
    margin: 0 !important;
    padding: 0 !important;
}
body, html {
    top: 0px !important; 
    margin: 0 !important;
    padding: 0 !important;
    position: static !important; /* Defeat translation relative positional shifts */
}

/* Responsive Design */
@media (max-width: 900px) {
    .about-grid {
        grid-template-columns: 1fr;
        padding: 3rem 2rem;
        gap: 2.5rem;
    }

    .contact-container {
        padding: 3rem 1.5rem; /* Maximize usable horizontal space on mobile */
    }

    .contact-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 2rem;
    }

    .ml11 {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        transform: translateX(100%);
        width: 100vw;
        height: 100vh;
        background: rgba(15, 15, 15, 0.98);
        /* Solid dark background */
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0);
    }

    .nav-links.active {
        transform: translateX(0);
    }

    .nav-links li {
        margin: 1.5rem 0;
        opacity: 0;
        transform: translateX(50px);
    }

    .nav-links li a {
        font-size: 1.8rem;
        color: var(--text-inverse);
        /* White text on dark mobile menu */
        transition: transform 0.2s ease;
        display: inline-block;
    }

    .nav-links li a:active {
        transform: scale(0.9);
    }

    .menu-toggle.active .bar {
        background-color: var(--text-inverse);
        /* Turn white when menu is open for contrast */
    }

    .menu-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .section {
        padding: 6rem 5%;
    }

    .hero {
        padding-top: 120px;
    }

    .hero-content {
        padding-top: 0;
    }

    .ml11 {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 1.3rem;
        padding: 0.3rem 0.8rem;
    }

    .hero-text {
        font-size: 1rem;
    }

    .hero-btn {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .about-stats {
        gap: 1rem;
    }

    .stat-item {
        padding: 1.5rem;
    }

    .stat-num {
        font-size: 2.8rem;
    }

    .calc-container {
        padding: 2rem 1.5rem;
    }

    .calc-input-group label {
        font-size: 1.2rem;
    }

    .slider-wrapper {
        font-size: 2.2rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .contact-container {
        padding: 2rem;
        border-left: 5px solid var(--primary-red);
    }

    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 30px;
    }
}

@media (max-width: 480px) {
    .ml11 {
        font-size: 1.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .about-grid {
        padding: 2.5rem 1.5rem;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

    .calc-container {
        padding: 2rem 1.2rem;
    }

    .calc-results {
        grid-template-columns: 1fr;
    }

    .contact-container {
        padding: 2rem 1.5rem;
    }
}