@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Outfit:wght@400;600;700;800&display=swap');

:root {
    /* Professional Slate Palette - Refined Contrast */
    --primary-dark: #0F172A;
    --second-dark: #1E293B;
    --text-light: #F8FAFC;
    --text-muted: #CBD5E1;
    /* Optimized for visibility on dark backgrounds */
    --accent-color: #38BDF8;
    --accent-hover: #0EA5E9;
    --border-glass: rgba(255, 255, 255, 0.08);
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* Background Utilities */
.bg-black {
    background-color: #000000 !important;
}

.bg-slate {
    background-color: var(--primary-dark) !important;
}

.bg-slate-light {
    background-color: var(--second-dark) !important;
}

body {
    background-color: var(--primary-dark);
    color: var(--text-light);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: #FFFFFF;
}

/* Spacer Utilities */
.py-100 {
    padding-top: 100px;
    padding-bottom: 100px;
}

.pt-150 {
    padding-top: 15rem;
}

@media (max-width: 768px) {
    .py-100 {
        padding-top: 60px;
        padding-bottom: 60px;
    }

    .pt-150 {
        padding-top: 8rem;
    }
}

/* Navbar */
.navbar {
    padding: 1.2rem 0;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.904);
    z-index: 1050;
}

.navbar.scrolled {
    padding: 0.8rem 0;
    background: rgba(255, 255, 255, 0.678);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-glass);
}

.logo {
    height: 40px;
    /* adjust this value (30px–50px best) */
    width: auto;
}

/* .navbar-brand {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--text-light) !important;
} */

.nav-link {
    color: #000000 !important;
    text-transform: uppercase;
    font-weight: 700;
    margin: 0 0.8rem;
    /* Corrected spacing */
    transition: var(--transition);
    /* opacity: 0.85; */
    font-size: 1rem;
}

.nav-link:hover,
.nav-link.active {
    opacity: 1;
    color: var(--accent-color) !important;
}

/* Hamburger Icon Visibility */
.navbar-toggler {
    border: none;
    padding: 0.5rem;
    /* background-color: #ffffff42 !important; */
    background-color: #38BDF8 !important;
}

.navbar-toggler-icon {
    filter: invert(1) !important;
    opacity: 1 !important;
}

/* Buttons - Resized Proportionally */
.btn-cta {
    background: var(--accent-color);
    color: #0F172A !important;
    padding: 0.7rem 1.8rem;
    /* Further refined for professionalism */
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: var(--transition);
    border: none;
    font-size: 0.82rem;
    box-shadow: 0 10px 20px rgba(56, 189, 248, 0.15);
}

.btn-cta:hover {
    background: #FFFFFF;
    color: var(--primary-dark) !important;
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(255, 255, 255, 0.2);
}

.btn-outline-light {
    border-color: rgba(255, 255, 255, 0.3);
    padding: 0.75rem 2.2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    font-size: 0.85rem;
}

.btn-outline-light:hover {
    background: white;
    color: black !important;
    border-color: white;
}

/* Hero Section Refinements */
.hero-slider {
    height: 100vh;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.hero-slider .carousel-item {
    height: 100vh;
    min-height: 500px;
    background-size: cover;
    background-position: center;
}

.hero-slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.3) 100%);
    z-index: 1;
}

.hero-slide-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
}

.hero h1 {
    font-size: clamp(2.5rem, 8vw, 4.8rem);
    line-height: 1;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.google-review-card {
    background: #000000;
    border-radius: 12px;
    padding: 24px;
    text-align: left;
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.247);
    color: #ffffff;
    max-width: 600px;
    margin: 0 auto;
}

.google-review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
    color: #ffffff;
}

.google-review-user {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #ffffff;
}

.google-user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #0F9D58;
    /* Google Green */
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
}

.google-user-info .name {
    font-weight: 600;
    color: #ffffff;
    font-size: 15px;
    margin-bottom: 2px;
}

.google-user-info .time {
    color: #ffffff;
    font-size: 12px;
}

.google-stars {
    color: #FBBC04;
    /* Google Yellow */
    font-size: 14px;
    margin-bottom: 12px;
    letter-spacing: 2px;
}

.google-review-text {
    color: #ffffff;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 0;
}

.google-logo img {
    /*height: 24px;*/
     width:100%;
}

.form-control {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
    color: white;
    padding: 0.8rem 1.2rem;
    border-radius: 8px;
}

.form-control:focus {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--accent-color);
    color: white;
    box-shadow: none;
}

.form-label {
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
    .google-review-card {
        padding: 16px;
    }
}

.service-img {
    height: 500px;
    object-fit: cover;
}

@media (max-width: 768px) {
    .service-img {
        height: 300px;
    }
}

/* Visibility Fixes for Dark Theme */
.text-muted,
.footer-section p,
.card-premium p,
.process-step p {
    color: var(--text-muted) !important;
}

.lead {
    color: #F1F5F9;
}

/* Cards & Spacing */
.card-premium {
    background: var(--second-dark);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    padding: 3rem 2.5rem;
    height: 100%;
    transition: var(--transition);
}

.card-premium:hover {
    transform: translateY(-10px);
    border-color: var(--accent-color);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}

.card-icon {
    width: 65px;
    height: 65px;
    background: rgba(56, 189, 248, 0.1);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    color: var(--accent-color);
    font-size: 1.6rem;
    transition: var(--transition);
}

.card-premium:hover .card-icon {
    background: var(--accent-color);
    color: var(--primary-dark);
}

/* Footer Separation Fix */
footer {
    margin-top: 8rem;
    padding: 5rem 0 3rem;
    border-top: 1px solid var(--border-glass);
}

@media (max-width: 768px) {
    footer {
        margin-top: 4rem;
        padding: 3rem 0;
    }
}

.footer-link {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
    display: inline-block;
}

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

/* Responsiveness Fixes */
@media (max-width: 991px) {
    .navbar-collapse {
        background: white;
        margin-top: 1rem;
        padding: 2rem;
        border-radius: 15px;
        border: 1px solid var(--border-glass);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
    }

    .nav-link {
        margin: 0.8rem 0;
        font-size: 1.1rem;
    }

    .hero h1 {
        font-size: 2.8rem;
    }
}

/* Overflow & Image Safety */
.img-fluid,
img {
    max-width: 100%;
    height: auto;
}

.overflow-hidden {
    overflow: hidden !important;
}

/* Animations Content Safety */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s cubic-bezier(0.165, 0.84, 0.44, 1), transform 1s cubic-bezier(0.165, 0.84, 0.44, 1);
    will-change: opacity, transform;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #FFF !important;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0px 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    text-decoration: none;
}

.whatsapp-float:hover {
    background-color: #128C7E;
    transform: translateY(-5px);
    box-shadow: 0px 6px 25px rgba(18, 140, 126, 0.6);
}

@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 26px;
    }
}