:root {
    /* Light Mode (Default) */
    --bg-color: #fafafa;
    --text-color: #1a1a1a;
    --card-bg: #ffffff;
    --card-border: #d4d4d4;
    --primary-color: #D4AF37;
    /* Gold */
    --secondary-color: #C5A028;
    --glass-bg: rgba(255, 255, 255, 0.95);
    --glass-border: rgba(212, 175, 55, 0.3);
    --font-main: 'Outfit', sans-serif;
    --font-display: 'Space Grotesk', sans-serif;
    --container-width: 1200px;
    --hero-overlay: rgba(255, 255, 255, 0.9);
    --nav-bg: rgba(255, 255, 255, 0.98);
    --section-bg: #f5f5f5;
}

[data-theme="dark"] {
    --bg-color: #0a0a0a;
    --text-color: #f0f0f0;
    --card-bg: #111111;
    --card-border: #2a2a2a;
    --glass-bg: rgba(10, 10, 10, 0.95);
    --hero-overlay: rgba(0, 0, 0, 0.7);
    --nav-bg: rgba(10, 10, 10, 0.98);
    --section-bg: #050505;
}

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

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

/* Custom Cursor */
.custom-cursor {
    position: fixed;
    width: 20px;
    height: 20px;
    border: 1px solid var(--primary-color);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    transition: width 0.2s, height 0.2s, background-color 0.2s;
    z-index: 9999;
    mix-blend-mode: difference;
}

.custom-cursor-dot {
    position: fixed;
    width: 4px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 10000;
}

.cursor-hover {
    width: 50px;
    height: 50px;
    background-color: rgba(212, 175, 55, 0.1);
    border-color: transparent;
    backdrop-filter: blur(2px);
}

/* Typography */
h1,
h2,
h3 {
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: -0.5px;
}

.highlight {
    color: var(--primary-color);
}

/* Navigation */
.glass-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    background: var(--nav-bg);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--card-border);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.logo a,
.logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-color);
    text-decoration: none;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 3rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    opacity: 0.8;
    font-weight: 400;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s;
}

.nav-links a:hover {
    color: var(--primary-color);
    opacity: 1;
}

.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--text-color);
    cursor: pointer;
    transition: all 0.3s;
    padding: 0.5rem;
    border-radius: 5px;
}

.mobile-toggle:hover {
    color: var(--primary-color);
    background: rgba(212, 175, 55, 0.1);
}

/* Ensure mobile toggle is visible in light mode */
[data-theme="light"] .mobile-toggle {
    color: #1a1a1a;
}

/* Ensure mobile toggle is visible in dark mode */
[data-theme="dark"] .mobile-toggle {
    color: #f0f0f0;
}

/* Buttons */
.btn-primary,
.btn-neon {
    padding: 1rem 2rem;
    border-radius: 0;
    /* Minimal sharp edges */
    text-decoration: none;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.8rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background: var(--primary-color);
    color: #000;
    font-weight: 600;
}

.btn-primary:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

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

.btn-neon:hover {
    background: var(--primary-color);
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

.btn-glass {
    padding: 1rem 2rem;
    border-radius: 0;
    text-decoration: none;
    border: 2px solid var(--card-border);
    color: var(--text-color);
    background: var(--card-bg);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    transition: 0.3s;
    display: inline-block;
}

.btn-glass:hover {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: #000;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 8rem 5%;
    position: relative;
    overflow: hidden;
    background: #000000;
}

[data-theme="light"] .hero {
    background: #ffffff;
}

/* Animated GIF Background */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://cdn.pixabay.com/animation/2025/02/06/17/23/17-23-54-364_512.gif') center center / cover no-repeat;
    opacity: 0.25;
    z-index: 0;
    animation: slowZoom 30s ease-in-out infinite alternate;
}

[data-theme="light"] .hero::before {
    background: url('https://cdn.pixabay.com/animation/2025/02/06/17/23/17-23-54-364_512.gif') center center / cover no-repeat;
    opacity: 0.15;
}

@keyframes slowZoom {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.1);
    }
}

/* Golden Particle Overlay */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle, rgba(212, 175, 55, 0.4) 2px, transparent 2px),
        radial-gradient(circle, rgba(244, 208, 63, 0.3) 1px, transparent 1px);
    background-size: 100px 100px, 150px 150px;
    background-position: 0 0, 50px 50px;
    animation: particleDrift 40s linear infinite;
    opacity: 0.6;
    z-index: 1;
}

[data-theme="light"] .hero::after {
    opacity: 0.3;
}

@keyframes particleDrift {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(100px, -100px);
    }
}

.hero-content {
    max-width: 900px;
    z-index: 2;
    position: relative;
    width: 100%;
}

.hero h1 {
    font-size: clamp(3rem, 8vw, 6rem);
    /* Responsive font size */
    line-height: 1.1;
    margin-bottom: 2rem;
    color: var(--text-color);
    background: linear-gradient(135deg, var(--primary-color) 0%, #f4d03f 50%, var(--primary-color) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 5s linear infinite;
    filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.3));
}

@keyframes shine {
    to {
        background-position: 200% center;
    }
}

.subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    margin-bottom: 3rem;
    color: var(--text-color);
    opacity: 0.8;
    font-weight: 300;
    letter-spacing: 1px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 1rem;
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Services Section */
.services {
    padding: 8rem 5%;
    background: var(--section-bg);
    max-width: var(--container-width);
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 4rem;
    color: var(--text-color);
    text-transform: uppercase;
    letter-spacing: 5px;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

.section-title .highlight {
    color: var(--primary-color);
    font-style: italic;
    font-family: var(--font-main);
    text-transform: none;
    letter-spacing: 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    /* Improved min-width */
    gap: 2.5rem;
    /* Increased gap */
    justify-content: center;
}

.service-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.service-card {
    background: var(--card-bg);
    height: 400px;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--card-border);
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
}

.service-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.2);
    transform: translateY(-5px);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.4;
    transition: transform 0.5s, opacity 0.5s;
    filter: grayscale(100%);
}

.service-card:hover::before {
    transform: scale(1.1);
    opacity: 0.2;
    filter: grayscale(0%);
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, #000 0%, transparent 80%);
    z-index: 1;
}

.card-content {
    position: relative;
    z-index: 2;
    transform: translateY(20px);
    transition: transform 0.5s;
}

.service-card:hover .card-content {
    transform: translateY(0);
}

.icon-box {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.5s;
}

.service-card:hover .icon-box {
    opacity: 1;
    transform: translateY(0);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #ffffff;
    /* Always white for contrast against dark overlay */
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.service-card p {
    color: rgba(255, 255, 255, 0.9);
    /* Light white for readability */
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    opacity: 0;
    transition: opacity 0.5s 0.1s;
    max-height: 0;
    overflow: hidden;
}

.service-card:hover p {
    opacity: 1;
    max-height: 100px;
}

.read-more {
    color: var(--primary-color);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.read-more i {
    transition: transform 0.3s;
}

.service-card:hover .read-more i {
    transform: translateX(5px);
}

.card-border {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 1px solid var(--primary-color);
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
    z-index: 3;
}

.service-card:hover .card-border {
    opacity: 0.5;
}

/* Stats Section */
.stats-section {
    padding: 5rem 5%;
    background: var(--card-bg);
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 3rem;
    text-align: center;
    border-top: 1px solid var(--card-border);
    border-bottom: 1px solid var(--card-border);
}

.stat-item h2 {
    font-size: clamp(2.5rem, 4vw, 4rem);
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: var(--text-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
}

/* Why Us Section */
.why-us {
    padding: 8rem 5%;
    background: var(--bg-color);
    max-width: var(--container-width);
    margin: 0 auto;
    position: relative;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-color);
    opacity: 0.7;
    margin-top: -2rem;
    margin-bottom: 4rem;
    font-weight: 300;
    letter-spacing: 1px;
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-bottom: 4rem;
}

.why-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    padding: 3rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.why-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), #f4d03f);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

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

.why-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.25);
}

.why-icon-wrapper {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.3), transparent 70%);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.2);
        opacity: 0.8;
    }
}

.why-icon-wrapper i {
    font-size: 3.5rem;
    color: var(--primary-color);
    position: relative;
    z-index: 2;
    transition: all 0.4s ease;
}

.why-card:hover .why-icon-wrapper i {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.6));
}

.why-card h3 {
    font-size: 1.4rem;
    color: var(--text-color);
    margin-bottom: 1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.why-card p {
    color: var(--text-color);
    opacity: 0.8;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.why-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.15), rgba(244, 208, 63, 0.1));
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.why-card:hover .why-badge {
    background: var(--primary-color);
    color: #000;
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.why-badge i {
    font-size: 0.9rem;
}

/* Trust Indicators */
.trust-indicators {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 3rem;
    padding: 3rem 2rem;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 10px;
}

.trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    transition: all 0.3s ease;
}

.trust-item:hover {
    transform: translateY(-5px);
}

.trust-item i {
    font-size: 2rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.trust-item:hover i {
    transform: scale(1.2);
    filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.5));
}

.trust-item span {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Recommended Services Section */
.recommended-services {
    padding: 8rem 5%;
    background: var(--section-bg);
    max-width: var(--container-width);
    margin: 0 auto;
    overflow: hidden;
}

.recommended-carousel {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) var(--card-bg);
    padding: 2rem 0;
    margin-top: 2rem;
}

.recommended-carousel::-webkit-scrollbar {
    height: 8px;
}

.recommended-carousel::-webkit-scrollbar-track {
    background: var(--card-bg);
    border-radius: 10px;
}

.recommended-carousel::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
}

.recommended-carousel::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

.recommended-card {
    min-width: 320px;
    flex: 0 0 auto;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    padding: 2.5rem 2rem;
    text-decoration: none;
    color: inherit;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    cursor: pointer;
}

.recommended-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), #f4d03f);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

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

.recommended-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 50px rgba(212, 175, 55, 0.3);
}

.recommended-card-inner {
    position: relative;
    z-index: 2;
}

.recommended-icon-wrapper {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.recommended-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.4), transparent 70%);
    border-radius: 50%;
    animation: recommendedPulse 3s ease-in-out infinite;
}

@keyframes recommendedPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.4;
    }

    50% {
        transform: scale(1.3);
        opacity: 0.7;
    }
}

.recommended-icon-wrapper i {
    font-size: 3rem;
    color: var(--primary-color);
    position: relative;
    z-index: 2;
    transition: all 0.4s ease;
}

.recommended-card:hover .recommended-icon-wrapper i {
    transform: scale(1.15) rotate(10deg);
    filter: drop-shadow(0 0 25px rgba(212, 175, 55, 0.8));
}

.recommended-card h3 {
    font-size: 1.3rem;
    color: var(--text-color);
    margin-bottom: 1rem;
    font-weight: 600;
    text-align: center;
    transition: color 0.3s ease;
}

.recommended-card:hover h3 {
    color: var(--primary-color);
}

.recommended-card p {
    color: var(--text-color);
    opacity: 0.8;
    font-size: 0.9rem;
    line-height: 1.6;
    text-align: center;
    margin-bottom: 1.5rem;
    min-height: 60px;
}

.recommended-arrow {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    margin: 0 auto;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.recommended-arrow i {
    color: var(--primary-color);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.recommended-card:hover .recommended-arrow {
    background: var(--primary-color);
    transform: scale(1.1);
}

.recommended-card:hover .recommended-arrow i {
    color: #000;
    transform: translateX(3px);
}

/* Responsive adjustments for recommended services */
@media (max-width: 768px) {
    .recommended-card {
        min-width: 280px;
    }

    .recommended-services {
        padding: 6rem 5%;
    }
}

/* Testimonials */
.testimonials {
    padding: 8rem 5%;
    background: var(--bg-color);
    border-top: 1px solid var(--card-border);
    max-width: var(--container-width);
    margin: 0 auto;
    position: relative;
}

.slider-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-slider {
    display: flex;
    flex-wrap: nowrap;
    gap: 2rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    padding: 1rem 0;
    width: 100%;
}

.testimonial-slider::-webkit-scrollbar {
    display: none;
}

.slider-btn {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    color: var(--text-color);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
    flex-shrink: 0;
}

.slider-btn:hover {
    background: var(--primary-color);
    color: #000;
    border-color: var(--primary-color);
}

.testimonial-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    padding: 2.5rem;
    position: relative;
    min-width: 350px;
    /* Fixed width for slider */
    flex: 0 0 auto;
    border-radius: 10px;
    /* Soften edges */
}

.quote-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.testimonial-card p {
    font-size: 1rem;
    color: var(--text-color);
    margin-bottom: 2rem;
    font-weight: 300;
    line-height: 1.8;
}

.client-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.client-info img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    filter: grayscale(100%);
    object-fit: cover;
}

/* Theme Toggle */
.theme-toggle {
    cursor: pointer;
    font-size: 1.2rem;
    color: var(--text-color);
    margin-left: 2rem;
    transition: all 0.3s ease;
    padding: 0.5rem;
    border-radius: 50%;
    background: var(--card-bg);
    border: 2px solid var(--card-border);
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-toggle:hover {
    background: var(--primary-color);
    color: #000;
    border-color: var(--primary-color);
    transform: rotate(20deg);
}

.client-info h4 {
    font-size: 0.9rem;
    color: var(--text-color);
    margin-bottom: 0.2rem;
}

.client-info span {
    font-size: 0.8rem;
    color: var(--primary-color);
}

/* Contact Section */
.contact {
    padding: 8rem 5%;
    background: #0a0a0a;
    max-width: var(--container-width);
    margin: 0 auto;
}

.contact-container {
    display: flex;
    border: 1px solid var(--card-border);
    background: var(--card-bg);
    flex-wrap: wrap;
}

.contact-info {
    flex: 1;
    padding: 3rem;
    border-right: 1px solid #222;
    min-width: 300px;
}

.contact-info h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.contact-details {
    list-style: none;
    margin-top: 3rem;
}

.contact-details li {
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    color: #aaa;
}

.contact-details i {
    color: var(--primary-color);
}

.contact-form {
    flex: 1.5;
    padding: 3rem;
    min-width: 300px;
}

.input-group {
    position: relative;
    margin-bottom: 2.5rem;
}

.input-group input,
.input-group textarea {
    width: 100%;
    padding: 10px 0;
    background: transparent;
    border: none;
    border-bottom: 1px solid #ccc;
    color: var(--text-color);
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s;
}

.input-group label {
    position: absolute;
    top: 10px;
    left: 0;
    color: #666;
    pointer-events: none;
    transition: 0.3s ease all;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

.input-group input:focus,
.input-group textarea:focus,
.input-group input:valid,
.input-group textarea:valid {
    border-bottom-color: var(--primary-color);
}

.input-group input:focus~label,
.input-group textarea:focus~label,
.input-group input:valid~label,
.input-group textarea:valid~label {
    top: -20px;
    font-size: 0.7rem;
    color: var(--primary-color);
}

.service-info p {
    color: #999;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.btn-start-service {
    background: var(--primary-color);
    color: #000;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-start-service:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.4);
}

.btn-start-service i {
    font-size: 1rem;
}

/* Footer */
footer {
    background: #1a1a1a;
    padding: 4rem 5% 2rem;
    border-top: 3px solid var(--primary-color);
    color: #999;
    font-size: 0.9rem;
    max-width: 100%;
    margin: 0;
}

[data-theme="light"] footer {
    background: #ffffff;
    border-top: 3px solid var(--primary-color);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    color: #666;
}

.footer-content {
    max-width: var(--container-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.footer-section p,
.footer-section ul {
    color: #aaa;
    line-height: 1.8;
}

[data-theme="light"] .footer-section p,
[data-theme="light"] .footer-section ul {
    color: #666;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-section ul li i {
    color: var(--primary-color);
    font-size: 0.9rem;
}

.footer-section a {
    color: #aaa;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--primary-color);
}

[data-theme="light"] .footer-section a {
    color: #666;
}

[data-theme="light"] .footer-section a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    max-width: var(--container-width);
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid #333;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

[data-theme="light"] .footer-bottom {
    border-top: 1px solid #ddd;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.footer-brand img {
    height: 35px;
    width: auto;
}

.footer-brand p {
    color: #999;
    margin: 0;
}

[data-theme="light"] .footer-brand p {
    color: #777;
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-links a {
    color: #aaa;
    font-size: 1.3rem;
    transition: all 0.3s;
}

.social-links a:hover {
    color: var(--primary-color);
    transform: translateY(-3px);
}

[data-theme="light"] .social-links a {
    color: #666;
}

[data-theme="light"] .social-links a:hover {
    color: var(--primary-color);
}

/* Category Detail Page */
.category-header {
    padding: 10rem 5% 5rem;
    text-align: center;
    background: var(--bg-color);
    max-width: var(--container-width);
    margin: 0 auto;
}

.icon-large {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.category-header h1 {
    font-size: clamp(2.5rem, 5vw, 3rem);
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.category-header p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
    color: #888;
    padding: 0 1rem;
}

.sub-services {
    padding: 0 5% 8rem;
    background: var(--bg-color);
    max-width: var(--container-width);
    margin: 0 auto;
}

.sub-service-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.sub-service-item {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    padding: 2rem;
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.sub-service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 0;
    background: linear-gradient(180deg, var(--primary-color), #f4d03f);
    transition: height 0.3s ease;
}

.sub-service-item:hover::before {
    height: 100%;
}

.sub-service-item:hover {
    border-color: var(--primary-color);
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.15);
}

.check-icon {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-top: 5px;
    flex-shrink: 0;
}

[data-theme="light"] .check-icon {
    color: var(--primary-color);
    filter: brightness(0.9);
}

.service-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.service-info h3 {
    font-size: 1.2rem;
    margin-bottom: 0;
    color: var(--text-color);
    font-weight: 600;
}

[data-theme="dark"] .service-info h3 {
    color: #ffffff;
}

.service-info p {
    color: #999;
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

[data-theme="light"] .service-info p {
    color: #666;
}

.btn-start-service {
    background: var(--primary-color);
    color: #000;
    border: none;
    padding: 0.7rem 1.3rem;
    border-radius: 5px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    align-self: flex-start;
    white-space: nowrap;
}

.btn-start-service:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.4);
}

.cta-box {
    margin-top: 6rem;
    text-align: center;
    padding: 4rem 2rem;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
}

.cta-box h2 {
    margin-bottom: 2rem;
    color: var(--text-color);
    font-size: clamp(1.5rem, 3vw, 2rem);
}

/* Benefits Section */
.benefits {
    padding: 8rem 5%;
    background: var(--bg-color);
    max-width: var(--container-width);
    margin: 0 auto;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.benefit-card {
    text-align: center;
    padding: 2rem;
    border: 1px solid var(--card-border);
    background: var(--card-bg);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.benefit-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: linear-gradient(180deg, rgba(212, 175, 55, 0.1), transparent);
    transition: height 0.3s ease;
}

.benefit-card:hover::after {
    height: 100%;
}

.benefit-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.2);
}

.benefit-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.benefit-card h3 {
    color: var(--text-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.benefit-card p {
    color: #888;
    font-size: 0.9rem;
}

/* Workflow Section */
.workflow {
    padding: 8rem 5%;
    background: var(--bg-color);
    max-width: var(--container-width);
    margin: 0 auto;
}

.workflow-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.step {
    position: relative;
    padding: 2rem;
}

.step-number {
    font-size: 4rem;
    font-weight: 700;
    color: var(--card-border);
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 0;
}

.step h3 {
    position: relative;
    z-index: 1;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.step p {
    position: relative;
    z-index: 1;
    color: #888;
    font-size: 0.9rem;
}

/* Responsive Media Queries */
@media (max-width: 1024px) {

    .services-grid,
    .testimonial-container,
    .benefits-grid,
    .sub-service-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .mobile-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        /* Toggled via JS */
    }

    .hero {
        padding-top: 6rem;
    }

    .services-grid,
    .testimonial-container,
    .benefits-grid,
    .sub-service-list,
    .workflow-steps {
        grid-template-columns: 1fr;
    }

    .contact-container {
        flex-direction: column;
    }

    .contact-info {
        border-right: none;
        border-bottom: 1px solid var(--card-border);
        padding: 2rem;
    }

    .contact-form {
        padding: 2rem;
    }

    footer {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .service-card {
        height: 350px;
    }

    .contact-info,
    .contact-form {
        padding: 1.5rem;
    }
}

/* Popup Modal Styles */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.popup-container {
    background: var(--card-bg);
    border: 2px solid var(--primary-color);
    border-radius: 15px;
    max-width: 550px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.8);
    transition: transform 0.3s ease;
    box-shadow: 0 10px 50px rgba(212, 175, 55, 0.3);
}

.popup-overlay.active .popup-container {
    transform: scale(1);
}

.popup-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: transparent;
    border: none;
    color: var(--text-color);
    font-size: 1.5rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s;
    z-index: 10;
}

.popup-close:hover {
    background: var(--primary-color);
    color: #000;
    transform: rotate(90deg);
}

.popup-header {
    text-align: center;
    padding: 3rem 2rem 2rem;
    border-bottom: 1px solid var(--card-border);
}

.popup-header i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.popup-header h2 {
    font-size: 2rem;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.popup-subtitle {
    color: #999;
    font-size: 0.95rem;
}

.popup-form {
    padding: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-color);
    font-weight: 500;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.form-group label i {
    color: var(--primary-color);
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.9rem;
    background: var(--bg-color);
    border: 1px solid var(--card-border);
    border-radius: 8px;
    color: var(--text-color);
    font-size: 0.95rem;
    transition: all 0.3s;
    font-family: var(--font-main);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.btn-submit-inquiry {
    width: 100%;
    background: var(--primary-color);
    color: #000;
    border: none;
    padding: 1rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-submit-inquiry:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
}

.popup-success {
    padding: 3rem 2rem;
    text-align: center;
}

.success-icon {
    font-size: 4rem;
    color: #4CAF50;
    margin-bottom: 1.5rem;
    animation: scaleIn 0.5s ease;
}

@keyframes scaleIn {
    0% {
        transform: scale(0);
    }

    50% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
    }
}

.popup-success h3 {
    font-size: 1.8rem;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.popup-success p {
    color: #999;
    font-size: 1rem;
    margin-bottom: 2rem;
}

.btn-close-success {
    background: var(--primary-color);
    color: #000;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-close-success:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}