/* ===============================================
   Thama Cipta Inovasi - Main Stylesheet
   Consolidated from inline styles
   =============================================== */

/* Performance Optimizations */
* {
    box-sizing: border-box;
}

    html {
        scroll-behavior: auto;
    }

    /* Optimize scroll performance */
    html, body {
        scroll-behavior: smooth;
        overscroll-behavior: none;
    }

    @media (prefers-reduced-motion: reduce) {
        html, body {
            scroll-behavior: auto !important;
        }
    }

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

/* Optimize animations for performance */
.modern-navbar,
.service-card,
.portfolio-card,
.cta-button,
.expertise-badge,
.social-link {
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* CSS Custom Properties - Enhanced Modern Design System */
:root {
    /* Primary Color Palette */
    --primary-color: #0072bc;
    --primary-light: #4ca5e8;
    --primary-dark: #005a96;
    --primary-gradient: linear-gradient(135deg, #0072bc 0%, #4ca5e8 100%);
    --primary-gradient-hover: linear-gradient(135deg, #005a96 0%, #0072bc 100%);

    /* Secondary Colors */
    --secondary-color: #f8f9fa;
    --accent-color: #00d4aa;
    --accent-light: #4adebb;
    --accent-dark: #00b894;

    /* Neutral Colors */
    --text-color: #1a1a1a;
    --text-light: #64748b;
    --text-muted: #94a3b8;
    --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;

    /* Spacing Scale */
    --spacing-xs: 0.25rem;    /* 4px */
    --spacing-sm: 0.5rem;     /* 8px */
    --spacing-md: 0.75rem;    /* 12px */
    --spacing-lg: 1rem;       /* 16px */
    --spacing-xl: 1.5rem;     /* 24px */
    --spacing-2xl: 2rem;      /* 32px */
    --spacing-3xl: 3rem;      /* 48px */
    --spacing-4xl: 4rem;      /* 64px */
    --spacing-5xl: 6rem;      /* 96px */
    --spacing-6xl: 8rem;      /* 128px */

    /* Border Radius Scale */
    --radius-sm: 0.25rem;     /* 4px */
    --radius-md: 0.5rem;      /* 8px */
    --radius-lg: 0.75rem;     /* 12px */
    --radius-xl: 1rem;        /* 16px */
    --radius-2xl: 1.5rem;     /* 24px */
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 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);

    /* Typography Scale */
    --font-size-xs: 0.75rem;   /* 12px */
    --font-size-sm: 0.875rem;  /* 14px */
    --font-size-base: 1rem;    /* 16px */
    --font-size-lg: 1.125rem;  /* 18px */
    --font-size-xl: 1.25rem;   /* 20px */
    --font-size-2xl: 1.5rem;   /* 24px */
    --font-size-3xl: 1.875rem; /* 30px */
    --font-size-4xl: 2.25rem;  /* 36px */
    --font-size-5xl: 3rem;     /* 48px */
    --font-size-6xl: 3.75rem;  /* 60px */
    --font-size-7xl: 4.5rem;   /* 72px */

    /* Font Weights */
    --font-weight-thin: 100;
    --font-weight-light: 300;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --font-weight-extrabold: 800;
    --font-weight-black: 900;

    /* Line Heights */
    --line-height-tight: 1.25;
    --line-height-snug: 1.375;
    --line-height-normal: 1.5;
    --line-height-relaxed: 1.625;
    --line-height-loose: 2;

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-normal: 300ms ease;
    --transition-slow: 500ms ease;

    /* Z-Index Scale */
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-modal-backdrop: 1040;
    --z-modal: 1050;
    --z-popover: 1060;
    --z-tooltip: 1070;
}

/* Global Styles - Enhanced Modern Design */
body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    overflow-x: hidden;
    padding-right: 0 !important;
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--white) 100%);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: var(--font-size-base);
    line-height: var(--line-height-normal);
    font-weight: var(--font-weight-normal);
}

/* Enhanced Modern Navbar Styles */
.modern-navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: var(--z-sticky);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(0, 114, 188, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    will-change: transform, background, backdrop-filter;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.modern-navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(32px);
    border-bottom: 1px solid rgba(0, 114, 188, 0.15);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.navbar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-2xl);
}

.navbar-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 56px;
    padding: 6px 0;
}

/* Logo Styles */
.navbar-brand {
    flex-shrink: 0;
}

.brand-logo {
    height: 28px;
    width: auto;
    transition: all 0.3s ease;
}

/* Navigation Menu */
.navbar-menu {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 40px;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: inline-block;
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    padding: 10px 0;
    position: relative;
    transition: all 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    transition: width 0.3s ease;
}

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

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

/* CTA Button */
.navbar-actions {
    flex-shrink: 0;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-md) var(--spacing-xl);
    background: var(--primary-gradient);
    color: white;
    text-decoration: none;
    border-radius: var(--radius-full);
    font-weight: var(--font-weight-semibold);
    font-size: var(--font-size-sm);
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-lg);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left var(--transition-slow);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
    background: var(--primary-gradient-hover);
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button i {
    transition: transform 0.3s ease;
}

.cta-button:hover i {
    transform: translateX(3px);
}

/* Mobile Menu Toggle */
.mobile-toggle {
    display: none;
    flex-shrink: 0;
}

.hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.hamburger:hover {
    background: rgba(0, 114, 188, 0.1);
}

.bar {
    width: 25px;
    height: 2px;
    background: var(--text-color);
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 1px;
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    height: calc(100vh - 80px);
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(20px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
    transform: translateY(-20px);
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mobile-menu-content {
    background: linear-gradient(135deg, #ffffff 0%, rgba(248, 250, 252, 0.95) 100%);
    padding: var(--spacing-4xl) var(--spacing-2xl);
    height: 100%;
    overflow-y: auto;
    border-radius: var(--radius-3xl) var(--radius-3xl) 0 0;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.1);
    position: relative;
}

.mobile-menu-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: rgba(0, 114, 188, 0.3);
    border-radius: 2px;
}

.mobile-nav-list {
    list-style: none;
    padding: 0;
    margin: var(--spacing-2xl) 0;
}

.mobile-nav-list li {
    margin-bottom: var(--spacing-md);
    opacity: 0;
    transform: translateX(-20px);
    animation: mobileNavSlideIn 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.mobile-nav-list li:nth-child(1) { animation-delay: 0.1s; }
.mobile-nav-list li:nth-child(2) { animation-delay: 0.2s; }
.mobile-nav-list li:nth-child(3) { animation-delay: 0.3s; }
.mobile-nav-list li:nth-child(4) { animation-delay: 0.4s; }
.mobile-nav-list li:nth-child(5) { animation-delay: 0.5s; }

@keyframes mobileNavSlideIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.mobile-nav-link {
    display: block;
    color: var(--text-color);
    text-decoration: none;
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-semibold);
    padding: var(--spacing-lg) var(--spacing-xl);
    border-radius: var(--radius-xl);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.mobile-nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 114, 188, 0.1), transparent);
    transition: left 0.5s ease;
}

.mobile-nav-link:hover {
    color: var(--primary-color);
    background: rgba(0, 114, 188, 0.05);
    border-color: rgba(0, 114, 188, 0.2);
    transform: translateX(8px);
}

.mobile-nav-link:hover::before {
    left: 100%;
}

.mobile-nav-link:active {
    transform: translateX(8px) scale(0.98);
}

.mobile-cta {
    margin-top: var(--spacing-4xl);
    padding-top: var(--spacing-2xl);
    border-top: 1px solid rgba(0, 114, 188, 0.1);
}

.mobile-cta-button {
    display: inline-block;
    width: 100%;
    padding: var(--spacing-lg) var(--spacing-xl);
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: var(--font-weight-bold);
    font-size: var(--font-size-base);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow:
        0 8px 25px rgba(0, 114, 188, 0.3),
        0 4px 12px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.mobile-cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.mobile-cta-button:hover {
    transform: translateY(-3px);
    box-shadow:
        0 12px 35px rgba(0, 114, 188, 0.4),
        0 6px 18px rgba(0, 0, 0, 0.15);
}

.mobile-cta-button:hover::before {
    left: 100%;
}

.mobile-cta-button:active {
    transform: translateY(-1px);
}

/* Navbar States */
.navbar-sticky {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid rgba(0, 114, 188, 0.15);
}

.navbar-scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
}

.navbar-hidden {
    transform: translateY(-100%);
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar-menu,
    .navbar-actions {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }

    .navbar-content {
        min-height: 48px;
    }

    .brand-logo {
        height: 26px;
    }

    .mobile-menu-overlay {
        top: 48px;
        height: calc(100vh - 48px);
    }

    body {
        padding-top: 48px !important;
    }
}

/* Body padding for fixed navbar */
body {
    padding-top: 70px !important;
    font-size: 16px;
    line-height: 1.6;
}

/* Global container width for more compact design */
.container {
    max-width: 1100px !important;
    margin: 0 auto;
    padding: 0 25px;
}

/* Enhanced Typography Scale */
h1, h2, h3, h4, h5, h6 {
    font-weight: var(--font-weight-bold);
    line-height: var(--line-height-tight);
    letter-spacing: -0.025em;
    color: var(--text-color);
    margin-bottom: var(--spacing-lg);
}

h1 {
    font-size: var(--font-size-5xl);
    font-weight: var(--font-weight-extrabold);
    line-height: var(--line-height-tight);
    letter-spacing: -0.04em;
}

h2 {
    font-size: var(--font-size-4xl);
    font-weight: var(--font-weight-bold);
    line-height: var(--line-height-tight);
    letter-spacing: -0.03em;
}

h3 {
    font-size: var(--font-size-3xl);
    font-weight: var(--font-weight-semibold);
    line-height: var(--line-height-snug);
    letter-spacing: -0.025em;
}

h4 {
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-semibold);
    line-height: var(--line-height-snug);
}

h5 {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-medium);
    line-height: var(--line-height-normal);
}

h6 {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-medium);
    line-height: var(--line-height-normal);
}

p {
    line-height: var(--line-height-relaxed);
    color: var(--text-light);
    font-size: var(--font-size-base);
    margin-bottom: var(--spacing-lg);
}

/* Enhanced text utilities */
.text-sm { font-size: var(--font-size-sm); }
.text-base { font-size: var(--font-size-base); }
.text-lg { font-size: var(--font-size-lg); }
.text-xl { font-size: var(--font-size-xl); }
.text-2xl { font-size: var(--font-size-2xl); }
.text-3xl { font-size: var(--font-size-3xl); }

.font-light { font-weight: var(--font-weight-light); }
.font-normal { font-weight: var(--font-weight-normal); }
.font-medium { font-weight: var(--font-weight-medium); }
.font-semibold { font-weight: var(--font-weight-semibold); }
.font-bold { font-weight: var(--font-weight-bold); }

.text-primary { color: var(--primary-color); }
.text-muted { color: var(--text-muted); }
.text-gray-600 { color: var(--gray-600); }
.text-gray-700 { color: var(--gray-700); }

/* Professional spacing */
.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 3rem;
}

.navbar-brand img,
.mobile-logo-default,
.logo-default {
    height: 40px !important;
    width: auto !important;
    object-fit: contain;
}

/* Compact Header */
.navbar-compact {
    height: 70px;
}

.navbar-compact .navbar-brand img {
    height: 35px !important;
}

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

.main-nav .nav-item {
    margin: 0 10px;
}

.main-nav .nav-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-color);
    padding: 8px 5px;
    position: relative;
    transition: var(--transition);
}

.main-nav .nav-link:hover,
.main-nav .nav-link.active {
    color: var(--primary-color);
}

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

.main-nav .nav-link:hover:after,
.main-nav .nav-link.active:after {
    width: 100%;
}

/* Header Contact Button */
.header-btn {
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 4px;
    margin-left: 15px;
}

.header-btn.btn-primary {
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 500;
    border-radius: 4px;
    margin-left: 12px;
    background-color: rgba(0, 114, 188, 0.9);
    border: none;
    box-shadow: none;
    transition: all 0.3s;
}

.header-btn.btn-primary:hover {
    background-color: var(--primary-color);
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(0, 114, 188, 0.2);
}

/* Body Padding for Fixed Header */
body {
    padding-top: 100px !important;
}

/* Sticky Navbar Styles */
.navbar-sticky {
    background-color: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.navbar-hidden {
    transform: translateY(-100%);
}

/* Mobile Header Adjustments */
@media (max-width: 991px) {
    .main-header {
        height: 70px;
    }

    body {
        padding-top: 70px !important;
    }

    .navbar-brand img {
        height: 30px !important;
    }
}

/* Premium Hero Section Styles */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background:
        linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%),
        radial-gradient(circle at 30% 70%, rgba(255, 255, 255, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.02) 0%, transparent 50%);
    overflow: hidden;
    color: white;
    padding-top: 70px;
    will-change: scroll-position;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(0, 114, 188, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(0, 114, 188, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(0, 114, 188, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 60% 30%, rgba(0, 212, 170, 0.03) 0%, transparent 50%);
}

.bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(0, 114, 188, 0.08);
}

.shape-1 {
    width: 120px;
    height: 120px;
    top: 15%;
    left: 10%;
    animation: float 6s ease-in-out infinite;
}

.shape-2 {
    width: 80px;
    height: 80px;
    top: 60%;
    right: 15%;
    animation: float 8s ease-in-out infinite reverse;
}

.shape-3 {
    width: 60px;
    height: 60px;
    bottom: 20%;
    left: 20%;
    animation: float 10s ease-in-out infinite;
}

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

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(0, 114, 188, 0.1);
    }
    50% {
        box-shadow: 0 0 30px rgba(0, 114, 188, 0.2), 0 0 40px rgba(0, 114, 188, 0.1);
    }
}

@keyframes slide-in-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

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

@keyframes bounce-in {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.hero-bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.08;
}

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

.brand-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    color: rgba(255, 255, 255, 0.9);
    padding: 6px 14px;
    border-radius: 16px;
    margin-bottom: var(--spacing-lg);
    font-weight: 500;
    font-size: var(--font-size-sm);
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.brand-badge i {
    margin-right: 6px;
    color: rgba(255, 255, 255, 0.9);
    font-size: var(--font-size-sm);
}

.hero-title {
    font-size: var(--font-size-5xl);
    line-height: 1.1;
    margin-bottom: var(--spacing-2xl);
    color: white;
    font-weight: var(--font-weight-bold);
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
    position: relative;
    z-index: 2;
}

.hero-title .company-name {
    color: #ffffff;
    font-weight: var(--font-weight-extrabold);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.hero-title .tagline {
    display: block;
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-normal);
    color: rgba(255, 255, 255, 0.95);
    margin-top: var(--spacing-lg);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.hero-description {
    font-size: var(--font-size-lg);
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--spacing-2xl);
    max-width: 550px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.expertise-badges {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-2xl);
    flex-wrap: wrap;
}

.expertise-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    min-width: 90px;
    max-width: 110px;
    height: 80px;
    position: relative;
    overflow: hidden;
}

.expertise-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.expertise-badge:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.expertise-badge:hover::before {
    left: 100%;
}

.expertise-badge i {
    font-size: var(--font-size-lg);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--spacing-xs);
    transition: all 0.3s ease;
}

.expertise-badge:hover i {
    color: #ffffff;
    transform: scale(1.1);
}

.expertise-content span {
    font-weight: var(--font-weight-medium);
    color: rgba(255, 255, 255, 0.9);
    font-size: var(--font-size-xs);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Enhanced Success Card */
.success-card {
    background: linear-gradient(135deg, var(--white) 0%, var(--gray-50) 100%);
    border-radius: var(--radius-2xl);
    padding: var(--spacing-4xl);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--gray-200);
    position: relative;
    overflow: hidden;
}

.success-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-gradient);
}

.metric-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-4xl);
}

.metric {
    text-align: center;
    padding: var(--spacing-xl);
    background: linear-gradient(135deg, rgba(0, 114, 188, 0.08) 0%, rgba(0, 114, 188, 0.04) 100%);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(0, 114, 188, 0.1);
    transition: all var(--transition-normal);
}

.metric:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, rgba(0, 114, 188, 0.12) 0%, rgba(0, 114, 188, 0.08) 100%);
}

.metric-value {
    font-size: var(--font-size-5xl);
    font-weight: var(--font-weight-extrabold);
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.metric-label {
    color: var(--text-color);
    font-weight: var(--font-weight-medium);
    font-size: var(--font-size-sm);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* CTA Buttons */
.cta-group {
    display: flex;
    flex-wrap: nowrap;
    gap: var(--spacing-lg);
    margin-top: var(--spacing-2xl);
    position: relative;
    z-index: 2;
    justify-content: center;
    align-items: center;
}

.cta-group .btn {
    padding: var(--spacing-lg) var(--spacing-2xl);
    font-weight: var(--font-weight-bold);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-base);
    min-width: 220px;
    height: 56px;
    border-radius: 28px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    text-decoration: none;
    cursor: pointer;
    border: none;
    box-shadow:
        0 4px 15px rgba(0, 0, 0, 0.1),
        0 2px 8px rgba(0, 114, 188, 0.1);
}

.cta-group .btn:first-child {
    background: linear-gradient(135deg, #ffffff 0%, rgba(255, 255, 255, 0.95) 100%);
    color: var(--primary-color);
    box-shadow:
        0 8px 25px rgba(0, 114, 188, 0.3),
        0 4px 15px rgba(0, 0, 0, 0.1);
}

.cta-group .btn:last-child {
    background: linear-gradient(135deg, rgba(0, 114, 188, 0.9) 0%, rgba(0, 114, 188, 0.8) 100%);
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow:
        0 8px 25px rgba(0, 114, 188, 0.4),
        0 4px 15px rgba(0, 0, 0, 0.1);
}

.cta-group .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.cta-group .btn:hover::before {
    left: 100%;
}

.cta-group .btn:hover {
    transform: translateY(-3px) scale(1.02);
}

.cta-group .btn:first-child:hover {
    background: linear-gradient(135deg, #ffffff 0%, rgba(255, 255, 255, 1) 100%);
    color: var(--primary-dark);
    box-shadow:
        0 12px 35px rgba(0, 114, 188, 0.4),
        0 6px 20px rgba(0, 0, 0, 0.15);
}

.cta-group .btn:last-child:hover {
    background: linear-gradient(135deg, rgba(0, 114, 188, 1) 0%, rgba(0, 114, 188, 0.9) 100%);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow:
        0 12px 35px rgba(0, 114, 188, 0.5),
        0 6px 20px rgba(0, 0, 0, 0.15);
}

.cta-group .btn i {
    margin-left: var(--spacing-sm);
    font-size: var(--font-size-lg);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.cta-group .btn:hover i {
    transform: translateX(5px);
}

.cta-group .btn span {
    position: relative;
    z-index: 2;
    font-weight: var(--font-weight-semibold);
}

/* ===== COMPREHENSIVE RESPONSIVE BREAKPOINTS ===== */

/* Ultra-wide screens (1440px+) */
@media (min-width: 1440px) {
    .container {
        max-width: 1320px !important;
    }

    .hero-title h1 {
        font-size: 4rem;
    }

    .hero-description {
        font-size: 1.25rem;
        max-width: 600px;
    }
}

/* Large screens (1200px+) */
@media (max-width: 1399px) {
    .container {
        max-width: 1140px !important;
    }
}

/* Medium screens (992px to 1199px) */
@media (max-width: 1199px) {
    .container {
        max-width: 960px !important;
    }

    .hero-title h1 {
        font-size: 3rem;
    }

    .hero-description {
        font-size: 1.125rem;
        max-width: 550px;
    }

    .expertise-badges {
        gap: 12px;
    }

    .expertise-badge {
        min-width: 85px;
        max-width: 100px;
        height: 75px;
    }
}

/* Small screens (768px to 991px) */
@media (max-width: 991px) {
    .container {
        max-width: 720px !important;
        padding: 0 20px;
    }

    .hero-section {
        padding-top: 55px;
        padding-bottom: 60px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .hero-title h1 {
        font-size: 2.5rem;
    }

    .hero-description {
        font-size: 1rem;
        max-width: 500px;
    }

    .expertise-badges {
        gap: 10px;
    }

    .expertise-badge {
        min-width: 80px;
        max-width: 90px;
        height: 70px;
    }

    .cta-group .btn {
        min-width: 200px;
        height: 52px;
        font-size: 0.95rem;
    }

    .navbar-content {
        min-height: 52px;
    }

    .brand-logo {
        height: 30px;
    }

    body {
        padding-top: 60px !important;
    }

    .hero-section {
        padding-top: 60px;
    }
}

/* Mobile screens (576px to 767px) */
@media (max-width: 767px) {
    .container {
        max-width: 540px !important;
        padding: 0 15px;
    }

    .hero-section {
        padding-top: 55px;
        padding-bottom: 50px;
        text-align: center;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .hero-title h1 {
        font-size: 2rem;
        line-height: 1.2;
    }

    .hero-description {
        font-size: 0.95rem;
        max-width: 100%;
        margin-bottom: 30px;
    }

    .brand-badge {
        font-size: 0.8rem;
        padding: 4px 10px;
        margin-bottom: 20px;
    }

    .expertise-badges {
        justify-content: center;
        gap: 8px;
        margin-bottom: 25px;
    }

    .expertise-badge {
        min-width: 70px;
        max-width: 85px;
        height: 65px;
        padding: 8px 6px;
    }

    .expertise-badge i {
        font-size: 1rem;
        margin-bottom: 4px;
    }

    .expertise-content span {
        font-size: 0.75rem;
    }

    .cta-group {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }

    .cta-group {
        display: flex;
        gap: 15px;
        justify-content: center;
        align-items: center;
        flex-wrap: nowrap;
        margin: 25px auto 0;
        max-width: 100%;
    }

    .cta-group .btn {
        flex: 1;
        min-width: 160px;
        max-width: 180px;
        height: 48px;
        padding: 12px 16px;
        font-size: 0.9rem;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        border-radius: 24px;
    }

    .navbar-content {
        min-height: 50px;
        padding: 6px 0;
    }

    .brand-logo {
        height: 28px;
    }

    .mobile-menu-overlay {
        top: 50px;
        height: calc(100vh - 50px);
    }

    body {
        padding-top: 55px !important;
    }

    .hero-section {
        padding-top: 50px;
    }
}

/* Small mobile screens (320px to 575px) */
@media (max-width: 576px) {
    .container {
        max-width: 100% !important;
        padding: 0 15px;
    }

    .hero-section {
        padding-top: 60px;
        padding-bottom: 50px;
        min-height: auto;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .cta-group {
        display: flex;
        gap: 15px;
        justify-content: center;
        align-items: center;
        flex-wrap: nowrap;
        margin: 25px auto 0;
        max-width: 100%;
    }

    .cta-group .btn {
        flex: 1;
        min-width: 140px;
        max-width: 160px;
        justify-content: center;
        text-align: center;
        display: inline-flex;
        align-items: center;
        cursor: pointer;
        height: 48px;
        border-radius: 24px;
    }

    .hero-title h1 {
        font-size: 1.75rem;
        line-height: 1.1;
    }

    .hero-description {
        font-size: 0.9rem;
        margin-bottom: 25px;
    }

    .brand-badge {
        font-size: 0.75rem;
        padding: 3px 8px;
        margin-bottom: 15px;
    }

    .expertise-badges {
        gap: 6px;
        margin-bottom: 20px;
    }

    .expertise-badge {
        min-width: 60px;
        max-width: 75px;
        height: 60px;
        padding: 6px 4px;
    }

    .expertise-badge i {
        font-size: 0.9rem;
        margin-bottom: 3px;
    }

    .expertise-content span {
        font-size: 0.7rem;
    }

    .cta-group {
        gap: 10px;
    }

    .cta-group .btn {
        height: 44px;
        padding: 10px 14px;
        font-size: 0.85rem;
    }

    .navbar-content {
        min-height: 50px;
        padding: 6px 0;
    }

    .brand-logo {
        height: 26px;
    }

    .mobile-menu-overlay {
        top: 50px;
        height: calc(100vh - 50px);
    }

    body {
        padding-top: 55px !important;
    }

    .hero-section {
        padding-top: 50px;
    }
}

/* ===== COMPREHENSIVE SECTION RESPONSIVE DESIGN ===== */

/* Services Section Responsive */
@media (max-width: 991px) {
    .services-section {
        padding: var(--spacing-5xl) 0;
    }

    .service-card {
        padding: var(--spacing-3xl);
    }

    .service-card h3 {
        font-size: var(--font-size-lg);
    }

    .service-card p {
        font-size: var(--font-size-sm);
    }
}

@media (max-width: 767px) {
    .services-section {
        padding: var(--spacing-4xl) 0;
    }

    .service-card {
        padding: var(--spacing-2xl);
        text-align: center;
    }

    .service-card .icon-circle {
        width: 60px;
        height: 60px;
        margin: 0 auto var(--spacing-lg);
    }

    .service-card .icon-circle i {
        font-size: var(--font-size-xl);
    }

    .service-card h3 {
        font-size: var(--font-size-base);
        margin-bottom: var(--spacing-md);
    }

    .service-card p {
        font-size: var(--font-size-sm);
        line-height: 1.5;
    }
}

/* Methodology/Process Section Responsive */
@media (max-width: 991px) {
    .methodology-section, .process-section {
        padding: var(--spacing-5xl) 0;
    }

    .process-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: var(--spacing-2xl);
    }
}

@media (max-width: 767px) {
    .methodology-section, .process-section {
        padding: var(--spacing-4xl) 0;
    }

    .process-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }

    .process-card {
        padding: var(--spacing-xl);
        text-align: center;
    }

    .process-card-icon {
        width: 80px;
        height: 80px;
        margin: 0 auto var(--spacing-lg);
    }

    .process-card-icon i {
        font-size: var(--font-size-2xl);
    }

    .step-number {
        width: 40px;
        height: 40px;
        font-size: var(--font-size-sm);
    }

    .process-card h3 {
        font-size: var(--font-size-lg);
    }

    .process-card p {
        font-size: var(--font-size-sm);
    }
}

/* Why Choose Us Section Responsive */
@media (max-width: 991px) {
    .why-choose-section {
        padding: var(--spacing-5xl) 0;
    }

    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 767px) {
    .why-choose-section {
        padding: var(--spacing-4xl) 0;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }

    .feature-card {
        padding: var(--spacing-xl);
        text-align: center;
    }

    .feature-icon {
        width: 70px;
        height: 70px;
        margin: 0 auto var(--spacing-lg);
    }

    .feature-card h3 {
        font-size: var(--font-size-lg);
    }

    .feature-card p {
        font-size: var(--font-size-sm);
    }
}

/* Success Stories/Portfolio Section Responsive */
@media (max-width: 991px) {
    .success-stories-section, .portfolio-section {
        padding: var(--spacing-5xl) 0;
    }

    .case-studies-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: var(--spacing-2xl);
    }
}

@media (max-width: 767px) {
    .success-stories-section, .portfolio-section {
        padding: var(--spacing-4xl) 0;
    }

    .case-studies-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }

    .case-study-card {
        padding: var(--spacing-lg);
    }

    .case-study-header {
        padding: var(--spacing-md);
    }

    .case-study-title {
        font-size: var(--font-size-lg);
    }

    .case-study-problem,
    .case-study-solution,
    .case-study-results {
        font-size: var(--font-size-sm);
    }

    .card-btn {
        padding: var(--spacing-md) var(--spacing-lg);
        font-size: var(--font-size-sm);
        width: 100%;
        justify-content: center;
        cursor: pointer;
        z-index: 10;
        position: relative;
    }
}

/* Contact Section Responsive */
@media (max-width: 991px) {
    .contact-section {
        padding: var(--spacing-5xl) 0;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-4xl);
    }
}

@media (max-width: 767px) {
    .contact-section {
        padding: var(--spacing-4xl) var(--spacing-xl) var(--spacing-5xl);
    }

    .contact-info-modern {
        text-align: center;
    }

    .contact-hero-section {
        padding: var(--spacing-xl) var(--spacing-lg);
    }

    .contact-header {
        padding: 0 var(--spacing-lg);
    }

    .contact-workflow .workflow-steps {
        flex-direction: column;
        gap: var(--spacing-lg);
    }

    .workflow-step {
        padding: var(--spacing-lg);
    }

    .contact-form-card {
        padding: var(--spacing-lg) var(--spacing-md);
    }

    .contact-header {
        padding: 0 var(--spacing-md);
    }

    .form-header h3 {
        font-size: var(--font-size-lg);
    }
}

/* CTA Section Responsive */
@media (max-width: 767px) {
    .modern-cta-section, .success-cta-section {
        padding: var(--spacing-4xl) var(--spacing-xl) var(--spacing-5xl);
    }

    .success-cta-section {
        padding: var(--spacing-4xl) var(--spacing-xl) var(--spacing-5xl);
        border-radius: var(--radius-xl);
    }

    .cta-content {
        padding: 0 var(--spacing-lg);
    }

    .cta-content h3 {
        font-size: var(--font-size-xl);
    }

    .cta-content p {
        font-size: var(--font-size-sm);
        margin-bottom: var(--spacing-2xl);
    }

    .cta-stats {
        margin: 0 var(--spacing-lg) var(--spacing-2xl);
        padding: 0 var(--spacing-lg);
    }

    .cta-buttons {
        padding: 0 var(--spacing-lg);
    }

    .cta-stat-item {
        margin-bottom: var(--spacing-lg);
    }

    .cta-buttons {
        display: flex;
        flex-direction: column;
        gap: var(--spacing-md);
        align-items: center;
        justify-content: center;
    }

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

/* Footer Responsive */
@media (max-width: 767px) {
    footer {
        padding: var(--spacing-3xl) 0 var(--spacing-2xl);
    }

    .footer-content {
        flex-direction: column;
        gap: var(--spacing-2xl);
        text-align: center;
    }

    .footer-logo-section {
        order: -1;
    }

    .footer-links {
        flex-direction: column;
        gap: var(--spacing-lg);
    }

    .footer-column {
        min-width: unset;
    }

    .social-links-modern {
        justify-content: center;
    }

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

    .newsletter-form-element {
        max-width: 100%;
    }
}

@media (max-width: 576px) {
    .modern-cta-section {
        padding: var(--spacing-3xl) var(--spacing-lg) var(--spacing-4xl);
    }

    .success-cta-section {
        padding: var(--spacing-3xl) var(--spacing-lg) var(--spacing-4xl);
        border-radius: var(--radius-lg);
    }

    .contact-section {
        padding: var(--spacing-3xl) var(--spacing-lg) var(--spacing-4xl);
    }

    .cta-content {
        padding: 0 var(--spacing-md);
    }

    .cta-stats {
        margin: 0 var(--spacing-md) var(--spacing-xl);
        padding: 0 var(--spacing-md);
    }

    .cta-buttons {
        padding: 0 var(--spacing-md);
    }

    footer {
        padding: var(--spacing-2xl) 0 var(--spacing-xl);
    }

    .footer-content {
        gap: var(--spacing-xl);
    }

    .footer-links {
        gap: var(--spacing-md);
    }

    .footer-column h4 {
        font-size: var(--font-size-base);
    }

    .footer-column ul li {
        font-size: var(--font-size-sm);
    }

    .newsletter-input {
        font-size: var(--font-size-sm);
        padding: var(--spacing-sm) var(--spacing-md);
    }

    .newsletter-submit {
        font-size: var(--font-size-sm);
        padding: var(--spacing-sm) var(--spacing-lg);
    }
}

/* Typography Scaling Across Devices */
@media (max-width: 1199px) {
    h1 { font-size: var(--font-size-4xl); }
    h2 { font-size: var(--font-size-3xl); }
    h3 { font-size: var(--font-size-2xl); }
}

@media (max-width: 991px) {
    h1 { font-size: var(--font-size-3xl); }
    h2 { font-size: var(--font-size-2xl); }
    h3 { font-size: var(--font-size-xl); }
    h4 { font-size: var(--font-size-lg); }
}

@media (max-width: 767px) {
    h1 { font-size: var(--font-size-2xl); }
    h2 { font-size: var(--font-size-xl); }
    h3 { font-size: var(--font-size-lg); }
    h4 { font-size: var(--font-size-base); }
    h5, h6 { font-size: var(--font-size-sm); }

    .section-header h2 {
        font-size: var(--font-size-xl);
    }

    .section-description {
        font-size: var(--font-size-sm);
    }
}

@media (max-width: 576px) {
    h1 { font-size: var(--font-size-xl); }
    h2 { font-size: var(--font-size-lg); }
    h3 { font-size: var(--font-size-base); }
    h4 { font-size: var(--font-size-sm); }

    .section-header h2 {
        font-size: var(--font-size-lg);
    }

    .section-description {
        font-size: var(--font-size-xs);
    }

    body {
        font-size: 14px;
    }
}

/* Floating Elements */
.hero-floats {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 1;
}

.float-element {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    animation: floatUp 15s linear infinite;
}

.float-element:nth-child(1) {
    width: 80px;
    height: 80px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
    animation-duration: 20s;
}

.float-element:nth-child(2) {
    width: 60px;
    height: 60px;
    top: 60%;
    right: 15%;
    animation-delay: 5s;
    animation-duration: 25s;
}

.float-element:nth-child(3) {
    width: 40px;
    height: 40px;
    bottom: 30%;
    left: 20%;
    animation-delay: 10s;
    animation-duration: 18s;
}

.float-element:nth-child(4) {
    width: 100px;
    height: 100px;
    top: 10%;
    right: 5%;
    animation-delay: 2s;
    animation-duration: 22s;
}

@keyframes floatUp {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

/* Hero Shape Animations */
.hero-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    animation: shapeFloat 30s ease-in-out infinite;
}

.hero-shape:nth-child(1) {
    width: 400px;
    height: 400px;
    top: -200px;
    right: -200px;
    animation-delay: 0s;
}

.hero-shape:nth-child(2) {
    width: 300px;
    height: 300px;
    bottom: -150px;
    left: -150px;
    animation-delay: 10s;
}

.hero-shape:nth-child(3) {
    width: 200px;
    height: 200px;
    top: 40%;
    left: -100px;
    animation-delay: 20s;
}

@keyframes shapeFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(30px, -30px) scale(1.05);
    }
    50% {
        transform: translate(-20px, 20px) scale(0.95);
    }
    75% {
        transform: translate(40px, -10px) scale(1.02);
    }
}

/* Enhanced Expertise Badges */
.expertise-badges {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-md);
    margin-top: var(--spacing-2xl);
    position: relative;
    z-index: 2;
}

.expertise-badge {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-md) var(--spacing-lg);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: default;
}

.expertise-badge:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}

.expertise-badge i {
    font-size: var(--font-size-lg);
    color: rgba(255, 255, 255, 0.8);
}

/* Hero Section Responsive */
@media (max-width: 768px) {
    .brand-badge {
        font-size: var(--font-size-xs);
        padding: 4px 12px;
    }

    .hero-title {
        font-size: var(--font-size-4xl);
        margin-bottom: var(--spacing-xl);
    }

    .hero-title .tagline {
        font-size: var(--font-size-lg);
        margin-top: var(--spacing-md);
    }

    .hero-description {
        font-size: var(--font-size-base);
        margin-bottom: var(--spacing-xl);
        max-width: 100%;
    }

    .expertise-badges {
        gap: var(--spacing-sm);
        margin-bottom: var(--spacing-xl);
    }

    .expertise-badge {
        min-width: 90px;
        padding: var(--spacing-sm);
    }

    .cta-group .btn {
        width: 160px;
        padding: var(--spacing-md) var(--spacing-lg);
        font-size: var(--font-size-sm);
    }
}

@media (max-width: 576px) {
    .brand-badge {
        font-size: 11px;
        padding: 3px 10px;
    }

    .hero-title {
        font-size: var(--font-size-3xl);
        margin-bottom: var(--spacing-lg);
    }

    .hero-title .tagline {
        font-size: var(--font-size-base);
    }

    .hero-description {
        font-size: var(--font-size-sm);
        margin-bottom: var(--spacing-lg);
    }

    .expertise-badges {
        gap: var(--spacing-xs);
    }

    .expertise-badge {
        min-width: 70px;
        max-width: 90px;
        height: 70px;
        padding: var(--spacing-xs) var(--spacing-sm);
    }

    .expertise-badge i {
        font-size: var(--font-size-base);
    }

    .cta-group {
        gap: var(--spacing-sm);
    }

    .cta-group .btn {
        width: 140px;
        padding: var(--spacing-sm) var(--spacing-md);
        font-size: var(--font-size-xs);
    }
}

/* Enhanced Services Section */
.services-section {
    padding: var(--spacing-6xl) 0;
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--white) 100%);
    position: relative;
    overflow: hidden;
}

.services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(0, 114, 188, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(0, 212, 170, 0.02) 0%, transparent 50%);
    pointer-events: none;
}

.service-card {
    background: linear-gradient(135deg, var(--white) 0%, var(--gray-50) 100%);
    border-radius: var(--radius-3xl);
    padding: var(--spacing-4xl);
    height: 100%;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(0, 114, 188, 0.08);
    box-shadow:
        0 4px 20px rgba(0, 0, 0, 0.08),
        0 2px 8px rgba(0, 114, 188, 0.04);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    will-change: transform, box-shadow, border-color;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 114, 188, 0.06), transparent);
    transition: left 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 114, 188, 0.03) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.service-card:hover {
    transform: translateY(-12px) scale(1.03);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.12),
        0 8px 20px rgba(0, 114, 188, 0.15);
    border-color: rgba(0, 114, 188, 0.25);
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover::after {
    opacity: 1;
}

/* Modern Service Icons */
.service-icon-wrapper {
    position: relative;
    margin-bottom: 24px;
}

.modern-service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(0, 114, 188, 0.1) 0%, rgba(0, 114, 188, 0.05) 100%);
    border: 2px solid rgba(0, 114, 188, 0.15);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 114, 188, 0.1);
}

.modern-service-icon::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 22px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.service-box:hover .modern-service-icon::before {
    opacity: 1;
}

.service-box:hover .modern-service-icon {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 114, 188, 0.2);
}

.modern-service-icon i {
    font-size: 28px;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.service-box:hover .modern-service-icon i {
    color: white;
    transform: scale(1.1);
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 16px;
    color: var(--text-color);
}

.service-description {
    color: var(--text-light);
    margin-bottom: 24px;
    line-height: 1.6;
}

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

.service-features li {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    color: var(--text-color);
}

.service-features li i {
    color: var(--primary-color);
    margin-right: 12px;
    font-size: 14px;
}

/* Tech Stack Styles */
.tech-stack-wrapper {
    background-color: rgba(0, 114, 188, 0.05);
    padding: 15px;
    border-radius: var(--border-radius);
    margin-top: auto;
}

.tech-stack-header {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.tech-stack-header i {
    color: var(--primary-color);
    margin-right: 8px;
}

.tech-stack-title {
    font-weight: 600;
    color: var(--text-color);
}

.tech-stack-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 10px;
}

.tech-item {
    display: flex;
    align-items: center;
    background: white;
    padding: 8px 12px;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    font-size: 14px;
}

.tech-item i {
    margin-right: 8px;
    color: var(--primary-color);
}

.tech-item span {
    font-weight: 500;
}

/* Enhanced Success Stories Section */
.success-stories-section {
    padding: var(--spacing-6xl) 0;
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--white) 100%);
    position: relative;
    overflow: hidden;
}

.success-stories-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(0, 114, 188, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(0, 212, 170, 0.02) 0%, transparent 50%);
    pointer-events: none;
}

/* Success Header */
.success-header {
    text-align: center;
    margin-bottom: var(--spacing-6xl);
    position: relative;
    z-index: 1;
}

.success-header .section-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    background: var(--primary-gradient);
    color: white;
    padding: var(--spacing-sm) var(--spacing-xl);
    border-radius: var(--radius-full);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-semibold);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: var(--spacing-lg);
    box-shadow: var(--shadow-lg);
}

.success-header h2 {
    font-size: var(--font-size-5xl);
    font-weight: var(--font-weight-extrabold);
    color: var(--text-color);
    margin-bottom: var(--spacing-lg);
    line-height: var(--line-height-tight);
}

.success-header .section-description {
    font-size: var(--font-size-lg);
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
    line-height: var(--line-height-relaxed);
}

/* Trust Indicators */
.trust-indicators {
    margin-bottom: var(--spacing-6xl);
    position: relative;
    z-index: 1;
}

.trust-metrics {
    /* Removed grid layout - now using Bootstrap grid */
    text-align: center;
}

.metric-item {
    background: linear-gradient(135deg, var(--white) 0%, var(--gray-50) 100%);
    padding: var(--spacing-3xl) var(--spacing-lg);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-200);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.metric-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-gradient);
    transform: scaleX(0);
    transition: transform var(--transition-normal);
}

.metric-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-2xl);
    border-color: rgba(0, 114, 188, 0.2);
}

.metric-item:hover::before {
    transform: scaleX(1);
}

.metric-value {
    font-size: var(--font-size-5xl);
    font-weight: var(--font-weight-extrabold);
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.metric-label {
    font-size: var(--font-size-sm);
    color: var(--text-light);
    font-weight: var(--font-weight-medium);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Portfolio Carousel */
.portfolio-section {
    padding: var(--spacing-6xl) 0;
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--white) 100%);
    position: relative;
    overflow: hidden;
}

.portfolio-header {
    text-align: center;
    margin-bottom: var(--spacing-5xl);
}

.portfolio-carousel-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

/* Carousel Customization */
#portfolioCarousel {
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-2xl);
    position: relative;
}

#portfolioCarousel .carousel-inner {
    border-radius: var(--radius-2xl);
    position: relative;
    width: 100%;
    overflow: hidden;
}

#portfolioCarousel .carousel-item {
    position: relative;
    display: none;
    width: 100%;
    transition: all 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    opacity: 0;
    transform: translateX(0) scale(0.95);
}

#portfolioCarousel .carousel-item.active {
    display: block;
    opacity: 1;
    transform: translateX(0) scale(1);
    animation: smoothSlideIn 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

@keyframes smoothSlideIn {
    0% {
        opacity: 0;
        transform: translateY(50px) scale(0.95);
    }
    50% {
        opacity: 0.5;
        transform: translateY(25px) scale(0.97);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* ===== CAROUSEL RESPONSIVE DESIGN ===== */

@media (max-width: 991px) {
    .portfolio-carousel-container {
        max-width: 100%;
        padding: 0 var(--spacing-lg);
    }

    #portfolioCarousel {
        border-radius: var(--radius-xl);
    }

    #portfolioCarousel .carousel-inner {
        border-radius: var(--radius-xl);
    }

    .portfolio-slide {
        padding: var(--spacing-2xl);
    }

    .slide-content {
        max-width: 500px;
    }

    .portfolio-category {
        font-size: var(--font-size-sm);
    }

    .portfolio-content h3 {
        font-size: var(--font-size-xl);
    }

    .portfolio-content p {
        font-size: var(--font-size-sm);
    }
}

@media (max-width: 767px) {
    .portfolio-carousel-container {
        padding: 0 var(--spacing-md);
    }

    #portfolioCarousel {
        border-radius: var(--radius-lg);
    }

    #portfolioCarousel .carousel-inner {
        border-radius: var(--radius-lg);
    }

    .portfolio-slide {
        padding: var(--spacing-xl);
        flex-direction: column;
        text-align: center;
    }

    .slide-background {
        height: 300px;
        margin-bottom: var(--spacing-xl);
    }

    .slide-content {
        max-width: 100%;
    }

    .portfolio-category {
        font-size: var(--font-size-xs);
        margin-bottom: var(--spacing-sm);
    }

    .portfolio-stats {
        justify-content: center;
        margin-bottom: var(--spacing-lg);
    }

    .portfolio-stat {
        font-size: var(--font-size-sm);
    }

    .portfolio-content h3 {
        font-size: var(--font-size-lg);
        margin-bottom: var(--spacing-md);
    }

    .portfolio-content p {
        font-size: var(--font-size-sm);
        margin-bottom: var(--spacing-lg);
    }

    .portfolio-tech-stack {
        justify-content: center;
        margin-bottom: var(--spacing-xl);
    }

    .tech-badge {
        font-size: var(--font-size-xs);
        padding: var(--spacing-xs) var(--spacing-sm);
    }

    .portfolio-btn {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    /* Hide carousel indicators on mobile for cleaner look */
    #portfolioCarousel .carousel-indicators {
        display: none;
    }

    /* Adjust control button sizes for mobile */
    #portfolioCarousel .carousel-control-prev,
    #portfolioCarousel .carousel-control-next {
        width: 40px;
        height: 60px;
        opacity: 0.8;
    }

    #portfolioCarousel .carousel-control-prev {
        left: 0;
        border-radius: 0 var(--radius-md) var(--radius-md) 0;
    }

    #portfolioCarousel .carousel-control-next {
        right: 0;
        border-radius: var(--radius-md) 0 0 var(--radius-md);
    }
}

@media (max-width: 576px) {
    .portfolio-carousel-container {
        padding: 0 var(--spacing-sm);
    }

    #portfolioCarousel {
        border-radius: var(--radius-md);
    }

    #portfolioCarousel .carousel-inner {
        border-radius: var(--radius-md);
    }

    .portfolio-slide {
        padding: var(--spacing-lg);
    }

    .slide-background {
        height: 250px;
        margin-bottom: var(--spacing-lg);
    }

    .portfolio-category {
        font-size: var(--font-size-xs);
    }

    .portfolio-stats {
        margin-bottom: var(--spacing-md);
    }

    .portfolio-stat {
        font-size: var(--font-size-xs);
    }

    .portfolio-content h3 {
        font-size: var(--font-size-base);
    }

    .portfolio-content p {
        font-size: var(--font-size-xs);
        margin-bottom: var(--spacing-md);
    }

    .portfolio-tech-stack {
        margin-bottom: var(--spacing-lg);
    }

    .tech-badge {
        font-size: var(--font-size-xs);
        padding: var(--spacing-xs) var(--spacing-xs);
    }

    .portfolio-btn {
        padding: var(--spacing-sm) var(--spacing-lg);
        font-size: var(--font-size-sm);
    }

    /* Further reduce control button sizes */
    #portfolioCarousel .carousel-control-prev,
    #portfolioCarousel .carousel-control-next {
        width: 36px;
        height: 50px;
    }
}

.portfolio-slide {
    display: flex;
    min-height: 500px;
    background: linear-gradient(135deg, var(--white) 0%, var(--gray-50) 100%);
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.1),
        0 10px 30px rgba(0, 114, 188, 0.05);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-slide:hover {
    transform: translateY(-5px);
    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.15),
        0 15px 40px rgba(0, 114, 188, 0.1);
}

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

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

.portfolio-placeholder {
    width: 100%;
    height: 100%;
    min-height: 300px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    position: relative;
}

.portfolio-placeholder i {
    font-size: 4rem;
    margin-bottom: var(--spacing-lg);
    opacity: 0.8;
}

.portfolio-placeholder span {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-semibold);
    opacity: 0.9;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 114, 188, 0.9) 0%, rgba(0, 114, 188, 0.7) 100%);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: var(--spacing-2xl);
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.portfolio-slide:hover .portfolio-image img {
    transform: scale(1.05);
}

.portfolio-category {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: var(--radius-full);
    color: white;
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-semibold);
    align-self: flex-start;
}

.portfolio-category i {
    font-size: var(--font-size-lg);
}

.portfolio-stats {
    display: flex;
    gap: var(--spacing-xl);
    align-self: flex-end;
}

.portfolio-stat {
    text-align: center;
    color: white;
}

.portfolio-stat .stat-number {
    font-size: var(--font-size-3xl);
    font-weight: var(--font-weight-bold);
    line-height: 1;
    margin-bottom: var(--spacing-xs);
}

.portfolio-stat .stat-label {
    font-size: var(--font-size-sm);
    opacity: 0.9;
    font-weight: var(--font-weight-medium);
}

.portfolio-content {
    flex: 1;
    padding: var(--spacing-3xl);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.portfolio-content h3 {
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-bold);
    color: var(--text-color);
    margin-bottom: var(--spacing-lg);
    line-height: var(--line-height-tight);
}

.portfolio-content p {
    color: var(--text-muted);
    margin-bottom: var(--spacing-2xl);
    line-height: var(--line-height-relaxed);
    font-size: var(--font-size-base);
}

.portfolio-tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-2xl);
}

.tech-badge {
    background: var(--primary-gradient);
    color: white;
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: var(--radius-full);
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-semibold);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.portfolio-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: var(--spacing-md) var(--spacing-xl);
    border-radius: var(--radius-full);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-semibold);
    text-decoration: none;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    align-self: flex-start;
    position: relative;
    overflow: hidden;
    box-shadow:
        0 4px 16px rgba(0, 114, 188, 0.3),
        0 2px 8px rgba(0, 0, 0, 0.1);
}

.portfolio-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.portfolio-btn:hover::before {
    left: 100%;
}

.portfolio-btn:hover {
    transform: translateY(-3px);
    box-shadow:
        0 8px 25px rgba(0, 114, 188, 0.4),
        0 4px 15px rgba(0, 0, 0, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.portfolio-btn:active {
    transform: translateY(-1px);
}

.portfolio-btn i {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 2;
}

.portfolio-btn:hover i {
    transform: translateX(4px);
}

.portfolio-btn span {
    position: relative;
    z-index: 2;
}

/* Sleek Carousel Controls */
#portfolioCarousel .carousel-control-prev,
#portfolioCarousel .carousel-control-next {
    position: absolute;
    width: 48px;
    height: 80px;
    background: rgba(0, 114, 188, 0.9);
    backdrop-filter: blur(15px);
    border: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    top: 50%;
    transform: translateY(-50%);
    z-index: 25;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    border-radius: 0 24px 24px 0;
    box-shadow:
        0 8px 25px rgba(0, 114, 188, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

#portfolioCarousel .carousel-control-next {
    border-radius: 24px 0 0 24px;
    right: 0;
}

#portfolioCarousel:hover .carousel-control-prev,
#portfolioCarousel:hover .carousel-control-next {
    opacity: 1;
}

#portfolioCarousel .carousel-control-prev {
    left: 0;
}

#portfolioCarousel .carousel-control-prev:hover {
    left: -8px;
    background: rgba(0, 114, 188, 1);
    box-shadow:
        0 12px 35px rgba(0, 114, 188, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

#portfolioCarousel .carousel-control-next:hover {
    right: -8px;
    background: rgba(0, 114, 188, 1);
    box-shadow:
        0 12px 35px rgba(0, 114, 188, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

#portfolioCarousel .carousel-control-prev-icon,
#portfolioCarousel .carousel-control-next-icon {
    width: 20px;
    height: 20px;
    background-image: none !important;
    color: white;
    transition: all 0.3s ease;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
}

#portfolioCarousel .carousel-control-prev-icon::before,
#portfolioCarousel .carousel-control-next-icon::before {
    content: '';
    display: inline-block;
    width: 0;
    height: 0;
    border-style: solid;
    border-color: white;
}

#portfolioCarousel .carousel-control-prev-icon::before {
    border-width: 6px 10px 6px 0;
    margin-left: -2px;
}

#portfolioCarousel .carousel-control-next-icon::before {
    border-width: 6px 0 6px 10px;
    margin-right: -2px;
}

#portfolioCarousel .carousel-control-prev:hover .carousel-control-prev-icon::before,
#portfolioCarousel .carousel-control-next:hover .carousel-control-next-icon::before {
    transform: scale(1.1);
}

/* Modern Carousel Indicators */
#portfolioCarousel .carousel-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    margin-bottom: 0;
    z-index: 25;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

#portfolioCarousel .carousel-indicators button {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    margin: 0;
    padding: 0;
    position: relative;
    overflow: hidden;
}

#portfolioCarousel .carousel-indicators button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: var(--primary-color);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

#portfolioCarousel .carousel-indicators button.active {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

#portfolioCarousel .carousel-indicators button.active::before {
    width: 100%;
    height: 100%;
}

#portfolioCarousel .carousel-indicators button:hover {
    background: rgba(255, 255, 255, 0.6);
    transform: scale(1.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .portfolio-slide {
        flex-direction: column;
        min-height: auto;
    }

    .portfolio-image {
        height: 250px;
    }

    .portfolio-content {
        padding: var(--spacing-xl);
    }

    .portfolio-content h3 {
        font-size: var(--font-size-xl);
    }

    .portfolio-stats {
        gap: var(--spacing-lg);
    }

    .portfolio-stat .stat-number {
        font-size: var(--font-size-2xl);
    }

    #portfolioCarousel .carousel-control-prev,
    #portfolioCarousel .carousel-control-next {
        width: 48px;
        height: 48px;
        opacity: 0.9;
    }

    #portfolioCarousel .carousel-control-prev {
        left: 15px;
    }

    #portfolioCarousel .carousel-control-next {
        right: 15px;
    }

    #portfolioCarousel .carousel-indicators {
        bottom: 20px;
        padding: var(--spacing-xs) var(--spacing-md);
    }

    .portfolio-btn {
        align-self: center;
        margin-top: var(--spacing-lg);
    }
}

@media (max-width: 576px) {
    .portfolio-category {
        padding: var(--spacing-xs) var(--spacing-md);
        font-size: var(--font-size-xs);
    }

    .portfolio-stats {
        flex-direction: column;
        gap: var(--spacing-md);
        align-self: flex-start;
    }

    .portfolio-tech-stack {
        justify-content: center;
    }

    .portfolio-btn {
        align-self: center;
    }
}

/* Portfolio Grid Layout */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-3xl);
    margin-top: var(--spacing-5xl);
}

.portfolio-card {
    background: linear-gradient(135deg, var(--white) 0%, var(--gray-50) 100%);
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.1),
        0 4px 12px rgba(0, 114, 188, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(0, 114, 188, 0.08);
    position: relative;
}

.portfolio-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.15),
        0 8px 20px rgba(0, 114, 188, 0.15);
    border-color: rgba(0, 114, 188, 0.2);
}

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

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.card-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
}

.card-placeholder i {
    font-size: 4rem;
    margin-bottom: var(--spacing-lg);
    opacity: 0.8;
}

.card-placeholder span {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-semibold);
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 114, 188, 0.9) 0%, rgba(0, 114, 188, 0.6) 100%);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: var(--spacing-xl);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-card:hover .card-overlay {
    opacity: 1;
    transform: translateY(0);
}

.card-category {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: white;
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: 50px;
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-semibold);
    align-self: flex-start;
}

.card-category i {
    font-size: var(--font-size-lg);
}

.card-stats {
    display: flex;
    gap: var(--spacing-lg);
    align-self: flex-end;
}

.stat {
    text-align: center;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: var(--spacing-md);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-value {
    display: block;
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-bold);
    color: white;
    line-height: 1;
}

.stat-label {
    font-size: var(--font-size-xs);
    color: rgba(255, 255, 255, 0.9);
    font-weight: var(--font-weight-medium);
    margin-top: var(--spacing-xs);
}

.card-content {
    padding: var(--spacing-2xl);
}

.card-content h3 {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-bold);
    color: var(--text-color);
    margin-bottom: var(--spacing-lg);
    line-height: var(--line-height-tight);
}

.card-content p {
    color: var(--text-muted);
    line-height: var(--line-height-relaxed);
    margin-bottom: var(--spacing-2xl);
    font-size: var(--font-size-base);
}

.card-tech {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-2xl);
}

.tech-tag {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: var(--spacing-xs) var(--spacing-lg);
    border-radius: 50px;
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-semibold);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.tech-tag:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 114, 188, 0.3);
}

.card-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: var(--spacing-lg) var(--spacing-xl);
    border-radius: 50px;
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-bold);
    text-decoration: none;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow:
        0 4px 15px rgba(0, 114, 188, 0.3),
        0 2px 6px rgba(0, 0, 0, 0.1);
}

.card-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.card-btn:hover::before {
    left: 100%;
}

.card-btn:hover {
    transform: translateY(-2px);
    box-shadow:
        0 8px 25px rgba(0, 114, 188, 0.4),
        0 4px 12px rgba(0, 0, 0, 0.15);
    border-color: rgba(255, 255, 255, 0.2);
}

.card-btn i {
    font-size: var(--font-size-sm);
    transition: transform 0.3s ease;
}

.card-btn:hover i {
    transform: translateX(3px);
}

.card-btn span {
    position: relative;
    z-index: 2;
}

/* Responsive Portfolio Grid */
@media (max-width: 1200px) {
    .portfolio-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: var(--spacing-2xl);
    }
}

@media (max-width: 768px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-2xl);
    }

    .card-image {
        height: 200px;
    }

    .card-content {
        padding: var(--spacing-xl);
    }

    .card-content h3 {
        font-size: var(--font-size-lg);
    }

    .card-stats {
        flex-direction: column;
        gap: var(--spacing-md);
        align-self: flex-start;
    }
}

@media (max-width: 576px) {
    .portfolio-grid {
        gap: var(--spacing-xl);
    }

    .card-image {
        height: 180px;
    }

    .card-overlay {
        padding: var(--spacing-lg);
    }

    .card-stats {
        flex-direction: row;
        gap: var(--spacing-md);
    }

    .stat {
        padding: var(--spacing-sm);
    }

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

/* Modern CTA Section */
.modern-cta-section {
    position: relative;
    padding: var(--spacing-7xl) 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    overflow: hidden;
    color: white;
}

.cta-container {
    display: flex;
    align-items: center;
    gap: var(--spacing-4xl);
    position: relative;
    z-index: 2;
}

.cta-visual {
    flex-shrink: 0;
    position: relative;
}

.cta-icon {
    width: 140px;
    height: 140px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border: 3px solid rgba(255, 255, 255, 0.2);
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.2),
        inset 0 2px 0 rgba(255, 255, 255, 0.1);
}

.cta-icon i {
    font-size: 3.5rem;
    color: white;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.cta-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.particle {
    position: absolute;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.particle-1 {
    width: 8px;
    height: 8px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.particle-2 {
    width: 6px;
    height: 6px;
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.particle-3 {
    width: 10px;
    height: 10px;
    bottom: 25%;
    left: 80%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.6;
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
        opacity: 1;
    }
}

.cta-content {
    flex: 1;
    padding: var(--spacing-xl) 0;
}

.cta-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    color: white;
    padding: var(--spacing-xs) var(--spacing-lg);
    border-radius: 50px;
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-semibold);
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: var(--spacing-lg);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.cta-content h3 {
    font-size: var(--font-size-3xl);
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--spacing-2xl);
    line-height: var(--line-height-tight);
    color: white;
}

.cta-content p {
    font-size: var(--font-size-lg);
    line-height: var(--line-height-relaxed);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--spacing-4xl);
    max-width: 600px;
}

.cta-stats {
    display: flex;
    gap: var(--spacing-2xl);
    margin-bottom: var(--spacing-4xl);
}

.cta-stat {
    text-align: center;
    padding: var(--spacing-lg);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.2);
    min-width: 120px;
}

.cta-stat .stat-number {
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-bold);
    color: white;
    margin-bottom: var(--spacing-xs);
    display: block;
}

.cta-stat .stat-label {
    font-size: var(--font-size-sm);
    color: rgba(255, 255, 255, 0.8);
    font-weight: var(--font-weight-medium);
}

.cta-buttons {
    display: flex;
    gap: var(--spacing-lg);
    align-items: center;
}

.cta-primary-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-md);
    background: linear-gradient(135deg, #ffffff 0%, rgba(255, 255, 255, 0.9) 100%);
    color: var(--primary-color);
    padding: var(--spacing-lg) var(--spacing-2xl);
    border-radius: 50px;
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-bold);
    text-decoration: none;
    position: relative;
    overflow: hidden;
    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.15),
        0 4px 12px rgba(0, 114, 188, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.cta-primary-btn:hover {
    transform: translateY(-3px);
    box-shadow:
        0 12px 35px rgba(0, 0, 0, 0.2),
        0 6px 18px rgba(0, 114, 188, 0.3);
    color: var(--primary-dark);
}

.cta-primary-btn .btn-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 114, 188, 0.2), transparent);
    transition: left 0.6s ease;
}

.cta-primary-btn:hover .btn-glow {
    left: 100%;
}

.cta-primary-btn i {
    transition: transform 0.3s ease;
    position: relative;
    z-index: 2;
}

.cta-primary-btn:hover i {
    transform: translateX(4px);
}

.cta-primary-btn .btn-text,
.cta-primary-btn span:not(.btn-glow) {
    position: relative;
    z-index: 2;
}

.cta-secondary-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: white;
    padding: var(--spacing-lg) var(--spacing-xl);
    border-radius: 50px;
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-semibold);
    text-decoration: none;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.cta-secondary-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

.cta-secondary-btn i {
    font-size: var(--font-size-lg);
    transition: transform 0.3s ease;
}

.cta-secondary-btn:hover i {
    transform: scale(1.1);
}

.cta-background-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    pointer-events: none;
}

.pattern-shape {
    position: absolute;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
}

.shape-1 {
    width: 300px;
    height: 300px;
    top: -150px;
    right: -150px;
    animation: floatShape1 20s ease-in-out infinite;
}

.shape-2 {
    width: 200px;
    height: 200px;
    bottom: -100px;
    left: 10%;
    animation: floatShape2 25s ease-in-out infinite;
}

.shape-3 {
    width: 150px;
    height: 150px;
    top: 40%;
    left: -75px;
    animation: floatShape3 18s ease-in-out infinite;
}

@keyframes floatShape1 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, -30px) rotate(120deg); }
    66% { transform: translate(-20px, 20px) rotate(240deg); }
}

@keyframes floatShape2 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(-40px, -20px) rotate(180deg); }
}

@keyframes floatShape3 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(50px, 30px) rotate(90deg); }
    75% { transform: translate(20px, -40px) rotate(270deg); }
}

/* Responsive CTA */
@media (max-width: 992px) {
    .cta-container {
        flex-direction: column;
        text-align: center;
        gap: var(--spacing-4xl);
    }

    .cta-visual {
        order: 2;
    }

    .cta-content {
        order: 1;
        padding: var(--spacing-lg) 0;
    }

    .cta-content h3 {
        margin-bottom: var(--spacing-xl);
    }

    .cta-content p {
        margin-bottom: var(--spacing-3xl);
    }

    .cta-stats {
        justify-content: center;
        flex-wrap: nowrap;
        margin-bottom: var(--spacing-3xl);
    }

    .cta-buttons {
        justify-content: center;
        flex-wrap: nowrap;
    }
}

@media (max-width: 576px) {
    .modern-cta-section {
        padding: var(--spacing-5xl) 0;
    }

    .cta-content {
        padding: var(--spacing-md) 0;
    }

    .cta-content h3 {
        font-size: var(--font-size-2xl);
        margin-bottom: var(--spacing-lg);
    }

    .cta-content p {
        margin-bottom: var(--spacing-2xl);
        font-size: var(--font-size-base);
    }

    .cta-stats {
        gap: var(--spacing-lg);
        margin-bottom: var(--spacing-2xl);
    }

    .cta-stat {
        min-width: 100px;
        padding: var(--spacing-md);
    }

    .cta-buttons {
        flex-direction: column;
        gap: var(--spacing-md);
    }

    .cta-primary-btn,
    .cta-secondary-btn {
        width: 100%;
        justify-content: center;
        padding: var(--spacing-md) var(--spacing-lg);
    }
}

/* Performance Optimizations */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* GPU Acceleration for Key Elements */
.hero-section,
.modern-navbar,
.service-card,
.portfolio-slide,
.slide-cta,
.cta-primary-btn,
.cta-secondary-btn {
    transform: translateZ(0);
    backface-visibility: hidden;
}

/* Case Study Card */
.case-study-card {
    background: linear-gradient(135deg, var(--white) 0%, var(--gray-50) 100%);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-200);
    transition: all var(--transition-normal);
    cursor: pointer;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 500px;
}

.case-study-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-2xl);
    border-color: rgba(0, 114, 188, 0.2);
}

.case-study-card.featured {
    border: 2px solid var(--primary-color);
    box-shadow: var(--shadow-xl);
}

.case-study-card.featured::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: var(--primary-gradient);
    z-index: 2;
}

/* Case Study Header */
.case-study-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-md);
    background: rgba(0, 114, 188, 0.05);
    border-bottom: 1px solid rgba(0, 114, 188, 0.1);
}

.case-study-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    background: var(--primary-gradient);
    color: white;
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: var(--radius-lg);
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-medium);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.case-study-badge i {
    font-size: 12px;
}

.case-study-priority {
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    color: white;
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: var(--radius-lg);
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-semibold);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Case Study Visual */
.case-study-visual {
    position: relative;
    overflow: hidden;
}

.case-study-image {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
}

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

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

.case-study-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 114, 188, 0.8) 0%, rgba(0, 114, 188, 0.6) 100%);
    display: flex;
    align-items: flex-end;
    padding: var(--spacing-xl);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.case-study-card:hover .case-study-overlay {
    opacity: 1;
}

.case-study-stats {
    display: flex;
    gap: var(--spacing-lg);
    width: 100%;
}

.stat-highlight {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: var(--spacing-md);
    border-radius: var(--radius-lg);
    text-align: center;
    flex: 1;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-number {
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-bold);
    color: var(--primary-color);
    display: block;
    margin-bottom: var(--spacing-xs);
}

.stat-unit {
    font-size: var(--font-size-xs);
    color: var(--text-light);
    font-weight: var(--font-weight-medium);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Case Study Placeholder */
.case-study-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--gray-100) 0%, var(--gray-200) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    position: relative;
}

.case-study-placeholder i {
    font-size: var(--font-size-6xl);
    margin-bottom: var(--spacing-lg);
    opacity: 0.6;
}

.case-study-placeholder span {
    font-weight: var(--font-weight-medium);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: var(--font-size-sm);
}

/* Case Study Content */
.case-study-content {
    padding: var(--spacing-lg);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.case-study-title {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-bold);
    color: var(--text-color);
    margin-bottom: var(--spacing-lg);
    line-height: var(--line-height-snug);
}

/* Problem-Solution-Results Structure */
.case-study-problem,
.case-study-solution,
.case-study-results {
    margin-bottom: var(--spacing-lg);
}

.problem-label,
.solution-label {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-weight: var(--font-weight-semibold);
    font-size: var(--font-size-sm);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: var(--spacing-sm);
}

.problem-label {
    color: #dc3545;
}

.problem-label i {
    color: #dc3545;
}

.solution-label {
    color: var(--accent-color);
}

.solution-label i {
    color: var(--accent-color);
}

.case-study-problem p,
.case-study-solution p {
    color: var(--text-light);
    line-height: var(--line-height-relaxed);
    margin: 0;
    font-size: var(--font-size-sm);
}

/* Results Grid */
.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.result-item {
    text-align: center;
    padding: var(--spacing-lg);
    background: linear-gradient(135deg, rgba(0, 114, 188, 0.05) 0%, rgba(0, 114, 188, 0.02) 100%);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(0, 114, 188, 0.1);
}

.result-value {
    font-size: var(--font-size-3xl);
    font-weight: var(--font-weight-bold);
    color: var(--primary-color);
    display: block;
    margin-bottom: var(--spacing-xs);
}

.result-label {
    font-size: var(--font-size-xs);
    color: var(--text-light);
    font-weight: var(--font-weight-medium);
    line-height: var(--line-height-snug);
}

/* Technology Stack */
.case-study-technologies {
    margin-bottom: var(--spacing-xl);
}

.tech-label {
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-semibold);
    color: var(--text-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: var(--spacing-md);
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
}

.tech-tag {
    background: linear-gradient(135deg, var(--gray-200) 0%, var(--gray-300) 100%);
    color: var(--text-color);
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: var(--radius-lg);
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-medium);
    border: 1px solid var(--gray-300);
    transition: all var(--transition-fast);
}

.tech-tag:hover {
    background: var(--primary-gradient);
    color: white;
    transform: translateY(-1px);
}

/* Case Study CTA */
.case-study-cta {
    margin-top: auto;
}

.case-study-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    background: var(--primary-gradient);
    color: white;
    padding: var(--spacing-md) var(--spacing-xl);
    border-radius: var(--radius-full);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-semibold);
    text-decoration: none;
    border: 2px solid transparent;
    transition: all var(--transition-normal);
    cursor: pointer;
    width: 100%;
    justify-content: center;
}

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

.case-study-btn i {
    transition: transform var(--transition-normal);
}

.case-study-btn:hover i {
    transform: translateX(3px);
}

/* Client Testimonials */
.client-testimonials {
    margin-bottom: var(--spacing-6xl);
    position: relative;
    z-index: 1;
}

.testimonials-header {
    text-align: center;
    margin-bottom: var(--spacing-3xl);
}

.testimonials-header h3 {
    font-size: var(--font-size-4xl);
    font-weight: var(--font-weight-bold);
    color: var(--text-color);
    margin-bottom: var(--spacing-md);
}

.testimonials-header p {
    font-size: var(--font-size-lg);
    color: var(--text-light);
    max-width: 500px;
    margin: 0 auto;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: var(--spacing-2xl);
}

.testimonial-card {
    background: linear-gradient(135deg, var(--white) 0%, var(--gray-50) 100%);
    border-radius: var(--radius-2xl);
    padding: var(--spacing-3xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-200);
    transition: all var(--transition-normal);
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(0, 114, 188, 0.2);
}

.testimonial-content {
    position: relative;
}

.testimonial-quote {
    margin-bottom: var(--spacing-xl);
}

.testimonial-quote i {
    font-size: var(--font-size-4xl);
    color: var(--primary-color);
    opacity: 0.3;
    margin-bottom: var(--spacing-lg);
}

.testimonial-quote p {
    font-size: var(--font-size-base);
    color: var(--text-color);
    line-height: var(--line-height-relaxed);
    margin: 0;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.author-info {
    flex: 1;
}

.author-name {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-bold);
    color: var(--text-color);
    margin-bottom: var(--spacing-xs);
}

.author-position {
    font-size: var(--font-size-sm);
    color: var(--text-light);
    margin-bottom: var(--spacing-xs);
}

.author-company {
    font-size: var(--font-size-sm);
    color: var(--primary-color);
    font-weight: var(--font-weight-medium);
}

.author-rating {
    display: flex;
    gap: 2px;
    margin-left: var(--spacing-lg);
}

.author-rating i {
    color: #ffd700;
    font-size: var(--font-size-lg);
}

/* Success CTA Section */
.success-cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: var(--radius-2xl);
    padding: var(--spacing-5xl) var(--spacing-4xl);
    text-align: center;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.success-cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

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

.cta-content h3 {
    font-size: var(--font-size-4xl);
    font-weight: var(--font-weight-bold);
    color: white;
    margin-bottom: var(--spacing-lg);
    line-height: var(--line-height-tight);
}

.cta-content p {
    font-size: var(--font-size-lg);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--spacing-3xl);
    line-height: var(--line-height-relaxed);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: var(--spacing-lg);
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn {
    padding: var(--spacing-lg) var(--spacing-2xl);
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-semibold);
    border-radius: var(--radius-full);
    min-width: 200px;
    transition: all var(--transition-normal);
}

.cta-buttons .btn-primary {
    background: white;
    color: var(--primary-color);
    border: 2px solid white;
}

.cta-buttons .btn-primary:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.cta-buttons .btn-outline-primary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.cta-buttons .btn-outline-primary:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .case-studies-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-2xl);
    }

    .trust-metrics {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-lg);
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }

    .results-grid {
        grid-template-columns: 1fr;
    }

    .case-study-stats {
        flex-direction: column;
        gap: var(--spacing-md);
    }

    .testimonial-author {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--spacing-md);
    }

    .author-rating {
        margin-left: 0;
    }
}

@media (max-width: 480px) {
    .trust-metrics {
        grid-template-columns: 1fr;
    }

    .case-study-header {
        flex-direction: column;
        gap: var(--spacing-md);
        align-items: flex-start;
    }

    .tech-tags {
        justify-content: center;
    }

    .success-cta-section {
        padding: var(--spacing-3xl) var(--spacing-xl);
    }

    .cta-content h3 {
        font-size: var(--font-size-3xl);
    }
}

/* Enhanced Portfolio Section */
.portfolio-section {
    padding: var(--spacing-6xl) 0;
    background: linear-gradient(135deg, var(--white) 0%, var(--gray-50) 100%);
    position: relative;
    overflow: hidden;
}

.portfolio-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 30% 20%, rgba(0, 114, 188, 0.02) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(0, 212, 170, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: var(--spacing-3xl);
    margin-top: var(--spacing-5xl);
    position: relative;
    z-index: 1;
}

.portfolio-card {
    background: linear-gradient(135deg, var(--white) 0%, var(--gray-50) 100%);
    border-radius: var(--radius-2xl);
    overflow: hidden;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-200);
    cursor: pointer;
    height: 100%;
    position: relative;
}

.portfolio-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 114, 188, 0.05) 0%, rgba(0, 114, 188, 0.02) 100%);
    opacity: 0;
    transition: opacity var(--transition-normal);
    z-index: 1;
}

.portfolio-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-2xl);
    border-color: rgba(0, 114, 188, 0.2);
}

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

.portfolio-image {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
}

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

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

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 114, 188, 0.9) 0%, rgba(0, 114, 188, 0.7) 100%);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.stats-preview {
    display: flex;
    gap: 20px;
}

.stat-item {
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 12px;
    border-radius: 8px;
    backdrop-filter: blur(10px);
}

.stat-number {
    display: block;
    font-size: 1.2rem;
    font-weight: 700;
    color: white;
    line-height: 1.2;
}

.stat-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.portfolio-preview {
    align-self: flex-end;
}

.preview-button {
    background: white;
    color: var(--primary-color);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
}

.preview-button:hover {
    background: var(--primary-color);
    color: white;
}

.portfolio-content {
    padding: 25px;
}

.project-category {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-color);
    background: rgba(0, 114, 188, 0.1);
    padding: 4px 10px;
    border-radius: 12px;
    margin-bottom: 12px;
}

.project-category i {
    font-size: 12px;
}

.project-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 10px;
    line-height: 1.3;
}

.project-description {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 15px;
}

.project-metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.metric-badge {
    background: rgba(0, 114, 188, 0.1);
    color: var(--primary-color);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 10px;
    border: 1px solid rgba(0, 114, 188, 0.2);
}

.portfolio-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.portfolio-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 114, 188, 0.12);
    border-color: rgba(0, 114, 188, 0.15);
}

.portfolio-image {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
}

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

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 114, 188, 0.9);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: all 0.3s ease;
}

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

.portfolio-content {
    padding: 20px;
}

.project-category {
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
}

/* Contact Section */
.contact-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 30%, rgba(0, 114, 188, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 80% 70%, rgba(0, 114, 188, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.contact-header {
    text-align: center;
    margin-bottom: 80px;
}

.contact-header .section-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
    box-shadow: 0 4px 15px rgba(0, 114, 188, 0.3);
}

.contact-header h2 {
    font-size: 3.2rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 20px;
    line-height: 1.2;
}

.contact-header .section-description {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Contact Layout */
.contact-grid {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 40px;
    align-items: start;
}

/* Contact Info Card - Modern */
.contact-info-modern {
    background: white;
    border-radius: 16px;
    padding: 35px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.04);
    height: fit-content;
}

.contact-hero-section {
    text-align: center;
    margin-bottom: 30px;
}

.contact-hero-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(0, 114, 188, 0.1) 0%, rgba(0, 114, 188, 0.05) 100%);
    border: 2px solid rgba(0, 114, 188, 0.15);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: all 0.3s ease;
}

.contact-hero-section:hover .contact-hero-icon {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 114, 188, 0.2);
}

.contact-hero-icon i {
    font-size: 28px;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.contact-hero-section:hover .contact-hero-icon i {
    transform: scale(1.1);
}

.contact-hero-section h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 12px;
}

.contact-hero-section p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
}

.contact-info-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 30px;
}

.info-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: rgba(0, 114, 188, 0.02);
    border-radius: 12px;
    border: 1px solid rgba(0, 114, 188, 0.08);
    transition: all 0.3s ease;
}

.info-card:hover {
    background: rgba(0, 114, 188, 0.05);
    border-color: rgba(0, 114, 188, 0.15);
    transform: translateX(5px);
}

.info-card-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 114, 188, 0.3);
}

.info-card-icon i {
    font-size: 18px;
    color: white;
}

.info-card-content h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 4px;
    margin: 0 0 4px 0;
}

.info-card-content p {
    font-size: 0.85rem;
    color: var(--text-light);
    margin: 0;
    line-height: 1.4;
}

.contact-workflow {
    margin-bottom: 30px;
}

.contact-workflow h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 20px;
    text-align: center;
}

.workflow-steps {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.workflow-step {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: rgba(0, 114, 188, 0.02);
    border-radius: 10px;
    border: 1px solid rgba(0, 114, 188, 0.08);
}

.step-number {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    flex-shrink: 0;
}

.step-info h5 {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-color);
    margin: 0 0 2px 0;
}

.step-info p {
    font-size: 0.75rem;
    color: var(--text-light);
    margin: 0;
    line-height: 1.3;
}

.contact-connect {
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    padding-top: 24px;
}

.contact-connect h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 16px;
    text-align: center;
}

.social-links-modern {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.social-link-modern {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(0, 114, 188, 0.1) 0%, rgba(0, 114, 188, 0.05) 100%);
    border: 2px solid rgba(0, 114, 188, 0.15);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 114, 188, 0.1);
}

.social-link-modern:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 114, 188, 0.2);
    border-color: var(--primary-color);
}

.social-link-modern i {
    font-size: 20px;
}

.contact-info-header h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 16px;
}

.contact-info-header p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 1.1rem;
}

/* Contact Info List */
.contact-info-list {
    margin: 40px 0;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
    padding: 20px;
    background: rgba(0, 114, 188, 0.02);
    border-radius: 12px;
    border: 1px solid rgba(0, 114, 188, 0.05);
    transition: all 0.3s ease;
}

.info-item:hover {
    background: rgba(0, 114, 188, 0.05);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 114, 188, 0.1);
}

.info-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    margin-right: 20px;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(0, 114, 188, 0.3);
}

.info-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 4px;
}

.info-content p {
    color: var(--text-light);
    margin: 0;
    font-size: 1rem;
}

/* Contact Process */
.contact-process {
    margin: 40px 0;
}

.contact-process h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 24px;
}

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

.process-step {
    display: flex;
    align-items: center;
    padding: 20px;
    background: rgba(0, 114, 188, 0.02);
    border-radius: 12px;
    border: 1px solid rgba(0, 114, 188, 0.05);
    transition: all 0.3s ease;
}

.process-step:hover {
    background: rgba(0, 114, 188, 0.05);
    transform: translateY(-2px);
}

.step-number {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    margin-right: 20px;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(0, 114, 188, 0.3);
}

.step-info h5 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 4px;
}

.step-info p {
    color: var(--text-light);
    margin: 0 0 8px 0;
    font-size: 0.95rem;
    line-height: 1.4;
}

.step-duration {
    font-size: 0.85rem;
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Contact Social */
.contact-social {
    margin-top: 40px;
}

.contact-social h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 20px;
}

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

.social-link {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.social-link.linkedin {
    background: linear-gradient(135deg, #0077b5, #005885);
}

.social-link.instagram {
    background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.social-link.facebook {
    background: linear-gradient(135deg, #1877f2, #166fe5);
}

.social-link:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.social-link:active {
    transform: translateY(-2px) scale(0.98);
    transition: all var(--transition-fast);
}

/* Contact Form Card */
.contact-form-card {
    background: white;
    border-radius: 16px;
    padding: 35px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.04);
}

.form-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 12px;
}

.form-header p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 1.05rem;
}

/* Modern Form Styles */
.modern-form {
    margin-top: 40px;
}

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

.input-wrapper,
.textarea-wrapper {
    position: relative;
    margin-bottom: 32px;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 16px 0;
    border: none;
    border-bottom: 2px solid #e0e0e0;
    background: transparent;
    font-size: 16px;
    color: var(--text-color);
    transition: all 0.3s ease;
    outline: none;
}

.form-input:focus,
.form-textarea:focus {
    border-bottom-color: var(--primary-color);
    box-shadow: 0 2px 8px rgba(0, 114, 188, 0.15);
    transform: translateY(-1px);
}

.form-input:focus + .form-label,
.form-textarea:focus + .form-label {
    color: var(--primary-color);
    transform: translateY(-2px);
}

.form-label {
    position: absolute;
    top: 16px;
    left: 0;
    color: var(--text-light);
    font-size: 16px;
    transition: all 0.3s ease;
    pointer-events: none;
}

.form-input:focus + .form-label,
.form-input:not(:placeholder-shown) + .form-label,
.form-textarea:focus + .form-label,
.form-textarea:not(:placeholder-shown) + .form-label {
    top: -8px;
    font-size: 12px;
    color: var(--primary-color);
    font-weight: 600;
}

.input-line,
.textarea-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    transition: width 0.3s ease;
}

.form-input:focus ~ .input-line,
.form-textarea:focus ~ .textarea-line {
    width: 100%;
}

/* Select Styles */
.select-wrapper {
    position: relative;
    margin-bottom: 32px;
}

.form-select {
    width: 100%;
    padding: 16px 0;
    border: none;
    border-bottom: 2px solid #e0e0e0;
    background: transparent;
    font-size: 16px;
    color: var(--text-color);
    appearance: none;
    outline: none;
    transition: all 0.3s ease;
}

.form-select:focus {
    border-bottom-color: var(--primary-color);
}

.select-arrow {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
    transition: all 0.3s ease;
}

.form-select:focus + .select-arrow {
    color: var(--primary-color);
}

/* Checkbox Styles */
.checkbox-wrapper {
    display: flex;
    align-items: flex-start;
    margin-bottom: 32px;
}

.form-checkbox {
    width: 18px;
    height: 18px;
    margin-right: 12px;
    margin-top: 2px;
    accent-color: var(--primary-color);
}

.checkbox-label {
    color: var(--text-light);
    line-height: 1.5;
    font-size: 14px;
}

.privacy-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.privacy-link:hover {
    text-decoration: underline;
}

/* Submit Button */
.form-actions {
    margin-top: 40px;
}

.submit-button {
    width: 100%;
    padding: 18px 32px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 114, 188, 0.3);
    position: relative;
    overflow: hidden;
}

.submit-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.submit-button:hover::before {
    left: 100%;
}

.submit-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 114, 188, 0.4);
}

.button-icon {
    transition: transform 0.3s ease;
}

.submit-button:hover .button-icon {
    transform: translateX(5px);
}

/* Responsive Design */
@media (max-width: 992px) {
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-info-card,
    .contact-form-card {
        padding: 40px;
    }
}

@media (max-width: 768px) {
    .contact-section {
        padding: 60px 0;
    }

    .contact-header h2 {
        font-size: 2.2rem;
    }

    .contact-info-modern,
    .contact-form-card {
        padding: 25px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contact-hero-section h3 {
        font-size: 1.3rem;
    }

    .workflow-steps {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .social-links-modern {
        gap: 12px;
    }

    .social-link-modern {
        width: 45px;
        height: 45px;
    }

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

    .process-step {
        flex-direction: column;
        text-align: center;
    }

    .step-number {
        margin-right: 0;
        margin-bottom: 15px;
    }

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

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

.form-control {
    border: 1px solid #e0e0e0;
    padding: 12px 16px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 114, 188, 0.1);
}

/* Professional Modal System */
.professional-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: var(--z-modal);
    align-items: flex-start;
    justify-content: center;
    padding: var(--spacing-4xl) var(--spacing-lg);
    overflow-y: auto;
}

.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(12px);
    animation: fadeIn 0.3s ease;
}

.modal-wrapper {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: var(--spacing-4xl) auto;
    z-index: var(--z-modal);
}

.modal-dialog {
    background: var(--white);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-2xl);
    overflow: hidden;
    animation: slideInUp 0.4s ease;
    opacity: 0;
    transform: translateY(40px) scale(0.95);
    transition: all 0.3s ease;
}

.professional-modal.modal-visible .modal-dialog {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Modal Header */
.modal-header-professional {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: var(--spacing-4xl);
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--white) 100%);
    border-bottom: 1px solid var(--gray-200);
}

.modal-title-section {
    flex: 1;
}

.modal-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    background: var(--primary-gradient);
    color: white;
    padding: var(--spacing-xs) var(--spacing-lg);
    border-radius: var(--radius-full);
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-medium);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: var(--spacing-lg);
}

.modal-badge i {
    font-size: 12px;
}

.modal-title {
    font-size: var(--font-size-4xl);
    font-weight: var(--font-weight-extrabold);
    color: var(--text-color);
    margin-bottom: var(--spacing-sm);
    line-height: var(--line-height-tight);
}

.modal-subtitle {
    font-size: var(--font-size-lg);
    color: var(--text-light);
    margin: 0;
    line-height: var(--line-height-relaxed);
}

.modal-close-professional {
    background: none;
    border: none;
    width: 48px;
    height: 48px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: var(--font-size-lg);
    cursor: pointer;
    transition: all var(--transition-normal);
    margin-left: var(--spacing-lg);
}

.modal-close-professional:hover {
    background: var(--gray-100);
    color: var(--text-color);
    transform: rotate(90deg);
}

/* Modal Body */
.modal-body-professional {
    padding: 0;
}

/* Hero Visual Section */
.modal-hero-visual {
    position: relative;
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--gray-100) 100%);
}

.project-visual-container {
    position: relative;
}

.project-main-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
    position: relative;
}

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

.project-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 114, 188, 0.1) 0%, rgba(0, 114, 188, 0.05) 100%);
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    padding: var(--spacing-2xl);
}

.project-status-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: var(--radius-full);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    box-shadow: var(--shadow-lg);
}

.project-status-badge i {
    font-size: var(--font-size-sm);
}

.project-meta-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-lg);
    padding: var(--spacing-3xl);
    background: var(--white);
    border-top: 1px solid var(--gray-200);
}

.meta-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    color: var(--text-light);
    font-size: var(--font-size-sm);
}

.meta-item i {
    color: var(--primary-color);
    font-size: var(--font-size-lg);
    width: 20px;
    text-align: center;
}

/* Metrics Section */
.modal-metrics-section {
    padding: var(--spacing-5xl) var(--spacing-4xl);
    background: var(--white);
    border-bottom: 1px solid var(--gray-100);
}

.section-heading {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-bold);
    color: var(--text-color);
    margin-bottom: var(--spacing-3xl);
}

.section-heading i {
    color: var(--primary-color);
    font-size: var(--font-size-xl);
}

.metrics-dashboard {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-2xl);
}

.metric-card-professional {
    background: linear-gradient(135deg, var(--white) 0%, var(--gray-50) 100%);
    border-radius: var(--radius-xl);
    padding: var(--spacing-3xl);
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.metric-card-professional:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.metric-card-professional::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-gradient);
    transform: scaleX(0);
    transition: transform var(--transition-normal);
}

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

.metric-visual {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.metric-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-gradient);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: var(--font-size-lg);
    flex-shrink: 0;
    align-self: flex-start;
}

.metric-chart {
    flex: 1;
    width: 100%;
    height: 12px;
    background: var(--gray-200);
    border-radius: var(--radius-full);
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
}

.chart-bar {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background: var(--primary-gradient);
    border-radius: var(--radius-full);
    transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: left;
    box-shadow:
        0 1px 3px rgba(0, 114, 188, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.chart-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    border-radius: var(--radius-full);
}

.metric-content {
    flex: 1;
}

.metric-value {
    font-size: var(--font-size-4xl);
    font-weight: var(--font-weight-extrabold);
    color: var(--primary-color);
    margin-bottom: var(--spacing-xs);
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.metric-label {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-semibold);
    color: var(--text-color);
    margin-bottom: var(--spacing-xs);
}

.metric-description {
    font-size: var(--font-size-sm);
    color: var(--text-light);
    line-height: var(--line-height-relaxed);
    margin: 0;
}

/* Narrative Section */
.modal-narrative-section {
    padding: var(--spacing-5xl) var(--spacing-4xl);
    background: var(--gray-50);
}

.narrative-content {
    max-width: none;
}

.narrative-challenge,
.narrative-solution,
.narrative-results {
    margin-bottom: var(--spacing-4xl);
}

.narrative-challenge h4,
.narrative-solution h4,
.narrative-results h4 {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--spacing-lg);
}

.narrative-challenge h4 {
    color: #dc3545;
}

.narrative-challenge h4 i {
    color: #dc3545;
}

.narrative-solution h4 {
    color: var(--accent-color);
}

.narrative-solution h4 i {
    color: var(--accent-color);
}

.narrative-results h4 {
    color: var(--primary-color);
}

.narrative-results h4 i {
    color: var(--primary-color);
}

.narrative-challenge p,
.narrative-solution p {
    font-size: var(--font-size-base);
    line-height: var(--line-height-relaxed);
    color: var(--text-color);
    margin: 0;
}

.results-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-xl);
    margin-top: var(--spacing-xl);
}

.result-highlight {
    display: flex;
    gap: var(--spacing-lg);
    padding: var(--spacing-xl);
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    transition: all var(--transition-normal);
}

.result-highlight:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.highlight-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: var(--primary-gradient);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: var(--font-size-lg);
}

.highlight-content h5 {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-semibold);
    color: var(--text-color);
    margin-bottom: var(--spacing-sm);
}

.highlight-content p {
    font-size: var(--font-size-sm);
    color: var(--text-light);
    line-height: var(--line-height-relaxed);
    margin: 0;
}

/* Technology Section */
.modal-tech-section {
    padding: var(--spacing-5xl) var(--spacing-4xl);
    background: var(--white);
    border-top: 1px solid var(--gray-100);
}

.tech-section-title {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-bold);
    color: var(--text-color);
    margin-bottom: var(--spacing-3xl);
}

.tech-section-title i {
    color: var(--primary-color);
}

.tech-stack-professional {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-2xl);
}

.tech-category {
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--white) 100%);
    padding: var(--spacing-2xl);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    transition: all var(--transition-normal);
}

.tech-category:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.tech-category h5 {
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-semibold);
    color: var(--primary-color);
    margin-bottom: var(--spacing-lg);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tech-items {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
}

.tech-item-pro {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: var(--radius-lg);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    transition: all var(--transition-fast);
}

.tech-item-pro:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

/* Testimonial Section */
.modal-testimonial-section {
    padding: var(--spacing-5xl) var(--spacing-4xl);
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--gray-100) 100%);
    border-top: 1px solid var(--gray-200);
}

.client-testimonial-professional {
    background: var(--white);
    padding: var(--spacing-4xl);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-200);
}

.testimonial-quote {
    margin-bottom: var(--spacing-2xl);
}

.testimonial-quote i {
    font-size: var(--font-size-4xl);
    color: var(--primary-color);
    opacity: 0.3;
    margin-bottom: var(--spacing-lg);
}

.testimonial-quote p {
    font-size: var(--font-size-lg);
    color: var(--text-color);
    line-height: var(--line-height-relaxed);
    font-style: italic;
    margin: 0;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--spacing-xl);
}

.author-avatar {
    width: 80px;
    height: 80px;
    background: var(--primary-gradient);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: var(--font-size-3xl);
    flex-shrink: 0;
    box-shadow: var(--shadow-lg);
}

.author-details {
    flex: 1;
}

.author-name {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-bold);
    color: var(--text-color);
    margin-bottom: var(--spacing-xs);
}

.author-position {
    font-size: var(--font-size-base);
    color: var(--text-light);
    margin-bottom: var(--spacing-xs);
}

.author-company {
    font-size: var(--font-size-sm);
    color: var(--primary-color);
    font-weight: var(--font-weight-medium);
    margin-bottom: var(--spacing-lg);
}

.author-rating {
    display: flex;
    gap: 2px;
}

.author-rating i {
    color: #ffd700;
    font-size: var(--font-size-lg);
}

/* Modal Footer */
.modal-footer-professional {
    padding: var(--spacing-3xl) var(--spacing-4xl);
    background: var(--gray-50);
    border-top: 1px solid var(--gray-200);
    display: flex;
    justify-content: center;
}

.modal-actions {
    display: flex;
    gap: var(--spacing-lg);
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.btn-outline-professional {
    padding: var(--spacing-lg) var(--spacing-2xl);
    border: 2px solid var(--gray-300);
    background: transparent;
    color: var(--text-color);
    border-radius: var(--radius-full);
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-medium);
    cursor: pointer;
    transition: all var(--transition-normal);
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    text-decoration: none;
}

.btn-outline-professional:hover {
    background: var(--gray-100);
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.btn-primary-professional {
    padding: var(--spacing-lg) var(--spacing-2xl);
    background: var(--primary-gradient);
    color: white;
    border: 2px solid transparent;
    border-radius: var(--radius-full);
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-medium);
    cursor: pointer;
    transition: all var(--transition-normal);
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    text-decoration: none;
    box-shadow: var(--shadow-lg);
}

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

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

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .professional-modal {
        padding: var(--spacing-lg);
    }

    .modal-wrapper {
        margin: var(--spacing-lg) auto;
    }

    .modal-header-professional {
        padding: var(--spacing-2xl);
        flex-direction: column;
        align-items: flex-start;
        gap: var(--spacing-lg);
    }

    .modal-title {
        font-size: var(--font-size-3xl);
    }

    .modal-hero-visual,
    .modal-metrics-section,
    .modal-narrative-section,
    .modal-tech-section,
    .modal-testimonial-section {
        padding-left: var(--spacing-2xl);
        padding-right: var(--spacing-2xl);
    }

    .metrics-dashboard {
        grid-template-columns: 1fr;
    }

    .results-highlights {
        grid-template-columns: 1fr;
    }

    .tech-stack-professional {
        grid-template-columns: 1fr;
    }

    .testimonial-author {
        flex-direction: column;
        text-align: center;
        gap: var(--spacing-lg);
    }

    .modal-actions {
        flex-direction: column;
        width: 100%;
    }

    .btn-outline-professional,
    .btn-primary-professional {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .project-meta-info {
        grid-template-columns: 1fr;
        padding: var(--spacing-xl);
    }

    .modal-header-professional,
    .modal-hero-visual,
    .modal-metrics-section,
    .modal-narrative-section,
    .modal-tech-section,
    .modal-testimonial-section,
    .modal-footer-professional {
        padding-left: var(--spacing-lg);
        padding-right: var(--spacing-lg);
    }

    .modal-title {
        font-size: var(--font-size-2xl);
    }

    .metric-card-professional {
        padding: var(--spacing-xl);
    }

    .metric-visual {
        flex-direction: column;
        text-align: center;
        gap: var(--spacing-md);
    }

    .metric-chart {
        width: 100%;
        height: 8px;
    }

    .chart-bar {
        height: 8px;
    }

    .result-highlight {
        flex-direction: column;
        text-align: center;
        gap: var(--spacing-md);
    }
}

/* ===== ENHANCED MODAL RESPONSIVE DESIGN ===== */

/* Tablet responsive (991px and below) - Enhanced */
@media (max-width: 991px) {
    .professional-modal {
        padding: var(--spacing-2xl) var(--spacing-lg);
    }

    .modal-wrapper {
        max-width: 90%;
        margin: var(--spacing-2xl) auto;
    }

    .modal-dialog {
        border-radius: var(--radius-xl);
    }

    .modal-header-professional {
        padding: var(--spacing-xl);
    }

    .modal-title-section {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--spacing-md);
    }

    .modal-title {
        font-size: var(--font-size-xl);
    }

    .modal-subtitle {
        font-size: var(--font-size-sm);
    }

    .modal-body-professional {
        padding: var(--spacing-xl);
    }

    .modal-hero-visual {
        margin-bottom: var(--spacing-2xl);
    }

    .project-main-image {
        height: 300px;
    }

    .modal-metrics-section {
        margin-bottom: var(--spacing-2xl);
    }

    .metrics-dashboard {
        display: grid;
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
        max-width: 100%;
    }

    .modal-narrative-section,
    .modal-tech-section {
        margin-bottom: var(--spacing-2xl);
    }

    .modal-testimonial-section {
        margin-bottom: var(--spacing-2xl);
    }

    .modal-footer-professional {
        padding: var(--spacing-xl);
        flex-direction: row;
        justify-content: center;
        gap: var(--spacing-md);
    }

    .modal-actions {
        width: auto;
    }

    .btn-outline-professional,
    .btn-primary-professional {
        width: auto;
        min-width: 140px;
    }
}

/* Mobile responsive (767px and below) - Enhanced */
@media (max-width: 767px) {
    .professional-modal {
        padding: var(--spacing-lg) var(--spacing-sm);
        align-items: flex-start;
        padding-top: var(--spacing-3xl);
        justify-content: flex-start;
    }

    .modal-wrapper {
        max-width: 95%;
        margin: var(--spacing-lg) auto;
        z-index: calc(var(--z-modal) + 1);
    }

    .modal-dialog {
        z-index: calc(var(--z-modal) + 2);
    }

    .modal-backdrop {
        z-index: var(--z-modal);
    }

    .modal-dialog {
        border-radius: var(--radius-lg);
    }

    .modal-header-professional {
        padding: var(--spacing-lg);
        position: relative;
    }

    .modal-title-section {
        text-align: center;
        width: 100%;
    }

    .modal-title {
        font-size: var(--font-size-lg);
    }

    .modal-subtitle {
        font-size: var(--font-size-xs);
    }

    .modal-close-professional {
        top: var(--spacing-md);
        right: var(--spacing-md);
        width: 40px;
        height: 40px;
        margin-left: 0;
    }

    .modal-body-professional {
        padding: var(--spacing-lg);
    }

    .modal-hero-visual {
        margin-bottom: var(--spacing-xl);
    }

    .project-main-image {
        height: 250px;
    }

    .project-meta-info {
        flex-direction: column;
        gap: var(--spacing-sm);
        text-align: center;
    }

    .modal-metrics-section {
        margin-bottom: var(--spacing-xl);
    }

    .metrics-dashboard {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .metric-card-professional {
        padding: var(--spacing-xl);
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: var(--spacing-lg);
    }

    .metric-visual {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: var(--spacing-md);
        width: 100%;
        margin-bottom: var(--spacing-md);
    }

    .metric-icon {
        width: 60px;
        height: 60px;
        margin-bottom: var(--spacing-sm);
    }

    .metric-chart {
        width: 100%;
        height: 8px;
        max-width: 200px;
    }

    .metric-value {
        font-size: var(--font-size-lg);
    }

    .metric-label {
        font-size: var(--font-size-sm);
    }

    .modal-narrative-section,
    .modal-tech-section {
        margin-bottom: var(--spacing-xl);
    }

    .narrative-challenge,
    .narrative-solution,
    .narrative-results {
        padding: var(--spacing-lg);
    }

    .tech-stack-professional {
        gap: var(--spacing-lg);
        flex-wrap: wrap;
        justify-content: center;
    }

    .tech-category {
        flex: 1 1 100%;
        min-width: 200px;
    }

    .tech-item-pro {
        font-size: var(--font-size-sm);
        padding: var(--spacing-sm) var(--spacing-md);
    }

    .modal-testimonial-section {
        margin-bottom: var(--spacing-xl);
    }

    .client-testimonial-professional {
        padding: var(--spacing-lg);
        text-align: center;
    }

    .author-info {
        flex-direction: column;
        gap: var(--spacing-sm);
    }

    .modal-footer-professional {
        padding: var(--spacing-lg);
        flex-direction: column;
        gap: var(--spacing-md);
    }

    .modal-actions {
        width: 100%;
        justify-content: center;
    }

    .btn-outline-professional,
    .btn-primary-professional {
        width: 100%;
        max-width: 300px;
        justify-content: center;
        margin: 0 auto;
    }
}

/* Small mobile responsive (576px and below) - Enhanced */
@media (max-width: 576px) {
    .professional-modal {
        padding: var(--spacing-md) var(--spacing-xs);
        padding-top: var(--spacing-4xl);
        align-items: flex-start;
        justify-content: flex-start;
    }

    .modal-wrapper {
        max-width: 100%;
        margin: var(--spacing-lg) auto var(--spacing-lg);
        z-index: calc(var(--z-modal) + 1);
    }

    .modal-dialog {
        z-index: calc(var(--z-modal) + 2);
    }

    .modal-backdrop {
        z-index: var(--z-modal);
    }

    .modal-dialog {
        border-radius: var(--radius-md);
    }

    .modal-header-professional {
        padding: var(--spacing-md);
    }

    .modal-title {
        font-size: var(--font-size-base);
    }

    .modal-subtitle {
        font-size: var(--font-size-xs);
    }

    .modal-close-professional {
        width: 36px;
        height: 36px;
        margin-left: var(--spacing-sm);
    }

    .modal-body-professional {
        padding: var(--spacing-md);
    }

    .modal-hero-visual {
        margin-bottom: var(--spacing-lg);
    }

    .project-main-image {
        height: 200px;
    }

    .project-status-badge {
        padding: var(--spacing-xs) var(--spacing-sm);
        font-size: var(--font-size-xs);
    }

    .project-meta-info {
        flex-direction: column;
        gap: var(--spacing-sm);
        align-items: center;
        text-align: center;
    }

    .modal-metrics-section {
        margin-bottom: var(--spacing-lg);
    }

    .metric-card-professional {
        padding: var(--spacing-md);
    }

    .metric-visual {
        height: 6px;
        margin-bottom: var(--spacing-sm);
    }

    .metric-value {
        font-size: var(--font-size-base);
    }

    .metric-label {
        font-size: var(--font-size-xs);
    }

    .modal-narrative-section,
    .modal-tech-section {
        margin-bottom: var(--spacing-lg);
    }

    .narrative-challenge,
    .narrative-solution,
    .narrative-results {
        padding: var(--spacing-md);
    }

    .narrative-title {
        font-size: var(--font-size-sm);
    }

    .narrative-text {
        font-size: var(--font-size-sm);
        line-height: 1.5;
    }

    .results-highlights {
        gap: var(--spacing-sm);
        grid-template-columns: 1fr;
        justify-items: center;
    }

    .highlight-item {
        padding: var(--spacing-sm);
        font-size: var(--font-size-xs);
        text-align: center;
        width: 100%;
    }

    .tech-stack-professional {
        display: grid;
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
        max-width: 100%;
    }

    .tech-category {
        text-align: center;
        padding: var(--spacing-lg);
        border: 1px solid var(--gray-200);
        border-radius: var(--radius-lg);
        background: var(--gray-50);
    }

    .tech-category h5 {
        font-size: var(--font-size-base);
        margin-bottom: var(--spacing-md);
        color: var(--primary-color);
    }

    .tech-items {
        display: flex;
        flex-wrap: wrap;
        gap: var(--spacing-sm);
        justify-content: center;
    }

    .tech-item-pro {
        font-size: var(--font-size-xs);
        padding: var(--spacing-xs) var(--spacing-sm);
    }

    .modal-testimonial-section {
        margin-bottom: var(--spacing-lg);
    }

    .client-testimonial-professional {
        padding: var(--spacing-md);
        text-align: center;
    }

    .testimonial-quote {
        font-size: var(--font-size-sm);
    }

    .author-avatar {
        width: 50px;
        height: 50px;
    }

    .author-info {
        flex-direction: column;
        gap: var(--spacing-sm);
    }

    .author-name {
        font-size: var(--font-size-sm);
    }

    .author-position {
        font-size: var(--font-size-xs);
    }

    .modal-footer-professional {
        padding: var(--spacing-md);
    }

    .btn-outline-professional,
    .btn-primary-professional {
        padding: var(--spacing-sm) var(--spacing-lg);
        font-size: var(--font-size-sm);
        width: 100%;
        justify-content: center;
    }

    .card-btn {
        padding: var(--spacing-sm) var(--spacing-md);
        font-size: var(--font-size-xs);
        width: 100%;
        justify-content: center;
        cursor: pointer;
        z-index: 10;
        position: relative;
    }
}

/* Legacy Modal Support - Remove when all modals are updated */
.custom-modal {
    display: none;
}

/* Stats and Achievement Cards */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    text-align: center;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 114, 188, 0.1);
    border-color: rgba(0, 114, 188, 0.15);
}

.stat-card i {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.stat-card h4 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.stat-card p {
    font-size: 0.9rem;
    color: var(--text-color);
    font-weight: 600;
    margin-bottom: 8px;
}

.stat-card small {
    font-size: 0.8rem;
    color: var(--text-light);
    line-height: 1.4;
}

/* Enhanced Process Timeline */
.process-grid {
    margin-top: var(--spacing-5xl);
    position: relative;
    z-index: 1;
}

.process-cards {
    /* Removed grid layout - now using Bootstrap grid */
}

.process-card {
    background: white;
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.04);
}

.process-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 114, 188, 0.12);
    border-color: rgba(0, 114, 188, 0.15);
}

.process-card-icon {
    position: relative;
    margin-bottom: 20px;
}

.process-card .icon-circle {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    background: linear-gradient(135deg, rgba(0, 114, 188, 0.1) 0%, rgba(0, 114, 188, 0.05) 100%);
    border: 2px solid rgba(0, 114, 188, 0.1);
}

.process-card .icon-circle i {
    font-size: 24px;
    color: var(--primary-color);
}

.process-card .step-number {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--primary-color);
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
}

.process-card-content h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 10px;
}

.process-card-content p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.5;
}

.timeline-content {
    background-color: white;
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

/* Value Cards */
.value-card {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 25px;
    box-shadow: var(--box-shadow);
    height: 100%;
    transition: var(--transition);
    border-top: 3px solid var(--primary-color);
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 114, 188, 0.15);
}

.value-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(0, 114, 188, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.value-icon i {
    font-size: 24px;
    color: var(--primary-color);
}

/* Why Choose Us Section */
.why-choose-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.why-choose-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(0, 114, 188, 0.03) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(0, 114, 188, 0.02) 0%, transparent 50%);
    pointer-events: none;
}

.why-choose-header {
    text-align: center;
    margin-bottom: 80px;
}

.why-choose-header .section-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
    box-shadow: 0 4px 15px rgba(0, 114, 188, 0.3);
}

.why-choose-header h2 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 20px;
    line-height: 1.2;
}

.section-description {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Features Grid */
.features-grid {
    /* Removed grid layout - now using Bootstrap grid */
}

.feature-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 114, 188, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

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

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 114, 188, 0.15);
}

.feature-icon-wrapper {
    position: relative;
    margin-bottom: 30px;
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 32px;
    position: relative;
    z-index: 2;
    box-shadow: 0 8px 25px rgba(0, 114, 188, 0.3);
}

.feature-accent {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 40px;
    height: 40px;
    background: rgba(0, 114, 188, 0.1);
    border-radius: 50%;
    z-index: 1;
}

.feature-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 16px;
}

.feature-content p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 24px;
}

.feature-benefits {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-benefits li {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    color: var(--text-color);
    font-weight: 500;
}

.feature-benefits li i {
    color: var(--primary-color);
    margin-right: 12px;
    font-size: 16px;
}

/* Stats Showcase */
.stats-showcase {
    background: white;
    border-radius: 20px;
    padding: 60px 40px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 114, 188, 0.08);
}

.stats-container {
    /* Removed grid layout - now using Bootstrap grid */
    text-align: center;
}

.stat-item {
    position: relative;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 8px;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
}

.counter {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-plus,
.stat-percent {
    font-size: 2rem;
    color: var(--primary-color);
    font-weight: 600;
}

.stat-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-description {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.5;
}

/* Responsive Design for Why Choose Section */
@media (max-width: 768px) {
    .why-choose-header h2 {
        font-size: 2.2rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-bottom: 60px;
    }

    .feature-card {
        padding: 30px;
    }

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

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

@media (max-width: 480px) {
    .stats-container {
        grid-template-columns: 1fr;
    }

    .why-choose-section {
        padding: 60px 0;
    }

    .why-choose-header {
        margin-bottom: 50px;
    }

    .why-choose-header h2 {
        font-size: 1.8rem;
    }
}

/* Modern Footer */
.modern-footer {
    background: linear-gradient(135deg, #0f1419 0%, #1a1a1a 100%);
    color: #ffffff;
    position: relative;
    overflow: hidden;
    margin-top: 40px;
}

.modern-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
}

.footer-main {
    padding: 80px 0 40px;
}

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

.footer-section {
    min-height: 200px;
}

/* Footer About */
.footer-about {
    position: relative;
}

.footer-logo-wrapper {
    position: relative;
    margin-bottom: 24px;
}

.footer-logo {
    height: 60px;
    width: auto;
    filter: brightness(0) invert(1);
}

.brand-accent {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    border-radius: 50%;
}

.footer-description {
    color: #cccccc;
    line-height: 1.6;
    margin-bottom: 30px;
    font-size: 1rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #cccccc;
    font-size: 0.95rem;
}

.contact-item i {
    color: var(--primary-color);
    width: 18px;
    text-align: center;
}

/* Footer Links */
.footer-links,
.footer-services {
    display: flex;
    flex-direction: column;
}

.footer-title {
    color: #ffffff;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 24px;
    position: relative;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

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

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

.footer-nav a {
    color: #cccccc;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 0;
}

.footer-nav a:hover {
    color: var(--primary-color);
    padding-left: 8px;
}

.footer-nav a::before {
    content: '';
    position: absolute;
    left: -12px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 1px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.footer-nav a:hover::before {
    width: 8px;
}

/* Newsletter Section */
.footer-newsletter {
    display: flex;
    flex-direction: column;
}

.newsletter-text {
    color: #cccccc;
    line-height: 1.6;
    margin-bottom: 24px;
    font-size: 0.95rem;
}

.newsletter-form {
    margin-bottom: 32px;
}

.newsletter-form-element {
    margin: 0;
    padding: 0;
}

.newsletter-input-group {
    position: relative;
    display: flex;
    align-items: center;
    max-width: 400px;
}

.newsletter-input {
    flex: 1;
    padding: 16px 140px 16px 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    color: #ffffff;
    font-size: 0.95rem;
    outline: none;
    transition: all 0.3s ease;
}

.newsletter-input::placeholder {
    color: #aaaaaa;
}

.newsletter-input:focus {
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.15);
}

.newsletter-submit {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary-color);
    border: none;
    padding: 12px 24px;
    border-radius: 50px;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-text {
    display: inline;
}

@media (max-width: 480px) {
    .btn-text {
        display: none;
    }

    .newsletter-submit {
        padding: 12px 16px;
    }
}

.newsletter-submit:hover {
    background: var(--primary-dark);
    transform: translateY(-50%) scale(1.05);
}

/* Footer Social */
.footer-social h5 {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 16px;
}

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

.social-link {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.social-link.linkedin {
    background: linear-gradient(135deg, #0077b5, #005885);
}

.social-link.instagram {
    background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.social-link.facebook {
    background: linear-gradient(135deg, #1877f2, #166fe5);
}

.social-link.twitter {
    background: linear-gradient(135deg, #1da1f2, #0d95e8);
}

.social-link:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 24px 0;
    background: rgba(0, 0, 0, 0.2);
}

.footer-bottom-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.copyright {
    flex: 1;
}

.copyright p {
    color: #cccccc;
    margin: 0;
    font-size: 0.9rem;
}

.footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.footer-bottom-links a {
    color: #cccccc;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

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

.separator {
    color: #666666;
    font-size: 0.8rem;
}

.footer-badge {
    flex-shrink: 0;
}

.badge-text {
    color: #cccccc;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 4px;
}

.badge-text i {
    color: #e74c3c;
}

/* Responsive Footer */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .footer-about {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .footer-main {
        padding: 60px 0 30px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-section {
        text-align: center;
        min-height: auto;
    }

    .contact-info {
        align-items: center;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }

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

    .newsletter-input-group {
        max-width: 100%;
    }

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

@media (max-width: 480px) {
    .footer-bottom-links {
        flex-direction: column;
        gap: 8px;
    }

    .newsletter-input {
        font-size: 16px; /* Prevent zoom on iOS */
    }
}

/* Trust Indicators */
.trust-badge {
    display: inline-flex;
    align-items: center;
    background-color: rgba(0, 114, 188, 0.08);
    color: var(--primary-color);
    font-size: 13px;
    padding: 6px 12px;
    border-radius: 4px;
    margin-bottom: 15px;
}

.trust-badge i {
    margin-right: 8px;
    font-size: 14px;
}

/* Enhanced Process Section */
.process-section {
    padding: var(--spacing-6xl) 0;
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--white) 100%);
    position: relative;
    overflow: hidden;
}

.process-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 40% 30%, rgba(0, 114, 188, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 60% 70%, rgba(0, 212, 170, 0.02) 0%, transparent 50%);
    pointer-events: none;
}

.process-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(0, 114, 188, 0.03) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(0, 114, 188, 0.02) 0%, transparent 50%);
    pointer-events: none;
}

.process-header {
    text-align: center;
    margin-bottom: 80px;
}

.process-header .section-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
    box-shadow: 0 4px 15px rgba(0, 114, 188, 0.3);
}

.process-header h2 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 20px;
    line-height: 1.2;
}

.process-header .section-description {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Process Timeline */
.process-timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.timeline-connector {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary-color), var(--primary-light));
    border-radius: 2px;
    z-index: 1;
}

.process-steps {
    position: relative;
    z-index: 2;
}

.process-step {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 80px;
    position: relative;
}

.process-step.right {
    justify-content: flex-end;
}

.step-content-wrapper {
    display: flex;
    align-items: center;
    gap: 40px;
    max-width: 500px;
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 114, 188, 0.08);
    position: relative;
    transition: all 0.3s ease;
}

.step-content-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 80px rgba(0, 114, 188, 0.12);
}

.process-step.right .step-content-wrapper {
    flex-direction: row-reverse;
}

.step-icon {
    position: relative;
    flex-shrink: 0;
}

.icon-circle {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    position: relative;
    z-index: 2;
    box-shadow: 0 8px 25px rgba(0, 114, 188, 0.3);
    transition: all 0.3s ease;
}

.step-content-wrapper:hover .icon-circle {
    transform: scale(1.1);
}

.step-number {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 30px;
    height: 30px;
    background: white;
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    border: 3px solid var(--primary-color);
    z-index: 3;
}

.step-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 12px;
}

.step-content p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 20px;
}

.step-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.detail-item {
    display: flex;
    align-items: center;
    font-size: 0.95rem;
    color: var(--text-color);
    font-weight: 500;
}

.detail-item i {
    color: var(--primary-color);
    margin-right: 8px;
    font-size: 14px;
}

/* Responsive Process Section */
@media (max-width: 768px) {
    .process-header h2 {
        font-size: 2.2rem;
    }

    .timeline-connector {
        left: 30px;
    }

    .process-step {
        justify-content: flex-start !important;
        margin-bottom: 60px;
    }

    .step-content-wrapper {
        max-width: 100%;
        flex-direction: column !important;
        text-align: center;
        padding: 30px;
    }

    .step-icon {
        margin-bottom: 20px;
    }

    .step-details {
        align-items: center;
    }
}

@media (max-width: 480px) {
    .process-section {
        padding: 60px 0;
    }

    .process-header {
        margin-bottom: 50px;
    }

    .process-header h2 {
        font-size: 1.8rem;
    }

    .step-content-wrapper {
        padding: 25px;
    }

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

/* Client Logos */
.client-logos-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
}

.client-logo-item {
    height: 40px;
    display: flex;
    align-items: center;
}

.client-logo-item img {
    max-height: 100%;
    max-width: 100px;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s;
}

.client-logo-item img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* Process Details */
.process-details li,
.timeline-details .detail-item span,
.process-card .process-details li {
    color: var(--text-color);
    opacity: 1;
    font-size: 14px;
}

/* Lead Text */
.lead {
    color: #4a4a4a;
    font-weight: 400;
}

.bg-light .lead,
.bg-secondary .lead {
    color: #3a3a3a;
}

/* Button Styles */
button[type="submit"] {
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: var(--border-radius);
    padding: 12px 25px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
}

button[type="submit"]:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

/* Responsive Design */
@media (min-width: 768px) {
    .contact-container {
        flex-direction: row;
    }

    .contact-info,
    .contact-form {
        flex: 1;
    }

    .form-row {
        display: flex;
        gap: 15px;
    }

    .form-row .form-group {
        flex: 1;
    }
}

@media (max-width: 767px) {
    .hero-section {
        padding: 80px 0 40px;
    }

    .hero-title .company-name {
        font-size: 2rem;
    }

    .hero-title .tagline {
        font-size: 1.5rem;
    }

    .expertise-badges {
        flex-direction: column;
    }

    .success-card {
        margin-top: 40px;
    }

    .modal-container {
        width: 95%;
    }
}

/* Content Adjustments */
#content {
    margin-top: 0;
    padding-top: 0;
}

.hero-section {
    padding-top: 60px;
    margin-top: 0;
}

html {
    scroll-padding-top: 100px;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mb-4 {
    margin-bottom: 1.5rem;
}

.mb-5 {
    margin-bottom: 3rem;
}

.mt-4 {
    margin-top: 1.5rem;
}

.p-4 {
    padding: 1.5rem;
}

.bg-white {
    background-color: white;
}

.shadow-hover {
    transition: box-shadow 0.3s ease;
}

.shadow-hover:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.rounded {
    border-radius: 0.25rem;
}

.h-100 {
    height: 100%;
}

.d-flex {
    display: flex;
}

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

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

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

.position-relative {
    position: relative;
}

.position-absolute {
    position: absolute;
}

.w-100 {
    width: 100%;
}

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

.btn {
    display: inline-block;
    font-weight: 400;
    text-align: center;
    vertical-align: middle;
    user-select: none;
    border: 1px solid transparent;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 0.25rem;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    text-decoration: none;
    cursor: pointer;
}

.btn-primary {
    color: #fff;
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

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

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

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

.btn-lg {
    padding: 0.5rem 1rem;
    font-size: 1.25rem;
    line-height: 1.5;
    border-radius: 0.3rem;
}

.btn-outline-primary.btn-lg {
    padding: 0.5rem 1rem;
    font-size: 1.25rem;
    line-height: 1.5;
    border-radius: 0.3rem;
}

.container {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

@media (min-width: 576px) {
    .container {
        max-width: 540px;
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 720px;
    }
}

@media (min-width: 992px) {
    .container {
        max-width: 960px;
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.col-lg-6 {
    position: relative;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
}

@media (min-width: 992px) {
    .col-lg-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

.col-lg-4 {
    position: relative;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
}

@media (min-width: 992px) {
    .col-lg-4 {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }
}

.col-md-6 {
    position: relative;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
}

@media (min-width: 768px) {
    .col-md-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

.col-lg-3 {
    position: relative;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
}

@media (min-width: 992px) {
    .col-lg-3 {
        flex: 0 0 25%;
        max-width: 25%;
    }
}

.col-lg-2 {
    position: relative;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
}

@media (min-width: 992px) {
    .col-lg-2 {
        flex: 0 0 16.666667%;
        max-width: 16.666667%;
    }
}

.col-md-3 {
    position: relative;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
}

@media (min-width: 768px) {
    .col-md-3 {
        flex: 0 0 25%;
        max-width: 25%;
    }
}

.col-lg-12 {
    position: relative;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
}

.fancy-title {
    margin-bottom: 3rem;
}

.section-badge {
    color: var(--primary-color);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    display: block;
}

.fancy-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.fancy-title p {
    font-size: 1.125rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.text-uppercase {
    text-transform: uppercase;
}

.letter-spacing-1 {
    letter-spacing: 0.1em;
}

.font-size-12 {
    font-size: 0.75rem;
}

.font-weight-bold {
    font-weight: 700;
}

.ltr-sp-2 {
    letter-spacing: 0.2em;
}

.px-2 {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

.circle {
    border-radius: 50%;
}

.border-thick {
    border-width: 2px;
}

.pos-rel {
    position: relative;
}

.vc_row {
    padding: 5rem 0;
}

.pt-100 {
    padding-top: 6.25rem;
}

.pb-100 {
    padding-bottom: 6.25rem;
}

.mb-60 {
    margin-bottom: 3.75rem;
}

.data-aos {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.data-aos[data-aos="fade-up"] {
    transform: translateY(30px);
}

.data-aos[data-aos="fade-left"] {
    transform: translateX(-30px);
}

.data-aos[data-aos="fade-right"] {
    transform: translateX(30px);
}

.data-aos.animate {
    opacity: 1;
    transform: translateY(0);
}

.img-fluid {
    max-width: 100%;
    height: auto;
}

.text-success {
    color: #28a745;
}

.fa-4x {
    font-size: 3em;
}

.fa-2x {
    font-size: 2em;
}

.fa-lg {
    font-size: 1.333333em;
}

.fa-spin {
    animation: fa-spin 2s infinite linear;
}

@keyframes fa-spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.invisible {
    visibility: hidden;
}

.pos-abs {
    position: absolute;
}

.lqd-sticky-sentinel {
    height: 1px;
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: -1;
}

/* ===============================================
   Cookie Consent Modal Styles
   =============================================== */

.cookie-consent-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}

.cookie-consent-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: modalFadeIn 0.4s ease-out;
}

.cookie-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(15px);
    z-index: 9998;
    display: block;
}

.cookie-modal-content {
    position: relative;
    z-index: 9999;
    background: #ffffff;
    border-radius: 20px;
    box-shadow:
        0 25px 80px rgba(0, 0, 0, 0.3),
        0 15px 40px rgba(0, 114, 188, 0.2),
        0 0 0 1px rgba(0, 114, 188, 0.1);
    border: 2px solid #0072bc;
    max-width: 450px;
    width: 90%;
    max-height: 80vh;
    overflow: hidden;
    animation: modalFadeIn 0.4s ease-out;
    display: flex;
    flex-direction: column;
}

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

.cookie-modal-header {
    padding: 2rem 2rem 1.5rem;
    text-align: center;
    background: linear-gradient(135deg, #0072bc 0%, #4ca5e8 100%);
    color: white;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.cookie-modal-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #00d4aa 0%, #4adebb 50%, #00d4aa 100%);
}

.cookie-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.3);
    border: 3px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 2;
}

.cookie-modal-header h3 {
    color: white;
    font-size: 1.6rem;
    font-weight: 800;
    margin: 0 0 0.5rem 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.02em;
    position: relative;
    z-index: 2;
}

.cookie-subtitle {
    color: rgba(255, 255, 255, 0.95);
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 2;
}

.cookie-modal-body {
    padding: 1.5rem 2rem;
    background: #ffffff !important;
    position: relative;
    z-index: 1;
    border-radius: 0;
}

.cookie-content p {
    color: #1a202c !important;
    line-height: 1.6;
    margin: 0;
    text-align: center;
    font-size: 1rem;
    font-weight: 600;
    padding: 0;
    text-shadow: none;
}


.cookie-modal-footer {
    padding: 2rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
    margin: 0;
    position: relative;
    overflow: hidden;
}


.cookie-btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 160px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.cookie-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.cookie-btn:hover::before {
    left: 100%;
}

.cookie-btn-primary {
    background: linear-gradient(135deg, #0072bc 0%, #4ca5e8 100%);
    color: white;
    border: 2px solid #005a96;
}

.cookie-btn-primary:hover {
    background: linear-gradient(135deg, #005a96 0%, #0072bc 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 114, 188, 0.4);
    border-color: #004080;
}

.cookie-btn-secondary {
    background: linear-gradient(135deg, #00d4aa 0%, #4adebb 100%);
    color: white;
    border: 3px solid #00b894;
}

.cookie-btn-secondary:hover {
    background: linear-gradient(135deg, #00b894 0%, #00d4aa 100%);
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(0, 212, 170, 0.5);
    border-color: #00a085;
}

.cookie-btn-outline {
    background: white;
    color: #0072bc;
    border: 2px solid #0072bc;
    font-weight: 700;
}

.cookie-btn-outline:hover {
    background: #0072bc;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 114, 188, 0.3);
    border-color: #005a96;
}

/* Animations */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Mobile Responsiveness */
@media (max-width: 768px) {
    .cookie-modal-content {
        max-width: 380px;
        width: 95%;
        max-height: 85vh;
    }

    .cookie-consent-modal {
        align-items: flex-end;
        justify-content: center;
    }

    .cookie-modal-content {
        margin-bottom: 2rem;
    }

    .cookie-modal-header {
        padding: 1.5rem 1.5rem 1rem;
    }

    .cookie-modal-body {
        padding: 1.25rem 1.5rem;
    }

    .cookie-modal-footer {
        padding: 1.5rem;
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
    }

    .cookie-btn {
        width: 100%;
        margin-bottom: 0.5rem;
        padding: 1rem 1.5rem;
        font-size: 1rem;
        min-width: auto;
    }

    .cookie-icon {
        width: 60px;
        height: 60px;
        font-size: 1.8rem;
    }

    .cookie-modal-header h3 {
        font-size: 1.4rem;
    }

    .cookie-subtitle {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .cookie-modal-content {
        max-width: 320px;
        width: 95%;
        max-height: 80vh;
    }

    .cookie-modal-header {
        padding: 1.25rem 1rem 0.75rem;
    }

    .cookie-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .cookie-modal-header h3 {
        font-size: 1.2rem;
    }

    .cookie-subtitle {
        font-size: 0.85rem;
    }

    .cookie-modal-body {
        padding: 1rem;
    }

    .cookie-modal-footer {
        padding: 1rem;
    }

    .cookie-btn {
        padding: 0.875rem 1.25rem;
        font-size: 0.95rem;
    }
}

/* Dark mode support (if needed in future) */
@media (prefers-color-scheme: dark) {
    .cookie-modal-content {
        background: #1a202c;
        border-color: #4a5568;
    }

    .cookie-modal-header {
        background: linear-gradient(135deg, #2d3748 0%, #4a5568 100%);
    }

    .cookie-modal-body {
        background: #1a202c;
    }

    .cookie-content p {
        color: #e2e8f0;
    }

    .cookie-modal-footer {
        background: #1a202c;
        border-top-color: #4a5568;
    }

    .cookie-btn-outline {
        background: #2d3748;
        color: #e2e8f0;
        border-color: #4a5568;
    }

    .cookie-btn-outline:hover {
        background: #4a5568;
        color: #ffffff;
    }

    .cookie-modal-header {
        border-bottom-color: var(--gray-700);
    }

    .cookie-links {
        border-top-color: var(--gray-700);
    }
}

/* Accessibility improvements */
.cookie-consent-modal:focus-within {
    outline: none;
}

.cookie-btn:focus {
    outline: 3px solid var(--primary-color);
    outline-offset: 3px;
    box-shadow: 0 0 0 6px rgba(0, 114, 188, 0.2);
}

.switch:focus-within {
    outline: 3px solid var(--primary-color);
    outline-offset: 3px;
    border-radius: var(--radius-md);
}

/* Additional visibility enhancements */
.cookie-consent-modal.show {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* High contrast mode improvements */
@media (prefers-contrast: high) {
    .cookie-modal-content {
        border: 3px solid #000000;
        background: #ffffff;
    }

    .cookie-modal-header {
        border-bottom: 4px solid #000000;
        background: #ffffff;
    }

    .cookie-category {
        border: 2px solid #000000;
        background: #ffffff;
    }

    .cookie-btn-outline {
        border-width: 4px;
        font-weight: 800;
    }

    .cookie-btn-primary,
    .cookie-btn-secondary {
        border: 3px solid #000000;
    }
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    .cookie-consent-modal,
    .cookie-modal-content,
    .cookie-btn,
    .cookie-category {
        transition: none !important;
        animation: none !important;
    }
}

/* Print styles for better visibility when printed */
@media print {
    .cookie-consent-modal {
        position: static;
        background: white;
        border: 2px solid black;
    }

    .cookie-modal-backdrop {
        display: none;
    }

    .cookie-btn {
        border: 2px solid black;
        background: white;
        color: black;
    }
}

/* Ensure modal stays on top and doesn't get hidden */
.cookie-consent-modal.show {
    z-index: 9999;
}

.cookie-consent-modal.show .cookie-modal-backdrop {
    z-index: 9998;
}

.cookie-consent-modal.show .cookie-modal-content {
    z-index: 9999;
}

/* Additional visibility enhancements for the modal */
.cookie-consent-modal.show::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, transparent 0%, rgba(0, 0, 0, 0.1) 100%);
    z-index: 9997;
    pointer-events: none;
}

/* Make sure all text is highly readable */
.cookie-consent-modal.show .cookie-modal-content * {
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Prevent any CSS conflicts with existing theme */
.cookie-consent-modal * {
    box-sizing: border-box;
}

/* Ensure modal content is always visible */
.cookie-modal-content {
    position: relative;
    z-index: 9999;
    background: #ffffff;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    box-shadow:
        0 -20px 60px rgba(0, 0, 0, 0.3),
        0 -10px 30px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(0, 114, 188, 0.15);
    max-width: 500px;
    margin: 0 auto;
    transform: translateY(100%);
    transition: transform 0.4s ease-out, opacity 0.4s ease-out;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.cookie-consent-modal.show .cookie-modal-content {
    transform: translateY(0);
    opacity: 1;
    box-shadow:
        0 -25px 80px rgba(0, 0, 0, 0.4),
        0 -15px 40px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.95);
}
