/* ========================================
   Promereo Services Ltd - Premium Stylesheet
   Modern, Refined Design System
   ======================================== */

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Outfit:wght@300;400;500;600;700;800;900&display=swap');

/* CSS Variables - Refined Brand Colors */
:root {
    /* Primary: Deep Teal with sophistication */
    --primary: #0d9488;
    --primary-dark: #0f766e;
    --primary-light: #14b8a6;
    --primary-950: #042f2e;
    --primary-900: #134e4a;

    /* Brand Red: Bold and energetic */
    --red: #dc2626;
    --red-dark: #b91c1c;
    --red-light: #ef4444;
    --red-soft: #fca5a5;
    --red-950: #450a0a;
    --red-900: #7f1d1d;

    /* Secondary: Rich complementary tones */
    --secondary: #06b6d4;
    --secondary-dark: #0891b2;

    /* Accent: Warm Orange/Coral */
    --accent: #f97316;
    --accent-hover: #ea580c;
    --accent-light: #fb923c;
    --gold: #fbbf24;
    --coral: #f472b6;

    /* Neutral palette */
    --text-dark: #0f172a;
    --text-medium: #475569;
    --text-light: #94a3b8;
    --text-muted: #cbd5e1;

    /* Backgrounds */
    --bg-light: #f0fdfa;
    --bg-cream: #fafafa;
    --bg-subtle: #f8fafc;
    --white: #ffffff;
    --border: rgba(13, 148, 136, 0.1);
    --border-light: rgba(13, 148, 136, 0.05);

    /* Premium Shadows with depth */
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04), 0 4px 16px rgba(13, 148, 136, 0.06);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.05), 0 8px 32px rgba(13, 148, 136, 0.08);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.06), 0 16px 48px rgba(13, 148, 136, 0.1);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.08), 0 24px 64px rgba(13, 148, 136, 0.12);
    --shadow-glow: 0 0 40px rgba(13, 148, 136, 0.15);
    --shadow-glow-accent: 0 0 40px rgba(249, 115, 22, 0.2);

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #0f766e 0%, #0d9488 50%, #14b8a6 100%);
    --gradient-primary-soft: linear-gradient(135deg, rgba(13, 148, 136, 0.1) 0%, rgba(20, 184, 166, 0.05) 100%);
    --gradient-accent: linear-gradient(135deg, #f97316 0%, #fb923c 50%, #fbbf24 100%);
    --gradient-red: linear-gradient(135deg, #b91c1c 0%, #dc2626 50%, #ef4444 100%);
    --gradient-red-soft: linear-gradient(135deg, rgba(220, 38, 38, 0.1) 0%, rgba(239, 68, 68, 0.05) 100%);
    --gradient-teal-red: linear-gradient(135deg, #0d9488 0%, #14b8a6 40%, #dc2626 100%);
    --gradient-dark: linear-gradient(135deg, #042f2e 0%, #134e4a 50%, #0f766e 100%);
    --gradient-dark-red: linear-gradient(135deg, #042f2e 0%, #450a0a 50%, #7f1d1d 100%);
    --gradient-hero: linear-gradient(160deg, #042f2e 0%, #0f766e 40%, #134e4a 100%);
    --gradient-mesh: radial-gradient(at 40% 20%, rgba(13, 148, 136, 0.15) 0px, transparent 50%),
                     radial-gradient(at 80% 0%, rgba(220, 38, 38, 0.1) 0px, transparent 50%),
                     radial-gradient(at 0% 50%, rgba(6, 182, 212, 0.1) 0px, transparent 50%),
                     radial-gradient(at 80% 50%, rgba(220, 38, 38, 0.08) 0px, transparent 50%),
                     radial-gradient(at 0% 100%, rgba(13, 148, 136, 0.1) 0px, transparent 50%);

    /* Transitions */
    --transition-fast: all 0.15s ease;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-slow: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-bounce: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);

    /* Typography */
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Outfit', sans-serif;

    /* Spacing rhythm */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 48px;
    --space-3xl: 64px;
    --space-4xl: 96px;

    /* Border radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-2xl: 32px;
    --radius-full: 9999px;
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

html, body {
    max-width: 100%;
}

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    line-height: 1.7;
    background: var(--white);
    overflow-x: hidden;
}

/* Noise texture overlay */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0.02;
    z-index: 9999;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

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

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

ul {
    list-style: none;
}

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

/* Selection style */
::selection {
    background: var(--primary);
    color: var(--white);
}

/* ========================================
   Scroll Progress Bar
   ======================================== */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background: var(--gradient-accent);
    z-index: 10000;
    transform-origin: left;
    transform: scaleX(0);
    box-shadow: 0 0 10px rgba(249, 115, 22, 0.5);
}

/* ========================================
   Header & Navigation
   ======================================== */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(24px) saturate(200%);
    -webkit-backdrop-filter: blur(24px) saturate(200%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.6);
    transition: var(--transition-smooth);
}

header.scrolled {
    background: rgba(255, 255, 255, 0.7);
    box-shadow: var(--shadow-md), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 24px;
    max-width: 1280px;
    margin: 0 auto;
}

.logo img {
    height: 42px;
    width: auto;
    transition: var(--transition);
}

.logo:hover img {
    transform: scale(1.03);
}

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

.nav-menu > a {
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.9rem;
    padding: 10px 18px;
    border-radius: var(--radius-full);
    position: relative;
    transition: var(--transition);
    letter-spacing: -0.01em;
}

.nav-menu > a::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-full);
    background: var(--gradient-primary-soft);
    opacity: 0;
    transition: var(--transition);
}

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

.nav-menu > a:hover::before {
    opacity: 1;
}

.nav-menu > a.active,
.nav-menu a.active {
    color: #ffffff !important;
    background: linear-gradient(135deg, #0f766e 0%, #0d9488 50%, #14b8a6 100%) !important;
    box-shadow: 0 4px 16px rgba(13, 148, 136, 0.4),
                inset 0 1px 0 rgba(255, 255, 255, 0.2),
                0 0 0 2px rgba(255, 255, 255, 0.15);
    position: relative;
    z-index: 1;
}

.nav-menu > a.active:hover,
.nav-menu a.active:hover {
    color: #ffffff !important;
    background: linear-gradient(135deg, #0f766e 0%, #0d9488 50%, #14b8a6 100%) !important;
    transform: none;
}

.nav-menu > a.active::before {
    display: none;
}

.nav-cta {
    margin-left: 8px;
    padding: 10px 20px;
    background: rgba(249, 115, 22, 0.9);
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    color: var(--white);
    font-weight: 600;
    font-size: 0.85rem;
    border-radius: var(--radius-full);
    transition: var(--transition);
    box-shadow: 0 4px 16px rgba(249, 115, 22, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    white-space: nowrap;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(249, 115, 22, 0.4);
    color: var(--white);
}

.nav-cta:active {
    transform: translateY(0);
}

/* Mobile Menu Overlay */
.nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

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

/* Header External Links (Fruitsquare & TagAlong) */
.header-external-links {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-left: 24px;
    padding-left: 24px;
    border-left: 1px solid var(--border);
}

.header-external-links a {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-medium);
    transition: var(--transition);
}

.header-external-links a:hover {
    color: var(--primary);
}

.header-external-links .link-logo {
    height: 24px;
    width: auto;
    opacity: 0.9;
    transition: var(--transition);
}

.header-external-links a:hover .link-logo {
    opacity: 1;
    transform: scale(1.05);
}

/* Mobile Navigation */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    cursor: pointer;
    gap: 6px;
    width: 32px;
    height: 32px;
    padding: 0;
    z-index: 1001;
    background: transparent;
    transition: var(--transition);
}

.nav-toggle:hover span {
    background: #f97316;
}

.nav-toggle:hover span:nth-child(2) {
    width: 24px;
}

.nav-toggle span {
    height: 3px;
    background: linear-gradient(90deg, #0f766e, #14b8a6);
    border-radius: 3px;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    transform-origin: center;
}

.nav-toggle span:nth-child(1) {
    width: 24px;
}

.nav-toggle span:nth-child(2) {
    width: 18px;
}

.nav-toggle span:nth-child(3) {
    width: 24px;
}

.nav-toggle.active {
    align-items: center;
}

.nav-toggle.active span {
    background: linear-gradient(90deg, #f97316, #fb923c);
    width: 24px;
}

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

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

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

@media (max-width: 992px) {
    .header-external-links {
        margin-left: auto;
        margin-right: 12px;
        padding-left: 0;
        border-left: none;
        gap: 8px;
    }

    .header-external-links a {
        width: 36px;
        height: 36px;
        border-radius: 50%;
        background: linear-gradient(135deg, #f0fdfa, #ccfbf1);
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 4px;
        box-shadow: 0 2px 8px rgba(13, 148, 136, 0.15);
        border: 1px solid rgba(13, 148, 136, 0.1);
    }

    .header-external-links a:hover {
        transform: scale(1.1);
        box-shadow: 0 4px 12px rgba(13, 148, 136, 0.25);
    }

    .header-external-links a span {
        display: none;
    }

    .header-external-links .link-logo {
        height: 26px;
        width: 26px;
        object-fit: contain;
        border-radius: 50%;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: min(320px, 85vw);
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        padding: 100px 24px 40px;
        gap: 6px;
        transition: var(--transition-smooth);
        box-shadow: var(--shadow-xl);
        align-items: stretch;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu > a {
        padding: 16px 20px;
        border-radius: var(--radius-lg);
        font-size: 1rem;
    }

    .nav-menu > a.active,
    .nav-menu a.active {
        color: #ffffff !important;
        background: linear-gradient(135deg, #0f766e 0%, #0d9488 50%, #14b8a6 100%) !important;
        box-shadow: 0 4px 16px rgba(13, 148, 136, 0.4);
    }

    .nav-cta {
        width: 100%;
        text-align: center;
        padding: 16px 24px;
        margin-left: 0;
        margin-top: 12px;
        font-size: 1rem;
    }
}

/* ========================================
   Hero Section with Carousel
   ======================================== */
.hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: var(--gradient-hero);
}

/* Animated mesh gradient background */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-mesh);
    animation: meshMove 20s ease-in-out infinite;
    pointer-events: none;
}

@keyframes meshMove {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(2%, -2%) scale(1.02); }
    50% { transform: translate(-1%, 2%) scale(0.98); }
    75% { transform: translate(-2%, -1%) scale(1.01); }
}

/* Floating geometric shapes */
.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(to top, var(--white) 0%, transparent 100%);
    pointer-events: none;
    z-index: 2;
}

.hero-shapes {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    animation: float 12s ease-in-out infinite;
}

.hero-shape-1 {
    width: 500px;
    height: 500px;
    background: rgba(249, 115, 22, 0.4);
    top: 5%;
    right: 5%;
    animation-delay: 0s;
}

.hero-shape-2 {
    width: 400px;
    height: 400px;
    background: rgba(6, 182, 212, 0.35);
    bottom: 10%;
    left: 0%;
    animation-delay: -4s;
}

.hero-shape-3 {
    width: 350px;
    height: 350px;
    background: rgba(251, 191, 36, 0.3);
    top: 35%;
    left: 25%;
    animation-delay: -8s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(30px, -30px) rotate(5deg); }
    50% { transform: translate(-20px, 20px) rotate(-5deg); }
    75% { transform: translate(20px, 30px) rotate(3deg); }
}

/* Grid pattern overlay */
.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: 1;
}

/* Hero Tagline */
.hero-tagline {
    position: absolute;
    top: 85px;
    left: 0;
    right: 0;
    text-align: center;
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 4.5vw, 3rem);
    font-weight: 600;
    color: #ffffff;
    letter-spacing: 0.01em;
    z-index: 10;
    padding: 0 20px;
    pointer-events: none;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-carousel {
    width: 100%;
    position: relative;
    z-index: 3;
}

.carousel-container {
    position: relative;
    overflow: hidden;
}

.carousel-slides {
    display: flex;
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.carousel-slide {
    min-width: 100%;
    padding: 120px 24px 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background-size: cover;
    background-position: center;
}

.carousel-slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(4, 47, 46, 0.85) 0%, rgba(15, 118, 110, 0.75) 50%, rgba(4, 47, 46, 0.85) 100%);
    z-index: 1;
}

.carousel-slide .slide-content {
    position: relative;
    z-index: 2;
}

/* Slide backgrounds */
.slide-1 {
    background-image: url('https://images.unsplash.com/photo-1504307651254-35680f356dfd?auto=format&fit=crop&w=1920&q=80');
}

.slide-2 {
    background-image: url('https://images.unsplash.com/photo-1518770660439-4636190af475?auto=format&fit=crop&w=1920&q=80');
}

.slide-3 {
    background-image: url('https://images.unsplash.com/photo-1513364776144-60967b0f800f?auto=format&fit=crop&w=1920&q=80');
}

/* Bubbling/Floating Shapes - Odoo Style */
.bubble {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.05) 100%);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    z-index: 2;
    pointer-events: none;
}

.bubble-1 {
    width: 120px;
    height: 120px;
    top: 15%;
    left: 10%;
    animation: bubbleFloat1 8s ease-in-out infinite;
}

.bubble-2 {
    width: 80px;
    height: 80px;
    top: 60%;
    left: 5%;
    animation: bubbleFloat2 10s ease-in-out infinite;
    animation-delay: -2s;
}

.bubble-3 {
    width: 150px;
    height: 150px;
    top: 20%;
    right: 8%;
    animation: bubbleFloat3 12s ease-in-out infinite;
    animation-delay: -4s;
}

.bubble-4 {
    width: 60px;
    height: 60px;
    bottom: 25%;
    right: 15%;
    animation: bubbleFloat1 9s ease-in-out infinite;
    animation-delay: -3s;
}

.bubble-5 {
    width: 100px;
    height: 100px;
    bottom: 15%;
    left: 20%;
    animation: bubbleFloat2 11s ease-in-out infinite;
    animation-delay: -5s;
}

@keyframes bubbleFloat1 {
    0%, 100% {
        transform: translateY(0) translateX(0) scale(1);
        opacity: 0.6;
    }
    25% {
        transform: translateY(-20px) translateX(10px) scale(1.05);
        opacity: 0.8;
    }
    50% {
        transform: translateY(-10px) translateX(-5px) scale(0.95);
        opacity: 0.7;
    }
    75% {
        transform: translateY(-25px) translateX(8px) scale(1.02);
        opacity: 0.75;
    }
}

@keyframes bubbleFloat2 {
    0%, 100% {
        transform: translateY(0) translateX(0) scale(1);
        opacity: 0.5;
    }
    33% {
        transform: translateY(-30px) translateX(-15px) scale(1.1);
        opacity: 0.7;
    }
    66% {
        transform: translateY(-15px) translateX(10px) scale(0.9);
        opacity: 0.6;
    }
}

@keyframes bubbleFloat3 {
    0%, 100% {
        transform: translateY(0) translateX(0) rotate(0deg) scale(1);
        opacity: 0.5;
    }
    50% {
        transform: translateY(-20px) translateX(-10px) rotate(5deg) scale(1.08);
        opacity: 0.7;
    }
}

.slide-content {
    max-width: 900px;
    text-align: center;
    color: var(--white);
}

.slide-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(249, 115, 22, 0.9);
    color: var(--white);
    padding: 10px 24px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 28px;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 24px rgba(249, 115, 22, 0.3);
    animation: slideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.slide-tag::before {
    content: '';
    width: 6px;
    height: 6px;
    background: currentColor;
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

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

.slide-content h1 {
    font-family: var(--font-display);
    font-size: clamp(2.75rem, 7vw, 5rem);
    font-weight: 700;
    line-height: 1.05;
    margin-bottom: 28px;
    letter-spacing: -0.03em;
    animation: slideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.1s forwards;
    opacity: 0;
}

.slide-content h1 span {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.slide-content p {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    opacity: 0.85;
    margin-bottom: 44px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
    animation: slideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
    opacity: 0;
    font-weight: 400;
}

.slide-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    animation: slideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
    opacity: 0;
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition-smooth);
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
    letter-spacing: -0.01em;
}

.btn-primary {
    background: var(--gradient-accent);
    color: var(--white);
    box-shadow: 0 8px 32px rgba(249, 115, 22, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, transparent 50%);
    opacity: 0;
    transition: var(--transition);
}

.btn-primary:hover {
    transform: translateY(-4px) scale(1.04);
    box-shadow: 0 16px 50px rgba(249, 115, 22, 0.5), 0 0 30px rgba(249, 115, 22, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-outline {
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-3px);
}

/* Carousel Navigation */
.carousel-nav {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.25);
    border: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    position: relative;
}

.carousel-dot::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: var(--radius-full);
    border: 2px solid transparent;
    transition: var(--transition);
}

.carousel-dot.active {
    background: var(--accent);
    width: 32px;
    box-shadow: 0 0 20px rgba(249, 115, 22, 0.5);
}

.carousel-dot:hover:not(.active) {
    background: rgba(255, 255, 255, 0.5);
}

.carousel-arrows {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 24px;
    pointer-events: none;
    z-index: 10;
}

.carousel-arrow {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    pointer-events: all;
    transition: var(--transition-smooth);
}

.carousel-arrow:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.08);
    border-color: rgba(255, 255, 255, 0.3);
}

/* ========================================
   Section Styles
   ======================================== */
section {
    padding: 100px 24px;
    position: relative;
}

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

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    color: var(--primary);
    padding: 8px 20px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.section-header h2 {
    font-family: var(--font-display);
    font-size: clamp(2.25rem, 4vw, 3.25rem);
    color: var(--text-dark);
    margin-bottom: 16px;
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.15;
}

.section-header p {
    color: var(--text-medium);
    font-size: 1.1rem;
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ========================================
   Pillars / Features Section
   ======================================== */
.pillars {
    position: relative;
    overflow: hidden;
    background: var(--red);
}

.pillars .section-header h2,
.pillars .section-header p {
    color: var(--white);
}

.pillars .section-tag {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

.pillars::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.1) 0%, transparent 50%, rgba(255,255,255,0.05) 100%);
    pointer-events: none;
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.pillar-card {
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    padding: 0 0 32px 0;
    border-radius: var(--radius-xl);
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.8);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

/* Gradient border effect on hover */
.pillar-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition-smooth);
}

/* Glow effect */
.pillar-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-xl);
    background: var(--gradient-primary-soft);
    opacity: 0;
    transition: var(--transition);
    z-index: 0;
}

.pillar-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: var(--shadow-xl), 0 0 60px rgba(13, 148, 136, 0.2);
}

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

.pillar-card:hover::after {
    opacity: 0.5;
}

.pillar-card > * {
    position: relative;
    z-index: 1;
}

.pillar-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 24px;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(13, 148, 136, 0.25);
    transition: var(--transition-smooth);
}

.pillar-card:hover .pillar-icon {
    transform: scale(1.05) rotate(-3deg);
}

.pillar-icon svg {
    width: 32px;
    height: 32px;
    fill: var(--white);
}

/* Pillar card image styling */
.pillar-card-image {
    width: 100%;
    aspect-ratio: 3/4;
    margin-bottom: 20px;
    overflow: hidden;
}

/* Text content padding inside pillar cards with images */
.pillar-card-image + h3,
.pillar-card-image ~ p {
    padding: 0 24px;
}

.pillar-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.pillar-card:hover .pillar-card-image img {
    transform: scale(1.05);
}

.pillar-card h3 {
    color: var(--text-dark);
    margin-bottom: 14px;
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.pillar-card p {
    color: var(--text-medium);
    font-size: 0.95rem;
    line-height: 1.75;
}

@media (max-width: 992px) {
    .pillars-grid {
        grid-template-columns: 1fr !important;
        max-width: 480px !important;
    }
}

/* ========================================
   Services Section
   ======================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: var(--transition-smooth);
    position: relative;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

/* Orange glow - Fruitsquare */
.service-card:nth-child(1) {
    box-shadow: var(--shadow-md), 0 0 30px rgba(249, 115, 22, 0.25);
    border: 2px solid rgba(249, 115, 22, 0.3);
}

.service-card:nth-child(1):hover {
    box-shadow: var(--shadow-xl), 0 0 50px rgba(249, 115, 22, 0.4);
}

/* Teal glow - TagAlong */
.service-card:nth-child(2) {
    box-shadow: var(--shadow-md), 0 0 30px rgba(13, 148, 136, 0.25);
    border: 2px solid rgba(13, 148, 136, 0.3);
}

.service-card:nth-child(2):hover {
    box-shadow: var(--shadow-xl), 0 0 50px rgba(13, 148, 136, 0.4);
}

/* Red glow - DSK Prints */
.service-card:nth-child(3) {
    box-shadow: var(--shadow-md), 0 0 30px rgba(220, 38, 38, 0.25);
    border: 2px solid rgba(220, 38, 38, 0.3);
}

.service-card:nth-child(3):hover {
    box-shadow: var(--shadow-xl), 0 0 50px rgba(220, 38, 38, 0.4);
}

.service-card:hover {
    transform: translateY(-8px);
}

.service-card-image {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: #f8f8f8;
}

.service-card-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, transparent 40%, rgba(13, 148, 136, 0.08) 100%);
    opacity: 0;
    transition: var(--transition-smooth);
    z-index: 1;
    pointer-events: none;
}

.service-card:hover .service-card-image::before {
    opacity: 1;
}

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

.service-card:hover .service-card-image img {
    transform: scale(1.08);
}

.service-card-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary), var(--accent), transparent);
    transition: var(--transition-smooth);
}

.service-card:hover .service-card-image::after {
    width: 80%;
}

.service-card-content {
    padding: 28px;
}

.service-card h3 {
    color: var(--text-dark);
    margin-bottom: 12px;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.service-card p {
    color: var(--text-medium);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
    padding: 8px 16px;
    background: rgba(13, 148, 136, 0.08);
    border-radius: var(--radius-full);
    margin-top: 4px;
}

.service-link svg {
    transition: var(--transition);
    animation: bounceRight 1.5s ease-in-out infinite;
}

@keyframes bounceRight {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(4px); }
}

.service-card:hover .service-link {
    background: var(--primary);
    color: var(--white);
}

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

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

@media (max-width: 576px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   Gallery Section
   ======================================== */
.gallery-section {
    background: var(--gradient-primary);
    position: relative;
    overflow: hidden;
}

.gallery-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-mesh);
    pointer-events: none;
}

.gallery-section .section-header h2,
.gallery-section .section-header p {
    color: var(--white);
}

.gallery-section .section-tag {
    background: rgba(255, 255, 255, 0.1);
    color: var(--gold);
    border-color: rgba(255, 255, 255, 0.1);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: visible;
    aspect-ratio: 1;
    cursor: pointer;
}

.gallery-item-inner {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: -8px 8px 0 rgba(94, 234, 212, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.5);
    transition: var(--transition-smooth);
    border: 2px solid rgba(255, 255, 255, 0.4);
}

.gallery-item:hover .gallery-item-inner {
    box-shadow: -12px 12px 0 rgba(249, 115, 22, 0.5);
    transform: translate(4px, -4px);
}

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

.gallery-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition);
    z-index: 1;
}

.gallery-item::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 50px;
    height: 50px;
    background: var(--white);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    transition: var(--transition-bounce);
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.gallery-item:hover::before {
    opacity: 0.7;
}

.gallery-item:hover::after {
    transform: translate(-50%, -50%) scale(1);
}

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

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

/* ========================================
   Team Section
   ======================================== */
.team-section {
    background: var(--bg-light);
    position: relative;
}

.team-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-mesh);
    opacity: 0.3;
    pointer-events: none;
}

/* About Content Grid */
.about-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
}

.about-content-grid p {
    font-size: 1.15rem;
    color: var(--text-medium);
    margin-bottom: 20px;
    line-height: 1.9;
}

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

.about-image-wrapper {
    position: relative;
    display: inline-block;
}

.about-image-wrapper::before {
    content: '';
    position: absolute;
    top: -15px;
    right: -15px;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 24px;
    z-index: -1;
    opacity: 0.3;
    transition: var(--transition-smooth);
}

.about-image-wrapper::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 20px;
    width: 60%;
    height: 8px;
    background: linear-gradient(90deg, var(--accent), var(--accent-light), transparent);
    border-radius: 4px;
    z-index: -1;
    opacity: 0.7;
    animation: slideAccent 3s ease-in-out infinite;
}

@keyframes slideAccent {
    0%, 100% { transform: translateX(0); opacity: 0.7; }
    50% { transform: translateX(10px); opacity: 1; }
}

.about-image-wrapper:hover::before {
    top: -20px;
    right: -20px;
    opacity: 0.5;
}

.about-content-grid img {
    width: 100%;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 1;
    transition: var(--transition-smooth);
    border: 3px solid transparent;
    background: linear-gradient(white, white) padding-box,
                linear-gradient(135deg, var(--primary), var(--accent)) border-box;
}

.about-content-grid img:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(13, 148, 136, 0.2);
}

@media (max-width: 768px) {
    .about-content-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-content-grid > div:last-child {
        order: -1;
    }

    .about-image-wrapper {
        max-width: 400px;
        margin: 0 auto;
        display: block;
    }

    .about-image-wrapper::before {
        top: -10px;
        right: -10px;
    }

    .about-image-wrapper::after {
        width: 50%;
        bottom: -10px;
        left: 15px;
    }

    .about-content-grid img {
        max-width: 100%;
        margin: 0 auto;
        display: block;
    }
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.team-card {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.8);
    transition: var(--transition-smooth);
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

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

.team-card-image {
    position: relative;
    height: 260px;
    overflow: hidden;
}

.team-card-image::before {
    content: '';
    position: absolute;
    inset: 0;
    border: 3px solid transparent;
    border-radius: 0;
    background: linear-gradient(135deg, rgba(13,148,136,0.3), rgba(249,115,22,0.3)) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: var(--transition-smooth);
    z-index: 2;
    pointer-events: none;
}

.team-card:hover .team-card-image::before {
    opacity: 1;
}

.team-card-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(to top, var(--white), transparent);
    pointer-events: none;
    z-index: 1;
}

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

.team-card:hover .team-card-image img {
    transform: scale(1.05);
}

.team-card-content {
    padding: 24px;
    margin-top: -40px;
    position: relative;
    background: rgba(255, 255, 255, 0.95);
    z-index: 2;
}

.team-card h3 {
    color: var(--text-dark);
    margin-bottom: 6px;
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.team-card .role {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 12px;
    display: block;
}

.team-card p {
    color: var(--text-medium);
    font-size: 0.85rem;
    line-height: 1.6;
}

@media (max-width: 992px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .team-grid {
        grid-template-columns: 1fr;
        max-width: 360px;
    }
}

/* ========================================
   Clients / Partners Section
   ======================================== */
.clients-section {
    background: var(--white);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.clients-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 64px;
    flex-wrap: wrap;
    max-width: 1000px;
    margin: 0 auto;
}

.client-logo {
    height: 60px;
    width: auto;
    opacity: 0.4;
    filter: grayscale(100%);
    transition: var(--transition);
}

.client-logo:hover {
    opacity: 1;
    filter: grayscale(0);
    transform: scale(1.08);
}

/* Client Logo Slider - Infinite scroll animation */
.logo-slider {
    overflow: hidden;
    width: 100%;
    position: relative;
}

.logo-slider::before,
.logo-slider::after {
    content: '';
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.logo-slider::before {
    left: 0;
    background: linear-gradient(to right, #ffffff, transparent);
}

.logo-slider::after {
    right: 0;
    background: linear-gradient(to left, #ffffff, transparent);
}

.logo-track {
    display: flex;
    gap: 80px;
    align-items: center;
    animation: slideLogos 25s linear infinite;
    width: max-content;
}

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

.logo-item {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 70px;
}

.logo-item img {
    height: 50px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    opacity: 0.6;
    filter: grayscale(30%);
    transition: all 0.3s ease;
}

.logo-item:hover img {
    opacity: 1;
    filter: grayscale(0);
    transform: scale(1.1);
}

/* Styled text logo for companies without images */
.logo-text {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    opacity: 0.5;
    white-space: nowrap;
    transition: all 0.3s ease;
    padding: 12px 24px;
    background: var(--gray-50);
    border-radius: 8px;
}

.logo-item:hover .logo-text {
    opacity: 1;
    color: var(--primary);
}

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

/* ========================================
   Contact Section
   ======================================== */
.contact-section {
    background: var(--bg-cream);
    position: relative;
}

.contact-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-mesh);
    opacity: 0.3;
    pointer-events: none;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
    max-width: 1000px;
    margin: 0 auto;
}

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

.contact-card {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    padding: 32px;
    border-radius: var(--radius-xl);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.8);
    transition: var(--transition-smooth);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

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

.contact-card-icon {
    width: 52px;
    height: 52px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    box-shadow: 0 6px 20px rgba(13, 148, 136, 0.2);
}

.contact-card-icon svg {
    width: 24px;
    height: 24px;
    fill: var(--white);
}

.contact-card h4 {
    color: var(--text-dark);
    margin-bottom: 8px;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.contact-card p,
.contact-card a {
    color: var(--text-medium);
    font-size: 0.9rem;
    line-height: 1.7;
}

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

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-info-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   Footer
   ======================================== */
footer {
    background: linear-gradient(135deg, rgba(245, 245, 245, 0.9) 0%, rgba(240, 253, 250, 0.85) 100%);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    color: var(--text-dark);
    padding: 80px 24px 40px;
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.5);
}

footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(at 40% 20%, rgba(13, 148, 136, 0.05) 0px, transparent 50%),
                radial-gradient(at 80% 50%, rgba(249, 115, 22, 0.04) 0px, transparent 50%);
    pointer-events: none;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 48px;
    max-width: 1280px;
    margin: 0 auto 60px;
    position: relative;
    z-index: 1;
    align-items: start;
}

.footer-brand-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 12px;
}

.footer-logo {
    height: 100px;
    width: auto;
}

.footer-tagline {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
}

.tagline-words {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px;
}

.tagline-brand {
    font-size: 1.1rem;
    font-weight: 500;
    background: linear-gradient(135deg, #0f766e, #14b8a6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.01em;
}

.tagline-text {
    font-size: 1.1rem;
    font-weight: 400;
    background: linear-gradient(135deg, #f97316, #fb923c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-description {
    color: var(--text-medium);
    margin: 0 0 12px;
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer-brand p {
    color: var(--text-medium);
    margin: 8px 0 12px;
    font-size: 0.9rem;
    line-height: 1.7;
}

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

.footer-social a {
    width: 38px;
    height: 38px;
    background: var(--white);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-xs);
}

.footer-social a:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(13, 148, 136, 0.3);
}

.footer-social a:hover svg {
    fill: var(--white);
}

.footer-social svg {
    width: 18px;
    height: 18px;
    fill: var(--text-medium);
}

.footer-section h4 {
    font-size: 1rem;
    margin-bottom: 24px;
    color: var(--text-dark);
    font-weight: 700;
    letter-spacing: -0.02em;
}

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

.footer-links a {
    color: var(--text-medium);
    font-size: 0.9rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-links a::before {
    content: '';
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

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

.footer-links a:hover::before {
    width: 16px;
}

.footer-contact p,
.footer-contact a {
    color: var(--text-medium);
    font-size: 0.9rem;
    line-height: 1.8;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid var(--border);
    color: var(--text-light);
    font-size: 0.85rem;
    position: relative;
    z-index: 1;
}

@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media (max-width: 576px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        text-align: left;
        gap: 24px 16px;
    }

    .footer-brand {
        grid-column: 1 / -1;
        text-align: center;
    }

    .footer-brand-header {
        align-items: center;
        gap: 6px;
    }

    .footer-logo {
        height: 90px;
    }

    .footer-tagline {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .tagline-words {
        justify-content: center;
    }

    .tagline-brand {
        font-size: 1rem;
    }

    .tagline-text {
        font-size: 1rem;
    }

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

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

    .footer-links a::before {
        display: none;
    }

    .footer-section.footer-contact {
        grid-column: 1 / -1;
        text-align: center;
    }
}

/* ========================================
   Page Header (Inner Pages)
   ======================================== */
.page-header {
    background: var(--gradient-hero);
    padding: 160px 24px 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-mesh);
    animation: meshMove 20s ease-in-out infinite;
    pointer-events: none;
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to top, var(--white), transparent);
    pointer-events: none;
}

.page-header h1 {
    font-family: var(--font-display);
    font-size: clamp(2.75rem, 5vw, 4.5rem);
    color: var(--white);
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.page-header p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 1.15rem;
    position: relative;
    z-index: 1;
    max-width: 500px;
    margin: 0 auto;
}

/* ========================================
   Scroll to Top
   ======================================== */
.scroll-top {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 52px;
    height: 52px;
    background: rgba(249, 115, 22, 0.85);
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-lg);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
    z-index: 999;
    box-shadow: 0 8px 28px rgba(249, 115, 22, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 12px 36px rgba(249, 115, 22, 0.45);
}

/* ========================================
   WhatsApp Floating Button
   ======================================== */
.whatsapp-float {
    position: fixed;
    bottom: 100px;
    right: 28px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: var(--transition-smooth);
}

.whatsapp-float svg {
    width: 30px;
    height: 30px;
    fill: var(--white);
}

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

@media (max-width: 480px) {
    .whatsapp-float {
        width: 54px;
        height: 54px;
        bottom: 80px;
        right: 20px;
    }

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

/* ========================================
   Footer Bubbles
   ======================================== */
.footer-bubble {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(13, 148, 136, 0.08) 0%, rgba(6, 182, 212, 0.04) 100%);
    pointer-events: none;
    z-index: 0;
}

.footer-bubble-1 {
    width: 200px;
    height: 200px;
    top: -50px;
    right: 10%;
    animation: floatBubble 8s ease-in-out infinite;
}

.footer-bubble-2 {
    width: 120px;
    height: 120px;
    bottom: 20%;
    left: 5%;
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.08) 0%, rgba(251, 191, 36, 0.04) 100%);
    animation: floatBubble 10s ease-in-out infinite;
    animation-delay: -2s;
}

.footer-bubble-3 {
    width: 80px;
    height: 80px;
    top: 30%;
    left: 15%;
    animation: floatBubble 7s ease-in-out infinite;
    animation-delay: -4s;
}

.footer-bubble-4 {
    width: 150px;
    height: 150px;
    bottom: 10%;
    right: 5%;
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.06) 0%, rgba(13, 148, 136, 0.04) 100%);
    animation: floatBubble 9s ease-in-out infinite;
    animation-delay: -3s;
}

@keyframes floatBubble {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-15px) scale(1.05);
    }
}

/* ========================================
   Utility Classes
   ======================================== */
.text-center { text-align: center; }
.text-white { color: var(--white); }
.bg-light { background: var(--bg-light); }
.bg-cream { background: var(--bg-cream); }
.mt-4 { margin-top: 40px; }
.mb-4 { margin-bottom: 40px; }

/* ========================================
   Loading Animation
   ======================================== */
.fade-in {
    opacity: 0.3;
    transform: translateY(15px);
    transition: all 0.3s ease-out;
}

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

/* Staggered animations */
.fade-in:nth-child(1) { transition-delay: 0s; }
.fade-in:nth-child(2) { transition-delay: 0.05s; }
.fade-in:nth-child(3) { transition-delay: 0.1s; }
.fade-in:nth-child(4) { transition-delay: 0.15s; }
.fade-in:nth-child(5) { transition-delay: 0.2s; }
.fade-in:nth-child(6) { transition-delay: 0.25s; }

/* ========================================
   Animated Link Underlines
   ======================================== */
.animated-link {
    position: relative;
    display: inline-block;
}

.animated-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-accent);
    transition: var(--transition);
}

.animated-link:hover::after {
    width: 100%;
}

/* ========================================
   Custom Cursor (optional enhancement)
   ======================================== */
.cursor {
    width: 20px;
    height: 20px;
    border: 2px solid var(--primary);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.15s ease, opacity 0.15s ease;
    transform: translate(-50%, -50%);
}

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

/* ========================================
   Glassmorphism Card
   ======================================== */
.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

/* ========================================
   Gradient Text
   ======================================== */
.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-text-accent {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ========================================
   Responsive Typography
   ======================================== */
@media (max-width: 768px) {
    section {
        padding: 72px 20px;
    }

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

    .section-header h2 {
        font-size: 2rem;
    }
}

/* ========================================
   Standalone Wave Dividers
   Fluid wave transitions between sections
   ======================================== */

/* Wave divider - sits between sections */
.wave-divider {
    position: relative;
    height: 50px;
    width: 100%;
    overflow: visible;
    z-index: 5;
}

/* Color transition backgrounds */
.wave-white-to-cream { background: #ffffff; }
.wave-cream-to-white { background: #fafafa; }
.wave-white-to-teal-dark { background: #ffffff; }
.wave-cream-to-teal-dark { background: #fafafa; }
.wave-teal-dark-to-cream { background: #042f2e; }
.wave-teal-dark-to-white { background: #042f2e; }
.wave-teal-to-white { background: #0d9488; }
.wave-teal-to-cream { background: #0d9488; }

/* Wave layers inside divider */
.wave-divider .wave-layer {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200%;
    height: 80px;
    will-change: transform;
}

.wave-divider .wave-layer svg {
    position: absolute;
    width: 50%;
    height: 80px;
    bottom: 0;
    display: block;
}

.wave-divider .wave-layer svg:first-child { left: 0; }
.wave-divider .wave-layer svg:last-child { left: 50%; }

/* 3 animated layers - back to front */
.wave-divider .wave-3 { z-index: 1; animation: waveDivider3 6s ease-in-out infinite; }
.wave-divider .wave-2 { z-index: 2; animation: waveDivider2 5s ease-in-out infinite; }
.wave-divider .wave-1 { z-index: 3; animation: waveDivider1 4s ease-in-out infinite; }

@keyframes waveDivider1 {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(-8%); }
}
@keyframes waveDivider2 {
    0%, 100% { transform: translateX(-3%); }
    50% { transform: translateX(-10%); }
}
@keyframes waveDivider3 {
    0%, 100% { transform: translateX(-5%); }
    50% { transform: translateX(-12%); }
}

/* Section background colors - use these on sections */
.bg-teal { background-color: var(--primary); }
.bg-teal-dark { background-color: var(--primary-950); }
.bg-teal-900 { background-color: var(--primary-900); }
.bg-red { background-color: var(--red); }
.bg-red-dark { background-color: var(--red-dark); }
.bg-white { background-color: #ffffff; }
.bg-cream { background-color: #fafafa; }

/* Gradient backgrounds */
.bg-gradient-teal { background: var(--gradient-primary); }
.bg-gradient-red { background: var(--gradient-red); }
.bg-gradient-teal-red { background: linear-gradient(135deg, var(--primary) 0%, var(--red) 100%); }

/* ========================================
   Decorative Blobs
   ======================================== */
.blob {
    position: absolute;
    border-radius: 50% 40% 60% 50% / 60% 30% 70% 40%;
    animation: blobMorph 8s ease-in-out infinite;
}

@keyframes blobMorph {
    0%, 100% {
        border-radius: 50% 40% 60% 50% / 60% 30% 70% 40%;
    }
    25% {
        border-radius: 40% 60% 50% 50% / 50% 60% 30% 60%;
    }
    50% {
        border-radius: 60% 50% 40% 60% / 30% 50% 60% 50%;
    }
    75% {
        border-radius: 50% 50% 60% 40% / 60% 40% 50% 60%;
    }
}

.blob-orange {
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.3) 0%, rgba(251, 191, 36, 0.2) 100%);
}

.blob-teal {
    background: linear-gradient(135deg, rgba(13, 148, 136, 0.25) 0%, rgba(6, 182, 212, 0.15) 100%);
}

.blob-red {
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.25) 0%, rgba(239, 68, 68, 0.15) 100%);
}

.blob-red-teal {
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.2) 0%, rgba(13, 148, 136, 0.15) 100%);
}

.blob-purple {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2) 0%, rgba(244, 114, 182, 0.15) 100%);
}

/* Decorative Blobs for Sections */
.section-with-blobs {
    position: relative;
    overflow: hidden;
}

.decorative-blob {
    position: absolute;
    border-radius: 50% 40% 60% 50% / 60% 30% 70% 40%;
    animation: blobMorph 8s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

.decorative-blob.blob-1 {
    width: 400px;
    height: 400px;
    top: -100px;
    right: -100px;
    background: linear-gradient(135deg, rgba(13, 148, 136, 0.15) 0%, rgba(6, 182, 212, 0.1) 100%);
    animation-delay: -2s;
}

.decorative-blob.blob-2 {
    width: 300px;
    height: 300px;
    bottom: -80px;
    left: -80px;
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.12) 0%, rgba(251, 191, 36, 0.08) 100%);
    animation-delay: -4s;
}

/* Decorative Circles Container */
.decorative-circles {
    position: relative;
    height: 80px;
    overflow: hidden;
}

.deco-circle-1 {
    width: 150px;
    height: 150px;
    top: -75px;
    left: 15%;
    border: 2px solid rgba(13, 148, 136, 0.2);
    animation: rotateCircle 20s linear infinite;
}

.deco-circle-2 {
    width: 100px;
    height: 100px;
    top: -50px;
    right: 20%;
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.1) 0%, rgba(251, 191, 36, 0.05) 100%);
    animation: rotateCircle 15s linear infinite reverse;
}

/* Gradient Orb Positioning */
.orb-1 {
    width: 300px;
    height: 300px;
    top: -100px;
    right: 10%;
    background: radial-gradient(circle, rgba(13, 148, 136, 0.2) 0%, transparent 70%);
    filter: blur(40px);
}

.orb-2 {
    width: 250px;
    height: 250px;
    bottom: -80px;
    left: 5%;
    background: radial-gradient(circle, rgba(249, 115, 22, 0.15) 0%, transparent 70%);
    filter: blur(40px);
}

/* Wave Divider Variations */
.wave-divider-flip svg {
    transform: scaleY(-1);
}

.wave-divider-accent {
    color: var(--primary-950);
}

/* ========================================
   Decorative Circles
   ======================================== */
.deco-circle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.deco-circle-outline {
    border: 2px solid;
    background: transparent;
}

.deco-circle-outline-teal {
    border-color: rgba(13, 148, 136, 0.15);
}

.deco-circle-outline-orange {
    border-color: rgba(249, 115, 22, 0.15);
}

.deco-circle-filled {
    opacity: 0.1;
}

.deco-circle-filled-teal {
    background: var(--primary);
}

.deco-circle-filled-orange {
    background: var(--accent);
}

/* Animated rotating circle */
.deco-circle-rotate {
    animation: rotateCircle 20s linear infinite;
}

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

/* ========================================
   Decorative Dots Pattern
   ======================================== */
.dots-pattern {
    position: absolute;
    width: 200px;
    height: 200px;
    background-image: radial-gradient(circle, var(--primary) 2px, transparent 2px);
    background-size: 20px 20px;
    opacity: 0.15;
    pointer-events: none;
}

/* ========================================
   Decorative Lines
   ======================================== */
.deco-lines {
    position: absolute;
    pointer-events: none;
}

.deco-lines::before,
.deco-lines::after {
    content: '';
    position: absolute;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    height: 1px;
    width: 150px;
}

.deco-lines::before {
    top: 0;
    transform: rotate(-45deg);
}

.deco-lines::after {
    top: 20px;
    transform: rotate(-45deg);
}

/* ========================================
   Floating Elements
   ======================================== */
.float-element {
    position: absolute;
    pointer-events: none;
    animation: floatUpDown 6s ease-in-out infinite;
}

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

.float-element-slow {
    animation-duration: 8s;
}

.float-element-fast {
    animation-duration: 4s;
}

/* Plus sign decoration */
.deco-plus {
    width: 30px;
    height: 30px;
    position: relative;
}

.deco-plus::before,
.deco-plus::after {
    content: '';
    position: absolute;
    background: var(--primary);
    opacity: 0.3;
}

.deco-plus::before {
    width: 100%;
    height: 4px;
    top: 50%;
    transform: translateY(-50%);
}

.deco-plus::after {
    width: 4px;
    height: 100%;
    left: 50%;
    transform: translateX(-50%);
}

/* Triangle decoration */
.deco-triangle {
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-bottom: 26px solid rgba(249, 115, 22, 0.2);
}

/* Diamond decoration */
.deco-diamond {
    width: 20px;
    height: 20px;
    background: rgba(13, 148, 136, 0.2);
    transform: rotate(45deg);
}

/* ========================================
   Gradient Orbs
   ======================================== */
.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    pointer-events: none;
}

.gradient-orb-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(249, 115, 22, 0.4) 0%, transparent 70%);
}

.gradient-orb-2 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.35) 0%, transparent 70%);
}

.gradient-orb-3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.25) 0%, transparent 70%);
}

/* ========================================
   Section with decorations
   ======================================== */
.section-decorated {
    position: relative;
    overflow: hidden;
}

/* Corner accents */
.corner-accent {
    position: absolute;
    width: 150px;
    height: 150px;
    pointer-events: none;
}

.corner-accent-tl {
    top: 0;
    left: 0;
    border-top: 3px solid rgba(13, 148, 136, 0.2);
    border-left: 3px solid rgba(13, 148, 136, 0.2);
}

.corner-accent-br {
    bottom: 0;
    right: 0;
    border-bottom: 3px solid rgba(249, 115, 22, 0.2);
    border-right: 3px solid rgba(249, 115, 22, 0.2);
}

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

.bg-shape {
    position: absolute;
    opacity: 0.5;
}

.bg-shape-oval {
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(13, 148, 136, 0.1) 0%, rgba(6, 182, 212, 0.05) 100%);
}

.bg-shape-rect {
    border-radius: 20px;
    transform: rotate(15deg);
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.08) 0%, rgba(251, 191, 36, 0.04) 100%);
}

/* ========================================
   Glow Effects
   ======================================== */
.glow-teal {
    box-shadow: 0 0 60px rgba(13, 148, 136, 0.3);
}

.glow-orange {
    box-shadow: 0 0 60px rgba(249, 115, 22, 0.3);
}

/* Text glow */
.text-glow {
    text-shadow: 0 0 40px rgba(255, 255, 255, 0.5);
}

/* ========================================
   Animated Underline
   ======================================== */
.fancy-underline {
    position: relative;
    display: inline-block;
}

.fancy-underline::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-accent);
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s ease;
}

.fancy-underline:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* ========================================
   Card Variants
   ======================================== */
.card-gradient-border {
    position: relative;
    background: var(--white);
    border-radius: var(--radius-xl);
}

.card-gradient-border::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-xl);
    padding: 2px;
    background: var(--gradient-primary);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}

/* ========================================
   Comprehensive Mobile Responsive Styles
   ======================================== */

/* Tablet breakpoint */
@media (max-width: 992px) {
    /* Hero adjustments */
    .carousel-slide {
        padding: 110px 20px 70px;
    }

    .slide-content {
        max-width: 100%;
        padding: 0 10px;
    }

    .hero-shape {
        opacity: 0.5;
    }

    .hero-shape-1 { width: 300px; height: 300px; }
    .hero-shape-2 { width: 250px; height: 250px; }
    .hero-shape-3 { width: 200px; height: 200px; }

    /* Carousel arrows */
    .carousel-arrow {
        width: 44px;
        height: 44px;
    }

    .carousel-arrows {
        padding: 0 12px;
    }

    /* Bubbles smaller on tablet */
    .bubble-1 { width: 80px; height: 80px; }
    .bubble-2 { width: 50px; height: 50px; }
    .bubble-3 { width: 100px; height: 100px; }
    .bubble-4 { width: 40px; height: 40px; }
    .bubble-5 { width: 70px; height: 70px; }

    /* Section spacing */
    section {
        padding: 80px 20px;
    }

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

    /* Buttons */
    .btn {
        padding: 14px 28px;
        font-size: 0.9rem;
    }

    .slide-buttons {
        gap: 12px;
    }
}

/* Mobile breakpoint */
@media (max-width: 768px) {
    /* Hero section */
    .hero {
        min-height: auto;
    }

    .hero-tagline {
        top: 75px;
        font-size: clamp(1.1rem, 5vw, 1.6rem);
    }

    .carousel-slide {
        padding: 100px 16px 60px;
        min-height: auto;
    }

    .slide-content h1 {
        font-size: clamp(2rem, 8vw, 2.75rem);
        margin-bottom: 20px;
    }

    .slide-content p {
        font-size: 1rem;
        margin-bottom: 32px;
        line-height: 1.6;
    }

    .slide-tag {
        padding: 8px 16px;
        font-size: 0.7rem;
        margin-bottom: 20px;
    }

    /* Hide decorative elements on mobile */
    .hero-shapes,
    .hero-grid,
    .bubble {
        display: none;
    }

    /* Carousel arrows hidden on mobile - use swipe */
    .carousel-arrows {
        display: none;
    }

    /* Carousel dots */
    .carousel-nav {
        bottom: 20px;
        gap: 8px;
    }

    .carousel-dot {
        width: 8px;
        height: 8px;
    }

    .carousel-dot.active {
        width: 24px;
    }

    /* Buttons stack on mobile */
    .slide-buttons {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }

    .slide-buttons .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    /* CTA section buttons - override inline styles */
    .gallery-section .btn,
    .pillars .btn,
    section .text-center .btn {
        padding: 14px 32px !important;
        font-size: 0.95rem !important;
    }

    /* Section headers */
    .section-header h2 {
        font-size: clamp(1.75rem, 6vw, 2.25rem);
    }

    .section-header p {
        font-size: 1rem;
    }

    .section-tag {
        font-size: 0.75rem;
        padding: 6px 14px;
    }

    /* Pillars section */
    .pillars-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .pillar-card {
        padding: 0;
        padding-bottom: 24px;
        border-radius: var(--radius-lg);
    }

    .pillar-card-image {
        width: 100%;
        aspect-ratio: 16/9;
        border-radius: 0;
        margin-bottom: 0;
    }

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

    .pillar-card h3 {
        font-size: 1.1rem;
        padding: 20px 20px 0;
    }

    .pillar-card p {
        padding: 0 20px;
    }

    /* Services grid */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .service-card-content {
        padding: 20px;
    }

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

    /* Clients section */
    .logo-slider {
        padding: 20px 0;
    }

    .logo-item {
        min-width: 140px;
        padding: 0 20px;
    }

    .logo-item img {
        max-height: 40px;
    }

    /* Wave dividers smaller on mobile */
    .wave-divider {
        height: 60px;
    }

    /* Gallery section */
    .gallery-section {
        padding: 60px 16px;
    }

    /* Decorative elements */
    .decorative-blob,
    .gradient-orb {
        opacity: 0.3;
        transform: scale(0.6);
    }
}

/* Small mobile breakpoint */
@media (max-width: 480px) {
    /* Even smaller text */
    .slide-content h1 {
        font-size: clamp(1.75rem, 7vw, 2.25rem);
    }

    .slide-content p {
        font-size: 0.95rem;
    }

    /* Tighter spacing */
    section {
        padding: 60px 16px;
    }

    .section-header {
        margin-bottom: 32px;
    }

    /* Cards */
    .pillar-card,
    .service-card {
        border-radius: var(--radius-md);
    }

    /* Footer */
    .footer-content {
        gap: 32px;
    }

    .footer-brand p {
        font-size: 0.9rem;
    }

    .footer-section h4 {
        font-size: 1rem;
        margin-bottom: 12px;
    }

    .footer-links a {
        font-size: 0.9rem;
        padding: 6px 0;
    }

    /* Scroll to top button */
    .scroll-top {
        width: 44px;
        height: 44px;
        bottom: 20px;
        right: 20px;
    }
}

/* ========================================
   Print Styles
   ======================================== */
@media print {
    header, footer, .scroll-top, .carousel-arrows, .carousel-nav,
    .wave-divider, .blob, .deco-circle, .dots-pattern, .gradient-orb {
        display: none;
    }

    body {
        background: white;
    }

    .hero {
        min-height: auto;
        padding: 40px;
    }
}
