/* ============================================
   WEBhub - Complete Stylesheet
   Version: 1.0
   ============================================ */

/* ============================================
   CSS RESET & BASE
   ============================================ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Brand Colors */
    --primary: #1e3a5f;
    --primary-dark: #0f2744;
    --primary-light: #2d5a8a;
    --accent: #3b82f6;
    --accent-glow: rgba(59, 130, 246, 0.4);
    
    /* Industry Colors */
    --real-estate: #d69e2e;
    --real-estate-light: #f6e05e;
    --clinics: #0d9488;
    --clinics-light: #2dd4bf;
    --interior: #a78355;
    --interior-light: #d4a574;
    --restaurants: #dc2626;
    --restaurants-light: #f87171;
    --education: #16a34a;
    --education-light: #4ade80;
    --it-setup: #6366f1;
    --it-setup-light: #a5b4fc;
    
    /* Neutrals */
    --white: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    
    /* Typography */
    --font-heading: 'Anton', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Spacing */
    --section-padding: 100px;
    --container-width: 1200px;
    
    /* Effects */
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0,0,0,0.25);
    --shadow-glow: 0 0 40px rgba(59, 130, 246, 0.15);
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;
    --radius-full: 9999px;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-700);
    background: var(--white);
    overflow-x: hidden;
}

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

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

ul, ol {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

address {
    font-style: normal;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

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

.section-alt {
    background: var(--gray-50);
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--gray-900);
    text-align: center;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--gray-500);
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
    line-height: 1.7;
}

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

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

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

@keyframes floatSlow {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(5deg); }
}

@keyframes pulse {
    0%, 100% { 
        transform: scale(1); 
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); 
    }
    50% { 
        transform: scale(1.05); 
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); 
    }
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

@keyframes gradientFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.animate-spin {
    animation: spin 1s linear infinite;
}

.animate-fadeInUp {
    animation: fadeInUp 0.6s ease forwards;
}

.animate-fadeIn {
    animation: fadeIn 0.6s ease forwards;
}

.animate-scaleIn {
    animation: scaleIn 0.5s ease forwards;
}

.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }
.animate-delay-4 { animation-delay: 0.4s; }
.animate-delay-5 { animation-delay: 0.5s; }
.animate-delay-6 { animation-delay: 0.6s; }

/* Scroll Animation Base */
.scroll-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-animate.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   HEADER
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition-base);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--shadow-md);
    padding: 15px 0;
}

.header .container {
    width: 100%;
    width: 100%; 
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    font-family: var(--font-heading);
    font-size: 1.75rem;
    letter-spacing: 1px;
    z-index: 1001;
}

.logo-web {
    color: transparent;
    -webkit-text-stroke: 2px var(--primary);
    transition: var(--transition-base);
}

.logo-hub {
    color: var(--primary);
    margin-left: 2px;
}

.header.scrolled .logo-web {
    -webkit-text-stroke-color: var(--primary-dark);
}

.header.scrolled .logo-hub {
    color: var(--primary-dark);
}

/* Navigation */
.nav {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-menu a {
    padding: 10px 16px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gray-600);
    border-radius: var(--radius-full);
    transition: var(--transition-fast);
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary);
    background: var(--gray-100);
}

.nav-menu .nav-cta {
    background: var(--primary);
    color: var(--white) !important;
    padding: 10px 24px;
    margin-left: 8px;
}

.nav-menu .nav-cta:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Mobile Menu Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
    z-index: 1001;
    cursor: pointer;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--gray-700);
    border-radius: 2px;
    transition: var(--transition-base);
}

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

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

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

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    transition: var(--transition-base);
    cursor: pointer;
    border: none;
    text-align: center;
}

.btn svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(30, 58, 95, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(30, 58, 95, 0.4);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary);
    border: 2px solid var(--gray-200);
}

.btn-secondary:hover {
    border-color: var(--primary);
    background: var(--gray-50);
}

.btn-whatsapp {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

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

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(30, 58, 95, 0.05);
}

.btn-full {
    width: 100%;
}

.btn-lg {
    padding: 18px 40px;
    font-size: 1.1rem;
}

.btn-sm {
    padding: 12px 24px;
    font-size: 0.9rem;
}

/* Industry-Specific Button Colors */
.btn-real-estate {
    background: linear-gradient(135deg, var(--real-estate) 0%, #b7791f 100%);
}

.btn-clinics {
    background: linear-gradient(135deg, var(--clinics) 0%, #0f766e 100%);
}

.btn-interior {
    background: linear-gradient(135deg, var(--interior) 0%, #8b6f47 100%);
}

.btn-restaurants {
    background: linear-gradient(135deg, var(--restaurants) 0%, #b91c1c 100%);
}

.btn-education {
    background: linear-gradient(135deg, var(--education) 0%, #15803d 100%);
}

.btn-it-setup {
    background: linear-gradient(135deg, var(--it-setup) 0%, #4f46e5 100%);
}

/* ============================================
   HERO SECTION - HOMEPAGE
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--white) 50%, var(--gray-100) 100%);
    overflow: hidden;
    padding-top: 80px;
}

/* Animated Background Shapes */
.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.5;
    filter: blur(60px);
}

.hero-shape.shape-1 {
    width: 600px;
    height: 600px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(99, 102, 241, 0.2));
    top: -200px;
    right: -100px;
    animation: float 8s ease-in-out infinite;
}

.hero-shape.shape-2 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(59, 130, 246, 0.15));
    bottom: -100px;
    left: -100px;
    animation: float 10s ease-in-out infinite reverse;
}

.hero-shape.shape-3 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, rgba(214, 158, 46, 0.15), rgba(239, 68, 68, 0.1));
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: float 12s ease-in-out infinite;
}

/* Grid Pattern Overlay */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(30, 58, 95, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(30, 58, 95, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

.hero-content {
    text-align: center;
    max-width: 900px;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 7vw, 4.5rem);
    line-height: 1.1;
    color: var(--gray-900);
    margin-bottom: 24px;
    letter-spacing: 1px;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.hero-title .highlight {
    background: linear-gradient(135deg, var(--accent) 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.35rem);
    color: var(--gray-500);
    max-width: 650px;
    margin: 0 auto 40px;
    line-height: 1.7;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.2s forwards;
}

.hero-cta {
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.4s forwards;
}

.hero-cta .btn {
    margin: 0 8px 16px;
}

/* ============================================
   HERO SECTION - INDUSTRY PAGES
   ============================================ */
.hero-industry {
    min-height: auto;
    padding: 140px 0 100px;
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--white) 100%);
}

.hero-industry .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-industry .hero-content {
    text-align: left;
    padding: 0;
    max-width: 100%;
}

.hero-industry .hero-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
}

.hero-industry .hero-subtitle {
    margin: 0 0 40px 0;
    max-width: 100%;
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: var(--radius-full);
    margin-bottom: 24px;
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

.hero-image {
    position: relative;
    opacity: 0;
    animation: fadeInRight 0.8s ease 0.3s forwards;
}

.hero-image img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-2xl);
}

.hero-image::before {
    content: '';
    position: absolute;
    inset: -15px;
    border-radius: var(--radius-lg);
    border: 2px dashed var(--gray-300);
    z-index: -1;
}

/* Industry-specific hero colors */
.page-realestate .hero-badge {
    background: rgba(214, 158, 46, 0.1);
    color: var(--real-estate);
}

.page-realestate .hero-title .highlight {
    background: linear-gradient(135deg, var(--real-estate) 0%, #f59e0b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.page-clinics .hero-badge {
    background: rgba(13, 148, 136, 0.1);
    color: var(--clinics);
}

.page-clinics .hero-title .highlight {
    background: linear-gradient(135deg, var(--clinics) 0%, #06b6d4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.page-interior .hero-badge {
    background: rgba(167, 131, 85, 0.1);
    color: var(--interior);
}

.page-interior .hero-title .highlight {
    background: linear-gradient(135deg, var(--interior) 0%, #d97706 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.page-restaurants .hero-badge {
    background: rgba(220, 38, 38, 0.1);
    color: var(--restaurants);
}

.page-restaurants .hero-title .highlight {
    background: linear-gradient(135deg, var(--restaurants) 0%, #f97316 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.page-education .hero-badge {
    background: rgba(22, 163, 74, 0.1);
    color: var(--education);
}

.page-education .hero-title .highlight {
    background: linear-gradient(135deg, var(--education) 0%, #22c55e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.page-itsetup .hero-badge {
    background: rgba(99, 102, 241, 0.1);
    color: var(--it-setup);
}

.page-itsetup .hero-title .highlight {
    background: linear-gradient(135deg, var(--it-setup) 0%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ============================================
   INDUSTRIES SECTION (Homepage)
   ============================================ */
.industries {
    padding: var(--section-padding) 0;
    background: var(--white);
}

.industry-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.industry-card {
    position: relative;
    padding: 40px 30px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    transition: var(--transition-base);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.industry-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gray-300);
    transition: var(--transition-base);
}

.industry-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.industry-card:hover::before {
    height: 6px;
}

/* Industry-specific accent colors */
.industry-card.realestate::before { background: linear-gradient(90deg, var(--real-estate), #f59e0b); }
.industry-card.clinics::before { background: linear-gradient(90deg, var(--clinics), #06b6d4); }
.industry-card.interior::before { background: linear-gradient(90deg, var(--interior), #d97706); }
.industry-card.restaurants::before { background: linear-gradient(90deg, var(--restaurants), #f97316); }
.industry-card.education::before { background: linear-gradient(90deg, var(--education), #22c55e); }
.industry-card.itsetup::before { background: linear-gradient(90deg, var(--it-setup), #8b5cf6); }

.industry-icon {
    width: 70px;
    height: 70px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: var(--transition-base);
}

.industry-card.realestate .industry-icon { background: rgba(214, 158, 46, 0.1); color: var(--real-estate); }
.industry-card.clinics .industry-icon { background: rgba(13, 148, 136, 0.1); color: var(--clinics); }
.industry-card.interior .industry-icon { background: rgba(167, 131, 85, 0.1); color: var(--interior); }
.industry-card.restaurants .industry-icon { background: rgba(220, 38, 38, 0.1); color: var(--restaurants); }
.industry-card.education .industry-icon { background: rgba(22, 163, 74, 0.1); color: var(--education); }
.industry-card.itsetup .industry-icon { background: rgba(99, 102, 241, 0.1); color: var(--it-setup); }

.industry-card:hover .industry-icon {
    transform: scale(1.1);
}

.industry-icon svg {
    width: 32px;
    height: 32px;
}

.industry-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--gray-900);
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.industry-pain {
    color: var(--gray-500);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 24px;
    flex-grow: 1;
}

.industry-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--primary);
    transition: var(--transition-fast);
}

.industry-card:hover .industry-link {
    gap: 12px;
}

/* ============================================
   PAIN POINTS SECTION
   ============================================ */
.pain-points {
    padding: var(--section-padding) 0;
    background: var(--white);
}

.pain-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.pain-card {
    display: flex;
    gap: 20px;
    padding: 30px;
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-100);
    transition: var(--transition-base);
}

.pain-card:hover {
    background: var(--white);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.pain-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    border-radius: var(--radius-md);
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
    box-shadow: var(--shadow-sm);
}

.pain-card:hover .pain-icon {
    color: var(--primary);
}

.pain-icon svg {
    width: 24px;
    height: 24px;
}

.pain-card p {
    color: var(--gray-600);
    font-size: 1rem;
    line-height: 1.7;
}

/* Industry-specific pain icon colors on hover */
.page-realestate .pain-card:hover .pain-icon { color: var(--real-estate); }
.page-clinics .pain-card:hover .pain-icon { color: var(--clinics); }
.page-interior .pain-card:hover .pain-icon { color: var(--interior); }
.page-restaurants .pain-card:hover .pain-icon { color: var(--restaurants); }
.page-education .pain-card:hover .pain-icon { color: var(--education); }
.page-itsetup .pain-card:hover .pain-icon { color: var(--it-setup); }

/* ============================================
   SOLUTIONS SECTION
   ============================================ */
.solutions {
    padding: var(--section-padding) 0;
    background: var(--gray-50);
}

.solution-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.solution-card {
    padding: 35px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
}

.solution-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gray-200);
    transition: var(--transition-base);
}

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

.solution-card:hover::before {
    width: 6px;
    background: var(--primary);
}

.solution-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--gray-200);
    margin-bottom: 16px;
    line-height: 1;
}

.solution-card:hover .solution-number {
    color: var(--primary);
}

.solution-card h3 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    color: var(--gray-900);
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.solution-card p {
    color: var(--gray-500);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Industry-specific solution colors */
.page-realestate .solution-card:hover::before { background: var(--real-estate); }
.page-realestate .solution-card:hover .solution-number { color: var(--real-estate); }

.page-clinics .solution-card:hover::before { background: var(--clinics); }
.page-clinics .solution-card:hover .solution-number { color: var(--clinics); }

.page-interior .solution-card:hover::before { background: var(--interior); }
.page-interior .solution-card:hover .solution-number { color: var(--interior); }

.page-restaurants .solution-card:hover::before { background: var(--restaurants); }
.page-restaurants .solution-card:hover .solution-number { color: var(--restaurants); }

.page-education .solution-card:hover::before { background: var(--education); }
.page-education .solution-card:hover .solution-number { color: var(--education); }

.page-itsetup .solution-card:hover::before { background: var(--it-setup); }
.page-itsetup .solution-card:hover .solution-number { color: var(--it-setup); }

/* ============================================
   PROCESS SECTION
   ============================================ */
.process {
    padding: var(--section-padding) 0;
    background: linear-gradient(180deg, var(--gray-50) 0%, var(--white) 100%);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.process-step {
    text-align: center;
    padding: 40px 30px;
    position: relative;
}

.process-step::after {
    content: '';
    position: absolute;
    top: 70px;
    right: -20px;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--gray-300), transparent);
}

.process-step:last-child::after {
    display: none;
}

.process-number {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--white);
    box-shadow: 0 10px 30px rgba(30, 58, 95, 0.2);
    transition: var(--transition-base);
}

.process-step:hover .process-number {
    transform: scale(1.1);
    box-shadow: 0 15px 40px rgba(30, 58, 95, 0.3);
}

.process-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--gray-900);
    margin-bottom: 16px;
    letter-spacing: 0.5px;
}

.process-desc {
    color: var(--gray-500);
    font-size: 1rem;
    line-height: 1.7;
}

/* Industry-specific process colors */
.page-realestate .process-number { background: linear-gradient(135deg, var(--real-estate) 0%, #f59e0b 100%); }
.page-clinics .process-number { background: linear-gradient(135deg, var(--clinics) 0%, #06b6d4 100%); }
.page-interior .process-number { background: linear-gradient(135deg, var(--interior) 0%, #d97706 100%); }
.page-restaurants .process-number { background: linear-gradient(135deg, var(--restaurants) 0%, #f97316 100%); }
.page-education .process-number { background: linear-gradient(135deg, var(--education) 0%, #22c55e 100%); }
.page-itsetup .process-number { background: linear-gradient(135deg, var(--it-setup) 0%, #8b5cf6 100%); }

/* ============================================
   PRICING SECTION
   ============================================ */
.pricing {
    padding: var(--section-padding) 0;
    background: var(--white);
}

.pricing-box {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    padding: 60px 50px;
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--white) 100%);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.pricing-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
}

.pricing-content .section-title {
    margin-bottom: 30px;
}

.pricing-starting {
    font-size: 1rem;
    color: var(--gray-500);
    margin-bottom: 8px;
}

.pricing-amount {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    color: var(--gray-900);
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.pricing-note {
    color: var(--gray-500);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 30px;
}

/* Industry-specific pricing colors */
.page-realestate .pricing-box::before { background: linear-gradient(90deg, var(--real-estate), #f59e0b); }
.page-clinics .pricing-box::before { background: linear-gradient(90deg, var(--clinics), #06b6d4); }
.page-interior .pricing-box::before { background: linear-gradient(90deg, var(--interior), #d97706); }
.page-restaurants .pricing-box::before { background: linear-gradient(90deg, var(--restaurants), #f97316); }
.page-education .pricing-box::before { background: linear-gradient(90deg, var(--education), #22c55e); }
.page-itsetup .pricing-box::before { background: linear-gradient(90deg, var(--it-setup), #8b5cf6); }

/* ============================================
   SERVICES LIST (IT Setup Page)
   ============================================ */
.services-list {
    padding: var(--section-padding) 0;
    background: var(--gray-50);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.service-item {
    padding: 30px;
    background: var(--white);
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
}

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

.service-item svg {
    width: 48px;
    height: 48px;
    color: var(--it-setup);
    margin-bottom: 16px;
}

.service-item h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.service-item p {
    font-size: 0.9rem;
    color: var(--gray-500);
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact {
    padding: var(--section-padding) 0;
    background: var(--white);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info h2.section-title {
    text-align: left;
    margin-bottom: 16px;
}

.contact-subtitle {
    color: var(--gray-500);
    font-size: 1.1rem;
    margin-bottom: 32px;
    line-height: 1.7;
}

.contact-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    color: var(--gray-600);
    font-size: 0.95rem;
    line-height: 1.6;
}

.contact-item svg {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    color: var(--primary);
    margin-top: 2px;
}

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

/* Contact Form */
.contact-form-wrapper {
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--white) 100%);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-lg);
}

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

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 18px;
    font-size: 1rem;
    font-family: inherit;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-md);
    background: var(--white);
    transition: var(--transition-fast);
    color: var(--gray-700);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(30, 58, 95, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray-400);
}

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

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--gray-900);
    color: var(--gray-300);
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand .logo {
    margin-bottom: 20px;
}

.footer-brand .logo-web {
    -webkit-text-stroke-color: var(--white);
}

.footer-brand .logo-hub {
    color: var(--white);
}

.footer-brand > p {
    color: var(--gray-400);
    margin-bottom: 24px;
    max-width: 280px;
    line-height: 1.7;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-300);
    transition: var(--transition-fast);
}

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

.footer-social svg {
    width: 20px;
    height: 20px;
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--white);
    margin-bottom: 24px;
    letter-spacing: 0.5px;
}

.footer-links ul,
.footer-contact ul {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-links a,
.footer-contact a,
.footer-contact address {
    color: var(--gray-400);
    font-size: 0.95rem;
    transition: var(--transition-fast);
    line-height: 1.6;
}

.footer-links a:hover,
.footer-contact a:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: var(--gray-500);
}

.footer-bottom a {
    color: var(--gray-400);
}

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

/* ============================================
   WHATSAPP FLOATING BUTTON
   ============================================ */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    animation: pulse 2s infinite;
    transition: var(--transition-base);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
    animation: none;
}

.whatsapp-float svg {
    width: 28px;
    height: 28px;
}

/* ============================================
   THANK YOU PAGE
   ============================================ */
.thank-you {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--white) 100%);
    padding: 40px 24px;
}

.thank-you-content {
    text-align: center;
    max-width: 600px;
}

.thank-you-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 30px;
    background: linear-gradient(135deg, var(--education) 0%, #22c55e 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    box-shadow: 0 10px 40px rgba(22, 163, 74, 0.3);
}

.thank-you-icon svg {
    width: 50px;
    height: 50px;
}

.thank-you h1 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--gray-900);
    margin-bottom: 16px;
}

.thank-you p {
    color: var(--gray-500);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 30px;
}

/* ============================================
   PRIVACY POLICY PAGE
   ============================================ */
.privacy-page {
    padding-top: 120px;
    padding-bottom: var(--section-padding);
}

.privacy-content {
    max-width: 800px;
    margin: 0 auto;
}

.privacy-content h1 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--gray-900);
    margin-bottom: 16px;
    text-align: center;
}

.privacy-content .last-updated {
    text-align: center;
    color: var(--gray-500);
    margin-bottom: 50px;
}

.privacy-content h2 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--gray-900);
    margin-top: 40px;
    margin-bottom: 16px;
}

.privacy-content p,
.privacy-content li {
    color: var(--gray-600);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 16px;
}

.privacy-content ul {
    padding-left: 24px;
    list-style: disc;
}

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

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

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
    .industry-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .solution-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .process-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    
    .process-step::after {
        display: none;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    
    .hero-industry .container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-industry .hero-content {
        text-align: center;
    }
    
    .hero-industry .hero-subtitle {
        margin: 0 auto 40px;
    }
    
    .hero-image img {
        height: 350px;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px;
    }
    
    /* Mobile Navigation */
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 20px;
        transition: var(--transition-base);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu a {
        font-size: 1.2rem;
        padding: 15px 30px;
    }
    
    .nav-menu .nav-cta {
        margin-left: 0;
        margin-top: 10px;
    }
    
    /* Hero */
    .hero {
        min-height: auto;
        padding: 120px 0 80px;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-industry {
        padding: 120px 0 60px;
    }
    
    .hero-image {
        display: none;
    }
    
    /* Industries */
    .industry-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    /* Pain Points */
    .pain-grid {
        grid-template-columns: 1fr;
    }
    
    /* Solutions */
    .solution-grid {
        grid-template-columns: 1fr;
    }
    
    /* Process */
    .process-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    /* Services */
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    /* Contact */
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-info h2.section-title {
        text-align: center;
    }
    
    .contact-subtitle {
        text-align: center;
    }
    
    .contact-buttons {
        justify-content: center;
    }
    
    .contact-details {
        align-items: center;
        text-align: center;
    }
    
    .contact-item {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }
    
    /* Pricing */
    .pricing-box {
        padding: 40px 30px;
    }
    
    .pricing-amount {
        font-size: 2.5rem;
    }
    
    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .footer-brand {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .footer-brand > p {
        max-width: 100%;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    /* WhatsApp Float */
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .btn {
        padding: 14px 24px;
        font-size: 0.95rem;
    }
    
    .btn-lg {
        padding: 16px 28px;
        font-size: 1rem;
    }
    
    .industry-card {
        padding: 30px 24px;
    }
    
    .contact-form-wrapper {
        padding: 30px 20px;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .process-number {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}

/* ============================================
   IMAGE LOADING OPTIMIZATION
   ============================================ */
img {
    content-visibility: auto;
}

img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.3s ease;
}

img[loading="lazy"].loaded,
img[loading="lazy"]:not([src=""]) {
    opacity: 1;
}

/* ============================================
   ACCESSIBILITY - Skip Link
   ============================================ */
.skip-link {
    position: absolute;
    top: -50px;
    left: 0;
    background: var(--primary);
    color: var(--white);
    padding: 10px 20px;
    z-index: 10001;
    transition: top 0.3s ease;
    text-decoration: none;
    font-weight: 600;
}

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

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.animate-spin {
    animation: spin 1s linear infinite;
}

/* Global Services Section */
.global-services {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    text-align: center;
    padding: 4rem 0;
}

.global-services .section-title {
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.global-services .section-subtitle {
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cities-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 800px;
    margin: 0 auto;
}

.city-group h3 {
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 700;
}

.city-group ul {
    list-style: none;
    padding: 0;
    text-align: left;
}

.city-group li {
    padding: 0.5rem 0;
    color: var(--text-primary);
    position: relative;
    padding-left: 1.5rem;
}

.city-group li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

/* Responsive for Global Services */
@media (max-width: 768px) {
    .cities-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .city-group h3 {
        font-size: 1.3rem;
    }
    
    .city-group li {
        font-size: 0.9rem;
    }
}
/* ============================================
   MOBILE HERO IMAGES - SHOW SMALLER VERSION
   ============================================ */
@media (max-width: 768px) {
    .hero-image {
        display: block !important;
        order: -1;
        margin-bottom: 24px;
    }

    .hero-image img {
        height: 220px;
        width: 100%;
        object-fit: cover;
        border-radius: 16px;
        box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    }

    .hero-image::before {
        display: none;
    }

    .hero-industry .container {
        display: flex;
        flex-direction: column;
    }

    .hero-industry .hero-content {
        text-align: center;
        order: 2;
    }

    .hero-industry .hero-image {
        order: 1;
    }

    .hero-industry .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
}

/* ============================================
   MOBILE HERO IMAGES - SHOW SMALLER VERSION
   ============================================ */
@media (max-width: 768px) {
    .hero-image {
        display: block !important;
        order: -1;
        margin-bottom: 24px;
    }

    .hero-image img {
        height: 220px;
        width: 100%;
        object-fit: cover;
        border-radius: 16px;
        box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    }

    .hero-image::before {
        display: none;
    }

    .hero-industry .container {
        display: flex;
        flex-direction: column;
    }

    .hero-industry .hero-content {
        text-align: center;
        order: 2;
    }

    .hero-industry .hero-image {
        order: 1;
    }

    .hero-industry .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
}
