/* 
   Project: Metro Cool Air - AC Rental & Services 
   Theme: Premium Corporate Blue & Orange
   Author: AI Assistant
*/

:root {
    --primary-color: #003087;
    --primary-dark: #002266;
    --accent-color: #FF6200;
    --accent-hover: #e55800;
    --text-dark: #0a2540;
    --text-light: #505f79;
    --white: #ffffff;
    --light-bg: #f8faff;
    --gradient-blue: linear-gradient(135deg, #003087 0%, #001a4d 100%);
    --gradient-light: linear-gradient(135deg, #f0f8ff 0%, #e6f0fa 100%);
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 30px rgba(0, 48, 135, 0.1);
    --shadow-hover: 0 20px 40px rgba(0, 48, 135, 0.2);
    --radius-sm: 8px;
    --radius-md: 16px;
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* Animations Base */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    font-weight: 600;
    line-height: 1.3;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Typography */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 80px 0;
}

.text-center {
    text-align: center;
}

.heading-xl {
    font-size: 3.5rem;
    /* 56px */
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.heading-lg {
    font-size: 2.5rem;
    /* 40px */
    font-weight: 600;
    margin-bottom: 15px;
}

.subtext {
    font-size: 1.125rem;
    /* 18px */
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto 40px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.9rem;
    border: none;
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(255, 98, 0, 0.3);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(255, 98, 0, 0.4), 0 0 0 4px rgba(255, 98, 0, 0.1);
}

.btn-secondary {
    background-color: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background-color: transparent;
    color: var(--white);
    transform: translateY(-2px);
}

.btn-outline {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 20px 0;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 15px 0;
    box-shadow: var(--shadow-md);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo i {
    color: var(--accent-color);
}

.nav-menu {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-link {
    font-weight: 500;
    color: var(--text-dark);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--accent-color);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link.active {
    color: var(--primary-color);
}

.hamburger {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--primary-color);
}

/* Hero Section - Redesigned */
.hero {
    min-height: 100vh;
    padding-top: 120px;
    padding-bottom: 80px;
    background: linear-gradient(135deg, #f0fbff 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    max-width: 600px;
    z-index: 2;
}

.hero-badge {
    display: inline-block;
    background: rgba(0, 48, 135, 0.1);
    color: var(--primary-color);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 25px;
}

.hero-badge i {
    color: #ffb400;
    margin-right: 5px;
}

.heading-xl {
    font-size: 3.5rem;
    line-height: 1.2;
    color: var(--text-dark);
    margin-bottom: 25px;
}

.text-highlight {
    color: var(--primary-color);
    position: relative;
    z-index: 1;
}

.text-highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 12px;
    background: rgba(255, 98, 0, 0.15);
    z-index: -1;
    border-radius: 4px;
}

.hero .subtext {
    font-size: 1.15rem;
    color: var(--text-light);
    margin-bottom: 40px;
}

.hero-btns {
    display: flex;
    gap: 20px;
    margin-bottom: 50px;
}

.btn-outline-dark {
    border: 2px solid var(--text-dark);
    color: var(--text-dark);
    font-weight: 600;
    background: transparent;
}

.btn-outline-dark:hover {
    background: var(--text-dark);
    color: white;
}

.hero-trust {
    display: flex;
    align-items: center;
    gap: 30px;
}

.hero-trust .separator {
    width: 1px;
    height: 40px;
    background: #ddd;
}

.hero-trust strong {
    display: block;
    font-size: 1.5rem;
    color: var(--text-dark);
    line-height: 1;
}

.hero-trust span {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Hero Image & Floating Elements */
.hero-image-container {
    position: relative;
    z-index: 1;
}

.hero-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 48, 135, 0.05) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    z-index: -1;
}

.hero-main-img {
    width: 100%;
    border-radius: 20px;
    /* box-shadow: 0 20px 50px rgba(0,0,0,0.1); */
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform 0.5s ease;
}

.hero-container:hover .hero-main-img {
    transform: perspective(1000px) rotateY(0deg);
}

.float-badge {
    position: absolute;
    background: rgba(255, 255, 255, 0.7);
    padding: 15px 20px;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0, 48, 135, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    gap: 15px;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    animation: float 4s ease-in-out infinite;
    max-width: 200px;
}

.badge-1 {
    top: 10%;
    left: -30px;
    animation-delay: 0s;
}

.badge-2 {
    bottom: 15%;
    right: -20px;
    animation-delay: 2s;
}

.badge-icon {
    width: 40px;
    height: 40px;
    background: #fff4e5;
    color: #ff9800;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.float-badge strong {
    display: block;
    font-size: 0.95rem;
    color: var(--text-dark);
}

.float-badge span {
    font-size: 0.8rem;
    color: var(--text-light);
}

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

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

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

/* Responsive Hero */
@media (max-width: 991px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 50px;
    }

    .hero-content {
        margin: 0 auto;
    }

    .hero-btns {
        justify-content: center;
    }

    .hero-trust {
        justify-content: center;
    }

    .hero-main-img {
        transform: none;
        max-width: 80%;
        margin: 0 auto;
    }

    .badge-1 {
        left: 0;
    }

    .badge-2 {
        right: 0;
    }
}

@media (max-width: 576px) {
    .heading-xl {
        font-size: 2.5rem;
    }

    .hero-main-img {
        max-width: 100%;
    }

    .float-badge {
        padding: 10px 15px;
    }
}

/* Services Preview */
.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border-bottom: 4px solid transparent;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-hover);
    border-bottom-color: var(--accent-color);
}

.service-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 25px;
    display: inline-block;
    padding: 20px;
    background: var(--light-bg);
    border-radius: 50%;
    transition: var(--transition);
}

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

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

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

/* Why Choose Us */
.features-section {
    background: var(--gradient-light);
}

.feature-box {
    display: flex;
    gap: 20px;
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: rgba(0, 48, 135, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.5rem;
}

.feature-text h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.feature-text p {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Testimonials */
.testimonial-card {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    text-align: center;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.testimonial-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 20px;
    border: 3px solid var(--accent-color);
}

.stars {
    color: #ffb400;
    margin-bottom: 15px;
}

.quote-icon {
    font-size: 2rem;
    color: rgba(0, 48, 135, 0.1);
    position: absolute;
    top: 20px;
    left: 20px;
}

/* CTA Banner */
.cta-banner {
    background: var(--gradient-blue);
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}

.cta-banner h2 {
    color: var(--white);
    margin-bottom: 20px;
}

/* Gallery Preview */
.gallery-strip {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 20px 0;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    /* Firefox */
}

.gallery-strip::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari */
}

.gallery-item {
    min-width: 300px;
    height: 250px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    scroll-snap-align: center;
    position: relative;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

/* Footer */
footer {
    background-color: #051b2e;
    color: rgba(255, 255, 255, 0.7);
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-brand h2 {
    color: var(--white);
    margin-bottom: 20px;
}

.footer-title {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 25px;
    font-weight: 600;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--accent-color);
    color: var(--white);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
}

/* Contact Page Specific */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    padding: 50px;
    margin-top: -50px;
    /* Slight overlap with hero if used */
    position: relative;
    z-index: 10;
}

.form-group {
    margin-bottom: 20px;
}

.form-control {
    width: 100%;
    padding: 15px;
    border: 1px solid #e0e0e0;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 48, 135, 0.1);
}

.contact-info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--light-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* Mobile Responsive */
@media (max-width: 991px) {
    .heading-xl {
        font-size: 2.8rem;
    }

    .hero-content {
        text-align: center;
        margin: 0 auto;
    }

    .hero-btns {
        justify-content: center;
    }

    .hamburger {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 40px 0;
        box-shadow: var(--shadow-md);
        transition: var(--transition);
    }

    .nav-menu.active {
        left: 0;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        padding: 30px;
    }
}

@media (max-width: 576px) {
    .heading-xl {
        font-size: 2.2rem;
    }

    .heading-lg {
        font-size: 1.8rem;
    }

    .btn {
        padding: 12px 24px;
        font-size: 0.8rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero-btns {
        flex-direction: column;
    }

    /* Stack buttons on mobile */
    .btn {
        width: 100%;
        text-align: center;
    }
}

/* Utilities */
.float-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: var(--transition);
    animation: pulse 2s infinite;
}

.float-whatsapp:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.5);
    animation: none;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Inner Page Hero Styles */
.page-hero {
    padding: 140px 0 80px;
    background: linear-gradient(135deg, #f8faff 0%, #eef6fc 100%);
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 48, 135, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.page-hero::after {
    content: '';
    position: absolute;
    bottom: -30px;
    left: -30px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 98, 0, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.page-hero .container {
    position: relative;
    z-index: 1;
}

.breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: white;
    padding: 8px 16px;
    border-radius: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 25px;
    font-size: 0.85rem;
    color: var(--text-light);
}

.breadcrumb a {
    color: var(--primary-color);
    font-weight: 600;
}

.breadcrumb i {
    font-size: 0.7rem;
    color: #ccc;
}

/* Split Hero for Inner Pages */
.hero-split {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero-visual {
    position: relative;
}

.hero-visual img {
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 48, 135, 0.1);
    transform: rotate(2deg);
    transition: transform 0.5s ease;
}

.hero-visual:hover img {
    transform: rotate(0deg) scale(1.02);
}

.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.7);
    padding: 15px 25px;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    display: flex;
    align-items: center;
    gap: 15px;
    bottom: 30px;
    left: -20px;
    animation: float 5s ease-in-out infinite;
}

.floating-card i {
    font-size: 1.5rem;
    color: var(--accent-color);
}

.floating-card p {
    margin: 0;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.2;
}

.floating-card span {
    font-size: 0.8rem;
    color: var(--text-light);
    font-weight: 400;
}

/* Responsive */
@media (max-width: 991px) {
    .hero-split {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-visual {
        margin-top: 30px;
        max-width: 80%;
        margin-left: auto;
        margin-right: auto;
    }

    .breadcrumb {
        margin: 0 auto 20px;
    }

    .floating-card {
        left: 50%;
        transform: translateX(-50%);
        bottom: -20px;
        width: 80%;
        justify-content: center;
    }
}