/* Designiya Custom Styles - Professional & Sophisticated Design */
:root {
    /* Brand Colors from Logo */
    --primary-blue: #2E4B82;
    --secondary-blue: #4A6BA3;
    --accent-orange: #F5A623;
    --golden-yellow: #F7B733;
    
    /* Extended Palette */
    --dark-blue: #1A2D4F;
    --light-blue: #E8F0FF;
    --soft-orange: #FFF5E6;
    --white: #FFFFFF;
    --dark-gray: #2C3E50;
    --light-gray: #F8F9FA;
    --border-color: #E0E6ED;
    
    /* Typography */
    --font-primary: 'Vazirmatn', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-weight-light: 300;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-bold: 700;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    
    /* Border Radius */
    --border-radius-sm: 0.375rem;
    --border-radius-md: 0.5rem;
    --border-radius-lg: 0.75rem;
    --border-radius-xl: 1rem;
    
    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(46, 75, 130, 0.1);
    --shadow-md: 0 4px 12px rgba(46, 75, 130, 0.15);
    --shadow-lg: 0 8px 24px rgba(46, 75, 130, 0.2);
    --shadow-xl: 0 16px 48px rgba(46, 75, 130, 0.25);
}

/* Global Styles */
html {
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-primary);
    background-color: var(--white);
    color: var(--dark-gray);
    line-height: 1.7;
    font-weight: var(--font-weight-normal);
}

/* Typography Enhancements */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: var(--font-weight-bold);
    color: var(--dark-blue);
    margin-bottom: var(--spacing-md);
}

.display-1, .display-2, .display-3, .display-4, .display-5 {
    font-weight: var(--font-weight-bold);
    line-height: 1.3;
}

/* Logo Styles */
.navbar-brand {
    display: flex;
    align-items: center;
    font-weight: var(--font-weight-bold);
    color: var(--primary-blue) !important;
    text-decoration: none;
}

.logo {
    height: 50px;
    width: auto;
    margin-left: var(--spacing-sm);
    filter: drop-shadow(var(--shadow-sm));
    object-fit: contain;
}

.logo-large {
    height: 180px;
    width: auto;
    margin-top: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
    object-fit: contain;
    max-width: 400px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.15)) drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
}

/* Navigation Styling */
.navbar {
    background: linear-gradient(135deg, var(--white) 0%, var(--light-blue) 100%) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    padding: var(--spacing-sm) 0;
}

.navbar-nav .nav-link {
    color: var(--primary-blue) !important;
    font-weight: var(--font-weight-medium);
    padding: var(--spacing-xs) var(--spacing-md) !important;
    border-radius: var(--border-radius-md);
    transition: all 0.3s ease;
    margin: 0 var(--spacing-xs);
}

.navbar-nav .nav-link:hover {
    background-color: var(--soft-orange);
    color: var(--dark-blue) !important;
    transform: translateY(-2px);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #B8D4F1 0%, #D0E7F9 50%, #A8C8E8 100%);
    color: var(--dark-gray);
    padding: 80px 0 var(--spacing-xl) 0;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    z-index: 0;
    margin-bottom: 0;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, var(--primary-blue) 0%, transparent 70%),
        radial-gradient(circle at 80% 20%, var(--accent-orange) 0%, transparent 70%);
    opacity: 0.05;
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-section h1 {
    color: var(--dark-blue);
    text-shadow: 0 2px 4px rgba(255, 255, 255, 0.5);
    margin-bottom: var(--spacing-lg);
    font-size: 2.8rem;
}

.hero-section .lead {
    font-size: 1.4rem;
    color: var(--dark-gray);
    margin-bottom: var(--spacing-xl);
    font-weight: var(--font-weight-normal);
}

/* Button Styles */
.btn {
    border-radius: var(--border-radius-md);
    font-weight: var(--font-weight-medium);
    padding: var(--spacing-sm) var(--spacing-lg);
    border: none;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-orange) 0%, var(--golden-yellow) 100%);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--golden-yellow) 0%, var(--accent-orange) 100%);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: var(--white);
}

.btn-outline-light {
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
}

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

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

.btn-outline-primary:hover {
    background: var(--primary-blue);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Section Styling */
section {
    padding: var(--spacing-xl) 0;
    position: relative;
    z-index: 1;
}

section[id] {
    scroll-margin-top: 80px;
}

.section-title {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.section-title h2 {
    color: var(--dark-blue);
    margin-bottom: var(--spacing-md);
    position: relative;
}

.section-title h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-orange), var(--golden-yellow));
    margin: var(--spacing-md) auto 0;
    border-radius: var(--border-radius-sm);
}

/* Service Cards */
.service-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--accent-orange));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

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

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    border-radius: var(--border-radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-md);
    color: var(--white);
    font-size: 2rem;
    box-shadow: var(--shadow-md);
}

.service-card h4 {
    color: var(--dark-blue);
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--spacing-md);
}

/* Feature Cards */
.feature-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-lg);
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid var(--border-color);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    background: var(--light-blue);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent-orange), var(--golden-yellow));
    border-radius: var(--border-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-md);
    color: var(--white);
    font-size: 1.5rem;
}

/* Stats Section */
.stats-section {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    color: var(--white);
    position: relative;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23F5A623" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="%23F7B733" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.stats-section .container {
    position: relative;
    z-index: 2;
}

/* Footer */
footer {
    background: var(--dark-blue);
    color: var(--white);
    padding: var(--spacing-xl) 0 var(--spacing-lg);
}

.footer-logo {
    height: 60px;
    width: auto;
    margin-bottom: var(--spacing-md);
    object-fit: contain;
    /* Remove invert filter since your logo already has the right colors */
}

/* Form Styles */
.form-control {
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: var(--spacing-sm) var(--spacing-md);
    transition: all 0.3s ease;
    font-family: var(--font-primary);
}

.form-control:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 0.2rem rgba(46, 75, 130, 0.25);
}

/* Admin Panel Enhancements */
.admin-card {
    border: none;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.admin-card .card-header {
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    color: var(--white);
    border: none;
    padding: var(--spacing-md) var(--spacing-lg);
    font-weight: var(--font-weight-bold);
}

/* Responsive Design */
@media (max-width: 768px) {
    html {
        scroll-padding-top: 70px;
    }
    
    section[id] {
        scroll-margin-top: 70px;
    }
    
    .hero-section {
        padding: 60px 0 var(--spacing-lg) 0;
        min-height: 80vh;
    }
    
    .hero-section h1 {
        font-size: 2.2rem;
    }
    
    .hero-section .lead {
        font-size: 1.2rem;
    }
    
    .logo {
        height: 40px;
    }
    
    .logo-large {
        height: 120px;
        margin-top: var(--spacing-md);
        margin-bottom: var(--spacing-lg);
    }
    
    .service-card, .feature-card {
        margin-bottom: var(--spacing-lg);
    }
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.6s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.slide-up {
    animation: slideUp 0.6s ease-out;
}

@keyframes slideUp {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Special Effects */
.gradient-text {
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.glow-effect {
    box-shadow: 0 0 20px rgba(245, 166, 35, 0.3);
}

/* Loading States */
.loading {
    position: relative;
    overflow: hidden;
}

.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--light-gray);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-blue);
    border-radius: var(--border-radius-sm);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-orange);
}

/* Before/After Comparison Slider Styles */
.comparison-container {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
}

.comparison-slide {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
}

.comparison-slide.active {
    display: block;
}

.before-after-slider {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-xl);
    cursor: grab;
    user-select: none;
}

.before-after-slider:active {
    cursor: grabbing;
}

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

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

.after-image {
    clip-path: polygon(50% 0, 100% 0, 100% 100%, 50% 100%);
    transition: clip-path 0.1s ease;
}

.image-label {
    position: absolute;
    bottom: 15px;
    padding: 8px 16px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    border-radius: var(--border-radius-md);
    font-size: 0.9rem;
    font-weight: var(--font-weight-medium);
    backdrop-filter: blur(10px);
    z-index: 3;
}

.before-label {
    left: 15px;
}

.after-label {
    right: 15px;
}

.slider-handle {
    position: absolute;
    top: 0;
    left: 50%;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--accent-orange), var(--golden-yellow));
    cursor: ew-resize;
    z-index: 4;
    transform: translateX(-50%);
}

.slider-line {
    width: 100%;
    height: 100%;
    background: inherit;
}

.slider-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    background: white;
    border: 3px solid var(--accent-orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translate(-50%, -50%);
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.slider-circle i {
    color: var(--accent-orange);
    font-size: 1rem;
}

.slider-handle:hover .slider-circle {
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: var(--shadow-lg);
}

.comparison-info {
    text-align: center;
    margin-top: var(--spacing-md);
    color: white;
}

.comparison-title {
    color: white;
    font-size: 1.3rem;
    margin-bottom: var(--spacing-xs);
    font-weight: var(--font-weight-bold);
}

.comparison-description {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    margin-bottom: 0;
}

.comparison-controls {
    text-align: center;
    margin-top: var(--spacing-lg);
}

.comparison-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    padding: 0 10px;
    pointer-events: none;
    z-index: 5;
}

.nav-btn {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: auto;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    color: var(--primary-blue);
    font-size: 16px;
}

.nav-btn:hover {
    background: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transform: scale(1.1);
    color: var(--accent-orange);
}

.nav-btn:active {
    transform: scale(0.95);
}

.comparison-dots {
    display: inline-flex;
    gap: var(--spacing-xs);
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.dot.active,
.dot:hover {
    background: var(--accent-orange);
    border-color: white;
    transform: scale(1.2);
}

.placeholder-comparison {
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-lg);
    backdrop-filter: blur(10px);
    border: 2px dashed rgba(255, 255, 255, 0.3);
}

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

.hero-content {
    text-align: center;
    margin-top: -40px;
}

.hero-content .btn {
    width: 250px;
    white-space: nowrap;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Mobile Responsiveness for Comparison Slider */
@media (max-width: 768px) {
    .before-after-slider {
        height: 300px;
    }
    
    .hero-content {
        text-align: center;
        margin-top: -20px;
    }
    
    .hero-content .btn {
        width: 220px;
        margin-bottom: var(--spacing-sm);
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* Tablet responsive */
@media (min-width: 769px) and (max-width: 1024px) {
    .hero-content .btn {
        width: 230px;
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .comparison-info {
        margin-top: var(--spacing-sm);
    }
    
    .comparison-title {
        font-size: 1.1rem;
    }
    
    .image-label {
        font-size: 0.8rem;
        padding: 6px 12px;
        bottom: 10px;
    }
    
    .before-label {
        left: 10px;
    }
    
    .after-label {
        right: 10px;
    }
    
    .slider-circle {
        width: 35px;
        height: 35px;
    }
    
    .slider-circle i {
        font-size: 0.9rem;
    }
    
    /* Mobile navigation arrows */
    .nav-btn {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
    
    .service-comparison-nav .nav-btn {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }
    
    .service-detail-comparison-nav .nav-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .comparison-nav {
        padding: 0 5px;
    }
    
    .service-comparison-nav {
        padding: 0 5px;
    }
    
    .service-detail-comparison-nav {
        padding: 0 10px;
    }
}

/* Service Comparison Sliders */
.service-comparison-container {
    margin-bottom: var(--spacing-lg);
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    height: 200px;
}

.service-comparison-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 10px;
    z-index: 10;
    pointer-events: none;
}

.service-comparison-nav .nav-btn {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: auto;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    color: var(--primary-blue);
    font-size: 14px;
}

.service-comparison-nav .nav-btn:hover {
    background: white;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.25);
    transform: scale(1.1);
    color: var(--accent-orange);
}

.service-comparison-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.service-comparison-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.service-comparison-slide .before-after-container {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    cursor: pointer;
}

.service-comparison-slide .image-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.service-comparison-slide .before-image,
.service-comparison-slide .after-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.service-comparison-slide .after-image {
    clip-path: polygon(50% 0%, 100% 0%, 100% 100%, 50% 100%);
    transition: clip-path 0.3s ease;
}

.service-comparison-slide .divider-line {
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    background: white;
    transform: translateX(-50%);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    transition: left 0.3s ease;
    z-index: 3;
}

.service-comparison-slide .drag-handle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 4;
    cursor: ew-resize;
    transition: left 0.3s ease;
}

.service-comparison-slide .handle-circle {
    width: 30px;
    height: 30px;
    background: white;
    border: 2px solid var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-blue);
    font-size: 0.8rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.service-comparison-slide .handle-circle:hover {
    background: var(--primary-blue);
    color: white;
    transform: scale(1.1);
}

.service-comparison-slide .comparison-labels {
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    padding: 0 15px;
    pointer-events: none;
    z-index: 2;
}

.service-comparison-slide .before-label,
.service-comparison-slide .after-label {
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 4px 8px;
    border-radius: var(--border-radius-sm);
    font-size: 0.75rem;
    font-weight: 500;
}

.service-comparison-slide .after-label {
    background: rgba(46, 75, 130, 0.9);
}

/* Service Comparison Navigation Dots */
.service-comparison-dots {
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 5;
}

.service-comparison-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.service-comparison-dots .dot.active {
    background: var(--primary-blue);
    transform: scale(1.3);
}

.service-comparison-dots .dot:hover {
    background: var(--secondary-blue);
}

/* Responsive adjustments for service comparisons */
@media (max-width: 768px) {
    .service-comparison-container {
        height: 150px;
    }
    
    .service-comparison-slide .handle-circle {
        width: 25px;
        height: 25px;
        font-size: 0.7rem;
    }
    
    .service-comparison-slide .before-label,
    .service-comparison-slide .after-label {
        font-size: 0.65rem;
        padding: 3px 6px;
    }
}

/* Service card adjustments */
.service-card {
    padding: var(--spacing-lg);
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Service Detail Comparison Slider Styles */
.service-detail-comparison-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.service-detail-comparison-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 15px;
    z-index: 15;
    pointer-events: none;
}

.service-detail-comparison-nav .nav-btn {
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: auto;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.2);
    color: var(--primary-blue);
    font-size: 18px;
}

.service-detail-comparison-nav .nav-btn:hover {
    background: white;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    transform: scale(1.15);
    color: var(--accent-orange);
}

.service-detail-comparison-slide {
    display: none;
}

.service-detail-comparison-slide.active {
    display: block;
}

.service-detail-comparison-slide .before-after-slider {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    background: #f8f9fa;
}

.service-detail-comparison-slide .before-image,
.service-detail-comparison-slide .after-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.service-detail-comparison-slide .before-image img,
.service-detail-comparison-slide .after-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
}

.service-detail-comparison-slide .after-image {
    clip-path: polygon(50% 0%, 100% 0%, 100% 100%, 50% 100%);
    transition: clip-path 0.3s ease;
}

.service-detail-comparison-slide .image-label {
    position: absolute;
    bottom: 20px;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 14px;
    color: white;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    backdrop-filter: blur(10px);
    z-index: 5;
}

.service-detail-comparison-slide .before-label {
    left: 20px;
    background: rgba(255, 87, 87, 0.9);
}

.service-detail-comparison-slide .after-label {
    right: 20px;
    background: var(--primary-gradient);
}

.service-detail-comparison-slide .slider-handle {
    position: absolute;
    top: 0;
    left: 50%;
    width: 4px;
    height: 100%;
    background: white;
    transform: translateX(-50%);
    cursor: ew-resize;
    z-index: 10;
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
}

.service-detail-comparison-slide .slider-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 50px;
    height: 50px;
    background: white;
    border: 3px solid var(--primary);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 16px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.service-detail-comparison-slide .slider-handle:hover .slider-circle {
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.service-detail-comparison-controls {
    margin-top: 30px;
}

.service-detail-comparison-controls .comparison-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.service-detail-comparison-controls .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.service-detail-comparison-controls .dot.active {
    background: var(--primary);
    transform: scale(1.3);
    border-color: var(--primary);
}

.service-detail-comparison-controls .dot:hover {
    background: var(--primary);
    transform: scale(1.1);
}

.service-detail-comparison-slide .comparison-title {
    color: var(--text-primary);
    font-weight: 700;
    margin-bottom: 15px;
}

.service-detail-comparison-slide .comparison-description {
    font-size: 16px;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

/* Mobile responsive adjustments for service detail comparison */
@media (max-width: 768px) {
    .service-detail-comparison-slide .before-after-slider {
        height: 300px;
        border-radius: 10px;
    }
    
    .service-detail-comparison-slide .before-image img,
    .service-detail-comparison-slide .after-image img {
        border-radius: 10px;
    }
    
    .service-detail-comparison-slide .image-label {
        bottom: 15px;
        padding: 6px 12px;
        font-size: 12px;
    }
    
    .service-detail-comparison-slide .before-label {
        left: 15px;
    }
    
    .service-detail-comparison-slide .after-label {
        right: 15px;
    }
    
    .service-detail-comparison-slide .slider-circle {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .service-detail-comparison-slide .before-after-slider {
        height: 250px;
        border-radius: 8px;
    }
    
    .service-detail-comparison-slide .before-image img,
    .service-detail-comparison-slide .after-image img {
        border-radius: 8px;
    }
    
    .service-detail-comparison-slide .comparison-title {
        font-size: 1.3rem;
    }
    
    .service-detail-comparison-slide .comparison-description {
        font-size: 14px;
    }
}

/* Customer Logos Section */
.customer-logo-container {
    background: white;
    border-radius: var(--border-radius-md);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.08);
    height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.customer-logo-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-blue);
}

.customer-logo {
    max-height: 60px;
    max-width: 120px;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: all 0.3s ease;
    filter: grayscale(70%) opacity(0.8);
}

.customer-logo-container:hover .customer-logo {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.05);
}

.customer-placeholder {
    width: 120px;
    height: 60px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border: 2px dashed #dee2e6;
    border-radius: var(--border-radius-sm);
    transition: all 0.3s ease;
}

.customer-logo-container:hover .customer-placeholder {
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    border-color: var(--primary-blue);
}

.customer-logo-container:hover .customer-placeholder .text-muted {
    color: white !important;
}

.customer-name {
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.customer-logo-container:hover .customer-name {
    opacity: 1;
}

/* Customer section animation */
.customer-logo-container {
    animation: customerFadeIn 0.6s ease forwards;
    opacity: 0;
    transform: translateY(20px);
}

@keyframes customerFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Stagger animation delay for each customer */
.customer-logo-container:nth-child(1) { animation-delay: 0.1s; }
.customer-logo-container:nth-child(2) { animation-delay: 0.2s; }
.customer-logo-container:nth-child(3) { animation-delay: 0.3s; }
.customer-logo-container:nth-child(4) { animation-delay: 0.4s; }
.customer-logo-container:nth-child(5) { animation-delay: 0.5s; }
.customer-logo-container:nth-child(6) { animation-delay: 0.6s; }
.customer-logo-container:nth-child(7) { animation-delay: 0.7s; }
.customer-logo-container:nth-child(8) { animation-delay: 0.8s; }

/* Mobile responsive for customers */
@media (max-width: 768px) {
    .customer-logo-container {
        height: 100px;
        margin-bottom: var(--spacing-md);
    }
    
    .customer-logo {
        max-height: 50px;
        max-width: 100px;
    }
    
    .customer-placeholder {
        width: 100px;
        height: 50px;
    }
    
    .customer-name {
        font-size: 0.8rem;
    }
}

/* Tablet responsive for customers */
@media (min-width: 769px) and (max-width: 1024px) {
    .customer-logo-container {
        height: 110px;
    }
    
    .customer-logo {
        max-height: 55px;
        max-width: 110px;
    }
    
    .customer-placeholder {
        width: 110px;
        height: 55px;
    }
}

/* Customer visibility controls */
.customer-hidden {
    display: none !important;
}

.customer-item {
    transition: all 0.5s ease-in-out;
}

.customer-item.fade-in {
    animation: customerFadeInUp 0.5s ease-in-out;
}

@keyframes customerFadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* View More Button */
#viewMoreCustomers {
    border-radius: 30px;
    padding: 12px 30px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
    background: transparent;
}

#viewMoreCustomers:hover {
    background: var(--primary-blue);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(74, 144, 226, 0.3);
}

#viewMoreCustomers:focus {
    box-shadow: 0 0 0 0.2rem rgba(74, 144, 226, 0.25);
}

/* Responsive adjustments for view more button */
@media (max-width: 576px) {
    #viewMoreCustomers {
        padding: 10px 20px;
        font-size: 0.9rem;
        border-radius: 25px;
    }
}

/* About Us Section Styles */
.about-image-container {
    position: relative;
    display: inline-block;
    max-width: 100%;
}

.about-image {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
    filter: brightness(1.05) contrast(1.1);
}

.about-image:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.about-image-container::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-orange));
    border-radius: var(--border-radius-xl);
    opacity: 0.1;
    z-index: -1;
}

@media (max-width: 768px) {
    .about-image-container {
        margin-bottom: var(--spacing-lg);
    }
    
    .about-image {
        border-radius: var(--border-radius-md);
    }
    
    .about-image-container::before {
        top: -5px;
        left: -5px;
        right: -5px;
        bottom: -5px;
    }
}

/* Pricing Section Styles */
#pricing {
    position: relative;
    overflow: hidden;
}

#pricing::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(245, 166, 35, 0.2) 0%, transparent 50%);
    z-index: 1;
}

#pricing .container {
    position: relative;
    z-index: 2;
}

.pricing-card {
    transition: all 0.4s ease;
    border: none;
    position: relative;
    overflow: hidden;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    z-index: 1;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(46, 75, 130, 0.25) !important;
}

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

.pricing-amount {
    margin-bottom: var(--spacing-lg);
    position: relative;
}

.pricing-amount::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-orange));
    border-radius: 2px;
}

.pricing-amount .display-1 {
    font-weight: 900;
    text-shadow: 0 2px 4px rgba(46, 75, 130, 0.1);
    position: relative;
}

.pricing-currency {
    line-height: 1.2;
}

.pricing-features {
    margin: var(--spacing-xl) 0;
}

.pricing-features .d-flex {
    padding: var(--spacing-sm) 0;
    transition: all 0.2s ease;
}

.pricing-features .d-flex:hover {
    background-color: rgba(46, 75, 130, 0.05);
    border-radius: var(--border-radius-md);
    padding-left: var(--spacing-sm);
    margin-left: -var(--spacing-sm);
    margin-right: -var(--spacing-sm);
}

.pricing-cta .btn {
    font-size: 1.1rem;
    font-weight: var(--font-weight-bold);
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border-radius: var(--border-radius-lg);
}

.pricing-cta .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(245, 166, 35, 0.4);
}

.pricing-note {
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.pricing-card:hover .pricing-note {
    opacity: 1;
}

/* Pricing Section Animation */
@keyframes priceHighlight {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.pricing-amount .display-1:hover {
    animation: priceHighlight 0.6s ease-in-out;
}

/* Mobile Responsiveness for Pricing */
@media (max-width: 768px) {
    #pricing .pricing-amount .display-1 {
        font-size: 3.5rem !important;
    }
    
    .pricing-card {
        margin: 0 var(--spacing-sm);
    }
    
    .pricing-features .d-flex {
        font-size: 0.95rem;
    }
    
    #pricing .section-title h2 {
        font-size: 2rem;
    }
    
    #pricing .section-title .lead {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    #pricing .pricing-amount .display-1 {
        font-size: 3rem !important;
    }
    
    .pricing-card {
        padding: var(--spacing-lg) !important;
    }
    
    .pricing-cta .btn {
        font-size: 1rem;
        padding: var(--spacing-sm) var(--spacing-md);
    }
}