/* ===== CSS VARIABLES ===== */
:root {
    --primary: #0066cc;
    --primary-dark: #004d99;
    --primary-light: #3399ff;
    --secondary: #1a365d;
    --accent: #00b4d8;
    --text-dark: #1a202c;
    --text-light: #718096;
    --text-white: #ffffff;
    --bg-light: #f7fafc;
    --bg-white: #ffffff;
    --bg-dark: #0f172a;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-600: #475569;
    --gray-800: #1e293b;
    --gradient-primary: linear-gradient(135deg, #0066cc 0%, #00b4d8 100%);
    --gradient-dark: linear-gradient(135deg, #1a365d 0%, #0f172a 100%);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.12);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 25px 50px rgba(0, 0, 0, 0.25);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 50px;
    --transition: all 0.3s ease;
    --font-main: 'Inter', sans-serif;
}

/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--bg-white);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-align: center;
    justify-content: center;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--text-white);
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 102, 204, 0.5);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-white);
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-light {
    background: var(--text-white);
    color: var(--primary);
}

.btn-light:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-outline-light {
    background: transparent;
    color: var(--text-white);
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
}

.btn-full {
    width: 100%;
}

.btn-glow {
    animation: glow 2s ease-in-out infinite;
}

@keyframes glow {

    0%,
    100% {
        box-shadow: 0 4px 15px rgba(0, 102, 204, 0.4);
    }

    50% {
        box-shadow: 0 4px 30px rgba(0, 102, 204, 0.7);
    }
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 15px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-md);
    padding: 10px 0;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-white);
}

.navbar.scrolled .logo {
    color: var(--primary);
}

.logo i {
    font-size: 1.8rem;
    color: var(--accent);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 35px;
}

.nav-menu a {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-menu a i {
    font-size: 0.9rem;
    transition: var(--transition);
}

.nav-menu a:hover i {
    transform: scale(1.2);
    color: var(--accent);
}

.navbar.scrolled .nav-menu a {
    color: var(--text-dark);
}

.nav-menu a:hover {
    color: var(--accent);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: var(--transition);
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-cta {
    background: var(--gradient-primary);
    color: var(--text-white) !important;
    padding: 12px 24px;
    border-radius: var(--radius-full);
}

.nav-cta:hover {
    transform: translateY(-2px);
}

.nav-cta::after {
    display: none !important;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-white);
    border-radius: 3px;
    transition: var(--transition);
    display: block;
}

.navbar.scrolled .nav-toggle span,
.nav-toggle.active span {
    background: var(--text-dark);
}

/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(rgba(15, 23, 42, 0.7), rgba(15, 23, 42, 0.7)), url('bg.webp') center center / cover no-repeat fixed;
    padding: 100px 0 60px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.5;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 20%, rgba(0, 180, 216, 0.15) 0%, transparent 50%), radial-gradient(ellipse at 70% 80%, rgba(0, 102, 204, 0.1) 0%, transparent 50%);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-text {
    max-width: 600px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 10px 20px;
    border-radius: var(--radius-full);
    color: var(--accent);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 25px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-title {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 800;
    color: var(--text-white);
    line-height: 1.2;
    margin-bottom: 25px;
}

.gradient-text {
    background: linear-gradient(135deg, var(--accent) 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 35px;
    line-height: 1.8;
}

.hero-description {
    margin-bottom: 40px;
    max-width: 600px;
}

.hero-role {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 20px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    background: rgba(0, 180, 216, 0.1);
    display: inline-block;
    padding: 5px 15px;
    border-radius: 4px;
    border-left: 3px solid var(--accent);
}

.hero-benefits {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.hero-benefits li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.05rem;
    line-height: 1.5;
    transition: transform 0.3s ease;
}

.hero-benefits li:hover {
    transform: translateX(5px);
}

.hero-benefits li i {
    color: var(--accent);
    font-size: 1.2rem;
    margin-top: 3px;
    flex-shrink: 0;
    filter: drop-shadow(0 0 5px rgba(0, 180, 216, 0.5));
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 50px;
}

.hero-stats {
    display: flex;
    gap: 40px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-white);
}

.stat-number::after {
    content: '+';
}

.stat-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image-wrapper {
    position: relative;
    width: 400px;
    height: 400px;
}

.hero-image-bg {
    position: absolute;
    inset: 0;
    background: var(--gradient-primary);
    border-radius: 50%;
    opacity: 0.2;
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.2;
    }

    50% {
        transform: scale(1.05);
        opacity: 0.3;
    }
}

.floating-icon {
    position: absolute;
    width: 120px;
    height: 120px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    will-change: transform;
    pointer-events: none;
}

.floating-icon i,
.floating-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Specific positioning removed - managed by JS */
.icon-1,
.icon-2,
.icon-3,
.icon-4 {
    top: 0;
    left: 0;
    animation: none;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
    animation: bounce 2s infinite;
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 15px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }

    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(15px);
    }
}

@keyframes bounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}

/* ===== SECTION STYLES ===== */
section {
    padding: 100px 0;
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 102, 204, 0.1);
    color: var(--primary);
    padding: 8px 20px;
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-badge i {
    font-size: 1rem;
    animation: badgeIconBounce 2s ease-in-out infinite;
}

@keyframes badgeIconBounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-3px);
    }
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 15px;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
}

/* Parallax Section Style */
.parallax-section {
    background: linear-gradient(rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.9)), url('bg.webp') center center / cover no-repeat fixed !important;
    color: var(--text-white);
}

.parallax-section .section-title {
    color: var(--text-white);
}

.parallax-section .section-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

/* Dark Mode Service Card Overrides */
.parallax-section .service-card {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

.parallax-section .service-card:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
}

.parallax-section .service-card h3 {
    color: var(--text-white);
}

.parallax-section .service-card p {
    color: rgba(255, 255, 255, 0.7);
}

.parallax-section .service-footer {
    border-top-color: rgba(255, 255, 255, 0.1);
}

.parallax-section .service-price {
    color: var(--accent);
}

.parallax-section .service-link {
    color: var(--text-white);
}

.parallax-section .service-icon {
    background: rgba(255, 255, 255, 0.05);
}

.parallax-section .service-icon i {
    color: var(--accent);
}

/* ===== STATS COUNTER SECTION ===== */
.stats-counter {
    background: var(--gradient-dark);
    position: relative;
    padding: 80px 0;
    overflow: hidden;
}

.stats-counter-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(0, 180, 216, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 50%, rgba(0, 102, 204, 0.15) 0%, transparent 50%),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 1;
    animation: statsBackgroundFloat 20s ease-in-out infinite;
}

@keyframes statsBackgroundFloat {

    0%,
    100% {
        transform: translateX(0) translateY(0);
    }

    25% {
        transform: translateX(-10px) translateY(10px);
    }

    50% {
        transform: translateX(10px) translateY(-10px);
    }

    75% {
        transform: translateX(-5px) translateY(-5px);
    }
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

.stats-item {
    text-align: center;
    padding: 30px 20px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.stats-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.stats-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(0, 180, 216, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.stats-item:hover {
    transform: translateY(-15px) scale(1.02);
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow:
        0 25px 50px rgba(0, 0, 0, 0.3),
        0 0 30px rgba(0, 180, 216, 0.2);
}

.stats-item:hover::before {
    transform: scaleX(1);
}

.stats-item:hover::after {
    opacity: 1;
}

.stats-icon {
    width: 65px;
    height: 65px;
    margin: 0 auto 20px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    box-shadow:
        0 10px 30px rgba(0, 102, 204, 0.3),
        inset 0 -3px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
}

.stats-icon::before {
    content: '';
    position: absolute;
    inset: -5px;
    background: var(--gradient-primary);
    border-radius: 50%;
    opacity: 0.3;
    animation: iconPulseRing 2s ease-in-out infinite;
    z-index: -1;
}

@keyframes iconPulseRing {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.3;
    }

    50% {
        transform: scale(1.15);
        opacity: 0.1;
    }
}

.stats-item:hover .stats-icon {
    transform: scale(1.1) rotate(10deg);
    box-shadow:
        0 15px 40px rgba(0, 102, 204, 0.4),
        0 0 20px rgba(0, 180, 216, 0.3);
}

.stats-icon i {
    font-size: 1.6rem;
    color: var(--text-white);
    transition: all 0.3s ease;
}

.stats-item:hover .stats-icon i {
    transform: scale(1.2);
}

.stats-content {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 5px;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.counter {
    font-size: 2.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--text-white) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    transition: all 0.3s ease;
}

.counter-suffix {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--accent);
}

.stats-item:hover .counter {
    transform: scale(1.05);
}

.stats-label {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 6px;
    position: relative;
    z-index: 1;
}

.stats-desc {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    position: relative;
    z-index: 1;
}

/* Responsive Stats Grid */
@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .stats-counter {
        padding: 60px 0;
    }

    .stats-item {
        padding: 30px 20px;
    }

    .counter {
        font-size: 2.8rem;
    }

    .stats-icon {
        width: 65px;
        height: 65px;
    }

    .stats-icon i {
        font-size: 1.6rem;
    }
}

/* ===== SERVICES SECTION ===== */
.services {
    background: linear-gradient(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.8)), url('bg.jpg') center center / cover no-repeat fixed;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.service-card {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: var(--radius-lg);
    padding: 35px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.6);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.4);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border-color: rgba(255, 255, 255, 0.9);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: transparent;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    position: relative;
    transition: var(--transition);
}

.service-icon i {
    font-size: 1.8rem;
    color: var(--primary);
    transition: var(--transition);
}

.service-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: var(--transition);
    /* Filter removed to show original icon colors */
    animation: iconFloat 3s ease-in-out infinite;
}

@keyframes iconFloat {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-5px) rotate(3deg);
    }
}

.service-card:hover .service-icon img {
    /* Filter removed */
    transform: scale(1.15) rotate(-5deg);
    animation: none;
}

.service-card:hover .service-icon {
    background: transparent;
    transform: scale(1.1);
    box-shadow: none;
}

.service-card:hover .service-icon i {
    color: var(--primary);
    transform: scale(1.2);
}

.service-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.service-card p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 20px;
}

.service-list {
    margin-bottom: 25px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.service-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.4;
}

.parallax-section .service-list li {
    color: rgba(255, 255, 255, 0.7);
}

.service-list li i {
    color: var(--accent);
    font-size: 0.85rem;
    margin-top: 4px;
}

.service-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 20px;
    border-top: 1px solid var(--gray-200);
}

.service-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 600;
}

.service-link:hover {
    gap: 12px;
}

.service-card-cta {
    background: var(--gradient-primary);
    border: none;
}

.service-card-cta h3,
.service-card-cta p {
    color: var(--text-white);
}

.service-card-cta .service-icon {
    background: rgba(255, 255, 255, 0.2);
}

.service-card-cta .service-icon i {
    color: var(--text-white);
    animation: iconPulse 2s ease-in-out infinite;
}

@keyframes iconPulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

.service-card-cta:hover {
    transform: translateY(-10px);
}

.service-card-cta:hover .service-icon {
    background: rgba(255, 255, 255, 0.3);
    box-shadow: none;
}

.service-card-cta:hover .service-icon i {
    color: var(--text-white);
}

/* ===== WHY US SECTION ===== */
.why-us {
    background: linear-gradient(rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.6)), url('bg2.jpg') center center / cover no-repeat fixed;
}

/* Marquee Container */
.advantages-marquee {
    overflow: hidden;
    width: 100%;
    position: relative;
    padding: 20px 0;
    /* Mask for fade effect on edges */
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.advantages-track {
    display: flex;
    gap: 30px;
    width: max-content;
    animation: marqueeScroll 40s linear infinite;
}

.advantages-track:hover {
    animation-play-state: paused;
}

@keyframes marqueeScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.advantage-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 30px;
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid transparent;
    width: 400px;
    /* Fixed width for consistent marquee */
    flex-shrink: 0;
}

/* Parallax (Dark) Mode Overrides for Transparency */
.parallax-section .advantage-card {
    background: rgba(255, 255, 255, 0.05);
    /* Transparent window */
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.parallax-section .advantage-card h3 {
    color: var(--text-white);
}

.parallax-section .advantage-card p {
    color: rgba(255, 255, 255, 0.7);
}

.parallax-section .advantage-card .advantage-number {
    color: rgba(255, 255, 255, 0.05);
}

.advantage-card:hover {
    background: var(--bg-white);
    box-shadow: var(--shadow-lg);
    border-color: rgba(0, 102, 204, 0.1);
    transform: translateY(-10px);
    /* Changed to translateY for consistency */
}

/* Hover state in Dark Mode */
.parallax-section .advantage-card:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.advantage-icon {
    width: 60px;
    height: 60px;
    min-width: 60px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.advantage-icon i {
    font-size: 1.5rem;
    color: var(--text-white);
}

.advantage-content h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.advantage-content p {
    color: var(--text-light);
    line-height: 1.6;
}

.advantage-number {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 3rem;
    font-weight: 900;
    color: rgba(0, 102, 204, 0.05);
    line-height: 1;
}

/* ===== PROCESS SECTION ===== */
.process {
    background: var(--bg-light);
}

.process-timeline {
    display: flex;
    justify-content: space-between;
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.process-line {
    position: absolute;
    top: 40px;
    left: 60px;
    right: 60px;
    height: 3px;
    background: var(--gray-200);
}

.process-line::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0;
    background: var(--gradient-primary);
    transition: width 1s ease;
}

.animate-process .process-line::before {
    width: 100%;
}

.process-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 2;
    flex: 1;
}

.step-number {
    width: 80px;
    height: 80px;
    background: var(--bg-white);
    border: 3px solid var(--gray-200);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 25px;
    transition: var(--transition);
}

.process-step:hover .step-number {
    background: var(--gradient-primary);
    border-color: var(--primary);
    color: var(--text-white);
    transform: scale(1.1);
}

.step-content {
    max-width: 200px;
}

.step-icon {
    width: 50px;
    height: 50px;
    background: rgba(0, 102, 204, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

.step-icon i {
    font-size: 1.2rem;
    color: var(--primary);
}

.step-content h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.step-content p {
    font-size: 0.95rem;
    color: var(--text-light);
}

/* ===== CTA BANNER ===== */
.cta-banner {
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.6) 0%, rgba(0, 180, 216, 0.6) 100%), url('bg2.jpg') center center / cover no-repeat fixed;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="40" r="3" fill="rgba(255,255,255,0.08)"/><circle cx="40" cy="80" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
}

.cta-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    position: relative;
    z-index: 2;
}

.cta-text h2 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 800;
    color: var(--text-white);
    margin-bottom: 10px;
}

.cta-text p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
}

.cta-actions {
    display: flex;
    gap: 15px;
    flex-shrink: 0;
}

/* ===== CONTACT SECTION ===== */
.contact {
    background: var(--bg-white);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: start;
}

.contact-info h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-dark);
    margin: 15px 0;
}

.contact-info>p {
    color: var(--text-light);
    margin-bottom: 35px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-bottom: 35px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: rgba(0, 102, 204, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-icon i {
    font-size: 1.2rem;
    color: var(--primary);
}

.contact-item span {
    font-size: 0.85rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 3px;
}

.contact-item a,
.contact-item p {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
}

.contact-item a:hover {
    color: var(--primary);
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 45px;
    height: 45px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--gradient-primary);
    color: var(--text-white);
    transform: translateY(-3px);
}

.social-link i {
    font-size: 1.1rem;
    color: var(--text-dark);
    transition: var(--transition);
}

.social-link:hover i {
    color: var(--text-white);
}

/* ===== CONTACT FORM ===== */
.contact-form-wrapper {
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    padding: 45px;
    box-shadow: var(--shadow-md);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-group {
    position: relative;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 18px 16px;
    font-size: 1rem;
    font-family: var(--font-main);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-md);
    background: var(--bg-white);
    transition: var(--transition);
    outline: none;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group label {
    position: absolute;
    left: 16px;
    top: 18px;
    font-size: 1rem;
    color: var(--text-light);
    pointer-events: none;
    transition: var(--transition);
    background: var(--bg-white);
    padding: 0 5px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
}

.form-group input:focus+label,
.form-group input:valid+label,
.form-group select:focus+label,
.form-group select:valid+label,
.form-group textarea:focus+label,
.form-group textarea:valid+label {
    top: -10px;
    left: 12px;
    font-size: 0.8rem;
    color: var(--primary);
    font-weight: 600;
}

.focus-border {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition);
}

.form-group input:focus~.focus-border,
.form-group select:focus~.focus-border,
.form-group textarea:focus~.focus-border {
    width: 100%;
    left: 0;
}

.btn-submit {
    position: relative;
    overflow: hidden;
}

.btn-submit .btn-loader,
.btn-submit .btn-success {
    display: none;
}

.btn-submit.loading .btn-text {
    display: none;
}

.btn-submit.loading .btn-loader {
    display: inline-flex;
}

.btn-submit.success .btn-text,
.btn-submit.success .btn-loader {
    display: none;
}

.btn-submit.success .btn-success {
    display: inline-flex;
}

.btn-submit.success {
    background: #10b981;
}

.form-note {
    font-size: 0.85rem;
    color: var(--text-light);
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--bg-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 40px;
}

.footer-brand .logo {
    margin-bottom: 20px;
}

.footer-brand p {
    line-height: 1.8;
}

.footer h4 {
    color: var(--text-white);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.footer-contact i {
    color: var(--accent);
    width: 20px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ===== FLOATING CTA ===== */
.floating-cta {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--gradient-primary);
    color: var(--text-white);
    padding: 15px 25px;
    border-radius: var(--radius-full);
    box-shadow: 0 10px 30px rgba(0, 102, 204, 0.4);
    z-index: 999;
    animation: pulse-cta 2s infinite;
}

.floating-cta:hover {
    transform: scale(1.05);
}

.floating-cta i {
    font-size: 1.2rem;
}

@keyframes pulse-cta {

    0%,
    100% {
        box-shadow: 0 10px 30px rgba(0, 102, 204, 0.4);
    }

    50% {
        box-shadow: 0 10px 40px rgba(0, 102, 204, 0.6);
    }
}

/* ===== ANIMATIONS ===== */
/* Pagal nutylėjimą turinys matomas */
.fade-in,
.slide-up {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

/* Kai JS aktyvus, pradžioje paslėpti */
.js-enabled .fade-in,
.js-enabled .slide-up {
    opacity: 0;
    transform: translateY(30px);
}

/* Animuoti kai tampa matomi */
.js-enabled .fade-in.visible,
.js-enabled .slide-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text {
        max-width: 100%;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-visual {
        display: none;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .cta-content {
        flex-direction: column;
        text-align: center;
    }

    .cta-actions {
        justify-content: center;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }

    .process-timeline {
        flex-direction: column;
        gap: 40px;
    }

    .process-line {
        display: none;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: rgba(255, 255, 255, 0.4);
        backdrop-filter: blur(25px);
        -webkit-backdrop-filter: blur(25px);
        border-left: 1px solid rgba(255, 255, 255, 0.3);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.2);
        flex-direction: column;
        justify-content: center;
        gap: 30px;
        padding: 40px;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000;
        visibility: hidden;
    }

    .nav-menu.active {
        right: 0;
        visibility: visible;
        transform: translateX(0);
    }

    .nav-menu a {
        color: var(--text-dark) !important;
        font-size: 1.25rem;
        font-weight: 600;
    }

    .nav-overlay {
        position: fixed;
        inset: 0;
        background: rgba(15, 23, 42, 0.6);
        backdrop-filter: blur(4px);
        z-index: 999;
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
    }

    .nav-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    .nav-toggle {
        display: flex;
        z-index: 1001;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
        transform: translateX(10px);
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    section {
        padding: 70px 0;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .advantages-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .cta-actions {
        flex-direction: column;
        width: 100%;
    }

    .cta-actions .btn {
        width: 100%;
    }

    .floating-cta span {
        display: none;
    }

    .floating-cta {
        padding: 18px;
        border-radius: 50%;
    }
}

/* ===== CALCULATOR SECTION ===== */
.calculator {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

.calculator::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 102, 204, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.calculator::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 180, 216, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.calculator-wrapper {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 30px;
    position: relative;
    z-index: 2;
}

.calculator-main {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

/* Category Tabs */
.calc-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--gray-200);
}

.calc-category {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: var(--bg-light);
    border: 2px solid transparent;
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition);
}

.calc-category:hover {
    background: rgba(0, 102, 204, 0.1);
    color: var(--primary);
}

.calc-category.active {
    background: var(--gradient-primary);
    color: var(--text-white);
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.3);
}

.calc-category i {
    font-size: 1rem;
}

/* Search */
.calc-search {
    position: relative;
    margin-bottom: 25px;
}

.calc-search i {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
    font-size: 1rem;
}

.calc-search input {
    width: 100%;
    padding: 15px 20px 15px 50px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-family: var(--font-main);
    transition: var(--transition);
    background: var(--bg-light);
}

.calc-search input:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--bg-white);
    box-shadow: 0 0 0 4px rgba(0, 102, 204, 0.1);
}

/* Services List */
.calc-services {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 600px;
    overflow-y: auto;
    padding-right: 10px;
}

.calc-services::-webkit-scrollbar {
    width: 6px;
}

.calc-services::-webkit-scrollbar-track {
    background: var(--gray-100);
    border-radius: 3px;
}

.calc-services::-webkit-scrollbar-thumb {
    background: var(--gray-300);
    border-radius: 3px;
}

.calc-services::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

.calc-service {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    background: var(--bg-light);
    border: 2px solid transparent;
    border-radius: var(--radius-md);
    transition: var(--transition);
    animation: fadeInUp 0.3s ease;
}

.calc-service:hover {
    background: var(--bg-white);
    border-color: rgba(0, 102, 204, 0.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transform: translateX(5px);
}

.calc-service.selected {
    background: rgba(0, 102, 204, 0.05);
    border-color: var(--primary);
    box-shadow: 0 4px 20px rgba(0, 102, 204, 0.15);
}

.calc-service.hidden {
    display: none;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-info {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
}

.service-icon-mini {
    width: 45px;
    height: 45px;
    min-width: 45px;
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.1) 0%, rgba(0, 180, 216, 0.1) 100%);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.service-icon-mini i {
    font-size: 1.1rem;
    color: var(--primary);
    transition: var(--transition);
}

.calc-service:hover .service-icon-mini,
.calc-service.selected .service-icon-mini {
    background: var(--gradient-primary);
}

.calc-service:hover .service-icon-mini i,
.calc-service.selected .service-icon-mini i {
    color: var(--text-white);
}

.service-details h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.service-price-tag {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
}

.service-price-tag.custom {
    background: linear-gradient(135deg, #f59e0b 0%, #f97316 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Quantity Controls */
.service-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

.qty-btn {
    width: 36px;
    height: 36px;
    border: 2px solid var(--gray-200);
    background: var(--bg-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.qty-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--text-white);
    transform: scale(1.1);
}

.qty-btn i {
    font-size: 0.75rem;
    color: var(--text-light);
    transition: var(--transition);
}

.qty-btn:hover i {
    color: var(--text-white);
}

.qty-input {
    width: 60px;
    height: 36px;
    text-align: center;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-weight: 600;
    font-family: var(--font-main);
    transition: var(--transition);
}

.qty-input:focus {
    outline: none;
    border-color: var(--primary);
}

.qty-input::-webkit-inner-spin-button,
.qty-input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Custom Checkbox for custom price services */
.custom-checkbox {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.custom-checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    width: 0;
    height: 0;
}

.custom-checkbox .checkmark {
    width: 28px;
    height: 28px;
    background: var(--bg-white);
    border: 2px solid var(--gray-300);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.custom-checkbox input:checked+.checkmark {
    background: var(--gradient-primary);
    border-color: var(--primary);
}

.custom-checkbox .checkmark::after {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.8rem;
    color: var(--text-white);
    opacity: 0;
    transform: scale(0);
    transition: var(--transition);
}

.custom-checkbox input:checked+.checkmark::after {
    opacity: 1;
    transform: scale(1);
}

/* Calculator Summary Sidebar */
.calculator-summary {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.5);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.summary-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--gray-100);
    margin-bottom: 20px;
}

.summary-header i {
    font-size: 1.5rem;
    color: var(--primary);
}

.summary-header h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
}

.summary-items {
    min-height: 200px;
    max-height: 350px;
    overflow-y: auto;
    margin-bottom: 20px;
}

.empty-summary {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 200px;
    color: var(--text-light);
    text-align: center;
}

.empty-summary i {
    font-size: 3rem;
    margin-bottom: 15px;
    opacity: 0.3;
    animation: pointUp 1.5s ease-in-out infinite;
}

@keyframes pointUp {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.empty-summary p {
    font-size: 0.95rem;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--gray-100);
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.summary-item-info {
    flex: 1;
}

.summary-item-info h5 {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 3px;
}

.summary-item-info span {
    font-size: 0.8rem;
    color: var(--text-light);
}

.summary-item-price {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--primary);
    white-space: nowrap;
}

.summary-item-custom {
    font-size: 0.8rem;
    font-weight: 600;
    color: #f59e0b;
    font-style: italic;
}

.summary-total {
    padding: 20px 0;
    border-top: 2px solid var(--gray-200);
    border-bottom: 2px solid var(--gray-200);
    margin-bottom: 20px;
}

.total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.total-row span:first-child {
    font-size: 1rem;
    color: var(--text-dark);
    font-weight: 600;
}

.total-amount {
    font-size: 1.8rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: var(--transition);
}

.total-note {
    font-size: 0.75rem;
    color: var(--text-light);
    font-style: italic;
}

.summary-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.btn-outline-dark {
    background: transparent;
    color: var(--text-dark);
    border: 2px solid var(--gray-300);
}

.btn-outline-dark:hover {
    background: var(--gray-100);
    border-color: var(--gray-400);
}

#orderBtn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

/* Calculator Modal */
.calc-modal {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(10px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 20px;
}

.calc-modal.active {
    opacity: 1;
    visibility: visible;
}

.calc-modal-content {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 40px;
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.9) translateY(20px);
    transition: var(--transition);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
}

.calc-modal.active .calc-modal-content {
    transform: scale(1) translateY(0);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: var(--gray-100);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.modal-close:hover {
    background: var(--primary);
    color: var(--text-white);
    transform: rotate(90deg);
}

.modal-header {
    text-align: center;
    margin-bottom: 30px;
}

.modal-header i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.modal-header h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.modal-header p {
    color: var(--text-light);
}

.order-summary-mini {
    background: var(--bg-light);
    border-radius: var(--radius-md);
    padding: 15px;
    margin-bottom: 25px;
    max-height: 150px;
    overflow-y: auto;
}

.order-summary-mini-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    font-size: 0.85rem;
    border-bottom: 1px solid var(--gray-200);
}

.order-summary-mini-item:last-child {
    border-bottom: none;
}

.order-summary-mini-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0 0;
    margin-top: 10px;
    border-top: 2px solid var(--primary);
    font-weight: 700;
    color: var(--primary);
}

.modal-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Responsive Calculator */
@media (max-width: 992px) {
    .calculator-wrapper {
        grid-template-columns: 1fr;
    }

    .calculator-summary {
        position: static;
        order: -1;
    }

    .summary-items {
        max-height: 200px;
    }
}

@media (max-width: 768px) {
    .calc-categories {
        justify-content: center;
    }

    .calc-category span {
        display: none;
    }

    .calc-category {
        padding: 12px;
    }

    .calc-service {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .service-controls {
        width: 100%;
        justify-content: flex-end;
    }

    .calculator-main {
        padding: 20px;
    }

    .calculator-summary {
        padding: 20px;
    }

    .calc-modal-content {
        padding: 25px;
    }
}

/* Services section spacing adjustment */
.services .section-header {
    text-align: center;
    margin-bottom: 60px;
}


/* ===== EXPERTISE SECTION ===== */
.expertise {
    padding: 80px 0;
    background: var(--bg-white);
    border-bottom: 1px solid var(--gray-100);
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.expertise-item {
    text-align: center;
    padding: 40px 25px;
    border-radius: var(--radius-lg);
    transition: var(--transition);
    border: 1px solid transparent;
    background: var(--bg-light);
}

.expertise-item:hover {
    background: var(--bg-white);
    border-color: var(--gray-200);
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.expertise-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 25px;
    background: var(--bg-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--primary);
    transition: var(--transition);
    position: relative;
    z-index: 1;
    box-shadow: var(--shadow-md);
}

.expertise-icon::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-primary);
    border-radius: 50%;
    z-index: -1;
    opacity: 0;
    transform: scale(0.8);
    transition: var(--transition);
}

.expertise-item:hover .expertise-icon {
    color: var(--text-white);
    transform: rotateY(360deg);
}

.expertise-item:hover .expertise-icon::after {
    opacity: 1;
    transform: scale(1);
}

.expertise-item h3 {
    font-size: 1.4rem;
    color: var(--text-dark);
    margin-bottom: 15px;
    font-weight: 700;
}

.expertise-item p {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.6;
}

@media (max-width: 992px) {
    .expertise-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .expertise-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== GALLERY SECTION ===== */
.gallery {
    background-color: var(--bg-light);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 300px);
    gap: 20px;
    margin-bottom: 40px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    cursor: pointer;
    transition: var(--transition);
}

.gallery-item.item-large {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.215, 0.610, 0.355, 1.000);
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-icon-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.gallery-icon-wrapper i {
    color: var(--text-white);
    font-size: 1.5rem;
}

.gallery-item:hover .gallery-icon-wrapper {
    transform: translate(-50%, -50%) scale(1);
}

.gallery-info h3 {
    color: var(--text-white);
    font-size: 1.5rem;
    margin-bottom: 5px;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s ease 0.1s;
}

.gallery-info p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s ease 0.2s;
}

.gallery-item:hover .gallery-info h3,
.gallery-item:hover .gallery-info p {
    transform: translateY(0);
    opacity: 1;
}

.gallery-cta {
    text-align: center;
    margin-top: 40px;
}

/* Responsive Gallery */
@media (max-width: 992px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
    }

    .gallery-item.item-large {
        grid-column: span 2;
        height: 400px;
    }

    .gallery-item {
        height: 300px;
    }
}

@media (max-width: 576px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .gallery-item.item-large {
        grid-column: span 1;
        height: 250px;
    }

    .gallery-item {
        height: 250px;
    }

    .gallery-overlay {
        padding: 20px;
    }

    .gallery-info h3 {
        font-size: 1.2rem;
    }
}

/* ===== BEFORE & AFTER SECTION ===== */
.before-after-header {
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.comparison-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-bottom: 60px;
}

.comparison-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}


.comparison-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.image-comparison-slider {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.image-comparison-slider img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.img-after-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.img-after-wrapper img {
    width: auto;
    height: 400px;
    max-width: none;
}

/* Ensure the after image has the same width as the container for proper alignment */
.image-comparison-slider .img-after-wrapper img {
    width: 100%;
    /* In actual JS we will need to ensure this matches the parent width */
}

.slider-handle {
    position: absolute;
    top: 0;
    left: 50%;
    height: 100%;
    width: 2px;
    background: #fff;
    z-index: 3;
    transform: translateX(-50%);
    pointer-events: none;
}

.handle-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 44px;
    height: 44px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 0.8rem;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
    gap: 4px;
}

.slider-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: ew-resize;
    z-index: 4;
    margin: 0;
}

.image-label {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(5px);
    color: var(--text-white);
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 2;
    pointer-events: none;
}

.image-label.before {
    right: 20px;
}

.image-label.after {
    left: 20px;
}

.comparison-details {
    padding: 30px;
}

.comparison-details h3 {
    font-size: 1.4rem;
    color: var(--text-white);
    margin-bottom: 12px;
}

.comparison-details p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    margin-bottom: 20px;
}


.detail-gallery {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}

.detail-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: var(--radius-md);
}

@media (max-width: 992px) {
    .comparison-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .comparison-images img {
        height: 280px;
    }
}