/* =========================================
   ALTI - MAIN STYLESHEET
   =========================================
   
   TABLE OF CONTENTS:
   1. Reset & Base
   2. Typography
   3. Layout Utilities
   4. Buttons & Links
   5. Header & Navigation
   6. Hero Section
   7. Services Section
   8. Why Us Section
   9. Process/Timeline Section
   10. Gallery Section
   11. About Section
   12. Contact Form Section
   13. Footer
   14. Animations
   15. Media Queries (Responsive)
   
   ========================================= */

/* Import variables - MUST be first */
@import url('./variables.css');

/* =========================================
   1. RESET & BASE
   =========================================
   Basic reset for consistent styling across browsers
   ========================================= */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    /* Base font size - 1rem = 16px */
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    line-height: 1.6;
    background-color: var(--color-white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* =========================================
   2. TYPOGRAPHY
   =========================================
   
   HOW TO EDIT HEADINGS:
   - Change font sizes in variables.css
   - Modify colors using --color-dark variable
   ========================================= */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--color-dark);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--space-md);
}

h1 {
    font-size: var(--text-4xl);
}

h2 {
    font-size: var(--text-3xl);
}

h3 {
    font-size: var(--text-xl);
}

h4 {
    font-size: var(--text-lg);
}

p {
    margin-bottom: var(--space-md);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-base);
}

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

ul {
    list-style: none;
}

img,
svg {
    max-width: 100%;
    display: block;
    height: auto;
}

/* =========================================
   3. LAYOUT UTILITIES
   =========================================
   Reusable layout classes
   ========================================= */

/* Container - centers content with max width */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* Narrow container for text-heavy sections */
.container-narrow {
    max-width: var(--container-narrow);
}

/* Section padding - use on all main sections */
.section-padding {
    padding: var(--space-4xl) 0;
}

/* Background colors */
.bg-light {
    background-color: var(--color-light);
}

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

.bg-dark-alt {
    background-color: var(--color-dark-alt);
}

/* Text utilities */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.text-white {
    color: var(--color-white);
}

.text-muted {
    color: var(--color-text-muted);
}

/* Spacing utilities */
.mt-1 {
    margin-top: var(--space-md);
}

.mt-2 {
    margin-top: var(--space-xl);
}

.mb-1 {
    margin-bottom: var(--space-md);
}

.mb-2 {
    margin-bottom: var(--space-xl);
}

/* Section title with underline decoration */
.section-title {
    font-size: var(--text-3xl);
    margin-bottom: var(--space-3xl);
    position: relative;
    padding-bottom: var(--space-md);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--color-primary);
}

/* Left-aligned section title variant */
.section-title.text-left::after {
    left: 0;
    transform: none;
}

/* White underline for dark backgrounds */
.bg-dark .section-title::after,
.section-title.text-white::after {
    background-color: var(--color-white);
}

/* =========================================
   4. BUTTONS & LINKS
   =========================================
   
   HOW TO EDIT BUTTONS:
   - Change button colors in variables.css (--color-primary)
   - Adjust padding and font-size below
   - Add new button variants by copying .btn-primary
   ========================================= */
.btn {
    display: inline-block;
    padding: 12px 24px;
    font-weight: 600;
    font-family: var(--font-body);
    text-transform: uppercase;
    border-radius: var(--radius-sm);
    cursor: pointer;
    border: none;
    font-size: var(--text-sm);
    letter-spacing: 0.5px;
    transition: var(--transition-base);
    text-align: center;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-white);
}

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

.btn-secondary {
    background-color: var(--color-secondary);
    color: var(--color-white);
}

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

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

.btn-outline:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
}

/* Button size variants */
.btn-large {
    padding: 16px 32px;
    font-size: var(--text-base);
}

.btn-small {
    padding: 8px 16px;
    font-size: var(--text-xs);
}

.btn-full {
    width: 100%;
}

/* =========================================
   5. HEADER & NAVIGATION
   =========================================
   
   HOW TO EDIT:
   - Change logo text in HTML
   - Add nav links inside .nav-menu
   - Adjust navbar height by changing padding
   ========================================= */
.navbar {
    position: sticky;
    top: 0;
    background-color: var(--color-dark-alt);
    background: linear-gradient(to right, var(--color-dark-alt), #0f2242);
    box-shadow: var(--shadow-sm);
    z-index: var(--z-fixed);
    padding: 0;
    transition: background-color 0.3s ease;
}

/* Make navbar transparent when mobile menu is open */
.navbar.menu-open {
    background-color: transparent;
    box-shadow: none;
}

/* Keep logo visible and make it white when menu is open */
.navbar.menu-open .logo {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.navbar.menu-open .logo img {
    filter: brightness(0) invert(1);
}

/* Hide scroll logo when menu is open */
.navbar.menu-open .logo-scroll {
    opacity: 0 !important;
    visibility: hidden !important;
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}


/* Logo styling */
.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo img {
    height: 98px;
    width: auto;
    transition: var(--transition-base);
    filter: brightness(0) invert(1);
}

.logo:hover img {
    transform: scale(1.02);
    filter: brightness(0) invert(1) drop-shadow(0 0 2px rgba(255, 255, 255, 0.5));
}

/* Main logo transition for scroll effect */
.logo {
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* Hide main logo when scrolled */
.navbar.scrolled .logo {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* Scroll logo - centered icon that appears on scroll (MOBILE ONLY) */
.logo-scroll {
    position: absolute;
    left: 50%;
    top: 67%;
    transform: translate(-50%, -50%);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    pointer-events: none;
}

.logo-scroll img {
    height: 197px;
    width: auto;
}

/* Show scroll logo when navbar has .scrolled class (MOBILE ONLY) */
.navbar.scrolled .logo-scroll {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* Footer logo styling */
.footer-logo {
    display: inline-block;
    margin-bottom: var(--space-md);
}

.footer-logo img {
    height: 50px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.95;
    transition: var(--transition-base);
}

.footer-logo:hover img {
    opacity: 1;
    transform: scale(1.02);
}

/* Navigation menu */
.nav-menu {
    display: none;
    /* Hidden on mobile by default */
    gap: var(--space-xl);
}

.nav-menu a {
    font-weight: 500;
    font-weight: 500;
    color: var(--color-white);
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-primary);
    transition: var(--transition-base);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

/* Mobile menu toggle button */
.nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    position: relative;
    z-index: calc(var(--z-modal) + 10);
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    width: 24px;
    height: 2px;
    background-color: var(--color-white);
    border-radius: 2px;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    position: absolute;
}

.nav-toggle span:nth-child(1) {
    top: 14px;
}

.nav-toggle span:nth-child(2) {
    top: 21px;
}

.nav-toggle span:nth-child(3) {
    top: 28px;
}

/* Hamburger to X animation */
.nav-toggle.active span {
    background-color: var(--color-white);
}

.nav-toggle.active span:nth-child(1) {
    top: 21px;
    transform: rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}

.nav-toggle.active span:nth-child(3) {
    top: 21px;
    transform: rotate(-45deg);
}

/* =========================================
   MOBILE NAVIGATION - Full Screen Overlay
   ========================================= */
.nav-mobile {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--color-dark) 0%, var(--color-dark-alt) 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: var(--space-3xl) var(--space-xl);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    z-index: var(--z-modal);
}

.nav-mobile.active {
    opacity: 1;
    visibility: visible;
}

/* Menu links container */
.nav-mobile a {
    display: block;
    padding: var(--space-md) var(--space-xl);
    font-family: var(--font-heading);
    font-size: var(--text-2xl);
    font-weight: 600;
    color: var(--color-white);
    text-align: center;
    border-bottom: none;
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.4s ease;
}

.nav-mobile.active a {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered animation delays */
.nav-mobile a:nth-child(1) {
    transition-delay: 0.1s;
}

.nav-mobile a:nth-child(2) {
    transition-delay: 0.15s;
}

.nav-mobile a:nth-child(3) {
    transition-delay: 0.2s;
}

.nav-mobile a:nth-child(4) {
    transition-delay: 0.25s;
}

.nav-mobile a:nth-child(5) {
    transition-delay: 0.3s;
}

.nav-mobile a:nth-child(6) {
    transition-delay: 0.35s;
}

/* Hover effect on links */
.nav-mobile a::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--color-primary);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-mobile a:hover {
    color: var(--color-primary);
}

.nav-mobile a:hover::after {
    width: 50%;
}

/* CTA Button in mobile menu */
.nav-mobile a.btn {
    margin-top: var(--space-xl);
    font-size: var(--text-base);
    padding: var(--space-md) var(--space-2xl);
    border-radius: var(--radius-sm);
    width: auto;
    max-width: 280px;
}

.nav-mobile a.btn::after {
    display: none;
}

.nav-mobile a.btn:hover {
    color: var(--color-white);
    transform: translateY(-3px);
}

/* Decorative elements */
.nav-mobile::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(22, 124, 178, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.nav-mobile::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -20%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(22, 124, 178, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

/* CTA button in navbar - hidden on mobile */
.nav-cta {
    display: none;
    margin-left: auto;
}

/* =========================================
   6. HERO SECTION
   =========================================
   
   HOW TO EDIT:
   - Change background: add image URL in background property
   - Edit text directly in HTML
   - Adjust height with min-height
   ========================================= */
.hero {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    text-align: center;
    padding: var(--space-4xl) 0;
    overflow: hidden;
}

/* Hero background image container */
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Hero Slideshow - multiple rotating images */
.hero-slideshow img {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.hero-slideshow img.active {
    opacity: 1;
}

/* Dark overlay on top of image */
.hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(26, 26, 26, 0.65), rgba(26, 26, 26, 0.75));
    z-index: 2;
}

.hero-container {
    position: relative;
    z-index: 2;
    /* Above the background */
    max-width: var(--container-narrow);
}

.hero h1 {
    color: var(--color-white);
    font-size: var(--text-4xl);
    margin-bottom: var(--space-xl);
}

.hero-subtitle {
    font-size: var(--text-lg);
    margin-bottom: var(--space-3xl);
    opacity: 0.9;
    line-height: 1.7;
}

/* =========================================
   7. SERVICES SECTION
   =========================================
   
   HOW TO ADD A NEW SERVICE:
   1. Copy a .service-card block in HTML
   2. Change icon SVG, title, and list items
   3. Grid will automatically accommodate new cards
   ========================================= */
.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
}

.service-card {
    background: var(--color-white);
    padding: var(--space-xl);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
    border-top: 4px solid var(--color-primary);
}

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

/* Service icon container */
.service-icon {
    width: 60px;
    height: 60px;
    margin-bottom: var(--space-md);
    color: var(--color-secondary);
}

.service-icon svg,
.service-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.service-card h3 {
    color: var(--color-dark);
    margin-bottom: var(--space-md);
}

/* Service list items with bullet points */
.service-card ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: var(--space-sm);
    color: var(--color-gray-dark);
}

.service-card ul li::before {
    content: '✓';
    color: var(--color-primary);
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* =========================================
   8. WHY US SECTION (Features) - Redesigned
   =========================================
   
   Modern card-based layout with icons
   ========================================= */

/* Section background with subtle gradient */
.why-us {
    background: linear-gradient(180deg, var(--color-light) 0%, var(--color-white) 50%, var(--color-light) 100%);
    position: relative;
    overflow: hidden;
}

/* Decorative background elements */
.why-us::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(79, 140, 69, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.why-us::after {
    content: '';
    position: absolute;
    bottom: -150px;
    left: -150px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(22, 124, 178, 0.04) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

/* Section Header */
.why-us-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
    position: relative;
    z-index: 1;
}

.why-us-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--color-primary) 0%, #1a8fd0 100%);
    color: var(--color-white);
    padding: 10px 28px;
    border-radius: 50px;
    font-size: var(--text-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: var(--space-xl);
    box-shadow: 0 4px 15px rgba(22, 124, 178, 0.3);
}

.why-us-title {
    font-size: var(--text-3xl);
    color: var(--color-dark);
    margin-bottom: var(--space-md);
    font-weight: 700;
    position: relative;
}

.why-us-subtitle {
    font-size: var(--text-lg);
    color: var(--color-gray-dark);
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Features Grid */
.why-us-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    position: relative;
    z-index: 1;
}

/* Feature Cards */
.why-us-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.why-us-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

/* Card number badge */
.why-us-card-number {
    position: absolute;
    top: var(--space-lg);
    right: var(--space-lg);
    font-family: var(--font-heading);
    font-size: var(--text-3xl);
    font-weight: 700;
    color: rgba(22, 124, 178, 0.08);
    line-height: 1;
}

/* Icon container */
.why-us-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, rgba(22, 124, 178, 0.08) 0%, rgba(79, 140, 69, 0.05) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-xl);
    transition: all 0.4s ease;
    position: relative;
}

.why-us-icon::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px dashed rgba(22, 124, 178, 0.2);
    opacity: 0;
    transition: all 0.4s ease;
}

.why-us-card:hover .why-us-icon {
    transform: scale(1.08);
    background: linear-gradient(135deg, rgba(22, 124, 178, 0.12) 0%, rgba(79, 140, 69, 0.08) 100%);
}

.why-us-card:hover .why-us-icon::before {
    opacity: 1;
}

.why-us-icon img {
    width: 52px;
    height: 52px;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.why-us-card:hover .why-us-icon img {
    transform: scale(1.05);
}

/* Card content */
.why-us-card-content h3 {
    font-size: var(--text-xl);
    color: var(--color-dark);
    margin-bottom: var(--space-md);
    font-weight: 700;
    transition: color 0.3s ease;
}

.why-us-card:hover .why-us-card-content h3 {
    color: var(--color-secondary);
}

.why-us-card-content p {
    font-size: var(--text-base);
    color: var(--color-gray-dark);
    line-height: 1.7;
    margin-bottom: 0;
}

/* Accent bar at bottom */
.why-us-card-accent {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-secondary) 0%, var(--color-primary) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

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

/* Responsive - Tablet */
@media (min-width: 768px) {
    .why-us-title {
        font-size: var(--text-4xl);
    }

    .why-us-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--space-xl);
    }

    .why-us-card {
        padding: var(--space-xl) var(--space-lg);
    }

    .why-us-icon {
        width: 80px;
        height: 80px;
    }

    .why-us-icon img {
        width: 48px;
        height: 48px;
    }
}

/* Responsive - Desktop */
@media (min-width: 1024px) {
    .why-us-card {
        padding: var(--space-2xl);
    }

    .why-us-icon {
        width: 100px;
        height: 100px;
    }

    .why-us-icon img {
        width: 56px;
        height: 56px;
    }

    .why-us-card-number {
        font-size: 4rem;
    }
}

/* Legacy support - keep old classes for other uses */
.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
}

.feature-item {
    background: var(--color-white);
    padding: var(--space-xl);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--color-secondary);
}

.feature-item h3 {
    color: var(--color-dark);
    margin-bottom: var(--space-sm);
}

.feature-item p {
    color: var(--color-gray-dark);
    margin-bottom: 0;
}

/* =========================================
   9. PROCESS / TIMELINE SECTION
   =========================================
   
   HOW TO ADD A STEP:
   1. Copy a .timeline-step block
   2. Update step number and content
   3. Add delay-X class for staggered animation
   ========================================= */
.timeline {
    position: relative;
    max-width: var(--container-narrow);
    margin: 0 auto;
}

.timeline-step {
    display: flex;
    margin-bottom: var(--space-xl);
    align-items: flex-start;
}

.step-number {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background-color: var(--color-primary);
    color: var(--color-white);
    border-radius: var(--radius-full);
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    font-size: var(--text-lg);
    margin-right: var(--space-lg);
    font-family: var(--font-heading);
}

.step-content h3 {
    font-size: var(--text-xl);
    margin-bottom: var(--space-xs);
}

.step-content p {
    color: var(--color-gray-dark);
    margin-bottom: 0;
}

/* =========================================
   10. GALLERY SECTION
   =========================================
   
   HOW TO ADD GALLERY IMAGES:
   1. Place images in /assets/img/gallery/
   2. Replace mockup-placeholder with <img>
   3. Update caption text below image
   ========================================= */
.gallery-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
}

.gallery-item {
    background: var(--color-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* Image container */
.gallery-image {
    position: relative;
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
}

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

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

/* Placeholder for mockups (remove when using real images) */
.mockup-placeholder {
    position: relative;
    width: 100%;
    height: 250px;
    background-color: var(--color-gray);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.mockup-placeholder svg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mockup-label {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background-color: rgba(0, 0, 0, 0.7);
    color: var(--color-white);
    padding: 4px 12px;
    font-size: var(--text-xs);
    border-radius: var(--radius-sm);
    font-weight: 500;
}

/* Gallery caption */
.gallery-caption {
    padding: var(--space-md);
    text-align: center;
    font-weight: 500;
    color: var(--color-text);
}

/* =========================================
   BEFORE/AFTER IMAGE COMPARISON
   =========================================
   Side-by-side before/after images
   ========================================= */
.before-after-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
    background-color: var(--color-dark);
}

.before-image,
.after-image {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    background-color: var(--color-gray);
}

.before-image img,
.after-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

/* Only apply hover effects on devices that support hover */
@media (hover: hover) {

    .gallery-item:hover .before-image img,
    .gallery-item:hover .after-image img {
        transform: scale(1.05);
    }
}

/* PRED/PO Labels */
.image-label {
    position: absolute;
    top: 8px;
    left: 8px;
    background-color: rgba(0, 0, 0, 0.75);
    color: var(--color-white);
    padding: 4px 10px;
    font-size: 0.65rem;
    font-weight: 700;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.after-image .image-label {
    background-color: var(--color-primary);
}

/* Larger labels on tablet+ */
@media (min-width: 768px) {
    .image-label {
        top: 10px;
        left: 10px;
        padding: 5px 12px;
        font-size: var(--text-xs);
    }
}

/* Placeholder when images are missing */
.image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #e0e0e0 0%, #f5f5f5 100%);
    text-align: center;
    padding: var(--space-md);
}

.image-placeholder span {
    display: inline-block;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 4px 12px;
    font-size: var(--text-xs);
    font-weight: 600;
    border-radius: var(--radius-sm);
    margin-bottom: var(--space-sm);
}

.image-placeholder p {
    font-size: var(--text-xs);
    color: var(--color-gray-dark);
    margin: 0;
    line-height: 1.4;
}

/* After image placeholder gets green label */
.after-image .image-placeholder span {
    background-color: var(--color-primary);
}

/* =========================================
   PHOTO DIVIDER SECTIONS
   =========================================
   Full-width images that break up content
   ========================================= */
.photo-divider {
    position: relative;
    width: 100%;
    height: 40vh;
    min-height: 300px;
    max-height: 500px;
    overflow: hidden;
}

.photo-divider img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.photo-divider-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--space-xl) var(--space-xl);
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
}

.photo-caption {
    color: var(--color-white);
    font-size: var(--text-sm);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
    text-align: center;
}

@media (min-width: 768px) {
    .photo-divider {
        height: 50vh;
    }

    .photo-caption {
        font-size: var(--text-base);
    }
}

/* =========================================
   PHOTO DIVIDER - BEFORE/AFTER COMPARISON
   =========================================
   Side-by-side before/after image layout
   Mobile-first approach
   ========================================= */
.photo-divider-compare {
    height: auto;
    max-height: none;
    min-height: auto;
    position: relative;
}

.compare-container {
    display: flex;
    flex-direction: row;
    width: 100%;
    height: 100%;
}

.compare-side {
    position: relative;
    flex: 1;
    min-height: 200px;
    max-height: none;
    overflow: hidden;
}

/* Mobile: side by side with proper sizing */
@media (max-width: 767px) {
    .photo-divider-compare {
        height: auto;
    }

    .compare-container {
        flex-direction: row;
        gap: 2px;
    }

    .compare-side {
        flex: 1;
        min-height: 180px;
        aspect-ratio: 3/4;
    }

    .compare-before {
        border-right: 2px solid var(--color-white);
    }
}

.compare-side img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Divider line between images on mobile */
.compare-before {
    border-bottom: 2px solid var(--color-white);
}

.compare-label {
    position: absolute;
    top: var(--space-sm);
    padding: 5px 12px;
    background: rgba(0, 0, 0, 0.8);
    color: var(--color-white);
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border-radius: var(--radius-sm);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    z-index: 5;
}

.compare-before .compare-label {
    left: var(--space-sm);
    background: rgba(0, 0, 0, 0.75);
}

.compare-after .compare-label {
    left: var(--space-sm);
    background: var(--color-primary);
}

/* Fixed overlay for mobile - positioned absolutely over images */
.photo-divider-compare .photo-divider-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.4) 60%, transparent 100%);
    padding: var(--space-xl) var(--space-md) var(--space-md);
    z-index: 10;
}

.photo-divider-compare .photo-caption {
    font-size: 0.75rem;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    letter-spacing: 0.5px;
}

/* Tablet and up: side by side */
@media (min-width: 768px) {
    .photo-divider-compare {
        height: 50vh;
        min-height: 350px;
        max-height: 550px;
    }

    .compare-container {
        flex-direction: row;
    }

    .compare-side {
        min-height: 100%;
        max-height: none;
    }

    /* Remove bottom border, add side divider */
    .compare-before {
        border-bottom: none;
        border-right: 3px solid var(--color-white);
    }

    .compare-label {
        top: var(--space-md);
        padding: var(--space-xs) var(--space-md);
        font-size: var(--text-sm);
    }

    .compare-before .compare-label {
        left: var(--space-lg);
    }

    .compare-after .compare-label {
        left: auto;
        right: var(--space-lg);
    }

    .photo-divider-compare .photo-divider-overlay {
        padding: var(--space-2xl) var(--space-xl) var(--space-lg);
    }

    .photo-divider-compare .photo-caption {
        font-size: var(--text-base);
    }
}

/* =========================================
   GALLERY FILTERS
   ========================================= */
.gallery-intro,
.showcase-intro {
    font-size: var(--text-lg);
    color: var(--color-gray-dark);
    max-width: 600px;
    margin: -2rem auto var(--space-2xl);
}

.gallery-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-2xl);
    padding: 0 var(--space-sm);
}

.filter-btn {
    padding: 10px 20px;
    border: 2px solid var(--color-gray);
    background: var(--color-white);
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: 500;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition-base);
    white-space: nowrap;
}

@media (hover: hover) {
    .filter-btn:hover {
        border-color: var(--color-primary);
        color: var(--color-primary);
    }
}

.filter-btn:active {
    background: var(--color-primary-light);
}

.filter-btn.active {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-white);
}

/* Expanded gallery grid */
.gallery-grid-expanded {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
}

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

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

/* Gallery item with info */
.gallery-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-md);
}

.gallery-info .gallery-caption {
    margin: 0;
    padding: 0;
}

.gallery-tag {
    display: inline-block;
    padding: 4px 12px;
    background: var(--color-light);
    color: var(--color-gray-dark);
    font-size: var(--text-xs);
    font-weight: 500;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Hidden items for filter */
.gallery-item.hidden {
    display: none;
}

/* =========================================
   PROJECT SHOWCASE CARDS
   ========================================= */
.showcase-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
}

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

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

.project-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
}

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

.project-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
    background: var(--color-gray);
}

.project-image-before,
.project-image-after {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
}

.project-image-before img,
.project-image-after img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.project-card:hover .project-image-before img,
.project-card:hover .project-image-after img {
    transform: scale(1.05);
}

.project-label {
    position: absolute;
    top: 8px;
    left: 8px;
    padding: 4px 10px;
    background: rgba(0, 0, 0, 0.7);
    color: var(--color-white);
    font-size: var(--text-xs);
    font-weight: 600;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
}

.project-label-after {
    background: var(--color-primary);
}

.project-info {
    padding: var(--space-lg);
}

.project-info h3 {
    font-size: var(--text-lg);
    margin-bottom: var(--space-sm);
    color: var(--color-dark);
}

.project-details {
    list-style: none;
    padding: 0;
    margin: 0;
}

.project-details li {
    font-size: var(--text-sm);
    color: var(--color-gray-dark);
    padding: var(--space-xs) 0;
    border-bottom: 1px solid var(--color-light);
}

.project-details li:last-child {
    border-bottom: none;
}

.project-details strong {
    color: var(--color-text);
}

/* =========================================
   10.5 BENEFITS / STATISTICS SECTION
   ========================================= */
.benefits {
    background: linear-gradient(135deg, var(--color-light) 0%, #ffffff 100%);
    text-align: center;
    overflow: hidden;
}

/* Badge at top */
.benefits-badge {
    display: inline-block;
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 10px 24px;
    border-radius: 50px;
    font-size: var(--text-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--space-xl);
}

/* Main title */
.benefits-title {
    font-size: var(--text-4xl);
    color: var(--color-dark);
    margin-bottom: var(--space-lg);
    font-weight: 700;
}

/* Subtitle */
.benefits-subtitle {
    font-size: var(--text-lg);
    color: var(--color-gray-dark);
    max-width: 700px;
    margin: 0 auto var(--space-3xl);
    line-height: 1.7;
}

/* Stats grid */
.stats-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    margin-bottom: var(--space-3xl);
}

/* Individual stat card */
.stat-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
    border-left: 4px solid var(--color-secondary);
    text-align: left;
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    gap: var(--space-sm) var(--space-xl);
    align-items: center;
}

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

/* Number wrapper - left side */
.stat-number-wrapper {
    grid-row: 1 / 3;
    display: flex;
    align-items: baseline;
    justify-content: flex-end;
    gap: 2px;
    padding-right: var(--space-lg);
    border-right: 2px solid var(--color-gray);
    min-width: 90px;
}

.stat-prefix {
    font-size: var(--text-lg);
    color: var(--color-secondary);
    font-weight: 500;
    margin-right: 4px;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-dark);
    line-height: 1;
    min-width: 2ch;
    text-align: right;
    font-variant-numeric: tabular-nums;
    display: inline-block;
}

.stat-suffix {
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--color-dark);
}

/* Label */
.stat-label {
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--color-dark);
    margin: 0;
    align-self: end;
}

/* Description */
.stat-description {
    font-size: var(--text-sm);
    color: var(--color-gray-dark);
    margin: 0;
    line-height: 1.6;
    align-self: start;
}

/* CTA button container */
.benefits-cta {
    margin-top: var(--space-xl);
}

/* Responsive - Tablet and up */
@media (min-width: 768px) {
    .benefits-title {
        font-size: var(--text-5xl);
    }

    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--space-xl);
    }

    .stat-card {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
        text-align: center;
        border-left: none;
        border-top: 4px solid var(--color-secondary);
        padding: var(--space-2xl) var(--space-xl);
    }

    .stat-number-wrapper {
        grid-row: auto;
        justify-content: center;
        padding-right: 0;
        border-right: none;
        padding-bottom: var(--space-md);
        margin-bottom: var(--space-sm);
        border-bottom: 2px solid var(--color-gray);
    }

    .stat-number {
        font-size: 3rem;
    }

    .stat-label {
        font-size: var(--text-lg);
    }

    .stat-description {
        text-align: center;
    }
}

/* =========================================
   11. ABOUT SECTION
   ========================================= */

/* About wrapper - two column layout */
.about-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

/* Circular profile picture */
.about-image {
    display: flex;
    justify-content: center;
}

.about-image img {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    object-fit: cover;
    border: 6px solid var(--color-white);
    box-shadow: 0 10px 40px rgba(17, 38, 73, 0.2);
    transition: var(--transition-base);
}

.about-image img:hover {
    transform: scale(1.03);
    box-shadow: 0 15px 50px rgba(17, 38, 73, 0.25);
}

/* About content */
.about-content {
    max-width: var(--container-narrow);
    margin: 0 auto;
}

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

.about-content .section-title {
    margin-bottom: var(--space-xl);
}

.about-text p {
    margin-bottom: var(--space-md);
    color: var(--color-gray-dark);
    font-size: var(--text-lg);
    line-height: 1.8;
}

.about-text p:last-child {
    margin-bottom: 0;
}

/* About signature */
.about-signature {
    margin-top: var(--space-xl);
    padding-top: var(--space-lg);
    border-top: 2px solid var(--color-gray);
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.about-name {
    font-family: var(--font-heading);
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--color-dark);
}

.about-location {
    font-size: var(--text-sm);
    color: var(--color-gray-dark);
}

/* Responsive - About section */
@media (min-width: 900px) {
    .about-wrapper {
        grid-template-columns: auto 1fr;
        gap: var(--space-4xl);
        text-align: left;
    }

    .about-image img {
        width: 320px;
        height: 320px;
    }

    .about-content {
        margin: 0;
    }

    .about-content .section-title::after {
        left: 0;
        transform: none;
    }
}

/* =========================================
   12. CONTACT FORM SECTION
   =========================================
   
   HOW TO EDIT:
   - Add/remove form fields in HTML
   - Adjust form styling below
   - Configure form action (e.g., Formspree)
   ========================================= */

/* Contact section styling */
.contact {
    background: linear-gradient(135deg, #1a3a5c 0%, #112649 100%);
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
    pointer-events: none;
}

.contact>.container {
    position: relative;
    z-index: 1;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-3xl);
}

/* Contact left side with logo */
.contact-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

/* Contact logo - white version */
.contact-logo {
    margin-bottom: var(--space-2xl);
}

.contact-logo img {
    max-width: 200px;
    height: auto;
    margin: 0 auto;
    filter: brightness(0) invert(1);
    opacity: 0.95;
}

/* Contact title */
.contact-title {
    font-size: var(--text-3xl);
    color: var(--color-white);
    margin-bottom: var(--space-md);
    font-weight: 700;
}

.contact-subtitle {
    font-size: var(--text-lg);
    color: var(--color-white);
    opacity: 0.85;
    margin-bottom: var(--space-2xl);
    line-height: 1.6;
}

/* Contact features list */
.contact-features {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    align-items: center;
}

.contact-feature {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    color: var(--color-white);
    font-size: var(--text-base);
}

.contact-feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: var(--color-primary);
    color: var(--color-white);
    border-radius: 50%;
    font-size: var(--text-sm);
    font-weight: 700;
}

/* Legacy support */
.contact-left .section-title {
    margin-top: var(--space-xl);
}

.contact-left .section-title::after {
    left: 50%;
    transform: translateX(-50%);
}

.contact-left p.text-white {
    opacity: 0.9;
}

/* Contact image (legacy - if still used) */
.contact-image {
    width: 100%;
    max-width: 400px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    margin: 0 auto;
}

.contact-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.contact-form {
    background-color: var(--color-white);
    padding: var(--space-xl);
    border-radius: var(--radius-md);
    color: var(--color-text);
}

.form-group {
    margin-bottom: var(--space-lg);
}

.form-group label {
    display: block;
    margin-bottom: var(--space-sm);
    font-weight: 500;
    font-size: var(--text-sm);
    color: var(--color-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--color-gray);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: var(--text-base);
    transition: var(--transition-base);
    background-color: var(--color-white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px var(--color-primary-light);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #999;
}

/* Form row for side-by-side fields */
.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
}

/* =========================================
   13. FOOTER
   =========================================
   
   HOW TO EDIT:
   - Update contact info in HTML
   - Add/remove social links
   - Change footer links
   ========================================= */
.footer {
    background-color: var(--color-dark-alt);
    color: rgba(255, 255, 255, 0.7);
    padding: var(--space-3xl) 0 var(--space-xl);
}

.footer-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
}

/* Footer company info */
.footer-info h3 {
    color: var(--color-white);
    font-size: var(--text-2xl);
    margin-bottom: var(--space-md);
}

.footer-info p {
    margin-bottom: var(--space-sm);
}

.contact-details {
    margin-top: var(--space-md);
}

.contact-details a {
    color: var(--color-white);
}

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

/* Footer links */
.footer-links h4,
.footer-social h4 {
    color: var(--color-white);
    font-size: var(--text-base);
    margin-bottom: var(--space-md);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-links a:hover {
    color: var(--color-white);
}

/* Social icons */
.social-icons {
    display: flex;
    gap: var(--space-md);
}

.social-icons a {
    color: var(--color-white);
    opacity: 0.8;
    transition: var(--transition-base);
}

.social-icons a:hover {
    opacity: 1;
    color: var(--color-primary);
    transform: translateY(-2px);
}

.social-icons svg {
    width: 24px;
    height: 24px;
}

/* Footer bottom bar */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: var(--space-xl);
    text-align: center;
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.6);
}

/* =========================================
   14. ANIMATIONS
   =========================================
   Classes for scroll-triggered animations.
   Add these classes to elements in HTML.
   ========================================= */

/* Fade in from transparent */
.fade-in {
    opacity: 0;
    transition: opacity var(--transition-animation);
}

.fade-in.visible {
    opacity: 1;
}

/* Fade in from bottom */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition:
        opacity var(--transition-animation),
        transform var(--transition-animation);
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Fade in from left */
.fade-in-right {
    opacity: 0;
    transform: translateX(-30px);
    transition:
        opacity var(--transition-animation),
        transform var(--transition-animation);
}

.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Animation delays for staggered effects */
.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}

.delay-4 {
    transition-delay: 0.4s;
}

.delay-5 {
    transition-delay: 0.5s;
}

/* =========================================
   15. MEDIA QUERIES (RESPONSIVE)
   =========================================
   Mobile-first approach: base styles are mobile,
   larger screens get enhanced layouts.
   ========================================= */

/* =========================================
   MOBILE POLISH - Comprehensive mobile fixes
   ========================================= */

/* Small mobile (up to 480px) */
@media (max-width: 480px) {
    .logo img {
        height: 70px;
    }

    .logo-scroll img {
        height: 166px;
    }

    .navbar.scrolled .logo img {
        height: 32px;
    }

    .footer-logo img {
        height: 42px;
    }

    /* Hero section mobile polish */
    .hero {
        min-height: 70vh;
        padding: var(--space-3xl) 0;
    }

    .hero h1 {
        font-size: 1.75rem;
        line-height: 1.2;
        margin-bottom: var(--space-md);
    }

    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: var(--space-xl);
        line-height: 1.6;
    }

    .hero .btn-large {
        padding: 14px 24px;
        font-size: 0.8rem;
    }

    /* Section titles mobile */
    .section-title {
        font-size: 1.5rem;
        margin-bottom: var(--space-xl);
    }

    .section-padding {
        padding: var(--space-2xl) 0;
    }

    /* Services cards mobile */
    .service-card {
        padding: var(--space-lg);
    }

    .service-card h3 {
        font-size: 1.1rem;
    }

    .service-icon {
        width: 48px;
        height: 48px;
    }

    /* Why us section mobile */
    .why-us-badge {
        padding: 8px 20px;
        font-size: 0.7rem;
        letter-spacing: 1px;
    }

    .why-us-title {
        font-size: 1.5rem;
    }

    .why-us-subtitle {
        font-size: 0.95rem;
    }

    .why-us-card {
        padding: var(--space-lg);
    }

    .why-us-icon {
        width: 70px;
        height: 70px;
    }

    .why-us-icon img {
        width: 40px;
        height: 40px;
    }

    .why-us-card-content h3 {
        font-size: 1.1rem;
    }

    .why-us-card-content p {
        font-size: 0.9rem;
    }

    /* Timeline/Process mobile */
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        margin-right: var(--space-md);
    }

    .step-content h3 {
        font-size: 1rem;
    }

    .step-content p {
        font-size: 0.9rem;
    }

    /* Gallery mobile */
    .gallery-intro {
        font-size: 0.95rem;
        margin-bottom: var(--space-lg);
    }

    .gallery-filters {
        gap: var(--space-xs);
        margin-bottom: var(--space-lg);
    }

    .filter-btn {
        padding: 8px 14px;
        font-size: 0.75rem;
    }

    .gallery-info {
        padding: var(--space-sm) var(--space-md);
        flex-direction: column;
        gap: var(--space-xs);
        align-items: flex-start;
    }

    .gallery-caption {
        font-size: 0.9rem;
    }

    .gallery-tag {
        font-size: 0.65rem;
        padding: 3px 10px;
    }

    .image-label {
        padding: 3px 8px;
        font-size: 0.6rem;
    }

    /* Service category cards mobile */
    .service-category-card {
        padding: var(--space-lg);
    }

    .service-category-icon {
        width: 60px;
        height: 60px;
        margin-bottom: var(--space-md);
    }

    .service-category-card h3 {
        font-size: 1.1rem;
        margin-bottom: var(--space-xs);
    }

    .service-category-card p {
        font-size: 0.85rem;
        margin-bottom: var(--space-md);
    }

    /* Benefits/Stats section mobile */
    .benefits-badge {
        padding: 8px 18px;
        font-size: 0.7rem;
    }

    .benefits-title {
        font-size: 1.5rem;
    }

    .benefits-subtitle {
        font-size: 0.95rem;
        margin-bottom: var(--space-xl);
    }

    .stat-card {
        padding: var(--space-md);
        gap: var(--space-xs) var(--space-md);
    }

    .stat-number-wrapper {
        min-width: 75px;
        padding-right: var(--space-md);
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-prefix {
        font-size: 0.9rem;
    }

    .stat-suffix {
        font-size: 1rem;
    }

    .stat-label {
        font-size: 0.9rem;
    }

    .stat-description {
        font-size: 0.8rem;
    }

    /* About section mobile */
    .about-image img {
        width: 200px;
        height: 200px;
        border-width: 4px;
    }

    .about-content .section-title {
        font-size: 1.4rem;
        text-align: center;
    }

    .about-content .section-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .about-text p {
        font-size: 0.95rem;
        text-align: center;
    }

    .about-signature {
        text-align: center;
        align-items: center;
    }

    /* Contact section mobile */
    .contact-logo img {
        max-width: 160px;
    }

    .contact-title {
        font-size: 1.4rem;
    }

    .contact-subtitle {
        font-size: 0.95rem;
    }

    .contact-feature {
        font-size: 0.9rem;
    }

    .contact-feature-icon {
        width: 20px;
        height: 20px;
        font-size: 0.7rem;
    }

    .contact-form {
        padding: var(--space-lg);
    }

    .form-group label {
        font-size: 0.8rem;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 10px 14px;
        font-size: 0.95rem;
    }

    /* Photo dividers mobile */
    .photo-divider {
        height: 30vh;
        min-height: 200px;
        max-height: 300px;
    }

    .photo-divider-overlay {
        padding: var(--space-lg) var(--space-md);
    }

    .photo-caption {
        font-size: 0.75rem;
        letter-spacing: 0.5px;
    }

    /* Footer mobile */
    .footer {
        padding: var(--space-xl) 0 var(--space-md);
    }

    .footer-container {
        gap: var(--space-lg);
        text-align: center;
    }

    .footer-info h3 {
        font-size: 1.3rem;
    }

    .footer-links,
    .footer-social {
        align-items: center;
    }

    .footer-links h4,
    .footer-social h4 {
        font-size: 0.95rem;
    }

    .footer-bottom {
        padding-top: var(--space-md);
        font-size: 0.75rem;
    }

    /* Mobile navigation polish */
    .nav-mobile a {
        font-size: 1.3rem;
        padding: var(--space-sm) var(--space-lg);
    }

    .nav-mobile a.btn {
        font-size: 0.9rem;
        padding: var(--space-md) var(--space-xl);
    }
}

/* Medium mobile (481px to 767px) */
@media (min-width: 481px) and (max-width: 767px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.05rem;
    }

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

    .why-us-title {
        font-size: 1.75rem;
    }

    .benefits-title {
        font-size: 1.75rem;
    }

    .contact-title {
        font-size: 1.6rem;
    }

    /* 2-column gallery on medium mobile */
    .gallery-grid-expanded {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-md);
    }

    /* Service category 2 columns on medium mobile */
    .service-category-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-md);
    }

    .about-image img {
        width: 240px;
        height: 240px;
    }
}

/* Tablet (768px and up) */
@media (min-width: 768px) {
    :root {
        --container-padding: 2rem;
    }

    .section-title {
        font-size: var(--text-4xl);
    }

    .hero h1 {
        font-size: var(--text-5xl);
    }

    .hero-subtitle {
        font-size: var(--text-xl);
    }

    /* Logo sizing for larger screens */
    .logo img {
        height: 120px;
    }

    /* Hide scroll logo on desktop - only show on mobile */
    .logo-scroll {
        display: none !important;
    }

    /* Always show main logo on desktop */
    .navbar.scrolled .logo {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .footer-logo img {
        height: 56px;
    }

    /* Show desktop navigation */
    .nav-menu {
        display: flex;
    }

    .nav-toggle {
        display: none;
        position: static;
        transform: none;
    }

    .nav-cta {
        display: none;
    }

    /* Grid layouts for tablet */
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    /* 2-column contact form */
    .contact-wrapper {
        grid-template-columns: 1fr 1fr;
        align-items: center;
        gap: var(--space-4xl);
    }

    .contact-left {
        text-align: left;
        align-items: flex-start;
    }

    .contact-logo {
        margin-bottom: var(--space-2xl);
    }

    .contact-logo img {
        max-width: 240px;
        margin: 0;
    }

    .contact-title {
        font-size: var(--text-4xl);
    }

    .contact-features {
        align-items: flex-start;
    }

    .contact-left .section-title::after {
        left: 0;
        transform: none;
    }

    .contact-image {
        max-width: 100%;
        height: 300px;
    }

    .contact-image img {
        height: 100%;
    }

    .form-row {
        grid-template-columns: repeat(2, 1fr);
    }

    /* 3-column footer */
    .footer-container {
        grid-template-columns: 2fr 1fr 1fr;
    }
}

/* Desktop (1024px and up) */
@media (min-width: 1024px) {
    .hero {
        min-height: 85vh;
    }

    .service-card,
    .feature-item {
        padding: var(--space-2xl);
    }

    /* 4-column services grid */
    .services-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Large Desktop (1200px and up) */
@media (min-width: 1200px) {
    .container {
        padding: 0;
    }
}

/* =========================================
   TOUCH TARGET & INTERACTION IMPROVEMENTS
   ========================================= */

/* Ensure minimum touch targets (44x44px) on mobile */
@media (max-width: 767px) {
    .btn {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .filter-btn {
        min-height: 40px;
    }

    .nav-toggle {
        min-width: 48px;
        min-height: 48px;
    }

    .social-icons a {
        min-width: 44px;
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    /* Better tap states */
    .btn:active {
        transform: scale(0.98);
    }

    .service-card:active,
    .service-category-card:active,
    .why-us-card:active {
        transform: scale(0.99);
    }

    .gallery-item:active {
        transform: scale(0.995);
    }

    /* Disable hover effects on touch */
    @media (hover: none) {

        .service-card:hover,
        .service-category-card:hover,
        .why-us-card:hover,
        .gallery-item:hover,
        .stat-card:hover {
            transform: none;
        }

        .btn-primary:hover {
            transform: none;
        }
    }
}

/* =========================================
   PERFORMANCE OPTIMIZATIONS
   ========================================= */

/* Hardware acceleration for animated elements */
.fade-in,
.fade-in-up,
.fade-in-right,
.service-card,
.why-us-card,
.gallery-item,
.service-category-card {
    will-change: transform, opacity;
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }

    .hero-slideshow img {
        transition: none;
    }
}

/* Optimize images */
img {
    content-visibility: auto;
}

/* =========================================
   UTILITY: SKIP LINK (Accessibility)
   ========================================= */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--color-primary);
    color: var(--color-white);
    padding: 8px 16px;
    z-index: var(--z-tooltip);
    transition: var(--transition-base);
}

.skip-link:focus {
    top: 0;
}

/* =========================================
   UTILITY: SCREEN READER ONLY
   ========================================= */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* =========================================
   16. SUBPAGE STYLES
   =========================================
   Styles for subpages (storitve, piškotki, etc.)
   ========================================= */

/* Page header (mini hero for subpages) */
.page-header {
    background-color: var(--color-dark);
    color: var(--color-white);
    padding: var(--space-4xl) 0 var(--space-3xl);
    text-align: center;
}

.page-header h1 {
    color: var(--color-white);
    margin-bottom: var(--space-md);
}

.page-subtitle {
    font-size: var(--text-lg);
    opacity: 0.9;
    max-width: var(--container-narrow);
    margin: 0 auto;
}

/* Service detail articles */
.service-detail {
    margin-bottom: var(--space-3xl);
    padding-bottom: var(--space-3xl);
    border-bottom: 1px solid var(--color-gray);
}

.service-detail:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.service-detail h2 {
    color: var(--color-dark);
    margin-bottom: var(--space-lg);
}

.service-detail h3 {
    color: var(--color-dark);
    margin-top: var(--space-xl);
    margin-bottom: var(--space-md);
}

.service-detail p {
    color: var(--color-gray-dark);
    margin-bottom: var(--space-md);
}

/* Service list with checkmarks */
.service-list {
    margin-bottom: var(--space-xl);
}

.service-list li {
    position: relative;
    padding-left: var(--space-xl);
    margin-bottom: var(--space-sm);
    color: var(--color-gray-dark);
}

.service-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-weight: bold;
}

/* Legal content (privacy, cookies) */
.legal-content {
    line-height: 1.8;
}

.legal-content h2 {
    margin-top: var(--space-2xl);
    margin-bottom: var(--space-md);
    font-size: var(--text-2xl);
}

.legal-content h3 {
    margin-top: var(--space-xl);
    margin-bottom: var(--space-sm);
    font-size: var(--text-xl);
}

.legal-content p {
    margin-bottom: var(--space-md);
    color: var(--color-gray-dark);
}

.legal-content ul {
    margin-bottom: var(--space-lg);
    padding-left: var(--space-xl);
}

.legal-content li {
    margin-bottom: var(--space-sm);
    color: var(--color-gray-dark);
    list-style: disc;
}

.legal-content a {
    color: var(--color-primary);
}

.legal-content a:hover {
    text-decoration: underline;
}

/* =========================================
   17. SERVICE CATEGORY CARDS (Main Page)
   =========================================
   Clickable cards linking to service subpages
   ========================================= */

.service-category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-xl);
}

.service-category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: var(--space-2xl) var(--space-lg);
    background: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
    text-decoration: none;
    color: inherit;
    position: relative;
    overflow: hidden;
}

.service-category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--color-primary);
    transform: scaleX(0);
    transition: transform var(--transition-base);
}

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

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

.service-category-icon {
    width: 80px;
    height: 80px;
    margin-bottom: var(--space-lg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-category-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.service-category-card h3 {
    font-size: var(--text-xl);
    margin-bottom: var(--space-sm);
    color: var(--color-dark);
}

.service-category-card p {
    font-size: var(--text-sm);
    color: var(--color-gray-dark);
    margin-bottom: var(--space-lg);
    flex-grow: 1;
}

.service-category-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--color-primary);
    transition: var(--transition-base);
}

.service-category-link svg {
    width: 18px;
    height: 18px;
    transition: transform var(--transition-base);
}

.service-category-card:hover .service-category-link svg {
    transform: translateX(4px);
}

/* Responsive - Service Category Cards */
@media (max-width: 1024px) {
    .service-category-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .service-category-grid {
        grid-template-columns: 1fr;
    }

    .service-category-card {
        padding: var(--space-xl) var(--space-lg);
    }
}

/* =========================================
   18. SERVICE SUBPAGE STYLES
   =========================================
   Styles for detailed service subpages
   (ciscenje-fasad.html, ciscenje-streh.html, etc.)
   ========================================= */

/* Service Hero Section */
.service-hero {
    background: var(--color-dark);
    color: var(--color-white);
    padding: var(--space-4xl) 0;
    position: relative;
    overflow: hidden;
    min-height: 500px;
    display: flex;
    align-items: center;
}

.service-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

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

.hero-bg-fasada {
    object-position: center top;
}

.service-hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.85) 0%, rgba(26, 26, 26, 0.7) 100%);
}

.service-hero .container {
    position: relative;
    z-index: 1;
}

.service-hero-content {
    max-width: 800px;
}

.service-hero-badge {
    display: inline-block;
    background: var(--color-primary);
    color: var(--color-white);
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-sm);
    font-size: var(--text-sm);
    font-weight: 600;
    margin-bottom: var(--space-lg);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.service-hero h1 {
    font-size: var(--text-5xl);
    color: var(--color-white);
    margin-bottom: var(--space-lg);
    line-height: 1.1;
}

.service-hero-subtitle {
    font-size: var(--text-xl);
    opacity: 0.9;
    margin-bottom: var(--space-2xl);
    line-height: 1.6;
}

.service-hero-stats {
    display: flex;
    gap: var(--space-2xl);
    flex-wrap: wrap;
}

.service-hero-stat {
    text-align: left;
}

.service-hero-stat-value {
    display: block;
    font-size: var(--text-3xl);
    font-weight: 700;
    color: var(--color-primary);
    font-family: var(--font-heading);
}

.service-hero-stat-label {
    font-size: var(--text-sm);
    opacity: 0.8;
}

/* Before/After Showcase Section */
.service-showcase {
    padding: var(--space-4xl) 0;
    background: var(--color-white);
}

.service-showcase-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--space-3xl);
}

.service-showcase-header h2 {
    margin-bottom: var(--space-md);
}

.service-showcase-header p {
    color: var(--color-gray-dark);
    font-size: var(--text-lg);
}

.service-compare-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    max-width: 900px;
    margin: 0 auto;
}

.service-compare-side {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
}

.service-compare-side img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-compare-label {
    position: absolute;
    bottom: var(--space-md);
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: var(--color-white);
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-sm);
    font-size: var(--text-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.service-compare-side:last-child .service-compare-label {
    background: var(--color-primary);
}

/* Service Process Section */
.service-process {
    padding: var(--space-4xl) 0;
    background: var(--color-light);
}

.service-process-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--space-3xl);
}

.service-process-header h2 {
    margin-bottom: var(--space-md);
}

.service-process-header p {
    color: var(--color-gray-dark);
    font-size: var(--text-lg);
}

.service-process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.service-process-step {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    position: relative;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
}

.service-process-step:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.service-process-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--color-primary);
    color: var(--color-white);
    border-radius: var(--radius-full);
    font-size: var(--text-xl);
    font-weight: 700;
    font-family: var(--font-heading);
    margin-bottom: var(--space-lg);
}

.service-process-step h3 {
    font-size: var(--text-lg);
    margin-bottom: var(--space-sm);
    color: var(--color-dark);
}

.service-process-step p {
    font-size: var(--text-base);
    color: var(--color-gray-dark);
    margin-bottom: 0;
}

/* Service Benefits Section */
.service-benefits {
    padding: var(--space-4xl) 0;
    background: var(--color-white);
}

.service-benefits-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--space-3xl);
}

.service-benefits-header h2 {
    margin-bottom: var(--space-md);
}

.service-benefits-header p {
    color: var(--color-gray-dark);
    font-size: var(--text-lg);
}

.service-benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.service-benefit-card {
    text-align: center;
    padding: var(--space-xl);
    border: 2px solid var(--color-gray);
    border-radius: var(--radius-lg);
    transition: var(--transition-base);
}

.service-benefit-card:hover {
    border-color: var(--color-primary);
}

.service-benefit-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--space-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-primary-light);
    border-radius: var(--radius-full);
}

.service-benefit-icon svg {
    width: 32px;
    height: 32px;
    color: var(--color-primary);
}

.service-benefit-card h3 {
    font-size: var(--text-lg);
    margin-bottom: var(--space-sm);
    color: var(--color-dark);
}

.service-benefit-card p {
    font-size: var(--text-base);
    color: var(--color-gray-dark);
    margin-bottom: 0;
}

/* Service CTA Section */
.service-cta {
    padding: var(--space-4xl) 0;
    background: linear-gradient(135deg, #1a3a5c 0%, #112649 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.service-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
    pointer-events: none;
}

.service-cta>.container {
    position: relative;
    z-index: 1;
}

.service-cta h2 {
    color: var(--color-white);
    margin-bottom: var(--space-md);
}

.service-cta p {
    color: var(--color-white);
    opacity: 0.9;
    margin-bottom: var(--space-xl);
    font-size: var(--text-lg);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive - Service Subpages */
@media (max-width: 900px) {
    .service-hero h1 {
        font-size: var(--text-4xl);
    }

    .service-process-grid,
    .service-benefits-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .service-compare-container {
        grid-template-columns: 1fr;
    }

    .service-hero-stats {
        gap: var(--space-xl);
    }
}

@media (max-width: 600px) {
    .service-hero {
        padding: var(--space-xl) 0;
    }

    .service-hero h1 {
        font-size: var(--text-3xl);
    }

    .service-hero-subtitle {
        font-size: var(--text-base);
    }

    .service-hero-stats {
        flex-direction: column;
        gap: var(--space-md);
    }

    .service-process,
    .service-benefits,
    .service-showcase {
        padding: var(--space-3xl) 0;
    }
}

/* =========================================
   TIKTOK PROMO BANNER
   ========================================= */
.tiktok-promo {
    background: linear-gradient(135deg, var(--color-dark-alt) 0%, #0d1e3a 50%, #112649 100%);
    padding: var(--space-2xl) 0;
    position: relative;
    overflow: hidden;
}

.tiktok-promo::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(22, 124, 178, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(79, 140, 69, 0.1) 0%, transparent 40%);
    animation: tiktokGlow 8s ease-in-out infinite;
}

@keyframes tiktokGlow {

    0%,
    100% {
        transform: rotate(0deg);
    }

    50% {
        transform: rotate(180deg);
    }
}

.tiktok-promo-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xl);
    position: relative;
    z-index: 1;
    flex-wrap: wrap;
    text-align: center;
}

.tiktok-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-hover) 60%, var(--color-secondary) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(22, 124, 178, 0.3);
}

.tiktok-icon svg {
    width: 32px;
    height: 32px;
    fill: white;
}

.tiktok-text {
    flex: 1;
    min-width: 200px;
    max-width: 500px;
}

.tiktok-text h3 {
    color: white;
    font-size: var(--text-xl);
    font-weight: 600;
    margin-bottom: var(--space-xs);
}

.tiktok-text p {
    color: rgba(255, 255, 255, 0.7);
    font-size: var(--text-sm);
    margin: 0;
}

.btn-tiktok {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-hover) 50%, var(--color-secondary) 100%);
    background-size: 200% 200%;
    color: white;
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--radius-full);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(22, 124, 178, 0.3);
}

.btn-tiktok:hover {
    background-position: 100% 100%;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(22, 124, 178, 0.4);
}

.btn-tiktok svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.btn-tiktok:hover svg {
    transform: translateX(4px);
}

/* Mobile responsive */
@media (max-width: 767px) {
    .tiktok-promo-content {
        flex-direction: column;
        gap: var(--space-lg);
        padding: var(--space-md);
    }

    .tiktok-icon {
        width: 50px;
        height: 50px;
        border-radius: 12px;
    }

    .tiktok-icon svg {
        width: 26px;
        height: 26px;
    }

    .tiktok-text h3 {
        font-size: var(--text-lg);
    }

    .tiktok-text p {
        font-size: var(--text-xs);
    }
}