:root {
    --primary: #0ea5e9;
    --primary-dark: #0284c7;
    --secondary: #000000;
    --accent: #f59e0b;
    --bg-light: #f8fafc;
    --surface: #ffffff;
    --glass: rgba(255, 255, 255, 0.85);
    --text-main: #000000;
    --text-muted: #000000;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1);
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --font-main: 'Outfit', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    color: var(--text-main);
    background-color: var(--bg-light);
    line-height: 1.7;
    overflow-x: hidden;
}

/* Typography */
.fw-900 {
    font-weight: 900;
}

.fw-800 {
    font-weight: 800;
}

/* Top Bar */
.top-bar {
    background: var(--secondary);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem;
    padding: 8px 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1060;
    transition: all 0.4s ease;
}

.top-bar span {
    display: inline-flex;
    align-items: center;
}

.top-bar i {
    color: var(--primary);
}

.top-social {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.9rem;
    transition: 0.3s;
}

.top-social:hover {
    color: var(--primary);
}

/* Navbar */
.navbar {
    padding: 0.8rem 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1050;
    top: 36px;
    background: white;
    box-shadow: var(--shadow-sm);
}

.navbar.scrolled {
    padding: 0.5rem 0;
    top: 0;
    background: var(--glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--shadow-lg);
}

/* Logo */
.logo-icon {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo-icon svg {
    transition: transform 0.4s ease;
}

.navbar-brand:hover .logo-icon svg {
    transform: rotate(-10deg) scale(1.05);
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-title {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--secondary);
    letter-spacing: 2px;
}

.logo-subtitle {
    font-size: 0.6rem;
    font-weight: 600;
    color: var(--primary);
    letter-spacing: 3px;
    text-transform: uppercase;
}

/* Nav Links */
.nav-link {
    font-weight: 600;
    color: var(--secondary) !important;
    padding: 0.6rem 1rem !important;
    transition: 0.3s;
    position: relative;
    font-size: 0.95rem;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 70%;
    height: 3px;
    background: var(--primary);
    border-radius: 3px;
    transition: transform 0.3s ease;
}

.nav-link:hover {
    color: var(--primary) !important;
}

.nav-link:hover::after {
    transform: translateX(-50%) scaleX(1);
}

/* Dropdown */
.dropdown-menu-custom {
    border: none;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    padding: 0.75rem 0;
    margin-top: 1rem !important;
    border-top: 3px solid var(--primary);
    animation: dropdownFadeIn 0.3s ease;
}

@keyframes dropdownFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-menu-custom .dropdown-item {
    padding: 0.6rem 1.5rem;
    font-weight: 500;
    transition: 0.3s;
}

.dropdown-menu-custom .dropdown-item:hover {
    background: var(--bg-light);
    padding-left: 2rem;
}

/* CTA Button in Nav */
.nav-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.65rem 1.5rem;
    background: var(--primary);
    color: white !important;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    transition: 0.3s;
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.3);
}

.nav-cta-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(14, 165, 233, 0.5);
    color: white !important;
}

/* Mobile Call Button */
.mobile-call-btn {
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    text-decoration: none;
}

/* Custom Hamburger */
.hamburger {
    width: 28px;
    height: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
}

.hamburger span {
    display: block;
    height: 3px;
    width: 100%;
    background: var(--secondary);
    border-radius: 3px;
    transition: 0.3s;
}

.hamburger span:nth-child(2) {
    width: 70%;
}


/* Slider Section */
.hero-slider {
    width: 100%;
    height: 100vh;
}

.swiper-slide {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transform: scale(1.1);
    transition: transform 6s ease;
}

.swiper-slide-active .slide-bg {
    transform: scale(1);
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.4) 60%, rgba(15, 23, 42, 0) 100%);
}

.slide-content {
    position: relative;
    z-index: 10;
    color: white;
}

.slide-content h1 {
    font-size: clamp(2.5rem, 6vw, 5rem);
    color: white;
    margin-bottom: 1.5rem;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease 0.4s;
}

.slide-content p {
    font-size: 1.25rem;
    max-width: 600px;
    margin-bottom: 2.5rem;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease 0.6s;
}

.slide-content .btn-group-custom {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease 0.8s;
}

.swiper-slide-active .slide-content h1,
.swiper-slide-active .slide-content p,
.swiper-slide-active .slide-content .btn-group-custom {
    opacity: 1;
    transform: translateY(0);
}

/* Swiper Pagination/Nav */
.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: white;
    opacity: 0.5;
    transition: 0.3s;
}

.swiper-pagination-bullet-active {
    opacity: 1;
    width: 30px;
    border-radius: 6px;
    background: var(--primary);
}

.swiper-button-next,
.swiper-button-prev {
    color: white;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border-radius: 50%;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 20px;
    font-weight: bold;
}

/* Stats Section */
.stats-section {
    position: relative;
    z-index: 20;
    margin-top: -60px;
    padding-bottom: 80px;
}

.stats-card {
    background: white;
    padding: 2.5rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    text-align: center;
    border-bottom: 5px solid var(--primary);
}

.stats-card h3 {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.stats-card p {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 0;
}

/* Service Cards */
.card-premium {
    background: white;
    border-radius: var(--radius-xl);
    padding: 3rem 2rem;
    text-align: center;
    transition: all 0.4s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    height: 100%;
}

.card-premium:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary);
}

.icon-circle {
    width: 90px;
    height: 90px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 2.5rem;
    color: var(--primary);
    transition: 0.4s;
}

.card-premium:hover .icon-circle {
    background: var(--primary);
    color: white;
    transform: rotateY(180deg);
}

/* Testimonials */
.testi-slider {
    padding: 60px 0;
}

.testi-card {
    background: var(--surface);
    padding: 3.5rem 2.5rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    position: relative;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(14, 165, 233, 0.05);
    height: 100%;
    margin: 15px;
}

.testi-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 30px 60px -12px rgba(15, 23, 42, 0.12);
    border-color: var(--primary);
}

.testi-card i.quote {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 5rem;
    color: var(--primary);
    opacity: 0.08;
    z-index: 0;
}

.testi-card p {
    font-style: italic;
    position: relative;
    z-index: 1;
    color: var(--text-main);
    font-weight: 500;
    line-height: 1.8;
}

.testi-card .user-info {
    margin-top: 2.5rem;
}

.testi-card .user-name {
    font-weight: 800;
    color: var(--secondary);
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
}

/* Swiper custom for Testimonials */
.testi-slider .swiper-slide {
    height: auto;
}

.testi-slider .swiper-pagination-bullet {
    background: var(--primary);
    width: 10px;
    height: 10px;
}

.testi-slider .swiper-pagination-bullet-active {
    width: 35px;
}

/* Buttons */
.btn-premium {
    padding: 1.2rem 2.8rem;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: 0.4s;
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.btn-primary-custom {
    background: var(--primary);
    color: white;
    border: none;
}

.btn-primary-custom:hover {
    background: var(--primary-dark);
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(14, 165, 233, 0.3);
    color: white;
}

.btn-white {
    background: white;
    color: var(--secondary);
    border: none;
}

.btn-white:hover {
    background: var(--bg-light);
    transform: scale(1.05);
}

/* WhatsApp Fixed */
.whatsapp-fixed {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 65px;
    height: 65px;
    background: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: var(--shadow-xl);
    z-index: 999;
    text-decoration: none;
    transition: 0.4s;
    animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

.whatsapp-fixed:hover {
    transform: scale(1.15);
    color: white;
}

/* Phone Fixed Button */
.phone-fixed {
    position: fixed;
    bottom: 110px;
    right: 30px;
    width: 65px;
    height: 65px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    box-shadow: var(--shadow-xl);
    z-index: 999;
    text-decoration: none;
    transition: 0.4s;
}

.phone-fixed:hover {
    transform: scale(1.15);
    background: var(--primary-dark);
    color: white;
}

/* Scroll to Top */
.scroll-top {
    position: fixed;
    bottom: 190px;
    right: 35px;
    width: 50px;
    height: 50px;
    background: var(--secondary);
    color: white;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    z-index: 999;
    text-decoration: none;
    transition: 0.4s;
    opacity: 0.8;
}

.scroll-top.visible {
    display: flex;
}

.scroll-top:hover {
    opacity: 1;
    transform: translateY(-3px);
    color: white;
}

/* Fade In Animation for scroll */
.fade-in-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Footer */
footer {
    background: var(--secondary);
    color: rgba(255, 255, 255, 0.8);
}

footer h5 {
    color: white;
}

footer a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: 0.3s;
}

footer a:hover {
    color: var(--primary);
}

/* Responsive */
@media (max-width: 768px) {
    .slide-content h1 {
        font-size: 2.2rem;
    }

    .stats-section {
        margin-top: -30px;
    }

    .whatsapp-fixed,
    .phone-fixed {
        width: 55px;
        height: 55px;
        font-size: 24px;
    }

    .phone-fixed {
        bottom: 100px;
    }

    .scroll-top {
        bottom: 170px;
        right: 32px;
        width: 42px;
        height: 42px;
    }

    .btn-premium {
        padding: 0.9rem 1.8rem;
        font-size: 0.85rem;
    }
}

@media (max-width: 576px) {
    .slide-content h1 {
        font-size: 1.8rem;
    }

    .slide-content p {
        font-size: 1rem;
    }

    .btn-group-custom {
        flex-direction: column;
    }

    .btn-group-custom .me-3 {
        margin-right: 0 !important;
        margin-bottom: 10px;
    }
}
/* Premium Service Header */
.service-hero {
    background: linear-gradient(135deg, var(--secondary) 0%, #1e293b 100%);
    padding: 180px 0 120px;
    position: relative;
    overflow: hidden;
    color: white; /* Base color for section */
}

.service-hero h1, .service-hero-bg h1 {
    color: #ffffff !important;
}

.service-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%230ea5e9' fill-opacity='0.1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.2;
}

.service-hero-content {
    position: relative;
    z-index: 2;
}

.feature-point {
    background: white;
    padding: 1.5rem;
    border-radius: 20px;
    border-left: 6px solid var(--primary);
    box-shadow: var(--shadow-md);
    transition: 0.3s;
}

.feature-point:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-lg);
}

.service-img-wrapper {
    position: relative;
    padding: 20px;
}

.service-img-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 80%;
    height: 80%;
    border: 10px solid var(--primary);
    border-radius: 40px;
    z-index: -1;
    opacity: 0.15;
}

.service-icon-bg {
    width: 50px;
    height: 50px;
    background: var(--primary-subtle);
    color: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}
/* Premium Showcase Section */
.image-wrapper-premium {
    position: relative;
    padding: 20px;
}

.main-showcase-img {
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.image-wrapper-premium:hover .main-showcase-img {
    transform: scale(1.02);
}

.glass-badge-premium {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    z-index: 5;
    max-width: 300px;
}

.badge-icon {
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: white;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 10px 15px rgba(14, 165, 233, 0.3);
}

.feature-icon-box {
    width: 60px;
    height: 60px;
    background: white;
    box-shadow: var(--shadow-md);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.4rem;
    flex-shrink: 0;
    transition: 0.4s;
}

.feature-item-premium:hover .feature-icon-box {
    background: var(--primary);
    color: white;
    transform: translateY(-5px) rotate(10deg);
}

.pulse-indicator {
    width: 10px;
    height: 10px;
    background: #10b981;
    border-radius: 50%;
    position: relative;
}

.pulse-indicator::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #10b981;
    border-radius: 50%;
    animation: pulse-ring 1.5s infinite;
}

@keyframes pulse-ring {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(3); opacity: 0; }
}


/* User requested: all grayish text to black - Refined to allow white in dark sections */
.text-secondary, .text-muted { color: #000000 !important; }

/* Headings are black by default but respect .text-white parents */
h1, h2, h3, h4, h5, h6 { 
    color: #000000; 
}

.text-white h1, 
.text-white h2, 
.text-white h3, 
.text-white h4, 
.text-white h5, 
.text-white h6,
.service-hero h1,
.service-hero-bg h1,
.urban-cta-banner h4 {
    color: #ffffff !important;
}

/* Ensure primary emphasis is readable on dark backgrounds */
.text-white .text-primary-emphasis {
    color: var(--primary) !important;
}

/* Extra Mobile Fixes */
@media (max-width: 991px) {
    .urban-img-side-v2 { max-height: 300px; }
    .urban-hub-section { padding: 40px 0 !important; }
    .service-hero, .service-hero-bg { padding: 120px 0 60px !important; }
}

@media (max-width: 768px) {
    .urban-title { font-size: 2rem !important; }
    .urban-glass-card { margin-bottom: 20px; }
    .service-img-wrapper::after { display: none; }
}

@media (max-width: 576px) {
    .urban-flagship-card.compact-version .flagship-inner { padding: 20px !important; }
}
