/*************************************
   Reusable Mobile Layout Classes
   *********************************************/
/* Class for sections where image should appear first on mobile */
.mobile-image-first {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: center;
}

@media (min-width: 1024px) {
    .mobile-image-first {
        grid-template-columns: 1fr 1fr;
    }
    
    .mobile-image-first .text-content {
        text-align: left;
    }
}

@media (max-width: 767px) {
    .mobile-image-first {
        display: flex;
        flex-direction: column;
    }
    
    .mobile-image-first .image-content {
        order: -1;
        margin-bottom: 24px;
    }
    
    .mobile-image-first .text-content {
        text-align: center;
    }
}

/* ==========================================
   SCloud Website - Main Stylesheet
   SEO-Optimized HTML/CSS/JS Version
   ========================================== */

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

:root {
    /* Color Palette */
    --primary-blue: #2563eb;
    --primary-purple: #9333ea;
    --gradient-start: #2563eb;
    --gradient-end: #9333ea;
    
    /* Grays */
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    
    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
    
    /* Transitions */
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-700);
    background-color: #ffffff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Container */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 16px;
}

@media (min-width: 640px) {
    .container {
        padding: 0 24px;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 32px;
    }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    color: var(--gray-900);
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
    color: white;
}

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

/* Header button styling - smaller size for better fit */
.header .btn-primary {
    padding: 12px 24px;
    font-size: 0.875rem;
    font-weight: 600;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.header .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.header .btn-primary svg {
    width: 16px;
    height: 16px;
}

.btn-large {
    /* padding: 16px 32px; */
    font-size: 1.125rem;
}

.btn-block {
    width: 100%;
}

/* Gradient Text */
.gradient-text {
    background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Utilities */
.text-center {
    text-align: center;
}

.desktop-only {
    display: none;
}

@media (min-width: 1024px) {
    .desktop-only {
        display: flex;
    }
}

/* ==========================================
   Header & Navigation
   ========================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

/* Logo */
.logo a {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.logo-icon {
    background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
    padding: 8px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon svg {
    color: white;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Navigation Menu */
.nav-menu {
    display: none;
    list-style: none;
    gap: 24px;
    margin: 0;
    padding: 0;
}

@media (min-width: 1024px) {
    .nav-menu {
        display: flex;
    }
}

.nav-link {
    color: var(--gray-700);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.875rem;
    padding: 8px 12px;
    border-radius: 6px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-blue);
    background-color: rgba(37, 99, 235, 0.05);
}

/* Dropdown */
.dropdown {
    position: relative;
    padding-bottom: 10px;
    margin-bottom: -10px;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 4px;
}

.dropdown-icon {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

/* Rotate the chevron when the menu is open (hover/keyboard focus) */
.dropdown:hover .dropdown-icon,
.dropdown:focus-within .dropdown-icon {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 248px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 16px 40px -12px rgb(15 23 42 / 0.22), 0 4px 10px -4px rgb(15 23 42 / 0.1);
    padding: 8px;
    margin-top: 10px;
    list-style: none;
    z-index: 1000;
    border: 1px solid var(--gray-100);
    /* Animated reveal: hidden by default, shown on hover/focus-within */
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
}

.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    padding: 0;
}

.dropdown-menu a {
    display: flex;
    align-items: center;
    padding: 10px 14px;
    color: var(--gray-700);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 8px;
    border-left: 2px solid transparent;
    transition: background-color 0.2s ease, color 0.2s ease, padding 0.2s ease;
}

.dropdown-menu a:hover {
    background-color: rgba(37, 99, 235, 0.06);
    color: var(--primary-blue);
    padding-left: 18px;
}

/* Current page within the Services dropdown */
.dropdown-menu a.active {
    color: var(--primary-blue);
    font-weight: 600;
    background: linear-gradient(90deg, rgba(37, 99, 235, 0.1), rgba(37, 99, 235, 0.02));
    border-left-color: var(--primary-blue);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

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

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background-color: var(--gray-700);
    transition: var(--transition);
}

/* Mobile Menu */
@media (max-width: 1023px) {
    .nav-menu {
        display: none;
        flex-direction: column;
        gap: 0;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: white;
        padding: 16px;
        border-bottom: 1px solid var(--gray-200);
        box-shadow: var(--shadow-lg);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-link {
        padding: 12px 0;
        border-radius: 0;
        width: 100%;
    }
    
    .dropdown-menu {
        position: static;
        box-shadow: none;
        border: none;
        border-radius: 0;
        padding: 0;
        margin-left: 16px;
        margin-top: 8px;
        display: none;
        /* Reset desktop reveal animation so mobile relies on display toggling */
        opacity: 1;
        visibility: visible;
        transform: none;
        transition: none;
    }

    .dropdown-menu.active {
        display: block;
    }
}

/* ==========================================
   Hero Section
   ========================================== */
.hero-section {
    padding-top: 120px;
    padding-bottom: 60px;
    background: linear-gradient(to bottom right, rgba(37, 99, 235, 0.05), rgba(147, 51, 234, 0.05));
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: center;
}

@media (min-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr 1fr;
    }
}

.hero-text {
    text-align: center;
}

@media (min-width: 1024px) {
    .hero-text {
        text-align: left;
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #fbbf24;
    color: #1e3a8a;
    font-weight: 700;
    padding: 7px 20px;
    border-radius: 9999px;
    font-size: 0.85rem;
    margin-bottom: 18px;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.01em;
    box-shadow: 0 2px 10px rgba(251,191,36,0.25);
    transition: all 0.3s ease;
}

.hero-badge:hover {
    box-shadow: 0 4px 18px rgba(251,191,36,0.35);
    transform: translateY(-1px);
}

.hero-badge::before {
    content: '✦';
    font-size: 0.85rem;
    flex-shrink: 0;
    animation: badgeStarSpin 3s linear infinite;
}

.hero-badge::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: badgeShimmer 4s ease-in-out infinite;
}

@keyframes badgeShimmer {
    0%, 70% { left: -100%; }
    100% { left: 100%; }
}

@keyframes badgeStarSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.hero-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 16px;
    line-height: 1.3;
}

@media (min-width: 640px) {
    .hero-title {
        font-size: 2.25rem;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }
}

.hero-description {
    color: var(--gray-600);
    margin-bottom: 24px;
    font-size: 1rem;
}

@media (min-width: 640px) {
    .hero-description {
        font-size: 1.125rem;
    }
}

/* Feature highlight pills */
.hero-highlights {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 28px;
    padding: 0;
    justify-content: center;
}

@media (min-width: 1024px) {
    .hero-highlights {
        justify-content: flex-start;
    }
}

.hero-highlights li {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #fff;
    border: 1px solid #e4e6f0;
    color: var(--gray-700);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 7px 15px 7px 12px;
    border-radius: 9999px;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.hero-highlights li::before {
    content: '';
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%232563eb' d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm-1.2 14.2-4-4 1.4-1.4 2.6 2.6 5.2-5.2 1.4 1.4z'/%3E%3C/svg%3E");
}

.hero-highlights li:hover {
    transform: translateY(-2px);
    border-color: rgba(37, 99, 235, 0.35);
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.12);
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
}

@media (min-width: 1024px) {
    .hero-buttons {
        justify-content: flex-start;
    }
}

.hero-image {
    width: 100%;
    position: relative;
}

.hero-image::before {
    content: '';
    position: absolute;
    inset: 5%;
    background: radial-gradient(ellipse, rgba(37,99,235,0.08) 0%, rgba(147,51,234,0.05) 50%, transparent 70%);
    border-radius: 30px;
    filter: blur(25px);
    pointer-events: none;
    animation: heroGlow 4s ease-in-out infinite;
}

.hero-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
    position: relative;
    filter: drop-shadow(0 16px 35px rgba(0,0,0,0.10));
    animation: heroFloat 3.5s ease-in-out infinite;
}

@keyframes heroFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-16px); }
}

@keyframes heroGlow {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.05); }
}


.hero-trust-badges {
  display: inline-flex;
  align-items: center;
  background: #f8f9ff;
  border: 1px solid #e4e6f0;
  border-radius: 12px;
  padding: 6px;
  gap: 4px;
  margin-top: 28px;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  border-radius: 8px;
  transition: background 0.2s;
}

.trust-badge:hover { background: #eef0fb; }

.trust-icon-wrap {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.trust-badge.rating .trust-icon-wrap { background: #fff8e1; }
.trust-badge.support .trust-icon-wrap { background: #e8f4fd; }
.trust-badge.projects .trust-icon-wrap { background: #f0e9ff; }

.trust-text { display: flex; flex-direction: column; line-height: 1.25; }

.trust-value { font-size: 0.95rem; font-weight: 700; color: #1a1a2e; }
.trust-label { font-size: 0.68rem; color: #888; text-transform: uppercase; letter-spacing: 0.08em; margin-top: 2px; }

.trust-divider { width: 1px; height: 34px; background: #e4e6f0; margin: 0 2px; }

@media (max-width: 480px) {
  .hero-trust-badges { flex-direction: row; width: 100%; }
  .trust-divider { width: 1px; height: 28px; }
  .trust-badge { justify-content: center; }
}

/* Mobile hero buttons & trust badges */
@media (max-width: 767px) {
  .hero-buttons {
    flex-direction: column-reverse;
    align-items: center;
    gap: 10px;
  }
  .google-review-btn, .hero-btn-cta {
    padding: 10px 20px;
    font-size: 0.82rem;
    width: 100%;
    max-width: 260px;
    justify-content: center;
  }
  .hero-trust-badges {
    flex-flow: row wrap;
    width: 100%;
    justify-content: center;
    margin-top: 20px;
    padding: 6px;
    gap: 4px 2px;
  }
  .hero-trust-badges .trust-divider {
    display: none;
  }
  .trust-badge {
    padding: 6px 10px;
    gap: 6px;
  }
  .trust-icon-wrap,
  .trust-icon {
    width: 30px;
    height: 30px;
    font-size: 0.9rem;
  }
  .trust-value {
    font-size: 0.78rem;
  }
  .trust-label {
    font-size: 0.58rem;
  }
  .trust-divider {
    height: 28px;
  }
}

.hero-btn-cta{
    background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
    color: white;
    border: 1px solid transparent;
}
.google-review-btn{
    background: #fff;
  color: #1a1a2e;
  border: 1px solid #e4e6f0;
}
.google-review-btn, .hero-btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: box-shadow 0.2s, transform 0.2s;
}

.google-review-btn:hover,
.hero-btn-cta:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
  transform: translateY(-2px);
}

.hero-btn-cta svg {
  transition: transform 0.2s ease;
}

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

/* ==========================================
   Section Headers
   ========================================== */
.section-header {
    margin-bottom: 64px;
}

.section-header h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 16px;
}

@media (min-width: 768px) {
    .section-header h2 {
        font-size: 2.5rem;
    }
}

.section-header p {
    font-size: 1.125rem;
    color: var(--gray-600);
    max-width: 768px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .section-header p {
        font-size: 1.25rem;
    }
}

/* ==========================================
   Trusted Companies Section
   ========================================== */
.trusted-section {
            padding: 50px 0;
            background-color: var(--gray-50);
            position: relative;
            overflow: hidden;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 24px;
        }

        .section-header {
            text-align: center;
            margin-bottom: 48px;
        }

        .section-header h2 {
            font-size: clamp(1.5rem, 3vw, 2.25rem);
            font-weight: 700;
            color: #0f172a;
            margin-bottom: 12px;
        }

        .gradient-text {
            background: linear-gradient(135deg, #2563eb, #7c3aed);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .section-header p {
            color: var(--gray-600);
            font-size: 1rem;
        }

        /* ─── SLIDER WRAPPER ──────────────────────────────── */
        .trusted-slider-wrapper {
            position: relative;
            overflow: hidden;
            /* Fade edges */
            mask-image: linear-gradient(
                to right,
                transparent 0%,
                black 8%,
                black 92%,
                transparent 100%
            );
            -webkit-mask-image: linear-gradient(
                to right,
                transparent 0%,
                black 8%,
                black 92%,
                transparent 100%
            );
        }

        /* ─── TRACK ───────────────────────────────────────── */
        .trusted-track {
            display: flex;
            gap: 20px;
            width: max-content;
            animation: scroll-logos 28s linear infinite;
            will-change: transform;
        }

        .trusted-track:hover {
            animation-play-state: paused;
        }

        @keyframes scroll-logos {
            0%   { transform: translateX(0); }
            100% { transform: translateX(-50%); }
        }

        /* ─── CARD ────────────────────────────────────────── */
        .trusted-item {
            /* Fixed uniform size for ALL cards */
            width: 180px;
            height: 100px;
            flex-shrink: 0;

            background: #ffffff;
            border-radius: 12px;
            border: 1px solid var(--gray-200);
            box-shadow: var(--shadow);

            display: flex;
            align-items: center;
            justify-content: center;
            padding: 20px 24px;

            transition: var(--transition);
            cursor: default;
        }

        .trusted-item:hover {
            border-color: rgba(37, 99, 235, 0.25);
            box-shadow: var(--shadow-hover);
            transform: translateY(-2px);
        }

        .trusted-item img {
            /* Fill the card's inner area while keeping aspect ratio */
            max-width: 100%;
            max-height: 100%;
            width: 100%;
            height: 100%;
            object-fit: contain;
            display: block;
            /* Prevents blurry scaling */
            image-rendering: -webkit-optimize-contrast;
        }

        /* ─── FOOTER ──────────────────────────────────────── */
        .trusted-footer {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 8px;
            margin-top: 32px;
            font-size: 0.875rem;
            color: var(--gray-600);
        }

        .pulse-dot {
            width: 8px;
            height: 8px;
            background-color: var(--primary-blue);
            border-radius: 50%;
            animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
        }

        @keyframes pulse {
            0%, 100% { opacity: 1; transform: scale(1); }
            50%       { opacity: 0.4; transform: scale(0.85); }
        }

        /* ─── RESPONSIVE CARD SIZE ────────────────────────── */
        @media (max-width: 768px) {
            .trusted-item {
                width: 140px;
                height: 80px;
                padding: 16px 18px;
            }
        }

        @media (max-width: 480px) {
            .trusted-item {
                width: 120px;
                height: 70px;
                padding: 14px 16px;
            }
            .trusted-track {
                gap: 14px;
            }
        }

/* ==========================================
   Services Section
   ========================================== */
.services-section {
    padding: 50px 0;
    background-color: var(--gray-50);
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

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

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

.service-card {
    background: white;
    border-radius: 16px;
    border: 1px solid var(--gray-200);
    padding: 24px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

.service-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    border-radius: 16px;
    background: linear-gradient(to top right, #6366f1, #9333ea);
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon svg {
    color: white;
}

.service-card h3 {
    font-size: 1.125rem;
    margin-bottom: 8px;
}

.service-card p {
    font-size: 0.875rem;
    color: var(--gray-600);
    margin-bottom: 16px;
}

.service-features {
    list-style: none;
    text-align: left;
    margin: 0;
    padding: 0;
}

.service-features li {
    display: flex;
    align-items: center;
    font-size: 0.875rem;
    color: var(--gray-700);
    margin-bottom: 6px;
}

.service-features li span {
    width: 6px;
    height: 6px;
    background-color: #6366f1;
    border-radius: 50%;
    margin-right: 8px;
    flex-shrink: 0;
}

/* ==========================================
   Portfolio Section
   ========================================== */
.portfolio-section {
    padding: 50px 0;
    background-color: white;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

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

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

.portfolio-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-100);
    transition: var(--transition);
    text-decoration: none;
    display: block;
}

.portfolio-card:hover {
    box-shadow: var(--shadow-2xl);
    transform: translateY(-8px);
}

.portfolio-image {
    position: relative;
    overflow: hidden;
}

.portfolio-image img {
    width: 100%;
    height: 192px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio-card:hover .portfolio-image img {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.5), transparent);
    opacity: 0;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.portfolio-card:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-link {
    padding: 8px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.portfolio-link:hover {
    background: white;
}

.portfolio-link svg {
    color: var(--gray-700);
}

.portfolio-content {
    padding: 24px;
}

.portfolio-category {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
    margin-bottom: 12px;
    color: var(--primary-blue);
    background-color: rgba(37, 99, 235, 0.1);
}

.portfolio-content h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
    color: var(--gray-900);
    transition: var(--transition);
}

.portfolio-card:hover .portfolio-content h3 {
    color: var(--primary-blue);
}

.portfolio-content p {
    color: var(--gray-600);
    font-size: 0.875rem;
    line-height: 1.6;
    margin-bottom: 16px;
}

.portfolio-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.portfolio-tags span {
    padding: 4px 8px;
    background-color: var(--gray-100);
    color: var(--gray-700);
    font-size: 0.75rem;
    border-radius: 4px;
}

/* ==========================================
   Reviews Section
   ========================================== */
.reviews-section {
    padding: 50px 0;
    background: linear-gradient(to bottom right, rgba(37, 99, 235, 0.05), rgba(147, 51, 234, 0.05));
}

.reviews-slider {
    margin-bottom: 40px;
}

/* Equal-height cards across the slider row */
.reviews-slider .slick-track {
    display: flex !important;
}

.reviews-slider .slick-slide {
    height: auto;
    display: flex;
}

.reviews-slider .slick-slide > div {
    display: flex;
    width: 100%;
}

.review-card {
    position: relative;
    background: white;
    border-radius: 18px;
    padding: 28px 26px 22px;
    box-shadow: 0 10px 30px -12px rgba(37, 99, 235, 0.18);
    border: 1px solid var(--gray-100);
    margin: 20px 12px;
    transition: var(--transition);
    display: flex;
    flex: 1;
    flex-direction: column;
    overflow: hidden;
}

.review-card:hover {
    box-shadow: 0 18px 40px -14px rgba(37, 99, 235, 0.3);
    transform: translateY(-4px);
}

/* Large decorative quote mark, top-right */
.quote-icon {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    line-height: 0;
    pointer-events: none;
    z-index: 1;
}

.quote-icon svg {
    display: block;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    color: #c7d6f5;
}

.stars {
    display: flex;
    gap: 3px;
    margin-bottom: 18px;
}

.stars svg {
    width: 18px;
    height: 18px;
    color: #fbbf24;
}

.review-text {
    color: var(--gray-700);
    margin-bottom: 22px;
    line-height: 1.65;
    font-size: 0.95rem;
    flex-grow: 1;
    /* Trim every review to a uniform 4 lines so all cards match */
    display: -webkit-box;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.reviewer {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 18px;
    padding-right: 30px;
    border-top: 1px solid var(--gray-100);
}

.reviewer-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(to top right, #6366f1, #9333ea);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}

.reviewer-avatar svg {
    width: 24px;
    height: 24px;
    color: white;
}

.reviewer-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.reviewer-info h4 {
    display: inline-flex;
    align-items: center;
    font-weight: 700;
    font-size: 0.98rem;
    color: var(--gray-900);
    margin-bottom: 2px;
}

/* Google-blue verified seal after the reviewer name */
.reviewer-info h4::after {
    content: "";
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-left: 6px;
    flex-shrink: 0;
    background-repeat: no-repeat;
    background-size: contain;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%231d9bf0' d='M22.25 12c0-1.43-.88-2.67-2.19-3.34.46-1.39.2-2.9-.81-3.91s-2.52-1.27-3.91-.81c-.66-1.31-1.91-2.19-3.34-2.19s-2.67.88-3.33 2.19c-1.4-.46-2.91-.2-3.92.81s-1.26 2.52-.8 3.91c-1.31.67-2.2 1.91-2.2 3.34s.89 2.67 2.2 3.34c-.46 1.39-.21 2.9.8 3.91s2.52 1.26 3.91.81c.67 1.31 1.91 2.19 3.34 2.19s2.68-.88 3.34-2.19c1.39.45 2.9.2 3.91-.81s1.27-2.52.81-3.91c1.31-.67 2.19-1.91 2.19-3.34z'/%3E%3Cpath fill='%23fff' d='m9.8 16.4-3.6-3.6 1.4-1.4 2.2 2.2 5-5 1.4 1.4z'/%3E%3C/svg%3E");
}

.reviewer-info p {
    color: var(--gray-600);
    font-size: 0.8rem;
    margin: 0;
}

/* Google "G" badge on each review card (trust signal) */
.review-card::after {
    content: "";
    position: absolute;
    bottom: 24px;
    right: 24px;
    width: 22px;
    height: 22px;
    opacity: 0.9;
    background-repeat: no-repeat;
    background-size: contain;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cpath fill='%234285F4' d='M45.12 24.5c0-1.56-.14-3.06-.4-4.5H24v8.51h11.84c-.51 2.75-2.06 5.08-4.39 6.64v5.52h7.11c4.16-3.83 6.56-9.47 6.56-16.17z'/%3E%3Cpath fill='%2334A853' d='M24 46c5.94 0 10.92-1.97 14.56-5.33l-7.11-5.52c-1.97 1.32-4.49 2.1-7.45 2.1-5.73 0-10.58-3.87-12.31-9.07H4.34v5.7C7.96 41.07 15.4 46 24 46z'/%3E%3Cpath fill='%23FBBC05' d='M11.69 28.18C11.25 26.86 11 25.45 11 24s.25-2.86.69-4.18v-5.7H4.34A21.99 21.99 0 0 0 2 24c0 3.55.85 6.91 2.34 9.88l7.35-5.7z'/%3E%3Cpath fill='%23EA4335' d='M24 10.75c3.23 0 6.13 1.11 8.41 3.29l6.31-6.31C34.91 4.18 29.93 2 24 2 15.4 2 7.96 6.93 4.34 14.12l7.35 5.7c1.73-5.2 6.58-9.07 12.31-9.07z'/%3E%3C/svg%3E");
}

/* Google reviews trust summary bar above the slider */
.google-reviews-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px 22px;
    max-width: 620px;
    margin: 0 auto 8px;
    padding: 16px 26px;
    background: #fff;
    border: 1px solid var(--gray-100);
    border-radius: 14px;
    box-shadow: 0 8px 24px -16px rgba(0, 0, 0, 0.25);
}

.grb-logo {
    width: 30px;
    height: 30px;
    flex-shrink: 0;
}

.grb-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.grb-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--gray-900);
}

.grb-rating .stars {
    margin-bottom: 0;
}

.grb-meta {
    font-size: 0.82rem;
    color: var(--gray-600);
}

.grb-link {
    margin-left: auto;
    padding: 9px 18px;
    background: #fff;
    border: 1px solid #4285F4;
    color: #4285F4;
    font-weight: 600;
    font-size: 0.85rem;
    border-radius: 8px;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.2s, color 0.2s;
}

.grb-link:hover {
    background: #4285F4;
    color: #fff;
}

@media (max-width: 600px) {
    .google-reviews-badge { flex-direction: column; text-align: center; }
    .grb-rating { justify-content: center; }
    .grb-link { margin-left: 0; }
}

.reviews-stats {
    background: white;
    border-radius: 16px;
    padding: 32px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    margin: 0 auto;
    max-width: 400px;
}

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

.stat-number {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.stat-card .stars {
    justify-content: center;
    margin-bottom: 8px;
}

.stat-card p {
    color: var(--gray-600);
    font-size: 0.875rem;
    margin: 0;
}

.stat-divider {
    width: 1px;
    height: 64px;
    background-color: var(--gray-200);
}

.testimonial-cta {
  position: relative;
  text-align: center;
  margin-top: 48px;
  padding: 52px 32px;
  background: linear-gradient(135deg, #2563eb 0%, #6d28d9 55%, #9333ea 100%);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 24px 50px -20px rgba(79, 70, 229, 0.6);
}

/* Soft decorative glows */
.testimonial-cta::before,
.testimonial-cta::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.testimonial-cta::before {
  width: 280px;
  height: 280px;
  top: -130px;
  right: -70px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.18), transparent 70%);
}

.testimonial-cta::after {
  width: 240px;
  height: 240px;
  bottom: -120px;
  left: -60px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.12), transparent 70%);
}

.testimonial-cta-inner {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
}

.testimonial-cta-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 6px 16px;
  border-radius: 9999px;
  margin-bottom: 18px;
}

.testimonial-cta h3 {
  font-size: 1.85rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
  margin-bottom: 14px;
}

.testimonial-cta p {
  font-size: 1.02rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.65;
  margin: 0 auto 30px;
  max-width: 540px;
}

.testimonial-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: #5b21b6;
  padding: 15px 34px;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 12px 28px -10px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.testimonial-cta-btn svg {
  transition: transform 0.2s ease;
}

.testimonial-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px -10px rgba(0, 0, 0, 0.45);
}

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

.testimonial-cta-note {
  display: block;
  margin-top: 18px;
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.72);
}

@media (max-width: 480px) {
  .testimonial-cta { padding: 40px 22px; }
  .testimonial-cta h3 { font-size: 1.45rem; }
  .testimonial-cta p { font-size: 0.95rem; }
  .testimonial-cta-btn { width: 100%; justify-content: center; }
}

/* ==========================================
   About Section
   ========================================== */
.about-section {
    padding: 50px 0;
    background-color: var(--gray-50);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: center;
}

@media (min-width: 1024px) {
    .about-content {
        /* grid-template-columns: 1fr 1fr; */
        flex-direction: row-reverse;
    }
}

.about-text h2 {
    font-size: 2rem;
    margin-bottom: 16px;
}

@media (min-width: 768px) {
    .about-text h2 {
        font-size: 2.5rem;
    }
}

.about-text p {
    color: var(--gray-600);
    margin-bottom: 24px;
    font-size: 1rem;
}

@media (min-width: 640px) {
    .about-text p {
        font-size: 1.125rem;
    }
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

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

.feature-card {
    display: flex;
    align-items: flex-start;
    padding: 20px;
    background: white;
    border-radius: 12px;
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.feature-card:hover {
    box-shadow: var(--shadow);
}

.feature-icon {
    flex-shrink: 0;
    width: 54px;
    height: 54px;
    border-radius: 16px;
    background: linear-gradient(to top right, #6366f1, #9333ea);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 16px;
    margin-top: 4px;
}

.feature-icon svg {
    color: white;
}

.feature-content h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 4px;
}

.feature-content p {
    font-size: 0.875rem;
    color: var(--gray-600);
    margin: 0;
}

.about-image {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (min-width: 1024px) {
    .about-image {
        order: 2;
    }
}

.about-image img {
    width: 80%;
    height: auto;
    object-fit: contain;
}

/* ==========================================
   Three Steps Section
   ========================================== */
.three-steps-section {
    padding: 50px 0;
    background: linear-gradient(to bottom right, rgba(37, 99, 235, 0.05), white, rgba(147, 51, 234, 0.1));
}

.steps-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: center;
}

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

.steps-badge {
    display: inline-block;
    background-color: #fed7aa;
    color: #9a3412;
    font-size: 0.875rem;
    font-weight: 600;
    padding: 4px 16px;
    border-radius: 9999px;
    margin-bottom: 16px;
}

.steps-left h2 {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 40px;
    line-height: 1.3;
}

@media (min-width: 768px) {
    .steps-left h2 {
        font-size: 2.25rem;
    }
}

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

.steps-right {
    display: flex;
    flex-direction: column;
    gap: 48px;
    padding: 16px;
    position: relative;
}

.step-card {
    position: relative;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    padding: 24px;
}

.step-number {
    position: absolute;
    top: -20px;
    left: -20px;
    background-color: #fbbf24;
    color: white;
    font-weight: 700;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-2 .step-number {
    background-color: #0d9488;
}

.step-3 .step-number {
    background-color: #f97316;
}

.step-card p {
    color: var(--gray-800);
    font-size: 0.875rem;
    margin-top: 16px;
    margin-bottom: 0;
}

/* ==========================================
   Contact Section
   ========================================== */
.contact-section {
    padding: 50px 0;
    background-color: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: center;
}

@media (min-width: 1024px) {
    .contact-content {
        grid-template-columns: 1fr 1fr;
        gap: 60px;
    }
}

.contact-form-wrapper h3,
.contact-info-wrapper h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 32px;
}

/* Contact Form */
.contact-form {
    width: 100%;
    background: white;
    border-radius: 20px;
    padding: 48px;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.1);
   border: 1px solid rgba(0, 0, 0, 0.05);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    /* margin-bottom: 24px; */
}

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

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.form-group label::after {
    content: '*';
    color: #ef4444;
    font-weight: 700;
}

.form-group label:not(.required)::after {
    content: '';
    color: transparent;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid var(--gray-200);
    border-radius: 12px;
    font-size: 1rem;
    font-family: var(--font-family);
    transition: all 0.3s ease;
    background-color: var(--gray-50);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    background-color: white;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
    transform: translateY(-2px);
}

.form-group textarea {
    resize: vertical;
    /* min-height: 60px; */
    max-height: 100px;
}

/* Form error states */
.form-group.error input,
.form-group.error select,
.form-group.error textarea {
    border-color: #ef4444;
    background-color: rgba(239, 68, 68, 0.05);
}

.form-group.error input:focus,
.form-group.error select:focus,
.form-group.error textarea:focus {
    border-color: #ef4444;
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.1);
}

/* Contact Info */
.contact-info-cards {
    margin-bottom: 24px;
}

.contact-info-cards .info-card:last-child {
    margin-bottom: 0;
}

/* Mobile responsiveness for contact form */
@media (max-width: 768px) {
    .contact-form {
        padding: 32px 24px;
    }
    
    .form-row {
        gap: 10px;
    }
    
    .form-group {
        margin-bottom: 16px;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 14px 16px;
        font-size: 0.95rem;
    }
    
    .form-group label {
        font-size: 0.875rem;
    }
    
    .form-group textarea {
        min-height: 100px;
    }
}

.info-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px;
    background-color: var(--gray-50);
    border-radius: 16px;
    margin-bottom: 16px;
    transition: var(--transition);
}

.info-card:hover {
    background-color: var(--gray-100);
}

.info-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-icon svg {
    color: white;
}

.info-content h4 {
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 4px;
}

.info-content p {
    font-weight: 500;
    color: var(--gray-700);
    margin-bottom: 4px;
}

.info-content span {
    font-size: 0.875rem;
    color: var(--gray-500);
}

/* Business Hours */
.business-hours {
    background: linear-gradient(to bottom right, rgba(37, 99, 235, 0.05), rgba(147, 51, 234, 0.05));
    border-radius: 16px;
    padding: 24px;
}

.hours-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.hours-header svg {
    color: var(--primary-blue);
}

.hours-header h4 {
    font-weight: 600;
    color: var(--gray-900);
    margin: 0;
}

.hours-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hours-row {
    display: flex;
    justify-content: space-between;
    color: var(--gray-700);
}

/* ==========================================
   Footer
   ========================================== */
.footer {
    background-color: var(--gray-900);
    color: white;
    padding: 64px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-bottom: 48px;
}

.footer-content .footer-column:first-child {
    grid-column: 1 / -1;
}

.footer-content .footer-column:last-child {
    grid-column: 1 / -1;
}

.footer-content .footer-column:nth-child(2) {
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    padding-right: 24px;
}

.footer-content .footer-column:nth-child(3) {
    padding-left: 8px;
}

@media (min-width: 768px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 48px;
    }
    .footer-content .footer-column:first-child,
    .footer-content .footer-column:last-child {
        grid-column: auto;
    }
    .footer-content .footer-column:nth-child(2) {
        border-right: none;
        padding-right: 0;
    }
    .footer-content .footer-column:nth-child(3) {
        padding-left: 0;
    }
}

@media (min-width: 1024px) {
    .footer-content {
        grid-template-columns: 2fr 0.8fr 0.7fr 0.8fr;
    }
}

.footer-column h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: white;
    margin-bottom: 24px;
}

.footer-column p {
    color: #d1d5db;
    margin-bottom: 24px;
    font-size: 0.875rem;
    line-height: 1.6;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
}

.footer-logo span {
    font-size: 1.25rem;
    font-weight: 700;
    background: linear-gradient(to right, #60a5fa, #c084fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.contact-item svg {
    color: #60a5fa;
    margin-top: 4px;
    flex-shrink: 0;
}

.contact-item span {
    color: #d1d5db;
    font-size: 0.875rem;
}

.footer-column ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul a {
    color: #d1d5db;
    text-decoration: none;
    font-size: 0.875rem;
    transition: var(--transition);
}

.footer-column ul a:hover {
    color: white;
}

/* Footer Trust Badges */
.footer-trust-badges {
    display: flex;
    width: fit-content;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 4px;
    gap: 2px;
    margin-top: 18px;
}

.footer-trust-badge {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 6px 12px;
    border-radius: 6px;
    transition: background 0.2s;
}

.footer-trust-badge:hover {
    background: rgba(255, 255, 255, 0.08);
}

.footer-trust-icon {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    background: rgba(255, 255, 255, 0.08);
}

.footer-trust-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.footer-trust-value {
    font-size: 0.78rem;
    font-weight: 700;
    color: #fff;
}

.footer-trust-label {
    font-size: 0.58rem;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 1px;
}

.footer-trust-divider {
    width: 1px;
    height: 26px;
    background: rgba(255, 255, 255, 0.12);
    margin: 0 2px;
}

.footer-social-links {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.footer-social-link {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #d1d5db;
    transition: var(--transition);
}

.footer-social-link:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    transform: translateY(-2px);
}

.footer-cta-row {
    display: flex;
    align-items: center;
    gap: 14px;
}

.footer-column .footer-cta-text {
    font-size: 0.85rem;
    color: #d1d5db;
    margin: 0;
    white-space: nowrap;
}

.footer-cta-btn {
    display: inline-block;
    padding: 8px 20px;
    font-size: 0.82rem;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
    border-radius: 6px;
    text-decoration: none;
    transition: var(--transition);
    white-space: nowrap;
}

.footer-cta-btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

@media (min-width: 1024px) {
    .footer-cta-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 32px 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
    text-align: center;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

.footer-bottom p {
    color: #9ca3af;
    font-size: 0.875rem;
    margin: 0;
}

.footer-links {
    display: flex;
    gap: 16px;
}

.footer-links a {
    color: #9ca3af;
    text-decoration: none;
    font-size: 0.875rem;
    transition: var(--transition);
}

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

/* ==========================================
   Modal
   ========================================== */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background-color: white;
    border-radius: 16px;
    box-shadow: var(--shadow-2xl);
    width: 90%;
    max-width: 448px;
    padding: 24px;
    position: relative;
    text-align: center;
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.modal-close:hover {
    background-color: var(--gray-100);
}

.modal-icon {
    width: 64px;
    height: 64px;
    background-color: #d1fae5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.modal-icon svg {
    color: #10b981;
}

.modal-content h2 {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.modal-content p {
    font-size: 1rem;
    color: var(--gray-600);
    margin-bottom: 0;
}

/* Slick Slider Customization */
/* Pagination dots below the reviews slider */
.reviews-slider .slick-dots {
    position: static;
    display: flex !important;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin: 24px 0 0;
    padding: 0;
    line-height: 1;
}

.reviews-slider .slick-dots li {
    position: relative;
    width: auto;
    height: 7px;
    margin: 0;
    padding: 0;
}

.reviews-slider .slick-dots li button {
    width: 7px;
    height: 7px;
    padding: 0;
    border-radius: 50%;
    background-color: var(--primary-blue);
    opacity: 0.3;
    transition: all 0.25s ease;
}

.reviews-slider .slick-dots li button:before {
    display: none;
}

.reviews-slider .slick-dots li:hover button {
    opacity: 0.6;
}

.reviews-slider .slick-dots li.slick-active button {
    width: 18px;
    height: 7px;
    border-radius: 7px;
    opacity: 1;
    background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
}

/* ==========================================
   Portfolio Detail Pages
   ========================================== */
.portfolio-detail {
    padding-top: 64px;
}

/* Back Link */
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 500;
    margin-bottom: 32px;
    transition: var(--transition);
}

.back-link:hover {
    color: var(--primary-purple);
}

.back-link svg {
    width: 16px;
    height: 16px;
}

/* Portfolio Hero */
.portfolio-hero {
    padding: 80px 0 60px;
    background: linear-gradient(to bottom right, rgba(248, 250, 252, 1), rgba(239, 246, 255, 1), rgba(238, 242, 255, 1));
}

.portfolio-hero-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: center;
}

@media (min-width: 1024px) {
    .portfolio-hero-content {
        grid-template-columns: 1fr 1fr;
    }
}

/* Portfolio Badge */
.portfolio-badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 16px;
}

.badge-purple {
    background-color: rgba(147, 51, 234, 0.1);
    color: #7c3aed;
}

.badge-blue {
    background-color: rgba(37, 99, 235, 0.1);
    color: #2563eb;
}

.badge-green {
    background-color: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

/* Portfolio Hero Text */
.portfolio-hero-text h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 24px;
    line-height: 1.2;
}

@media (min-width: 768px) {
    .portfolio-hero-text h1 {
        font-size: 3rem;
    }
}

.hero-description {
    font-size: 1.125rem;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 32px;
}

@media (min-width: 768px) {
    .hero-description {
        font-size: 0.95rem;
    }
}

/* Portfolio Hero Buttons */
.portfolio-hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 32px;
}

.btn-outline {
    background: transparent;
    color: var(--gray-700);
    border: 1px solid var(--gray-300);
}

.btn-outline:hover {
    background-color: var(--gray-50);
    transform: translateY(-2px);
}

/* Portfolio Stats */
.portfolio-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 24px;
}

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

.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
}

.stat-icon-purple {
    background-color: rgba(147, 51, 234, 0.1);
}

.stat-icon-purple svg {
    color: #7c3aed;
}

.stat-icon-green {
    background-color: rgba(16, 185, 129, 0.1);
}

.stat-icon-green svg {
    color: #10b981;
}

.stat-icon-blue {
    background-color: rgba(37, 99, 235, 0.1);
}

.stat-icon-blue svg {
    color: #2563eb;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--gray-600);
    margin-bottom: 4px;
}

.stat-value {
    font-weight: 600;
    color: var(--gray-900);
    font-size: 1rem;
}

/* Portfolio Hero Image */
.portfolio-hero-image {
    position: relative;
    width: 100%;
}

.portfolio-hero-image img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: var(--shadow-2xl);
}

.image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.2), transparent);
    border-radius: 16px;
}

/* Portfolio Details Section */
.portfolio-details {
    padding: 50px 0;
    background-color: white;
}

.details-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
}

@media (min-width: 1024px) {
    .details-grid {
        grid-template-columns: 2fr 1fr;
    }
}

.details-main h2 {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 24px;
}

.details-main h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-top: 48px;
    margin-bottom: 16px;
}

.project-description p {
    font-size: 1.125rem;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 24px;
}

/* Feature List */
.feature-list {
    list-style: none;
    padding: 0;
    margin: 0 0 48px 0;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    color: var(--gray-600);
    margin-bottom: 12px;
    line-height: 1.6;
}

.feature-bullet {
    width: 8px;
    height: 8px;
    background-color: #7c3aed;
    border-radius: 50%;
    margin-right: 12px;
    margin-top: 8px;
    flex-shrink: 0;
}

/* Results Grid */
.results-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

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

.result-card {
    padding: 24px;
    border-radius: 12px;
}

.result-card-purple {
    background-color: rgba(147, 51, 234, 0.05);
}

.result-card-blue {
    background-color: rgba(37, 99, 235, 0.05);
}

.result-card-green {
    background-color: rgba(16, 185, 129, 0.05);
}

.result-card h4 {
    font-weight: 600;
    margin-bottom: 8px;
}

.result-card-purple h4 {
    color: #6b21a8;
}

.result-card-blue h4 {
    color: #1e40af;
}

.result-card-green h4 {
    color: #065f46;
}

.result-number {
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.result-card-purple .result-number {
    color: #7c3aed;
}

.result-card-blue .result-number {
    color: #2563eb;
}

.result-card-green .result-number {
    color: #10b981;
}

.result-description {
    font-size: 0.875rem;
    margin: 0;
}

.result-card-purple .result-description {
    color: #7c3aed;
}

.result-card-blue .result-description {
    color: #2563eb;
}

.result-card-green .result-description {
    color: #10b981;
}

/* Sidebar */
.sidebar-card {
    background-color: var(--gray-50);
    padding: 24px;
    border-radius: 12px;
    margin-bottom: 24px;
}

.sidebar-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 16px;
}

/* Tech Tags */
.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tech-tag {
    padding: 6px 12px;
    background-color: white;
    color: var(--gray-700);
    font-size: 0.875rem;
    border-radius: 6px;
    border: 1px solid var(--gray-200);
}

/* Client Quote */
.client-quote {
    color: var(--gray-600);
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 12px;
}

.client-name {
    font-size: 0.875rem;
    color: var(--gray-500);
    margin: 0;
}

/* ==========================================
   Service Pages Styles
   ========================================== */

/* Service Hero */
.service-hero {
    padding: 120px 0 60px;
    background: linear-gradient(to bottom right, rgba(248, 250, 252, 1), rgba(239, 246, 255, 1), rgba(238, 242, 255, 1));
}

.service-hero .back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 500;
    margin-bottom: 32px;
    transition: var(--transition);
}

.service-hero .back-link:hover {
    color: var(--primary-purple);
}

/* Service Process Section */
.service-process {
    padding: 50px 0;
    background: white;
}

.process-steps {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.process-step {
    display: flex;
    gap: 16px;
}

.process-step-icon {
    width: 48px;
    height: 48px;
    background: var(--gray-100);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Service Features */
.service-features {
    padding: 0;
}

.feature-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

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

.feature-card {
    background: white;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

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

.feature-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

/* Service Results */
.service-results {
    padding: 50px 0;
    background: white;
}

.results-metrics {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

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

/* FAQ Section */
.faq-section {
    padding: 50px 0;
    background: var(--gray-50);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    margin-bottom: 16px;
    background: white;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 20px 24px;
    text-align: left;
    font-weight: 600;
    color: var(--gray-900);
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question:hover {
    background: var(--gray-50);
}

.faq-toggle {
    color: var(--primary-blue);
    font-size: 24px;
    font-weight: 300;
    transition: transform 0.3s ease;
}

.faq-toggle.active {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 24px 20px;
    color: var(--gray-600);
    line-height: 1.6;
    display: none;
}

.faq-answer.active {
    display: block;
}

/* ==========================================
   Additional Service Page Fixes
   ========================================== */

/* Service Page Layout */
.service-page {
    min-height: 100vh;
    background: linear-gradient(to bottom right, rgba(248, 250, 252, 1), rgba(239, 246, 255, 1), rgba(238, 242, 255, 1));
}

/* Service Hero - Match Portfolio Style */
.service-hero .portfolio-hero-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: center;
}

@media (min-width: 1024px) {
    .service-hero .portfolio-hero-content {
        grid-template-columns: 1fr 1fr;
    }
}

/* Service Stats Alignment */
.service-hero .portfolio-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 24px;
    margin-top: 32px;
}

/* Service Details Grid */
.service-details-section {
    padding: 50px 0;
    background: linear-gradient(to bottom right, rgba(239, 246, 255, 0.5), rgba(238, 242, 255, 0.5));
}

/* Badge Colors for Service Pages */
.badge-blue {
    background-color: rgba(37, 99, 235, 0.1);
    color: #2563eb;
}

.badge-green {
    background-color: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.badge-purple {
    background-color: rgba(147, 51, 234, 0.1);
    color: #7c3aed;
}

/* Icon Colors */
.stat-icon-blue {
    background-color: rgba(37, 99, 235, 0.1);
}

.stat-icon-blue svg {
    color: #2563eb;
}

.stat-icon-green {
    background-color: rgba(16, 185, 129, 0.1);
}

.stat-icon-green svg {
    color: #10b981;
}

.stat-icon-purple {
    background-color: rgba(147, 51, 234, 0.1);
}

.stat-icon-purple svg {
    color: #7c3aed;
}

/* Button with Icon Alignment */
.btn svg {
    margin-right: 8px;
}

.btn span {
    display: inline-flex;
    align-items: center;
}

/* Mobile Menu for Service Pages */
@media (max-width: 1023px) {
    .mobile-menu {
        display: none;
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        background: white;
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
        z-index: 40;
        padding: 16px;
    }
    
    .mobile-menu.active {
        display: block;
    }
    
    .mobile-menu ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }
    
    .mobile-menu ul li {
        margin-bottom: 16px;
    }
    
    .mobile-menu ul li a {
        color: var(--gray-700);
        text-decoration: none;
        font-weight: 500;
        display: block;
        padding: 8px 0;
    }
}

/* Ensure proper spacing */
.service-hero h1 {
    font-size: 2.5rem;
    line-height: 1.2;
}

@media (min-width: 768px) {
    .service-hero h1 {
        font-size: 3rem;
    }
}
