:root {
    /* Color Palette */
    --primary: #0038A8;         /* Deep Blue */
    --primary-dark: #002D86;
    --primary-light: #E0E9FF;
    --accent: #22C55E;          /* Green */
    --accent-dark: #16A34A;
    
    --text-main: #0F172A;       /* Dark Gray */
    --text-muted: #64748B;      /* Medium Gray */
    --text-on-primary: #FFFFFF;
    
    --bg-main: #FFFFFF;
    --bg-soft: #F8FAFC;         /* Very Light */
    --border: #E2E8F0;          /* Light Border */
    --border-light: #F1F5F9;    /* Lighter Border */

    /* Typography */
    --font-main: 'Inter', sans-serif;
    --font-heading: 'Outfit', sans-serif;

    /* Transitions */
    --transition-base: 0.2s ease;
    --transition-fast: 0.15s ease;
    --transition-smooth: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
    font-family: var(--font-main);
    color: var(--text-main);
    background-color: var(--bg-main);
    line-height: 1.6;
}

a {
    text-decoration: none !important;
    color: inherit;
}

/* Remove any conflicting styles that might interfere with Tailwind */
.main-header,
.main-footer,
.header-wrapper,
.logo,
.main-nav,
.mobile-header-right,
.mobile-menu-toggle,
.footer-grid,
.footer-info,
.footer-links,
.footer-contact,
.footer-bottom {
    all: revert;
}

.grid-cols-2 {
    grid-template-columns: 1fr;
}

.grid-cols-3 {
    grid-template-columns: 1fr;
}

.grid-cols-4 {
    grid-template-columns: 1fr;
}

@media (min-width: 640px) {
    .grid-cols-2 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .grid-cols-3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1280px) {
    .grid-cols-4 {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.1;
    color: var(--text-main);
}

h1 { font-size: clamp(36px, 6vw, 56px); }
h2 { font-size: clamp(28px, 4vw, 40px); }
h3 { font-size: clamp(20px, 3vw, 28px); }

/* Container & Full Width Structure */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 16px;
}

body {
    width: 100%;
    overflow-x: hidden;
}

section {
    width: 100%;
}

/* Header */
/* ============================================
   HEADER - CLEAN & MINIMALISTIC DESIGN
   ============================================ */
.main-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #FFFFFF;
    border-bottom: 1px solid #E8E8E8;
    padding: 12px 0;
    transition: all 0.3s ease;
}

.main-header.scrolled {
    padding: 8px 0;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

.header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.logo img {
    height: 40px;
    width: auto;
    transition: height 0.3s ease;
}

.main-header.scrolled .logo img {
    height: 36px;
}

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

/* Main Navigation */
.main-nav {
    flex: 1;
}

.main-nav ul {
    display: flex;
    gap: 32px;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-nav li {
    list-style: none;
}

.main-nav a {
    font-size: 14px;
    font-weight: 500;
    color: #333333;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    padding-bottom: 4px;
    border-bottom: 2px solid transparent;
}

.main-nav a:hover {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

/* Header Action Buttons */
.header-actions {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-shrink: 0;
}

.header-actions .btn {
    padding: 10px 20px;
    font-size: 13px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius-s);
    transition: var(--transition-smooth);
    cursor: pointer;
    border: 2px solid transparent;
    white-space: nowrap;
    line-height: 1;
}

.btn-primary {
    background: var(--primary);
    color: var(--text-on-primary);
    border-color: var(--primary);
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 56, 168, 0.2);
}

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

.btn-outline:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
}

/* Slider Section */
.slider-wrapper {
    padding: 20px 0 0;
    /* Re-added gap between header and hero per user request */
    margin-bottom: var(--space-m);
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 380px !important;
    overflow: hidden;
    background: #fff;
    border-radius: var(--radius-m);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--border);
    padding: 0 !important;
    /* Force override generic section padding */
    margin: 0 !important;
}

.slider-container {
    display: flex;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.slide {
    min-width: 100% !important;
    height: 100% !important;
    display: flex !important;
    flex-direction: row !important;
    position: relative !important;
    overflow: hidden !important;
}

.slide-content {
    flex: 1.2 !important;
    padding: var(--space-m) var(--space-xl) !important;
    /* Reduced top/bottom padding */
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: flex-start !important;
    text-align: left !important;
    background: #ffffff !important;
    z-index: 2 !important;
}

.slide-brand {
    display: flex;
    align-items: baseline;
    /* Changed from center to baseline for better text alignment */
    gap: 2px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: var(--space-xs);
    font-size: 18px;
}

.slide-brand .logo-accent {
    font-size: 22px;
    font-weight: 800;
    line-height: 1;
}

.slide-content h2 {
    font-size: clamp(24px, 3.5vw, 38px) !important;
    /* Slightly smaller for better fit */
    margin: var(--space-xs) 0 !important;
    color: var(--primary) !important;
    line-height: 1.1 !important;
    text-transform: uppercase !important;
    font-weight: 900 !important;
}

.slide-image {
    flex: 1 !important;
    height: 100% !important;
    overflow: hidden !important;
}

.slide-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    /* Changed to contain to prevent cropping */
    background: #ffffff;
    /* Ensure white background if image doesn't fill */
}

/* Slider Navigation Arrows - Inside container with glassmorphism */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 100 !important;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    pointer-events: auto !important;
}

.slider-arrow:hover {
    background: #ffffff !important;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
    color: var(--accent);
}

.slider-arrow i {
    font-size: 18px;
}

.slider-arrow.prev {
    left: 20px !important;
}

.slider-arrow.next {
    right: 20px !important;
}

@media (max-width: 768px) {
    .slider-arrow {
        width: 40px;
        height: 40px;
    }

    .slider-arrow.prev {
        left: 10px !important;
    }

    .slider-arrow.next {
        right: 10px !important;
    }
}

.slider-nav {
    position: absolute;
    bottom: 30px;
    left: var(--space-xl);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: var(--transition-fast);
}

.dot.active {
    background: var(--accent);
    width: 20px;
    border-radius: 3px;
}

/* Mobile Slider Response */
@media (max-width: 768px) {
    .hero-slider {
        height: auto;
        min-height: 500px;
    }

    .slide {
        flex-direction: column;
    }

    .slide-content {
        order: 2;
        padding: var(--space-l);
        flex: none;
        text-align: center;
    }

    .slide-image {
        order: 1;
        height: 250px;
        flex: none;
    }

    .slider-nav {
        left: 0;
        right: 0;
        justify-content: center;
        bottom: 15px;
    }

    .slider-arrow {
        display: none;
    }

    /* Hide arrows on mobile for cleaner look */
}

/* Service Categories Section */
.service-categories {
    padding: var(--space-xl) 0;
    background: #f9fbff; /* Soft premium tint */
    border-bottom: 1px solid var(--border-light);
    all: revert;
}

.service-categories .section-title {
    text-align: center;
    margin-bottom: var(--space-l);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 800;
    color: var(--primary);
    display: block;
    all: revert;
}

.categories-grid {
    /* All styling handled by Tailwind classes in HTML */
    all: revert;
}

.categories-grid::-webkit-scrollbar {
    display: none;
}

.category-item {
    /* All styling handled by Tailwind classes in HTML */
    all: revert;
}

.category-icon-wrapper {
    /* All styling handled by Tailwind classes in HTML */
    all: revert;
}

.category-item span {
    /* All styling handled by Tailwind classes in HTML */
    all: revert;
}

.category-item:hover {
    /* All styling handled by Tailwind classes in HTML */
    all: revert;
}

.category-item:hover .category-icon-wrapper {
    /* All styling handled by Tailwind classes in HTML */
    all: revert;
}

.category-item:hover span {
    /* All styling handled by Tailwind classes in HTML */
    all: revert;
}

/* Service Cards */
.service-card {
    background: var(--bg-main);
    border: 1px solid var(--border);
    border-radius: var(--radius-m);
    overflow: hidden;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.service-image {
    width: 100%;
    aspect-ratio: 16/10;
    overflow: hidden;
    background: var(--bg-soft);
}

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

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

.service-body {
    padding: var(--space-l);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-category {
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.service-card h3 {
    font-size: 20px;
    font-family: var(--font-heading);
    margin-bottom: 12px;
}

.service-card p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: var(--space-l);
}

.service-footer {
    padding: var(--space-l);
    padding-top: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.service-price {
    font-weight: 800;
    font-size: 18px;
    color: var(--text-main);
}

.service-price {
    font-weight: 700;
    font-size: 16px;
}

/* Section Spacing */
section {
    padding: var(--section-padding) 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--space-xxl);
}

.section-header h2 {
    margin-bottom: 16px;
}

.section-header p {
    font-size: 18px;
    margin-bottom: 0;
}

.featured-services {
    padding-top: var(--space-m);
}

/* Page Header Section */
.page-header {
    padding: var(--space-xl) 0;
    background: var(--bg-alt);
    border-bottom: 1px solid var(--border);
}

.page-header .reveal {
    text-align: center;
}

.page-header h1 {
    margin-bottom: 12px;
}

.page-header p {
    font-size: 16px;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* Services List Section */
.services-list {
    padding: var(--section-padding) 0;
}

/* Process Steps (How It Works) */
.hiw-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-xl);
}

.hiw-step {
    position: relative;
    padding: var(--space-xl);
    background: var(--bg-soft);
    border-radius: var(--radius-m);
    text-align: center;
    transition: var(--transition-base);
    border: 1px solid var(--border-light);
}

.hiw-step:hover {
    background: #fff;
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.hiw-icon {
    width: 64px;
    height: 64px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin: 0 auto 20px;
}

.hiw-num {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 40px;
    font-weight: 800;
    color: var(--primary);
    opacity: 0.05;
}

.hiw-step h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

/* Trust Cards (Why Choose Us) */
.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-l);
}

.why-card {
    padding: var(--space-xl);
    background: #fff;
    border-radius: var(--radius-m);
    border: 1px solid var(--border);
    transition: var(--transition-base);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.why-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.why-icon {
    width: 48px;
    height: 48px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.why-card h3 {
    font-size: 18px;
    margin-bottom: 0;
}

.why-card p {
    font-size: 15px;
    margin-bottom: 0;
}

/* Mobile Menu Toggle Styling */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1100;
    padding: 6px;
    flex-shrink: 0;
}

.mobile-menu-toggle span {
    display: block;
    width: 22px;
    height: 2.5px;
    background: #333333;
    transition: all 0.3s ease;
    border-radius: 1.5px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

@media (max-width: 1024px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .main-nav {
        position: fixed;
        top: 60px;
        right: -100%;
        width: 100%;
        height: calc(100vh - 60px);
        background: #FFFFFF;
        padding: 20px var(--space-m);
        z-index: 1050;
        transition: right 0.3s ease;
        overflow-y: auto;
    }

    .main-nav.active {
        right: 0;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 0;
        width: 100%;
    }

    .main-nav li {
        border-bottom: 1px solid #F0F0F0;
        padding: 14px 0;
        width: 100%;
    }

    .main-nav li:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

    .main-nav a {
        font-size: 16px;
        font-weight: 500;
        width: 100%;
        display: block;
        padding-bottom: 0;
        border-bottom: none;
    }

    .main-nav a.btn-primary {
        display: flex;
        align-items: center;
        justify-content: center;
        margin-top: 16px;
        padding: 12px 20px !important;
        width: 100%;
        border-bottom: none;
    }
}

@media (max-width: 768px) {
    .header-wrapper {
        gap: 12px;
    }

    .main-nav {
        top: 56px;
        height: calc(100vh - 56px);
    }
}

/* ============================================
   FOOTER - CLEAN & MINIMALISTIC DESIGN
   ============================================ */
.main-footer {
    background: #F5F5F5;
    color: #333333;
    padding: 60px 0 20px;
    border-top: 1px solid #E8E8E8;
    margin-top: 80px;
}

.main-footer .logo {
    color: var(--primary) !important;
    margin-bottom: 12px;
    display: inline-block;
}

.footer-info p {
    color: #666666;
    font-size: 14px;
    line-height: 1.6;
    margin-top: 12px;
    max-width: 300px;
}

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

.footer-grid h4 {
    color: #333333;
    font-size: 13px;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    font-weight: 700;
}

.footer-links ul,
.footer-contact {
    list-style: none;
    margin: 0;
    padding: 0;
}

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

.footer-links a {
    color: #666666;
    font-size: 13px;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 0;
}

.footer-contact p {
    color: #666666;
    font-size: 13px;
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.footer-contact i {
    color: var(--primary);
    font-size: 14px;
    margin-top: 2px;
    flex-shrink: 0;
}

.footer-bottom {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #E8E8E8;
    text-align: center;
}

.footer-bottom p {
    font-size: 12px;
    color: #999999;
    margin: 0;
}

/* Footer Responsive Design */
@media (max-width: 1023px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .footer-info {
        grid-column: 1 / -1;
    }

    .footer-info p {
        margin: 0 auto;
    }

    .footer-contact p {
        justify-content: flex-start;
    }
}

@media (max-width: 640px) {
    .main-footer {
        padding: 40px 0 15px;
        margin-top: 60px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 20px;
    }

    .footer-info {
        grid-column: 1;
    }

    .footer-grid h4 {
        margin-bottom: 12px;
        font-size: 12px;
    }

    .footer-links ul li,
    .footer-contact p {
        margin-bottom: 8px;
    }

    .footer-links a,
    .footer-contact p {
        font-size: 12px;
    }

    .footer-bottom p {
        font-size: 11px;
    }
}

    .footer-info p,
    .footer-contact p,
    .footer-links a {
        font-size: 15px;
    }
}



/* Additional Header Responsive Styles */
@media (max-width: 768px) {
    .main-header {
        padding: 10px 0;
    }

    .main-header.scrolled {
        padding: 6px 0;
    }

    .logo img {
        height: 36px;
    }

    .main-header.scrolled .logo img {
        height: 32px;
    }

    .main-nav ul {
        gap: 24px;
    }

    .main-nav a {
        font-size: 13px;
    }

    .header-wrapper {
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .main-header {
        padding: 8px 0;
    }

    .logo img {
        height: 32px;
    }

    .main-nav ul {
        gap: 16px;
    }

    .main-nav a {
        font-size: 12px;
        padding-bottom: 2px;
    }

    .mobile-icon {
        width: 36px;
        height: 36px;
        font-size: 15px;
    }
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition-smooth);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================
   Mobile Header & Animated Actions
   ========================================================== */
.mobile-header-right {
    display: none !important;
    align-items: center;
    gap: 12px;
}

@media (max-width: 1024px) {
    .mobile-header-right {
        display: flex !important;
    }

    .main-nav {
        display: none;
    }
}

.mobile-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.mobile-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff !important;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.mobile-icon.call-icon {
    background: #007bff;
}

.mobile-icon.wa-icon {
    background: #25D366;
}

.mobile-icon:active {
    transform: scale(0.9);
}

.mobile-icon:hover {
    transform: scale(1.05);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* ==========================================================
   Service Main Page Styles
   ========================================================== */
.service-main-hero {
    padding: var(--space-xl) 0;
    background: var(--bg-alt);
    border-bottom: 1px solid var(--border);
}

.service-hero-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: var(--space-xl);
    align-items: center;
}

.service-hero-slider {
    position: relative;
    border-radius: var(--radius-m);
    overflow: hidden;
    border: 1px solid var(--border);
    aspect-ratio: 16/9;
}

.service-hero-slider .slider-track,
.work-slider .slider-track {
    display: flex;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-hero-slider .slide,
.work-slider .slide {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
}

.service-hero-slider img,
.work-slider img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Work Slider Container */
.work-slider-container {
    position: relative;
    border-radius: var(--radius-m);
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--bg-soft);
    aspect-ratio: 16/9;
}

.service-hero-content .breadcrumb {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 16px;
    display: block;
}

.service-hero-content h1 {
    font-size: clamp(32px, 5vw, 48px);
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-price-tag {
    margin: 24px 0;
    padding: 16px;
    background: #fff;
    border-radius: var(--radius-s);
    border: 1px dashed var(--border);
    display: inline-block;
}

.hero-price-tag span {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: 700;
}

.hero-price-tag strong {
    font-size: 24px;
    color: var(--primary);
}

.lead-text {
    font-size: 18px;
    line-height: 1.7;
    color: var(--text-muted);
    margin: 20px 0;
}

.hero-btns {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 24px;
}

.service-main-body {
    padding: var(--section-padding) 0;
}

.addons-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* Utility Classes */
.w-100 {
    width: 100% !important;
}

.layout-with-sidebar {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: var(--space-xl);
    padding: var(--space-xl) 0;
}

.content-block {
    margin-bottom: var(--space-xl);
}

.content-block h2 {
    margin-bottom: var(--space-m);
    padding-bottom: 12px;
    border-bottom: 2px solid var(--border-light);
}

/* Sub-services Grid */
.sub-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.sub-service-card {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: var(--bg-alt);
    border-radius: var(--radius-m);
    border: 1px solid var(--border);
}

.sub-service-card .icon {
    font-size: 20px;
    color: var(--accent);
}

.sub-service-card h3 {
    font-size: 16px;
    margin-bottom: 4px;
}

.sub-service-card p {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 8px;
}

.sub-service-card .tag {
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    background: #e6f7ff;
    color: #1890ff;
    padding: 4px 8px;
    border-radius: 4px;
}

/* Sidebar Styling */
.sidebar {
    position: sticky;
    top: 100px;
    height: max-content;
}

.sidebar-form-box {
    background: var(--primary);
    padding: 30px;
    border-radius: var(--radius-m);
    color: #fff;
    margin-bottom: 30px;
}

.sidebar-form-box h3 { color: #fff; margin-bottom: 8px; }
.sidebar-form-box p { color: rgba(255,255,255,0.8); font-size: 14px; margin-bottom: 20px; }

.sidebar-form .form-group { margin-bottom: 15px; }
.sidebar-form input, .sidebar-form textarea {
    width: 100%;
    padding: 12px;
    border-radius: 6px;
    border: none;
    font-size: 14px;
}

.sidebar-form textarea { height: 80px; resize: none; }

.sidebar-actions {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.btn-whatsapp {
    background: #25D366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px;
    border-radius: 6px;
    font-weight: 700;
    text-decoration: none;
}

.btn-call {
    background: rgba(255,255,255,0.1);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid rgba(255,255,255,0.2);
}

.sidebar-widget {
    background: #fff;
    border: 1px solid var(--border);
    padding: 24px;
    border-radius: var(--radius-m);
    margin-bottom: 30px;
}

.addon-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-light);
    font-size: 14px;
}

.addon-item:last-child { border: none; }

/* FAQ Accordion */
.faq-accordion { margin-top: 20px; }
.faq-item {
    margin-bottom: 10px;
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition-base);
}

.faq-item:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-sm);
}

/* Support for button-based FAQ (index.php) */
.faq-q {
    width: 100%;
    padding: 18px 24px;
    background: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background var(--transition-fast), color var(--transition-fast);
    border: none;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-main);
    text-align: left;
    font-family: inherit;
}

.faq-q:hover {
    background: var(--bg-alt);
}

.faq-q i { 
    font-size: 16px;
    transition: transform var(--transition-fast);
    margin-left: 12px;
    flex-shrink: 0;
}

/* Support for div-based FAQ (service-main.php) */
.faq-question {
    padding: 18px 24px;
    background: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background var(--transition-fast), color var(--transition-fast);
    border: none;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-main);
    text-align: left;
}

.faq-question:hover {
    background: var(--bg-alt);
}

.faq-question h3 { 
    font-size: 16px; 
    margin: 0;
    flex: 1;
}

.faq-question i { 
    font-size: 16px;
    transition: transform var(--transition-fast);
    margin-left: 12px;
    flex-shrink: 0;
}

/* Answer sections */
.faq-a,
.faq-answer {
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: var(--bg-alt);
}

.faq-a p,
.faq-answer p {
    font-size: 15px;
    color: var(--text-muted);
    margin-bottom: 0;
    line-height: 1.6;
}

/* Active states */
.faq-item.active .faq-q,
.faq-item.active .faq-question {
    background: var(--bg-alt);
    color: var(--primary);
}

.faq-item.active .faq-q i,
.faq-item.active .faq-question i { 
    transform: rotate(180deg);
    color: var(--primary);
}

.faq-item.active .faq-a,
.faq-item.active .faq-answer {
    padding: 20px 24px;
    max-height: 1000px;
}

@media (max-width: 1023px) {
    .service-hero-wrapper, .layout-with-sidebar {
        grid-template-columns: 1fr;
    }
    .sidebar { position: static; }
    
    .service-main-hero {
        padding-top: 100px; /* Space for sticky header */
    }
    
    .service-hero-content h1 {
        font-size: 28px;
    }
}

.slider-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 15px;
    transform: translateY(-50%);
    pointer-events: none;
    z-index: 10;
}

.slider-arrow {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.9);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    pointer-events: auto;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.slider-arrow:hover {
    background: var(--primary);
    color: #fff;
}

/* ==========================================================
   COMPREHENSIVE MOBILE & RESPONSIVE OPTIMIZATIONS
   ========================================================== */

/* Mobile-first responsive adjustments */
@media (max-width: 640px) {
    /* Section padding */
    section { padding: 48px 0; }
    
    /* Typography */
    h1 { font-size: 28px; }
    h2 { font-size: 22px; }
    h3 { font-size: 18px; }
    
    /* Hero and buttons */
    .btn {
        padding: 12px 24px;
        font-size: 14px;
    }
    
    .hero-btns {
        flex-direction: column;
    }
    
    .hero-btns .btn {
        width: 100%;
    }
    
    /* Service cards */
    .service-card {
        flex-direction: column;
    }
    
    /* Forms */
    .sidebar-form input,
    .sidebar-form textarea {
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    /* FAQ */
    .faq-item {
        margin-bottom: 8px;
    }
    
    .faq-q, .faq-question {
        padding: 14px 16px;
        font-size: 14px;
    }
    
    .faq-a, .faq-answer {
        padding: 0 16px !important;
    }
    
    .faq-item.active .faq-a,
    .faq-item.active .faq-answer {
        padding: 16px !important;
    }
    
    /* Grid adjustments */
    .hiw-grid, .why-grid {
        gap: var(--space-m);
    }
    
    /* Table-like layouts */
    .addon-item {
        font-size: 13px;
        padding: 10px 0;
    }
    
    /* Sidebar */
    .sidebar-form-box {
        padding: 20px;
    }
    
    .sidebar-widget {
        padding: 16px;
    }
}

/* Tablet optimizations */
@media (min-width: 641px) and (max-width: 1023px) {
    section { padding: 60px 0; }
    
    .grid-cols-2 {
        grid-template-columns: 1fr;
    }
    
    .grid-cols-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .grid-cols-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hiw-grid, .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Large screens - ensure max-width for readability */
@media (min-width: 1920px) {
    .container {
        max-width: 1400px;
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    /* Increase button sizes for touch */
    .btn {
        padding: 14px 32px;
        font-size: 16px;
    }
    
    /* Increase tap targets */
    a, button {
        min-height: 48px;
        display: flex;
        align-items: center;
    }
    
    /* Remove hover effects on touch devices */
    .btn:hover {
        transform: none;
    }
    
    .service-card:hover {
        transform: none;
    }
    
    .category-item:hover {
        transform: translateY(-4px);
    }
}

/* Print styles */
@media print {
    .main-header, .main-footer, .mobile-header-right {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
    
    a {
        text-decoration: underline;
    }
}