/* 
 * ShinePro Car Wash & Detailing - Premium Stylesheet
 * Custom CSS with Premium, Modern, Luxury Automotive Aesthetics
 */

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

:root {
    --primary: #0D6EFD;
    --secondary: #00C2FF;
    --accent: #06B6D4;
    --dark-bg: #0F172A;
    --dark-card: #1E293B;
    --light-bg: #F8FAFC;
    --text-dark: #1E293B;
    --text-muted: #64748B;
    --white: #FFFFFF;
    --glass-bg: rgba(15, 23, 42, 0.7);
    --glass-border: rgba(255, 255, 255, 0.08);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --shadow-premium: 0 10px 30px -10px rgba(15, 23, 42, 0.3);
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    --gradient-accent: linear-gradient(135deg, var(--secondary) 0%, var(--accent) 100%);
    --gradient-dark: linear-gradient(180deg, #0F172A 0%, #020617 100%);
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

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

body.dark-theme {
    background-color: var(--dark-bg);
    color: var(--white);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
}

/* Scroll Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background: var(--gradient-primary);
    z-index: 9999;
    width: 0%;
}

/* Preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--dark-bg);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(0, 194, 255, 0.1);
    border-top: 4px solid var(--secondary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    position: relative;
}

.spinner::after {
    content: '';
    position: absolute;
    top: 6px;
    left: 6px;
    right: 6px;
    bottom: 6px;
    border: 4px solid rgba(13, 110, 253, 0.1);
    border-top: 4px solid var(--primary);
    border-radius: 50%;
    animation: spin-reverse 1.5s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes spin-reverse {
    0% { transform: rotate(360deg); }
    100% { transform: rotate(0deg); }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--dark-bg);
}
::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 5px;
    border: 2px solid var(--dark-bg);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--secondary);
}

/* Typography & Visual Accents */
.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gradient-accent {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Glassmorphism Classes */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
}

/* Premium Buttons */
.btn-premium {
    font-family: var(--font-heading);
    font-weight: 600;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    color: var(--white);
    background: var(--gradient-primary);
    border: none;
    transition: var(--transition);
    position: relative;
    z-index: 1;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 15px rgba(13, 110, 253, 0.3);
    text-decoration: none !important;
}

.btn-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-accent);
    z-index: -1;
    opacity: 0;
    transition: var(--transition);
}

.btn-premium:hover::before {
    opacity: 1;
}

.btn-premium:hover {
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 194, 255, 0.4);
    text-decoration: none !important;
}

.btn-premium-outline {
    font-family: var(--font-heading);
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    color: var(--white);
    background: transparent;
    border: 2px solid var(--secondary);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none !important;
}

.btn-premium-outline:hover {
    background: var(--gradient-primary);
    border-color: transparent;
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(13, 110, 253, 0.3);
    text-decoration: none !important;
}

/* Header & Sticky Glassmorphism Navbar */
.navbar-custom {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.2rem 0;
    transition: var(--transition);
}

.navbar-custom.scrolled {
    padding: 0.6rem 0;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.navbar-custom .navbar-brand {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.navbar-custom .navbar-brand span {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.navbar-custom .nav-link {
    font-family: var(--font-heading);
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    margin: 0 0.8rem;
    transition: var(--transition);
    position: relative;
}

.navbar-custom .nav-link:hover,
.navbar-custom .nav-link.active {
    color: var(--secondary);
}

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

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

.navbar-toggler-custom {
    border: none;
    background: transparent;
    color: var(--white);
    font-size: 1.5rem;
    outline: none;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-color: var(--dark-bg);
    overflow: hidden;
    padding-top: 100px;
}

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

.hero-bg-media, .hero-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: var(--white);
    text-align: center;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    opacity: 0.8;
}

.scroll-indicator i {
    animation: bounce 2s infinite;
    display: block;
    font-size: 1.2rem;
    margin-top: 5px;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* Redesigned Statistics Section */
.stats-section {
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.4) 0%, rgba(15, 23, 42, 0.8) 100%), var(--dark-bg);
    padding: 6rem 0;
    position: relative;
    z-index: 5;
    border-bottom: 1px solid var(--glass-border);
}

.stat-card {
    background: rgba(30, 41, 59, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.stat-card:hover {
    transform: translateY(-8px);
    background: rgba(30, 41, 59, 0.65);
    border-color: rgba(0, 194, 255, 0.25);
    box-shadow: 0 20px 40px rgba(0, 194, 255, 0.08);
}

.stat-icon-wrap {
    width: 70px;
    height: 70px;
    background: rgba(0, 194, 255, 0.08);
    border: 1px solid rgba(0, 194, 255, 0.15);
    border-radius: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    flex-shrink: 0;
    transition: var(--transition);
}

.stat-card:hover .stat-icon-wrap {
    background: var(--gradient-primary);
    border-color: transparent;
}
.stat-card:hover .stat-icon-wrap i {
    background: none;
    -webkit-text-fill-color: var(--white);
    color: var(--white);
}

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.4rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 0.25rem;
    color: var(--white);
    transition: var(--transition);
}

.stat-label {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
}

/* Light Theme overrides for stats-section */
body:not(.dark-theme) .stats-section {
    background: linear-gradient(180deg, #F8FAFC 0%, #E2E8F0 100%) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

body:not(.dark-theme) .stat-card {
    background: var(--white) !important;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04) !important;
}

body:not(.dark-theme) .stat-card:hover {
    background: var(--white) !important;
    border-color: rgba(13, 110, 253, 0.2) !important;
    box-shadow: 0 20px 40px rgba(13, 110, 253, 0.06) !important;
}

body:not(.dark-theme) .stat-icon-wrap {
    background: rgba(13, 110, 253, 0.05) !important;
    border: 1px solid rgba(13, 110, 253, 0.1) !important;
}

body:not(.dark-theme) .stat-number {
    color: var(--text-dark) !important;
}

body:not(.dark-theme) .stat-label {
    color: var(--text-muted) !important;
}

/* Service Cards Custom */
.service-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-premium);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card-img {
    height: 240px;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
}

.service-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.service-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--gradient-primary);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

.service-card-body {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-card-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.service-price {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary);
    margin-top: auto;
    margin-bottom: 1.5rem;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.15);
}

/* Dark Theme Specific Card Customization */
.dark-theme .service-card {
    background: var(--dark-card);
    border-color: var(--glass-border);
    color: var(--white);
}

.dark-theme .service-card .service-price {
    color: var(--secondary);
}

/* Why Choose Us & Process */
.process-step {
    text-align: center;
    position: relative;
}

.process-icon-wrap {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 1.5rem;
    color: var(--white);
    font-size: 2rem;
    box-shadow: 0 10px 20px rgba(13, 110, 253, 0.2);
    position: relative;
    z-index: 2;
}

.process-step-number {
    position: absolute;
    top: 0;
    right: 0;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--accent);
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 700;
    display: flex;
    justify-content: center;
    align-items: center;
}

.process-step::after {
    content: '';
    position: absolute;
    top: 45px;
    left: 50%;
    width: 100%;
    height: 2px;
    background: var(--glass-border);
    z-index: 1;
}

.process-step:last-child::after {
    display: none;
}

/* Before/After Comparison Slider */
.before-after-wrapper {
    position: relative;
    width: 100%;
    max-width: 800px;
    height: 450px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: var(--shadow-premium);
}

.before-after-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.before-after-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.image-before {
    z-index: 2;
    width: 50%;
}

.image-after {
    z-index: 1;
}

.slider-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 4px;
    background: var(--white);
    z-index: 3;
    cursor: ew-resize;
    transform: translateX(-50%);
}

.slider-handle-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--white);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: 2px solid var(--white);
}

/* Pricing Cards */
.pricing-card {
    background: var(--white);
    border-radius: 24px;
    padding: 3rem 2rem;
    box-shadow: var(--shadow-premium);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.pricing-card.popular {
    border: 2px solid var(--primary);
}

.pricing-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--gradient-primary);
    color: var(--white);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 50px;
}

.pricing-price {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--text-dark);
    margin: 1.5rem 0;
}

.pricing-price span {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-muted);
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
    flex-grow: 1;
}

.pricing-features li {
    padding: 0.6rem 0;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.pricing-features li i {
    color: var(--secondary);
}

.pricing-features li.disabled {
    color: var(--text-muted);
    text-decoration: line-through;
    opacity: 0.5;
}

.pricing-features li.disabled i {
    color: var(--text-muted);
}

.dark-theme .pricing-card {
    background: var(--dark-card);
    border-color: var(--glass-border);
    color: var(--white);
}

.dark-theme .pricing-card.popular {
    border-color: var(--secondary);
}

.dark-theme .pricing-price {
    color: var(--white);
}

.pricing-card:hover {
    transform: scale(1.03);
}

/* Floating Actions */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--white);
    font-size: 2rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition);
}

.floating-whatsapp:hover {
    transform: scale(1.1);
    color: var(--white);
}

.back-to-top {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--white);
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(13, 110, 253, 0.3);
    z-index: 998;
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
    border: none;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    color: var(--white);
}

/* Testimonials / Swiper */
.testimonial-swiper {
    padding-bottom: 3rem;
}

.testimonial-card {
    background: var(--white);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: var(--shadow-premium);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.dark-theme .testimonial-card {
    background: var(--dark-card);
    border-color: var(--glass-border);
    color: var(--white);
}

.star-rating {
    color: #FFC107;
    margin-bottom: 1rem;
}

.testimonial-user {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.testimonial-user img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--secondary);
}

/* Blog Cards */
.blog-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-premium);
    border: 1px solid rgba(0, 0, 0, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-10px);
}

.blog-img {
    height: 220px;
    overflow: hidden;
}

.blog-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.blog-meta {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.blog-body {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.dark-theme .blog-card {
    background: var(--dark-card);
    border-color: var(--glass-border);
    color: var(--white);
}

/* Gallery Masonry & Hover */
.gallery-grid {
    column-count: 3;
    column-gap: 1.5rem;
}

.gallery-item {
    break-inside: avoid;
    margin-bottom: 1.5rem;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-premium);
}

.gallery-item img, .gallery-item video {
    width: 100%;
    display: block;
    transition: var(--transition);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.85);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: var(--transition);
    color: var(--white);
    padding: 1.5rem;
    text-align: center;
    z-index: 2;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

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

/* Timeline Layout (About Us) */
.timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 6px;
    background-color: var(--primary);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -3px;
    border-radius: 10px;
}

.timeline-container {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
}

.timeline-container::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 25px;
    right: -17px;
    background-color: var(--dark-bg);
    border: 4px solid var(--secondary);
    top: 15px;
    border-radius: 50%;
    z-index: 1;
}

.left {
    left: 0;
}

.right {
    left: 50%;
}

.right::after {
    left: -16px;
}

.timeline-content {
    padding: 2rem;
    background-color: var(--white);
    position: relative;
    border-radius: 16px;
    box-shadow: var(--shadow-premium);
}

.dark-theme .timeline-content {
    background-color: var(--dark-card);
    color: var(--white);
}

/* Page Headers */
.page-header {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.8) 100%), url('https://images.unsplash.com/photo-1607860108855-64acf2078ed9?auto=format&fit=crop&q=80&w=1920') center center / cover no-repeat;
    padding: 150px 0 80px;
    color: var(--white);
    text-align: center;
    border-bottom: 1px solid var(--glass-border);
}

/* Footer styles */
.footer-main {
    background-color: #090D1A;
    color: rgba(255, 255, 255, 0.7);
    padding: 5rem 0 2rem;
    border-top: 1px solid var(--glass-border);
}

.footer-main h5 {
    color: var(--white);
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.footer-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    margin-bottom: 0.8rem;
}

.footer-link::before {
    content: "\f105";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    margin-right: 8px;
    color: var(--secondary);
    font-size: 0.8rem;
    transition: var(--transition);
    display: inline-block;
}

.footer-link:hover {
    color: var(--secondary);
    transform: translateX(5px);
}

.footer-link:hover::before {
    color: var(--white);
}

/* Media Queries for Responsiveness */
@media screen and (max-width: 991.98px) {
    .navbar-custom {
        background: rgba(15, 23, 42, 0.95);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        border-bottom: 1px solid var(--glass-border);
    }
    
    .process-step::after {
        display: none;
    }
    
    .timeline::after {
        left: 31px;
    }
    
    .timeline-container {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }
    
    .timeline-container::after {
        left: 15px;
    }
    
    .right {
        left: 0%;
    }
    
    .gallery-grid {
        column-count: 2;
    }
}

@media screen and (max-width: 991.98px) {

    .stat-card {
        padding: 1.25rem 0.75rem;
        gap: 0.75rem;
        flex-direction: column;
        justify-content: center;
        text-align: center;
    }
    
    .stat-info {
        align-items: center;
        width: 100%;
    }
    
    .stat-icon-wrap {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
        margin: 0 auto;
    }

    .stat-number {
        font-size: 1.75rem;
        word-break: break-word;
    }
    
    .stat-label {
        font-size: 0.85rem;
        white-space: normal;
    }
}

@media screen and (max-width: 575.98px) {
    .gallery-grid {
        column-count: 1;
    }
    
    .before-after-wrapper {
        height: 300px;
    }
    
    .stat-card {
        padding: 1rem 0.25rem;
        gap: 0.5rem;
    }
    
    .stat-icon-wrap {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }

    .stat-number {
        font-size: 1.35rem;
    }
    
    .stat-label {
        font-size: 0.7rem;
    }
}

/* ===== Social Icon Buttons (Footer) ===== */
.social-icon-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.14);
    display: inline-flex;
    justify-content: center;
    align-items: center;
    color: var(--white);
    font-size: 1rem;
    text-decoration: none;
    transition: var(--transition);
    flex-shrink: 0;
}

.social-icon-btn:hover {
    background: var(--gradient-primary);
    border-color: transparent;
    color: var(--white);
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(13, 110, 253, 0.35);
}

.social-icon-btn.fb:hover  { background: #1877F2; border-color: #1877F2; }
.social-icon-btn.ig:hover  { background: linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); border-color: transparent; }
.social-icon-btn.yt:hover  { background: #FF0000; border-color: #FF0000; }
.social-icon-btn.tw:hover  { background: #000; border-color: #000; }
.social-icon-btn.li:hover  { background: #0A66C2; border-color: #0A66C2; }
.social-icon-btn.wa:hover  { background: #25D366; border-color: #25D366; }

/* Animated Play Button for Video Section */
.play-btn-pulse {
    width: 84px;
    height: 84px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    color: white;
    animation: playPulse 2.2s ease-in-out infinite;
    cursor: pointer;
    flex-shrink: 0;
}

@keyframes playPulse {
    0%   { box-shadow: 0 0 0 0 rgba(13,110,253,.6), 0 0 0 0 rgba(0,194,255,.3); }
    60%  { box-shadow: 0 0 0 22px rgba(13,110,253,0), 0 0 0 44px rgba(0,194,255,0); }
    100% { box-shadow: 0 0 0 0 rgba(13,110,253,0), 0 0 0 0 rgba(0,194,255,0); }
}

/* Video Placeholder */
.video-placeholder-wrap {
    background: var(--dark-card);
    border: 2px dashed rgba(0, 194, 255, 0.3);
    border-radius: 20px;
    height: 380px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--white);
    text-align: center;
    gap: 1rem;
}

/* ==========================================
   THEME TOGGLE BUTTON STYLES
   ========================================== */
.theme-toggle-btn {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1.1rem;
    outline: none;
    margin: 0 0.8rem;
    padding: 0;
}
.theme-toggle-btn:hover {
    background: var(--gradient-primary);
    border-color: transparent;
    color: var(--white);
    transform: scale(1.08);
    box-shadow: 0 4px 15px rgba(13, 110, 253, 0.35);
}

/* ==========================================
   LIGHT THEME OVERRIDES
   ========================================== */
body:not(.dark-theme) {
    background-color: var(--light-bg);
    color: var(--text-dark);
    transition: background-color 0.4s ease, color 0.4s ease;
}

/* Typographic adaptions in Light Mode */
body:not(.dark-theme) h1,
body:not(.dark-theme) h2,
body:not(.dark-theme) h3,
body:not(.dark-theme) h4,
body:not(.dark-theme) h5,
body:not(.dark-theme) h6,
body:not(.dark-theme) .text-white {
    color: var(--text-dark) !important;
}

body:not(.dark-theme) p,
body:not(.dark-theme) .text-light,
body:not(.dark-theme) .text-light.text-opacity-50,
body:not(.dark-theme) .text-light.text-opacity-60,
body:not(.dark-theme) .text-light.text-opacity-70,
body:not(.dark-theme) .text-light.text-opacity-80,
body:not(.dark-theme) .text-light.text-opacity-90 {
    color: var(--text-dark) !important;
    opacity: 0.8;
}

/* Navbar Adaptations */
body:not(.dark-theme) .navbar-custom {
    background: transparent;
}
body:not(.dark-theme) .navbar-custom.scrolled {
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}
body:not(.dark-theme) .navbar-custom .navbar-brand {
    color: var(--text-dark);
}
body:not(.dark-theme) .navbar-custom .nav-link {
    color: rgba(30, 41, 59, 0.85);
}
body:not(.dark-theme) .navbar-custom .nav-link:hover,
body:not(.dark-theme) .navbar-custom .nav-link.active {
    color: var(--primary);
}
body:not(.dark-theme) .navbar-toggler-custom {
    color: var(--text-dark);
}
body:not(.dark-theme) .theme-toggle-btn {
    background: rgba(15, 23, 42, 0.05);
    border: 1px solid rgba(15, 23, 42, 0.1);
    color: var(--text-dark);
}

/* Mobile Offcanvas Menu (Light Theme) */
body:not(.dark-theme) .offcanvas {
    background-color: var(--white) !important;
    border-left: 1px solid rgba(0, 0, 0, 0.08);
}
body:not(.dark-theme) .offcanvas-header {
    border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
}
body:not(.dark-theme) .offcanvas-title {
    color: var(--text-dark) !important;
}
body:not(.dark-theme) .offcanvas .nav-link {
    color: var(--text-dark) !important;
}
body:not(.dark-theme) .btn-close-white {
    filter: invert(1);
}

/* Hero Section Adaptation */
body:not(.dark-theme) .hero-section {
    background-color: #F8FAFC;
}
body:not(.dark-theme) .hero-overlay {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.82) 0%, rgba(255, 255, 255, 0.4) 100%);
}
body:not(.dark-theme) .hero-content {
    color: var(--text-dark);
}
body:not(.dark-theme) .scroll-indicator {
    color: var(--text-dark);
}

/* Page Headers Adaptation */
body:not(.dark-theme) .page-header {
    background: linear-gradient(135deg, rgba(248, 250, 252, 0.82) 0%, rgba(248, 250, 252, 0.5) 100%), url('https://images.unsplash.com/photo-1607860108855-64acf2078ed9?auto=format&fit=crop&q=80&w=1920') center center / cover no-repeat;
    color: var(--text-dark);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
body:not(.dark-theme) .breadcrumb-item.active {
    color: var(--text-dark) !important;
}


/* Cards (Services, Pricing, Testimonials, Blog) Adaptation */
body:not(.dark-theme) .service-card,
body:not(.dark-theme) .pricing-card,
body:not(.dark-theme) .testimonial-card,
body:not(.dark-theme) .blog-card {
    background: var(--white) !important;
    border: 1px solid rgba(0, 0, 0, 0.06) !important;
    box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.08) !important;
}
body:not(.dark-theme) .service-card:hover,
body:not(.dark-theme) .pricing-card:hover,
body:not(.dark-theme) .testimonial-card:hover,
body:not(.dark-theme) .blog-card:hover {
    box-shadow: 0 20px 45px -10px rgba(15, 23, 42, 0.12) !important;
}

body:not(.dark-theme) .pricing-price {
    color: var(--text-dark) !important;
}
body:not(.dark-theme) .pricing-price span {
    color: var(--text-muted) !important;
}
body:not(.dark-theme) .pricing-card.popular {
    border: 2px solid var(--primary) !important;
}
body:not(.dark-theme) .testimonial-user h5 {
    color: var(--text-dark) !important;
}

/* Sections backgrounds */
body:not(.dark-theme) section[style*="background-color: var(--dark-bg);"],
body:not(.dark-theme) section[style*="background-color: var(--dark-card);"],
body:not(.dark-theme) section[style*="background-color: var(--dark-bg)"],
body:not(.dark-theme) section[style*="background-color: var(--dark-card)"] {
    background-color: var(--light-bg) !important;
}
body:not(.dark-theme) section:nth-of-type(even) {
    background-color: var(--white) !important;
}

/* Timeline (About Us) */
body:not(.dark-theme) .timeline-content {
    background-color: var(--white) !important;
    border: 1px solid rgba(0, 0, 0, 0.06);
}
body:not(.dark-theme) .timeline-container::after {
    background-color: var(--light-bg) !important;
}
body:not(.dark-theme) .timeline::after {
    background-color: rgba(0, 194, 255, 0.2);
}

/* Process workflow lines */
body:not(.dark-theme) .process-step::after {
    background: rgba(0, 0, 0, 0.06);
}

/* Form Elements Adaptation */
body:not(.dark-theme) .form-control,
body:not(.dark-theme) .form-select {
    background-color: var(--white) !important;
    color: var(--text-dark) !important;
    border: 1px solid rgba(0, 0, 0, 0.14) !important;
}
body:not(.dark-theme) .form-control:focus,
body:not(.dark-theme) .form-select:focus {
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 4px rgba(13, 110, 253, 0.12) !important;
}
body:not(.dark-theme) .form-control::placeholder {
    color: #94a3b8 !important;
}

/* Buttons Adaptations */
body:not(.dark-theme) .btn-premium-outline {
    color: var(--primary);
    border-color: var(--primary);
}
body:not(.dark-theme) .btn-premium-outline:hover {
    color: var(--white) !important;
}

/* Video Card Showcase Panel */
body:not(.dark-theme) div[style*="background:linear-gradient(135deg,#060d1f 0%,#0F172A 40%,#0a1f3d 100%)"] {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%) !important;
    border: 1px solid rgba(13, 110, 253, 0.15) !important;
}

/* Footer Adaptation */
body:not(.dark-theme) .footer-main {
    background-color: #F1F5F9 !important;
    color: var(--text-muted) !important;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}
body:not(.dark-theme) .footer-main h5,
body:not(.dark-theme) .footer-main .navbar-brand {
    color: var(--text-dark) !important;
}
body:not(.dark-theme) .footer-link {
    color: var(--text-muted) !important;
}
body:not(.dark-theme) .footer-link:hover {
    color: var(--primary) !important;
}
body:not(.dark-theme) .footer-main hr {
    border-color: rgba(0, 0, 0, 0.08) !important;
}
body:not(.dark-theme) .social-icon-btn {
    background: rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.08);
    color: var(--text-dark);
}
body:not(.dark-theme) .social-icon-btn:hover {
    color: var(--white);
}

/* Utility / Glass classes Adaptation */
body:not(.dark-theme) .glass-panel {
    background: rgba(255, 255, 255, 0.8) !important;
    border-color: rgba(0, 0, 0, 0.08) !important;
}
body:not(.dark-theme) .badge.bg-dark {
    background-color: rgba(0, 0, 0, 0.06) !important;
    color: var(--text-dark) !important;
}
body:not(.dark-theme) .modal-content {
    background-color: var(--white) !important;
    color: var(--text-dark) !important;
}

/* Choose icon box styling */
.choose-icon-box {
    width: 68px;
    height: 68px;
    border-radius: 16px;
    background: rgba(0, 194, 255, 0.1) !important;
    border: 1px solid rgba(0, 194, 255, 0.3) !important;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.85rem;
    flex-shrink: 0;
    transition: var(--transition);
    box-shadow: 0 8px 25px rgba(0, 194, 255, 0.1) !important;
}
.choose-icon-box i {
    color: var(--secondary) !important;
    text-shadow: 0 0 10px rgba(0, 194, 255, 0.3);
}
.choose-icon-box:hover {
    background: rgba(0, 194, 255, 0.2) !important;
    border-color: var(--secondary) !important;
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 194, 255, 0.2) !important;
}
.choose-icon-box:hover i {
    color: var(--secondary) !important;
    text-shadow: 0 0 15px rgba(0, 194, 255, 0.6);
}

/* Light Theme overrides for choose-icon-box */
body:not(.dark-theme) .choose-icon-box {
    background: rgba(13, 110, 253, 0.06) !important;
    border: 1px solid rgba(13, 110, 253, 0.18) !important;
    box-shadow: 0 8px 20px rgba(13, 110, 253, 0.05) !important;
}
body:not(.dark-theme) .choose-icon-box i {
    color: var(--primary) !important;
    text-shadow: none;
}
body:not(.dark-theme) .choose-icon-box:hover {
    background: rgba(13, 110, 253, 0.12) !important;
    border-color: var(--primary) !important;
    box-shadow: 0 12px 25px rgba(13, 110, 253, 0.15) !important;
}
body:not(.dark-theme) .choose-icon-box:hover i {
    color: var(--primary) !important;
}

/* Light Theme overrides for footer caret icons */
body:not(.dark-theme) .footer-link::before {
    color: var(--primary);
}
body:not(.dark-theme) .footer-link:hover::before {
    color: var(--primary);
}

/* Form Input Icons Styling */
.input-icon-wrap {
    position: relative;
    display: block;
}

.input-icon-wrap .form-control,
.input-icon-wrap .form-select {
    padding-left: 50px !important;
}

.input-icon-wrap .input-icon {
    position: absolute;
    top: 50%;
    left: 18px;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.4);
    font-size: 1.1rem;
    pointer-events: none;
    transition: var(--transition);
    z-index: 4;
}

/* For textarea, position icon at the top */
.input-icon-wrap textarea.form-control ~ .input-icon,
.input-icon-wrap .input-icon[style*="top"] {
    top: 20px;
    transform: none;
}

/* Focus and active states */
.input-icon-wrap:focus-within .input-icon {
    color: var(--secondary);
    transform: translateY(-50%) scale(1.1);
}

.input-icon-wrap:focus-within .input-icon[style*="top"] {
    transform: scale(1.1);
}

/* Light Theme overrides for input icons */
body:not(.dark-theme) .input-icon-wrap .input-icon {
    color: rgba(0, 0, 0, 0.4);
}

body:not(.dark-theme) .input-icon-wrap:focus-within .input-icon {
    color: var(--primary);
}

/* Dark Theme placeholder styling */
.form-control::placeholder {
    color: rgba(255, 255, 255, 0.4) !important;
}





/* Logo Styling */
.premium-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none !important;
}

.premium-logo .logo-icon-wrapper {
    background: var(--gradient-primary);
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(13, 110, 253, 0.3);
}

.premium-logo .logo-text {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.6rem;
    color: var(--white);
    line-height: 1;
    margin-bottom: 0;
}

body:not(.dark-theme) .premium-logo .logo-text {
    color: var(--text-dark);
}

/* Mobile Menu Active State */
#mobileMenu .nav-link {
    border-radius: 12px;
    padding: 0.8rem 1.2rem;
    margin-bottom: 0.3rem;
    transition: all 0.3s ease;
}

#mobileMenu .nav-link:hover {
    background: rgba(255, 255, 255, 0.05);
}

#mobileMenu .nav-link.active {
    background: rgba(13, 110, 253, 0.1);
    color: var(--white);
    font-weight: 600;
    border-left: 4px solid var(--primary);
}

body:not(.dark-theme) #mobileMenu .nav-link:hover {
    background: rgba(0, 0, 0, 0.05);
}

body:not(.dark-theme) #mobileMenu .nav-link.active {
    background: rgba(13, 110, 253, 0.08);
    color: var(--primary);
}
