:root {
    --primary: #f6a623;
    --dark: #0d2947;
    --dark2: #12365b;
    --light: #f8f7fc;
    --text: #252a34;
}

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

body {
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
    background: #fff;
    line-height: 1.6;
    overflow-x: hidden;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
}

.nav {
    max-width: 1180px;
    margin: auto;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
}

.brand-logo {
    height: 48px;
    width: auto;
    max-width: 260px;
    object-fit: contain;
    display: block;
}

/* Footer logo adjustment */
.footer-logo img {
    height: 46px;
    width: auto;
    display: block;
}

nav {
    display: flex;
    gap: 25px;
}

nav a {
    color: #14253a;
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    transition: 0.25s;
}

nav a:hover {
    color: var(--primary);
}

.menu {
    display: none;
    color: #14253a;
    font-size: 26px;
    cursor: pointer;
    background: none;
    border: none;
}

/* Hero Section / Banner */
.hero {
    height: 100vh;
    min-height: 550px;
    position: relative;
    overflow: hidden;
    background: #111;
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.7s ease-in-out;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}

.slide.active {
    opacity: 1;
}

.slide:before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 1;
}

.s1 {
    background-image: url("../image/banner-1.jpeg");
}

.s2 {
    background-image: url("../image/banner-2.jpg");
}

.s3 {
    background-image: url("../image/banner-3.webp");
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1180px;
    width: 100%;
    margin: auto;
    padding: 0 20px;
    color: #fff;
}

.badge {
    display: inline-block;
    background: var(--primary);
    color: #111;
    padding: 6px 14px;
    border-radius: 30px;
    font-weight: 800;
    font-size: 12px;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.hero h1 {
    font-size: clamp(32px, 5vw, 64px);
    line-height: 1.1;
    max-width: 720px;
    margin-bottom: 15px;
}

.hero p {
    font-size: clamp(15px, 2vw, 18px);
    max-width: 590px;
    color: #e9e9e9;
    margin-bottom: 24px;
}

.btn-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.btn {
    display: inline-block;
    padding: 12px 22px;
    border-radius: 7px;
    text-decoration: none;
    font-weight: 800;
    font-size: 14px;
    transition: 0.25s;
    text-align: center;
}

.btn-primary {
    background: var(--primary);
    color: #111;
}

.btn-outline {
    border: 1px solid #fff;
    color: #fff;
}

.btn:hover {
    transform: translateY(-2px);
}

.dots {
    position: absolute;
    z-index: 5;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #aaa;
    cursor: pointer;
}

.dot.active {
    background: var(--primary);
}

/* Sections General */
section {
    padding: 70px 20px;
}

.container {
    max-width: 1180px;
    margin: auto;
}

.section-head {
    text-align: center;
    margin-bottom: 40px;
}

.section-head .mini {
    color: #d99400;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 12px;
}

.section-head h2 {
    font-size: clamp(28px, 4vw, 38px);
    margin: 6px 0 10px;
    color: var(--dark);
}

.section-head p {
    max-width: 650px;
    margin: auto;
    color: #69707d;
    font-size: 15px;
}

/* About Section */
.about {
    background: var(--light);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-img {
    min-height: 350px;
    border-radius: 16px;
    background-image: url("https://images.unsplash.com/photo-1621905251189-08b45d6a269e?auto=format&fit=crop&w=1000&q=85");
    background-size: cover;
    background-position: center;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.about h3 {
    font-size: clamp(24px, 3vw, 32px);
    color: var(--dark);
    margin-bottom: 12px;
}

.about p {
    color: #626975;
    margin-bottom: 16px;
    font-size: 15px;
}

.checks {
    display: grid;
    gap: 10px;
    margin-top: 15px;
}

.checks div {
    font-weight: 700;
    font-size: 14px;
}

.checks span {
    color: #e29b00;
    margin-right: 8px;
}

/* Services Section - 4 Columns */
/* Service Grid - 7 cards responsive arrangement */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

/* Specific Card Background Images */
.rent-service {
    background-image: url("../image/ac-on-rent.jpeg");
}

.ac-repair {
    background-image: url("../image/ac-repair-maintenance.png");
}

.ac-install {
    background-image: url("../image/ac-installation-setup.jpg");
}

.split-window {
    background-image: url("../image/split-ac-window-ac-service.jpg");
}

.geyser {
    background-image: url("../image/geyser-services.jpg");
}

.diwali-light {
    background-image: url("../image/chimney-festive-lights.jpg");
}

.ac-solutions {
    background-image: url("../image/banner-1.jpeg");
}

.chimney {
    background-image: url("../image/kitchen-chimney-service.jpeg");
}

.card {
    border: 1px solid #eceef1;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 6px 25px rgba(20, 25, 35, 0.05);
    transition: 0.3s;
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(20, 25, 35, 0.1);
}

.card-img {
    height: 160px;
    background-size: cover;
    background-position: center;
}


.card-body {
    padding: 18px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.icon {
    font-size: 24px;
    margin-bottom: 6px;
}

.card h3 {
    font-size: 17px;
    margin-bottom: 6px;
    color: var(--dark);
}

.card p {
    color: #69707d;
    font-size: 13px;
    margin-bottom: 12px;
}

.card ul {
    list-style: none;
    margin-top: auto;
    font-size: 12px;
    color: #444;
    border-top: 1px solid #f0f0f0;
    padding-top: 8px;
}

.card ul li {
    padding: 2px 0;
}

/* Why Choose Us Section */
.why {
    background: #f8f7fc;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.why-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 16px;
    padding: 25px 18px;
    text-align: center;
    box-shadow: 0 6px 20px rgba(20, 35, 55, 0.04);
    transition: 0.25s;
}

.why-card:hover {
    transform: translateY(-4px);
}

.why-card.featured {
    border-color: #f0ad35;
}

.why-icon {
    font-size: 36px;
    color: var(--primary);
    font-weight: 800;
    line-height: 1;
    margin-bottom: 14px;
}

.why-card h3 {
    font-size: 18px;
    color: #172338;
    margin-bottom: 8px;
}

.why-card p {
    color: #555b66;
    font-size: 14px;
}

/* Contact Section */
.contact {
    background: var(--dark);
    color: #fff;
}

.contact .section-head h2 {
    color: #fff;
}

.contact .section-head p {
    color: #b9bec7;
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 30px;
}

.contact-info {
    background: var(--dark2);
    padding: 30px;
    border-radius: 16px;
}

.contact-info h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.info {
    padding: 12px 0;
    border-bottom: 1px solid #2b303a;
    font-size: 14px;
}

.info:last-child {
    border: 0;
}

.info b {
    display: block;
    color: var(--primary);
    margin-bottom: 2px;
}

.form {
    background: #fff;
    padding: 30px;
    border-radius: 16px;
    display: grid;
    gap: 12px;
}

.form input,
.form textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #ddd;
    border-radius: 7px;
    font: inherit;
    font-size: 14px;
    outline: none;
}

.form input:focus,
.form textarea:focus {
    border-color: var(--primary);
}

.form textarea {
    height: 110px;
    resize: vertical;
}

/* Footer */
footer {
    background: #0b2948;
    color: #aeb3bc;
    padding: 40px 20px;
}

.footer-grid {
    max-width: 1180px;
    margin: auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 30px;
}

.footer-logo {
    color: #fff;
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 10px;
}

.footer-logo span {
    color: var(--primary);
}

footer h4 {
    color: #fff;
    margin-bottom: 10px;
    font-size: 16px;
}

footer a {
    display: block;
    color: #aeb3bc;
    text-decoration: none;
    margin: 4px 0;
    font-size: 14px;
}

footer a:hover {
    color: var(--primary);
}

.copyright {
    background: #050608;
    color: #777;
    text-align: center;
    padding: 12px 20px;
    font-size: 12px;
}

/* Floating Buttons */
.floating-actions {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 1100;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.floating-actions a {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #fff;
    font-size: 24px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.floating-actions .wa {
    background: #20c968;
}

.floating-actions .call {
    background: var(--primary);
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
    .service-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #fff;
        padding: 20px;
        flex-direction: column;
        gap: 12px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    }

    .menu {
        display: block;
    }

    nav.open {
        display: flex;
    }

    .about-grid,
    .contact-grid,
    .footer-grid,
    .service-grid,
    .why-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: 500px;
    }

    section {
        padding: 50px 18px;
    }
}

/* Header Fix: Prevent content overlap */
main {
    padding-top: 76px; /* Header height offset */
}

/* Service Grid: 4 columns on desktop, 2 on tablet, 1 on mobile */
.service-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

@media (max-width: 1024px) {
    .service-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .service-grid {
        grid-template-columns: 1fr;
    }
}

/* Google Map Container Styling */
.map-container {
    margin-top: 40px;
    width: 100%;
    height: 350px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    background: #12365b; /* Fallback color before map loads */
}

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

@media (max-width: 768px) {
    .map-container {
        height: 250px;
        margin-top: 30px;
    }
}