/* ===================================
   BRANDLY DIGITAL - DARK THEME
   Site-Wide Stabilization & Consistency
   =================================== */

:root {
    /* Dark Theme Colors */
    --bg-primary: #0f1117;
    --bg-secondary: #1a1d29;
    --bg-card: #252933;
    --bg-card-hover: #2d3240;
    
    /* Neon Accents */
    --accent-primary: #00d9ff;
    --accent-secondary: #8b5cf6;
    --accent-gradient: linear-gradient(135deg, #00d9ff 0%, #8b5cf6 100%);
    
    /* Text Colors */
    --text-primary: #eaeaea;
    --text-secondary: #b5b5b5;
    --text-muted: #808080;
    
    /* Spacing System (Consistent Rhythm) */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    
    /* Section Padding (Standardized) */
    --section-padding: 5rem 2rem;
    --section-padding-mobile: 3rem 1.5rem;
    
    /* Container Width */
    --container-max: 1200px;
    --container-padding: 2rem;
    
    /* Glow Effects */
    --glow-blue: 0 0 20px rgba(0, 217, 255, 0.3);
    --glow-purple: 0 0 20px rgba(139, 92, 246, 0.3);
    --glow-card: 0 8px 32px rgba(0, 217, 255, 0.1);
    
    /* Animations */
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    
    /* Z-Index System */
    --z-background: -1;
    --z-content: 1;
    --z-sticky: 10;
    --z-navbar: 100;
    --z-modal: 1000;
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ===================================
   GLOBAL RESET & BASE
   =================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-secondary);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}

/* Background Pattern (Fixed) */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(0, 217, 255, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(139, 92, 246, 0.03) 0%, transparent 50%);
    pointer-events: none;
    z-index: var(--z-background);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-primary);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.5rem); }

p {
    margin-bottom: var(--spacing-sm);
}

a {
    text-decoration: none;
    color: var(--accent-primary);
    transition: var(--transition-smooth);
}

a:hover {
    color: var(--accent-secondary);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ===================================
   LAYOUT STABILIZATION
   =================================== */

/* Universal Section Reset */
section {
    width: 100%;
    display: block;
    padding: var(--section-padding);
    position: relative;
    clear: both;
    overflow: visible;
}

/* Container System */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    width: 100%;
}

/* ===================================
   NAVIGATION (Fixed & Stable)
   =================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: rgba(15, 17, 23, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 1rem 0;
    z-index: var(--z-navbar);
    border-bottom: 1px solid rgba(0, 217, 255, 0.1);
    transition: var(--transition-smooth);
}

.navbar.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    border-bottom-color: rgba(0, 217, 255, 0.2);
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding) 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    transition: var(--transition-smooth);
    z-index: var(--z-navbar);
    display: flex;
    align-items: center;
}

.logo-img {
    height: 70px;
    width: auto;
    object-fit: contain;
    transition: var(--transition-smooth);
    background: transparent;
    mix-blend-mode: screen;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 900;
    font-family: 'Georgia', 'Times New Roman', serif;
    margin-left: 0.5rem;
    display: flex;
    gap: 0.3rem;
}

.logo-growthly {
    color: #ffffff;
}

.logo-spark {
    color: #6dd5ed;
}

.logo:hover {
    filter: brightness(1.2);
    transform: scale(1.05);
}

.logo:hover .logo-img {
    transform: scale(1.05);
    filter: brightness(1.1);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu li {
    margin: 0;
}

.nav-menu a {
    color: var(--text-secondary);
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
    transition: var(--transition-smooth);
    display: inline-block;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gradient);
    transition: width 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--accent-primary);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    z-index: var(--z-navbar);
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--accent-primary);
    transition: var(--transition-smooth);
    border-radius: 3px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* ===================================
   HERO SECTION (Stabilized)
   =================================== */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: calc(80px + 4rem) 2rem 4rem; /* Account for navbar */
    position: relative;
    width: 100%;
    background: linear-gradient(135deg, #0f1117 0%, #1a1d29 100%);
    overflow: hidden;
}

.hero::before,
.hero::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: var(--z-background);
}

.hero::before {
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(0, 217, 255, 0.1) 0%, transparent 70%);
    animation: float 20s ease-in-out infinite;
}

.hero::after {
    bottom: -30%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.1) 0%, transparent 70%);
    animation: float 15s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(50px, 50px) scale(1.1); }
}

.hero-container {
    max-width: var(--container-max);
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: var(--z-content);
}

.hero-content {
    opacity: 0;
    animation: fadeInLeft 1s ease-out forwards;
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-tag {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(0, 217, 255, 0.1);
    border: 1px solid rgba(0, 217, 255, 0.3);
    border-radius: 50px;
    color: var(--accent-primary);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fadeIn 1s ease-out 0.2s forwards;
}

@keyframes fadeIn {
    from { 
        opacity: 0; 
        transform: translateY(10px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

.hero h1 {
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fadeIn 1s ease-out 0.4s forwards;
}

.hero h1 .gradient-text {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline;
}

.hero p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.8;
    opacity: 0;
    animation: fadeIn 1s ease-out 0.6s forwards;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeIn 1s ease-out 0.8s forwards;
}

/* Hero Animation Container (Stabilized) */
.hero-animation {
    position: relative;
    width: 100%;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    animation: fadeInRight 1s ease-out 0.3s forwards;
    overflow: hidden;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animation-container {
    position: relative;
    width: 100%;
    max-width: 500px;
    height: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cartoon-laptop {
    width: 300px;
    height: 200px;
    background: linear-gradient(145deg, var(--bg-card), var(--bg-card-hover));
    border-radius: 20px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: laptopPulse 3s ease-in-out infinite;
}

@keyframes laptopPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.laptop-screen {
    width: 90%;
    height: 70%;
    background: var(--bg-primary);
    border-radius: 10px;
    margin: 10px auto 0;
    position: relative;
    overflow: hidden;
    border: 2px solid rgba(0, 217, 255, 0.2);
}

.screen-glow {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 217, 255, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    animation: screenPulse 2s ease-in-out infinite;
}

@keyframes screenPulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.floating-icon {
    position: absolute;
    width: 60px;
    height: 60px;
    background: var(--bg-card);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: var(--glow-card);
    border: 1px solid rgba(0, 217, 255, 0.2);
    animation: floatIcon 3s ease-in-out infinite;
    transition: var(--transition-smooth);
    will-change: transform;
}

@keyframes floatIcon {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-15px) rotate(3deg);
    }
}

.floating-icon:hover {
    transform: scale(1.2) !important;
    box-shadow: 0 0 30px rgba(0, 217, 255, 0.5);
}

.chart-animation {
    position: absolute;
    bottom: 10%;
    right: 5%;
    display: flex;
    align-items: flex-end;
    gap: 5px;
    height: 80px;
}

.chart-bar {
    width: 20px;
    background: var(--accent-gradient);
    border-radius: 5px 5px 0 0;
    animation: chartGrow 2s ease-in-out infinite;
}

.chart-bar:nth-child(1) { animation-delay: 0s; }
.chart-bar:nth-child(2) { animation-delay: 0.3s; }
.chart-bar:nth-child(3) { animation-delay: 0.6s; }

@keyframes chartGrow {
    0%, 100% { height: 30px; }
    50% { height: 60px; }
}

/* ===================================
   BUTTONS (Consistent Styles)
   =================================== */

.btn {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
    display: inline-block;
    text-align: center;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: var(--accent-gradient);
    color: white;
    box-shadow: var(--glow-blue);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 40px rgba(0, 217, 255, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid rgba(0, 217, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(0, 217, 255, 0.1);
    border-color: var(--accent-primary);
    transform: translateY(-3px);
}

/* ===================================
   SECTION HEADERS (Standardized)
   =================================== */

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.section-header.visible {
    opacity: 1;
    transform: translateY(0);
}

.section-tag {
    display: inline-block;
    color: var(--accent-primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.section-header h2 {
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* ===================================
   CARDS (Universal Styles)
   =================================== */

.card {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 2rem;
    transition: var(--transition-smooth);
    border: 1px solid rgba(0, 217, 255, 0.1);
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--accent-gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.card:hover::before {
    opacity: 0.05;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--glow-card);
    border-color: var(--accent-primary);
}

.card > * {
    position: relative;
    z-index: 1;
}

.card-icon {
    width: 80px;
    height: 80px;
    background: var(--accent-gradient);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    transition: var(--transition-bounce);
    flex-shrink: 0;
}

.card:hover .card-icon {
    transform: scale(1.1) rotate(5deg);
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.card p {
    color: var(--text-secondary);
    line-height: 1.8;
    flex-grow: 1;
}

/* Grid Layouts (Consistent) */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
}

/* Mobile-first grid overrides */
@media (max-width: 768px) {
    .grid-3,
    .grid-2 {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* ===================================
   PROMISE SECTION
   =================================== */

.promise {
    background: var(--bg-secondary);
}

.promise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.promise-item {
    text-align: center;
    padding: 2rem;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.promise-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.promise-item:nth-child(1) { transition-delay: 0.1s; }
.promise-item:nth-child(2) { transition-delay: 0.2s; }
.promise-item:nth-child(3) { transition-delay: 0.3s; }
.promise-item:nth-child(4) { transition-delay: 0.4s; }

.promise-icon {
    width: 100px;
    height: 100px;
    background: var(--accent-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 1.5rem;
    transition: var(--transition-bounce);
    box-shadow: var(--glow-blue);
}

.promise-item:hover .promise-icon {
    transform: scale(1.15) rotate(10deg);
    box-shadow: 0 0 40px rgba(0, 217, 255, 0.5);
}

.promise-item h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.promise-item p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ===================================
   HOME PAGE - NATURAL CONTENT SECTIONS
   Services, Portfolio, About, Contact integrated seamlessly
   =================================== */

/* Shared Section Styles */
.home-services,
.home-portfolio,
.home-about,
.home-contact {
    padding: 80px 0;
    position: relative;
}

.home-services {
    background: var(--bg-primary);
}

.home-portfolio {
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

.home-about {
    background: var(--bg-secondary);
}

.home-contact {
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}

/* Section Intros */
.services-intro,
.portfolio-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.services-intro h2,
.portfolio-intro h2,
.home-about h2,
.home-contact h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-weight: 700;
}

.services-intro p,
.portfolio-intro p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Services Showcase */
.services-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.service-highlight {
    text-align: center;
    padding: 30px;
    background: rgba(37, 41, 51, 0.5);
    border-radius: 16px;
    border: 1px solid rgba(0, 217, 255, 0.1);
    transition: all 0.3s ease;
}

.service-highlight:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 217, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0, 217, 255, 0.15);
}

.service-highlight .service-icon {
    font-size: 3.5rem;
    margin-bottom: 30px;
    display: block;
    line-height: 1;
    animation: bounce-float 3s ease-in-out infinite;
}

.service-highlight:nth-child(2) .service-icon {
    animation-delay: 0.5s;
}

.service-highlight:nth-child(3) .service-icon {
    animation-delay: 1s;
}

.service-highlight h3 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 15px;
    font-weight: 600;
}

.service-highlight p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 1rem;
}

/* Portfolio Industries Showcase */
.industries-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.industry-item {
    text-align: center;
    padding: 40px 20px;
    background: rgba(37, 41, 51, 0.6);
    border-radius: 16px;
    border: 1px solid rgba(139, 92, 246, 0.1);
    transition: all 0.3s ease;
}

.industry-item:hover {
    transform: translateY(-5px) scale(1.05);
    border-color: rgba(139, 92, 246, 0.3);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.2);
}

.industry-item .industry-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    display: block;
}

.industry-item h4 {
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 600;
}

/* About Section */
.about-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.about-text {
    margin-bottom: 40px;
}

.about-text p {
    color: var(--text-secondary);
    font-size: 1.15rem;
    line-height: 1.9;
    max-width: 700px;
    margin: 20px auto 0;
}

.about-values {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.value-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    background: rgba(0, 217, 255, 0.08);
    border-radius: 30px;
    border: 1px solid rgba(0, 217, 255, 0.2);
    transition: all 0.3s ease;
}

.value-item:hover {
    background: rgba(0, 217, 255, 0.15);
    transform: scale(1.05);
}

.value-item .value-icon {
    font-size: 1.5rem;
    line-height: 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
}

.value-item span:last-child {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.5rem;
    vertical-align: middle;
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.contact-info h2 {
    margin-bottom: 20px;
}

.contact-info > p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 30px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: rgba(37, 41, 51, 0.5);
    border-radius: 12px;
    border: 1px solid rgba(0, 217, 255, 0.1);
    transition: all 0.3s ease;
}

.contact-item:hover {
    border-color: rgba(0, 217, 255, 0.3);
    transform: translateX(5px);
}

.contact-item .contact-icon {
    font-size: 1.8rem;
}

.contact-item span:last-child {
    color: var(--text-secondary);
    font-size: 1rem;
}

.contact-cta-box {
    background: linear-gradient(135deg, rgba(0, 217, 255, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    padding: 50px;
    border-radius: 20px;
    border: 1px solid rgba(0, 217, 255, 0.2);
    text-align: center;
}

.cta-content h3 {
    font-size: 1.8rem;
    color: var(--text-primary);
    margin-bottom: 15px;
}

.cta-content p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 30px;
}

/* CTA Buttons */
.section-cta {
    text-align: center;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 40px;
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    border: none;
    border-radius: 30px;
    color: white;
    font-weight: 600;
    font-size: 1.05rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 217, 255, 0.3);
}

.cta-button:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 30px rgba(0, 217, 255, 0.5),
                0 0 40px rgba(139, 92, 246, 0.3);
}

.cta-button .arrow {
    transition: transform 0.3s ease;
    font-size: 1.3rem;
}

.cta-button:hover .arrow {
    transform: translateX(6px);
}

.cta-button.primary {
    background: linear-gradient(135deg, #8b5cf6 0%, #00d9ff 100%);
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.4);
}

/* Responsive Design */
@media (max-width: 992px) {
    .home-services,
    .home-portfolio,
    .home-about,
    .home-contact {
        padding: 60px 0;
    }
    
    .services-showcase {
        gap: 30px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .services-intro,
    .portfolio-intro {
        margin-bottom: 40px;
    }
    
    .services-showcase {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .industries-showcase {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .about-values {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .contact-cta-box {
        padding: 35px 25px;
    }
    
    .cta-content h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .home-services,
    .home-portfolio,
    .home-about,
    .home-contact {
        padding: 50px 0;
    }
    
    .service-highlight {
        padding: 25px;
    }
    
    .industry-item {
        padding: 30px 15px;
    }
    
    .industries-showcase {
        grid-template-columns: 1fr;
    }
    
    .cta-button {
        width: 100%;
        justify-content: center;
        padding: 14px 30px;
    }
}

/* ===================================
   PORTFOLIO PAGE - REFACTORED
   Modern, animated, cartoon-style
   =================================== */

/* Portfolio Hero Section */
.portfolio-hero {
    min-height: 70vh;
    display: flex;
    align-items: center;
    padding: calc(80px + 5rem) 2rem 5rem;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

.portfolio-bg-floaters {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.portfolio-bg-floaters .float-shape {
    position: absolute;
    font-size: 3rem;
    opacity: 0.15;
    animation: floatRandom 12s ease-in-out infinite;
}

.portfolio-bg-floaters .float-1 { top: 10%; left: 5%; animation-delay: 0s; }
.portfolio-bg-floaters .float-2 { top: 20%; right: 10%; animation-delay: 2s; }
.portfolio-bg-floaters .float-3 { bottom: 30%; left: 15%; animation-delay: 4s; }
.portfolio-bg-floaters .float-4 { top: 60%; right: 5%; animation-delay: 6s; }
.portfolio-bg-floaters .float-5 { bottom: 15%; left: 50%; animation-delay: 8s; }
.portfolio-bg-floaters .float-6 { top: 40%; left: 30%; animation-delay: 10s; }

.portfolio-hero-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.portfolio-hero-content .hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0, 217, 255, 0.1);
    border: 1px solid rgba(0, 217, 255, 0.3);
    padding: 0.7rem 1.5rem;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--accent-primary);
}

.portfolio-hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    line-height: 1.2;
}

.portfolio-hero-content p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    line-height: 1.8;
}

/* Portfolio Stats */
.portfolio-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
    margin-top: 3rem;
}

.portfolio-stats .stat-item {
    text-align: center;
    position: relative;
}

/* Stats Icon Group with Floating Icons */
.stat-icons-group {
    position: relative;
    display: inline-block;
    margin-bottom: 1rem;
    width: 100px;
    height: 100px;
}

.stat-icon.main-icon {
    font-size: 3.5rem;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    animation: bounceIcon 2s ease-in-out infinite;
}

.stat-icon-small {
    font-size: 1.5rem;
    position: absolute;
    opacity: 0.8;
    animation: floatAround 3s ease-in-out infinite;
}

.stat-icon-small.float-icon-1 {
    top: 0;
    right: 0;
    animation-delay: 0s;
}

.stat-icon-small.float-icon-2 {
    bottom: 0;
    left: 0;
    animation-delay: 1s;
}

.stat-icon-small.float-icon-3 {
    bottom: 0;
    right: 0;
    animation-delay: 2s;
}

@keyframes floatAround {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(5px, -5px) scale(1.1);
    }
    66% {
        transform: translate(-5px, 5px) scale(0.9);
    }
}

.portfolio-stats .stat-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: inline-block;
    animation: bounceIcon 2s ease-in-out infinite;
}

.portfolio-stats .stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.portfolio-stats .stat-label {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.bounce-in {
    animation: bounceIn 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
}

.bounce-in.delay-1 {
    animation-delay: 0.2s;
    opacity: 0;
}

.bounce-in.delay-2 {
    animation-delay: 0.4s;
    opacity: 0;
}

/* Filter Section */
.portfolio-filters-section {
    padding: 3rem 2rem;
    background: var(--bg-primary);
    border-bottom: 1px solid rgba(0, 217, 255, 0.1);
}

.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.9rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    background: var(--bg-card);
    border: 2px solid rgba(0, 217, 255, 0.2);
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
    overflow: hidden;
}

.filter-btn .btn-icon {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.filter-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: var(--accent-gradient);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
    z-index: 0;
}

.filter-btn:hover {
    transform: translateY(-3px);
    border-color: var(--accent-primary);
    box-shadow: 0 8px 20px rgba(0, 217, 255, 0.2);
}

.filter-btn:hover .btn-icon {
    transform: scale(1.2) rotate(15deg);
}

.filter-btn.active {
    background: var(--accent-gradient);
    border-color: transparent;
    color: white;
    box-shadow: 0 10px 30px rgba(0, 217, 255, 0.4);
}

.filter-btn.active .btn-icon {
    animation: iconBounce 0.6s ease;
}

/* Portfolio Projects Section */
.portfolio-projects {
    padding: 6rem 1rem;
    background: var(--bg-secondary);
}

.portfolio-projects .container {
    max-width: 1700px;
    padding: 0 1rem;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
}

/* Portfolio Project Card */
.portfolio-project-card {
    background: var(--bg-card);
    border-radius: 25px;
    overflow: hidden;
    border: 2px solid rgba(0, 217, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    cursor: pointer;
    position: relative;
    display: flex;
    flex-direction: column;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.portfolio-project-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--accent-gradient);
    border-radius: 25px;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.portfolio-project-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0, 217, 255, 0.3);
    border-color: transparent;
}

.portfolio-project-card:hover::before {
    opacity: 1;
}

.portfolio-project-card.hidden {
    display: none;
}

/* Card Type Badge */
.card-type-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    z-index: 2;
    backdrop-filter: blur(10px);
}

.website-badge {
    background: rgba(0, 217, 255, 0.9);
    color: white;
}

.social-badge {
    background: rgba(139, 92, 246, 0.9);
    color: white;
}

.card-type-badge .badge-icon {
    font-size: 1rem;
}

/* Portfolio Card Image */
.portfolio-card-image {
    width: 100%;
    height: 250px;
    background: linear-gradient(135deg, rgba(0, 217, 255, 0.15) 0%, rgba(139, 92, 246, 0.15) 100%);
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.portfolio-project-card:hover .image-overlay {
    opacity: 1;
}

.overlay-icon {
    font-size: 3rem;
    transform: scale(0.5);
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.portfolio-project-card:hover .overlay-icon {
    transform: scale(1);
}

.view-text {
    color: white;
    font-weight: 700;
    font-size: 1.2rem;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55) 0.1s;
}

.portfolio-project-card:hover .view-text {
    transform: translateY(0);
    opacity: 1;
}

/* Portfolio Card Content */
.portfolio-card-content {
    padding: 3rem 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex-grow: 1;
}

.project-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 0.5rem;
}

.industry-tag {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 600;
}

.location-badge {
    font-size: 0.85rem;
    color: var(--accent-primary);
}

.portfolio-card-content h3 {
    font-size: 1.6rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.portfolio-card-content p {
    color: var(--text-secondary);
    margin-bottom: auto;
    line-height: 1.8;
    font-size: 1rem;
}

.portfolio-card-content .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    align-self: flex-start;
}

.btn-arrow {
    transition: transform 0.3s ease;
}

.portfolio-card-content .btn:hover .btn-arrow {
    transform: translateX(5px);
}

/* Featured Case Study Section */
.featured-case-study {
    padding: 6rem 2rem;
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
}

.case-study-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.pattern-circle {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    border: 2px solid rgba(0, 217, 255, 0.1);
}

.pulse-1 {
    top: 10%;
    left: 10%;
    animation: pulseRing 4s ease-in-out infinite;
}

.pulse-2 {
    bottom: 20%;
    right: 15%;
    animation: pulseRing 4s ease-in-out infinite 1.5s;
}

.pulse-3 {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: pulseRing 4s ease-in-out infinite 3s;
}

.featured-case-study .section-header {
    margin-bottom: 4rem;
}

.featured-case-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

/* Mockup Device */
.featured-case-image {
    position: relative;
}

.mockup-device {
    background: var(--bg-card);
    border-radius: 30px;
    padding: 2rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(0, 217, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.device-screen {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, rgba(0, 217, 255, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.screen-glow {
    position: absolute;
    width: 150px;
    height: 150px;
    background: var(--accent-gradient);
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.5;
    animation: glowPulse 3s ease-in-out infinite;
}

.screen-content {
    position: relative;
    z-index: 1;
}

.mockup-icon {
    position: absolute;
    font-size: 3rem;
}

.mockup-icon.float-1 {
    top: 20%;
    left: 20%;
    animation: floatUpDown 3s ease-in-out infinite;
}

.mockup-icon.float-2 {
    top: 50%;
    right: 20%;
    animation: floatUpDown 3s ease-in-out infinite 1s;
}

.mockup-icon.float-3 {
    bottom: 20%;
    left: 50%;
    transform: translateX(-50%);
    animation: floatUpDown 3s ease-in-out infinite 2s;
}

@keyframes floatUpDown {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.device-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: shine 3s ease-in-out infinite;
}

@keyframes shine {
    0% { left: -100%; }
    100% { left: 200%; }
}

/* Featured Stats Grid */
.featured-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.stat-box {
    text-align: center;
    padding: 2rem 1.5rem;
    background: var(--bg-card);
    border-radius: 20px;
    border: 1px solid rgba(0, 217, 255, 0.1);
    transition: all 0.3s ease;
}

.stat-box:hover {
    transform: translateY(-5px);
    border-color: var(--accent-primary);
    box-shadow: 0 10px 30px rgba(0, 217, 255, 0.2);
}

.stat-box .stat-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: inline-block;
}

.stat-box .stat-value {
    font-size: 2rem;
    font-weight: 800;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-box .stat-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* ===================================
   WHY DUBAI BUSINESSES CHOOSE US - EXPERTISE SECTION
   =================================== */

.why-dubai-section {
    padding: 6rem 2rem;
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

/* Background gradient overlay */
.why-dubai-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 15% 30%, rgba(0, 217, 255, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 85% 70%, rgba(212, 175, 55, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.why-dubai-section .highlight-text {
    color: var(--accent-primary);
    position: relative;
}

/* Expertise Grid Layout */
.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
    position: relative;
    z-index: 1;
}

/* Expertise Card */
.expertise-card {
    opacity: 0;
    transform: translateY(40px) scale(0.95);
    transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.expertise-card.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.expertise-card.delay-1 {
    transition-delay: 0.1s;
}

.expertise-card.delay-2 {
    transition-delay: 0.2s;
}

.expertise-card.delay-3 {
    transition-delay: 0.3s;
}

.expertise-card.delay-4 {
    transition-delay: 0.4s;
}

.expertise-card.delay-5 {
    transition-delay: 0.5s;
}

/* Card Inner Container with Glassmorphism */
.expertise-card-inner {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(0, 217, 255, 0.15);
    border-radius: 24px;
    padding: 2.5rem 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* Hover Effects */
.expertise-card-inner:hover {
    transform: translateY(-12px) scale(1.02);
    border-color: var(--accent-primary);
    box-shadow: 
        0 20px 60px rgba(0, 217, 255, 0.25),
        0 0 80px rgba(0, 217, 255, 0.15);
    background: rgba(0, 217, 255, 0.05);
}

/* Animated glow effect on hover */
.expertise-card-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), 
                rgba(0, 217, 255, 0.15) 0%, 
                transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.expertise-card-inner:hover::before {
    opacity: 1;
}

/* Icon Wrapper */
.expertise-icon-wrapper {
    width: 90px;
    height: 90px;
    margin: 0 auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 217, 255, 0.15) 0%, rgba(212, 175, 55, 0.15) 100%);
    border-radius: 50%;
    position: relative;
    transition: all 0.3s ease;
}

.expertise-card-inner:hover .expertise-icon-wrapper {
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 10px 30px rgba(0, 217, 255, 0.3);
}

/* Animated border ring */
.expertise-icon-wrapper::before {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: var(--accent-primary);
    border-right-color: var(--accent-secondary);
    opacity: 0;
    transition: opacity 0.3s ease;
    animation: none;
}

.expertise-card-inner:hover .expertise-icon-wrapper::before {
    opacity: 1;
    animation: rotateBorder 2.5s linear infinite;
}

@keyframes rotateBorder {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.expertise-icon {
    font-size: 3rem;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

/* Individual Icon Animations */

/* Animated Pin - bounce and pulse */
.animated-pin {
    animation: pinBounce 3s ease-in-out infinite;
}

@keyframes pinBounce {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-8px) scale(1.05); }
}

.expertise-card-inner:hover .animated-pin {
    animation: pinDrop 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes pinDrop {
    0% { transform: translateY(-30px) scale(1); }
    60% { transform: translateY(5px) scale(1.1); }
    100% { transform: translateY(0) scale(1); }
}

/* Animated Rocket - flying effect */
.animated-rocket {
    animation: rocketFloat 2.5s ease-in-out infinite;
}

@keyframes rocketFloat {
    0%, 100% { transform: translateY(0) translateX(0) rotate(0deg); }
    25% { transform: translateY(-10px) translateX(3px) rotate(5deg); }
    50% { transform: translateY(-5px) translateX(-3px) rotate(-3deg); }
    75% { transform: translateY(-12px) translateX(2px) rotate(3deg); }
}

.expertise-card-inner:hover .animated-rocket {
    animation: rocketLaunch 0.6s ease-out forwards;
}

@keyframes rocketLaunch {
    0% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-40px) rotate(-15deg) scale(1.2); }
    100% { transform: translateY(0) rotate(0deg) scale(1); }
}

/* Animated Gem - sparkle and rotate */
.animated-gem {
    animation: gemSparkle 3s ease-in-out infinite;
}

@keyframes gemSparkle {
    0%, 100% { transform: scale(1) rotate(0deg); filter: brightness(1) drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3)); }
    25% { transform: scale(1.1) rotate(10deg); filter: brightness(1.3) drop-shadow(0 4px 12px rgba(212, 175, 55, 0.6)); }
    50% { transform: scale(1) rotate(0deg); filter: brightness(1) drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3)); }
    75% { transform: scale(1.1) rotate(-10deg); filter: brightness(1.3) drop-shadow(0 4px 12px rgba(0, 217, 255, 0.6)); }
}

.expertise-card-inner:hover .animated-gem {
    animation: gemSpin 0.8s ease-in-out;
}

@keyframes gemSpin {
    0% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.2); }
    100% { transform: rotate(360deg) scale(1); }
}

/* Animated Mobile - tilt and glow */
.animated-mobile {
    animation: mobileTilt 3s ease-in-out infinite;
}

@keyframes mobileTilt {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-8deg); }
    75% { transform: rotate(8deg); }
}

.expertise-card-inner:hover .animated-mobile {
    animation: mobileVibrate 0.3s ease-in-out 3;
}

@keyframes mobileVibrate {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-4px) rotate(-3deg); }
    75% { transform: translateX(4px) rotate(3deg); }
}

/* Animated Handshake - wave effect */
.animated-handshake {
    animation: handshakeWave 2.5s ease-in-out infinite;
}

@keyframes handshakeWave {
    0%, 100% { transform: rotate(0deg); }
    10%, 30% { transform: rotate(-15deg); }
    20%, 40% { transform: rotate(15deg); }
    50% { transform: rotate(0deg); }
}

.expertise-card-inner:hover .animated-handshake {
    animation: handshakeShake 0.5s ease-in-out 2;
}

@keyframes handshakeShake {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-5px) rotate(-10deg); }
    75% { transform: translateY(-5px) rotate(10deg); }
}

/* Card Content */
.expertise-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-weight: 700;
    text-align: center;
}

.expertise-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 0.95rem;
    text-align: center;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

/* Highlight Badges */
.expertise-highlight {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-top: auto;
}

.highlight-badge {
    display: inline-block;
    padding: 0.4rem 0.9rem;
    background: linear-gradient(135deg, rgba(0, 217, 255, 0.1) 0%, rgba(212, 175, 55, 0.1) 100%);
    border: 1px solid rgba(0, 217, 255, 0.3);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent-primary);
    transition: all 0.3s ease;
}

.expertise-card-inner:hover .highlight-badge {
    background: linear-gradient(135deg, rgba(0, 217, 255, 0.2) 0%, rgba(212, 175, 55, 0.2) 100%);
    border-color: var(--accent-primary);
    transform: translateY(-2px);
}

/* Expertise CTA Section */
.expertise-cta {
    margin-top: 5rem;
    text-align: center;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, rgba(0, 217, 255, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);
    border-radius: 24px;
    border: 1px solid rgba(0, 217, 255, 0.1);
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.expertise-cta.visible {
    opacity: 1;
    transform: translateY(0);
}

.expertise-cta h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.expertise-cta p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.btn-expertise-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.2rem 3rem;
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 50px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    box-shadow: 0 12px 35px rgba(0, 217, 255, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Gradient shift on hover */
.btn-expertise-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--accent-secondary) 0%, #D4AF37 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-expertise-cta:hover::before {
    opacity: 1;
}

.btn-expertise-cta .btn-text,
.btn-expertise-cta .btn-icon {
    position: relative;
    z-index: 1;
}

.btn-expertise-cta .btn-icon {
    font-size: 1.4rem;
    transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.btn-expertise-cta:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 
        0 20px 50px rgba(0, 217, 255, 0.4),
        0 0 80px rgba(0, 217, 255, 0.2);
}

.btn-expertise-cta:hover .btn-icon {
    transform: translateX(8px);
}

/* Pulse glow effect */
.btn-expertise-cta::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50px;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    z-index: -1;
    opacity: 0;
    animation: expertisePulse 2.5s ease-in-out infinite;
}

@keyframes expertisePulse {
    0%, 100% {
        opacity: 0;
        transform: scale(1);
    }
    50% {
        opacity: 0.4;
        transform: scale(1.08);
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .expertise-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 968px) {
    .expertise-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .expertise-card-inner {
        padding: 2rem 1.5rem;
    }
    
    .expertise-icon-wrapper {
        width: 80px;
        height: 80px;
    }
    
    .expertise-icon {
        font-size: 2.5rem;
    }
}

@media (max-width: 640px) {
    .why-dubai-section {
        padding: 4rem 1.5rem;
    }
    
    .expertise-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 3rem;
    }
    
    .expertise-card-inner {
        padding: 2rem 1.5rem;
    }
    
    .expertise-icon-wrapper {
        width: 75px;
        height: 75px;
        margin-bottom: 1.5rem;
    }
    
    .expertise-icon {
        font-size: 2.3rem;
    }
    
    .expertise-card h3 {
        font-size: 1.2rem;
    }
    
    .expertise-card p {
        font-size: 0.9rem;
    }
    
    .expertise-cta {
        margin-top: 3rem;
        padding: 2rem 1.5rem;
    }
    
    .expertise-cta h3 {
        font-size: 1.5rem;
    }
    
    .expertise-cta p {
        font-size: 1rem;
    }
    
    .btn-expertise-cta {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
}

/* Portfolio CTA Section */
.portfolio-cta {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, rgba(0, 217, 255, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    position: relative;
    overflow: hidden;
}

.cta-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.cta-particles .particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--accent-primary);
    border-radius: 50%;
    opacity: 0.4;
    animation: particleFloat 15s linear infinite;
}

.cta-particles .particle:nth-child(1) { top: 20%; left: 10%; animation-delay: 0s; }
.cta-particles .particle:nth-child(2) { top: 60%; left: 30%; animation-delay: 3s; }
.cta-particles .particle:nth-child(3) { top: 40%; right: 20%; animation-delay: 6s; }
.cta-particles .particle:nth-child(4) { bottom: 30%; left: 60%; animation-delay: 9s; }
.cta-particles .particle:nth-child(5) { top: 70%; right: 40%; animation-delay: 12s; }

.cta-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-icon-wrapper {
    margin-bottom: 2rem;
}

.cta-icon {
    font-size: 4rem;
    display: inline-block;
}

.cta-content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.cta-content p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    line-height: 1.8;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* INDUSTRIES SERVED SECTION */
.industries-served {
    padding: 6rem 1rem;
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
}

.industries-served .container {
    max-width: 1700px;
    padding: 0 1rem;
}

.industries-served::before,
.industries-served::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    opacity: 0.05;
    pointer-events: none;
}

.industries-served::before {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--accent-primary) 0%, transparent 70%);
    top: -100px;
    right: -100px;
    animation: floatPulse 8s ease-in-out infinite;
}

.industries-served::after {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--accent-secondary) 0%, transparent 70%);
    bottom: -80px;
    left: -80px;
    animation: floatPulse 8s ease-in-out infinite 4s;
}

@keyframes floatPulse {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(30px, -30px) scale(1.1);
    }
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.industry-card {
    background: var(--bg-card);
    border-radius: 25px;
    padding: 3rem 2rem;
    text-align: center;
    border: 2px solid rgba(0, 217, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
    overflow: hidden;
}

.industry-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--accent-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.industry-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-primary);
    box-shadow: 0 15px 40px rgba(0, 217, 255, 0.25);
}

.industry-card:hover::before {
    transform: scaleX(1);
}

.industry-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    transition: transform 0.3s ease;
}

.bounce-hover {
    animation: gentleBounce 2s ease-in-out infinite;
}

.industry-card:hover .industry-icon {
    transform: scale(1.2) rotate(5deg);
}

.industry-card h4 {
    font-size: 1.3rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.industry-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* TECHNOLOGIES & TOOLS SECTION */
.technologies-section {
    padding: 6rem 1rem;
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.technologies-section .container {
    max-width: 1700px;
    padding: 0 1rem;
}

.technologies-section::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(0, 217, 255, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(139, 92, 246, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.tech-category {
    background: var(--bg-card);
    border-radius: 25px;
    padding: 2.5rem;
    border: 1px solid rgba(0, 217, 255, 0.1);
    transition: all 0.3s ease;
}

.tech-category:hover {
    transform: translateY(-5px);
    border-color: var(--accent-primary);
    box-shadow: 0 10px 30px rgba(0, 217, 255, 0.2);
}

.tech-category-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.tech-category-icon {
    font-size: 2.5rem;
    animation: iconBounce 2s ease-in-out infinite;
}

.tech-category h3 {
    font-size: 1.4rem;
    color: var(--text-primary);
    font-weight: 700;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.tech-tag {
    display: inline-block;
    padding: 0.6rem 1.2rem;
    background: rgba(0, 217, 255, 0.1);
    border: 1px solid rgba(0, 217, 255, 0.2);
    border-radius: 20px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.tech-tag:hover {
    background: var(--accent-gradient);
    border-color: transparent;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 217, 255, 0.3);
}

/* CLIENT RESULTS SECTION */
.client-results {
    padding: 6rem 1rem;
    background: linear-gradient(135deg, rgba(0, 217, 255, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);
    position: relative;
}

.client-results .container {
    max-width: 1700px;
    padding: 0 1rem;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.result-card {
    background: var(--bg-card);
    border-radius: 25px;
    padding: 3rem 2rem;
    text-align: center;
    border: 2px solid rgba(0, 217, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
    overflow: hidden;
}

.result-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: var(--accent-gradient);
    opacity: 0.1;
    transition: height 0.4s ease;
}

.result-card:hover {
    transform: translateY(-10px) scale(1.03);
    border-color: var(--accent-primary);
    box-shadow: 0 20px 50px rgba(0, 217, 255, 0.3);
}

.result-card:hover::after {
    height: 100%;
}

.result-icon-wrapper {
    margin-bottom: 1.5rem;
}

.result-icon {
    font-size: 4rem;
    display: inline-block;
}

.pulse-icon {
    animation: pulseScale 2s ease-in-out infinite;
}

@keyframes pulseScale {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.result-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.8rem;
    position: relative;
    z-index: 1;
}

.result-label {
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

/* RESPONSIVE - PORTFOLIO PAGE */
@media (max-width: 1024px) {
    .portfolio-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 2.5rem;
    }

    .featured-case-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .portfolio-stats {
        gap: 2.5rem;
    }
}

@media (max-width: 768px) {
    .portfolio-hero {
        padding: calc(80px + 3rem) 1.5rem 3rem;
        min-height: 60vh;
    }

    .portfolio-projects,
    .featured-case-study,
    .portfolio-cta {
        padding: 4rem 1.5rem;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .portfolio-filters {
        gap: 1rem;
    }

    .filter-btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }

    .portfolio-stats {
        gap: 2rem;
    }

    .stat-icons-group {
        width: 80px;
        height: 80px;
    }

    .stat-icon.main-icon {
        font-size: 2.5rem;
    }

    .stat-icon-small {
        font-size: 1.2rem;
    }

    .portfolio-stats .stat-icon {
        font-size: 2.5rem;
    }

    .portfolio-stats .stat-number {
        font-size: 2rem;
    }

    .featured-stats-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-buttons .btn {
        width: 100%;
        justify-content: center;
    }

    .float-shape {
        font-size: 2rem;
    }

    .device-screen {
        height: 300px;
    }

    .industries-served,
    .technologies-section,
    .client-results {
        padding: 4rem 1.5rem;
    }

    .industries-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1.5rem;
    }

    .industry-card {
        padding: 2rem 1.5rem;
    }

    .industry-icon {
        font-size: 3rem;
    }

    .tech-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .results-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 2rem;
    }

    .result-icon {
        font-size: 3rem;
    }

    .result-number {
        font-size: 2rem;
    }
}

/* ===================================
   SERVICES PAGE - REFACTORED
   Consistent spacing, rich animations, cartoon visuals
   =================================== */

/* Hero Section with Floating Elements */
.services-hero {
    min-height: 70vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    padding: calc(80px + 4rem) 2rem 4rem;
    position: relative;
    overflow: hidden;
}

.services-bg-floaters {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.float-shape {
    position: absolute;
    font-size: 3rem;
    opacity: 0.15;
    animation: floatRandom 12s ease-in-out infinite;
}

.float-1 { top: 10%; left: 5%; animation-delay: 0s; }
.float-2 { top: 20%; right: 10%; animation-delay: 2s; }
.float-3 { bottom: 30%; left: 15%; animation-delay: 4s; }
.float-4 { top: 60%; right: 5%; animation-delay: 6s; }
.float-5 { bottom: 15%; left: 50%; animation-delay: 8s; }
.float-6 { top: 40%; left: 30%; animation-delay: 10s; }

@keyframes floatRandom {
    0%, 100% { transform: translateY(0px) translateX(0px) rotate(0deg); }
    25% { transform: translateY(-30px) translateX(20px) rotate(5deg); }
    50% { transform: translateY(-15px) translateX(-15px) rotate(-5deg); }
    75% { transform: translateY(-40px) translateX(15px) rotate(3deg); }
}

.services-hero-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-tag {
    display: inline-block;
    background: rgba(0, 217, 255, 0.1);
    color: var(--accent-primary);
    padding: 0.7rem 1.5rem;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(0, 217, 255, 0.3);
}

.services-hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    line-height: 1.2;
}

.services-hero-content p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.breadcrumb a {
    color: var(--accent-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: var(--accent-secondary);
}

/* Services Packages Section */
.services-packages {
    padding: 6rem 2rem;
    background: var(--bg-primary);
    position: relative;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.service-card {
    background: var(--bg-card);
    border-radius: 25px;
    padding: 2rem 1.5rem;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border: 2px solid rgba(0, 217, 255, 0.1);
    text-align: center;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--accent-gradient);
    opacity: 0.08;
    transition: left 0.6s ease;
    z-index: 0;
}

.service-card:hover::before {
    left: 0;
}

.service-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0, 217, 255, 0.3);
    border-color: var(--accent-primary);
}

.service-card.featured {
    border-color: var(--accent-primary);
    box-shadow: 0 10px 40px rgba(0, 217, 255, 0.2);
}

.service-card > * {
    position: relative;
    z-index: 1;
}

/* Popular Badge */
.popular-badge {
    position: absolute;
    top: -15px;
    right: 20px;
    background: var(--accent-gradient);
    color: white;
    padding: 0.6rem 1.5rem;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 700;
    z-index: 2;
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Service Icon with Cartoon Animation */
.service-card .service-icon-wrapper {
    position: relative;
    margin: 0 auto 1.5rem;
    width: 150px;
    height: 150px;
}

.service-card .service-icon {
    width: 150px;
    height: 150px;
    background: var(--accent-gradient);
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4.5rem;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
    z-index: 1;
}

.bounce-float {
    animation: bounceFloat 3s ease-in-out infinite;
}

.bounce-float.delay-1 {
    animation-delay: 0.5s;
}

.bounce-float.delay-2 {
    animation-delay: 1s;
}

@keyframes bounceFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    25% { transform: translateY(-15px) rotate(-3deg); }
    50% { transform: translateY(-8px) rotate(3deg); }
    75% { transform: translateY(-20px) rotate(-2deg); }
}

.service-card:hover .service-icon {
    transform: scale(1.15) rotate(-8deg);
}

.icon-sparkle {
    position: absolute;
    top: -10px;
    right: -10px;
    font-size: 2rem;
    animation: sparkleRotate 3s linear infinite;
    z-index: 2;
}

@keyframes sparkleRotate {
    0% { transform: rotate(0deg) scale(1); opacity: 0.8; }
    50% { transform: rotate(180deg) scale(1.3); opacity: 1; }
    100% { transform: rotate(360deg) scale(1); opacity: 0.8; }
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-weight: 700;
}

.service-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-size: 0.95rem;
}

.service-features {
    list-style: none;
    text-align: left;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.service-features li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 2rem;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-primary);
    font-weight: bold;
    font-size: 1.2rem;
}

.service-features li:hover {
    color: var(--accent-primary);
    padding-left: 2.5rem;
}

.service-price {
    font-size: 2.2rem;
    font-weight: 800;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 1.5rem 0;
}

/* Add-Ons Section */
.addons-section {
    padding: 6rem 2rem;
    background: var(--bg-secondary);
}

.addons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.addon-card {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    border: 1px solid rgba(0, 217, 255, 0.1);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.addon-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-primary);
    box-shadow: 0 15px 40px rgba(0, 217, 255, 0.2);
}

.addon-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: inline-block;
}

.wiggle-hover {
    transition: transform 0.3s ease;
}

.addon-card:hover .wiggle-hover {
    animation: wiggleIconAnim 0.5s ease;
}

@keyframes wiggleIconAnim {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-12deg); }
    75% { transform: rotate(12deg); }
}

.addon-card h4 {
    font-size: 1.3rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-weight: 700;
}

.addon-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-size: 0.95rem;
}

.addon-price {
    display: block;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--accent-primary);
}

/* How It Works Section */
.how-it-works {
    padding: 6rem 2rem;
    background: var(--bg-primary);
}

.process-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 4rem;
}

.process-step {
    background: var(--bg-card);
    border-radius: 25px;
    padding: 2.5rem 1.5rem;
    text-align: center;
    border: 2px solid rgba(0, 217, 255, 0.1);
    transition: all 0.4s ease;
    flex: 1;
    min-width: 180px;
    max-width: 220px;
    position: relative;
}

.process-step:hover {
    transform: translateY(-10px);
    border-color: var(--accent-primary);
    box-shadow: 0 20px 50px rgba(0, 217, 255, 0.3);
}

.step-number {
    width: 70px;
    height: 70px;
    background: var(--accent-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 800;
    color: white;
    margin: 0 auto 1.5rem;
    position: relative;
}

.pulse-ring {
    animation: pulseRing 2s ease-out infinite;
}

@keyframes pulseRing {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 217, 255, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(0, 217, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 217, 255, 0);
    }
}

.step-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    animation: iconBob 2s ease-in-out infinite;
}

@keyframes iconBob {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.process-step h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-weight: 700;
}

.process-step p {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 0.95rem;
}

.process-arrow {
    flex-shrink: 0;
}

.process-arrow svg {
    animation: arrowPulse 2s ease-in-out infinite;
}

@keyframes arrowPulse {
    0%, 100% { opacity: 0.6; transform: translateX(0); }
    50% { opacity: 1; transform: translateX(5px); }
}

/* Why Choose Us Section */
.why-choose {
    padding: 6rem 2rem;
    background: var(--bg-secondary);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.why-card {
    background: var(--bg-card);
    border-radius: 25px;
    padding: 3rem 2.5rem;
    text-align: center;
    border: 1px solid rgba(0, 217, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
    overflow: hidden;
}

.why-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--accent-gradient);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.why-card:hover::after {
    transform: scaleX(1);
}

.why-card:hover {
    transform: translateY(-12px);
    border-color: var(--accent-primary);
    box-shadow: 0 20px 50px rgba(0, 217, 255, 0.25);
}

.why-icon-wrapper {
    margin-bottom: 2rem;
}

.why-icon {
    font-size: 4rem;
    display: inline-block;
}

.bounce-icon {
    animation: bounceIcon 2.5s ease-in-out infinite;
}

@keyframes bounceIcon {
    0%, 100% { transform: translateY(0) scale(1); }
    25% { transform: translateY(-12px) scale(1.1); }
    50% { transform: translateY(0) scale(1); }
    75% { transform: translateY(-6px) scale(1.05); }
}

.why-card:hover .bounce-icon {
    animation: spinBounce 0.6s ease;
}

@keyframes spinBounce {
    0% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.3) rotate(180deg); }
    100% { transform: scale(1) rotate(360deg); }
}

.why-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1.2rem;
    color: var(--text-primary);
    font-weight: 700;
}

.why-card p {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1rem;
}

/* Industries We Serve Section */
.industries-section {
    padding: 6rem 2rem;
    background: var(--bg-primary);
    overflow: hidden;
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
    width: 100%;
}

.industry-card {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    border: 1px solid rgba(0, 217, 255, 0.1);
    transition: all 0.3s ease;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.industry-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-primary);
    box-shadow: 0 15px 40px rgba(0, 217, 255, 0.2);
}

.industry-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
}

.industry-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    word-wrap: break-word;
    overflow-wrap: break-word;
    line-height: 1.3;
}

.industry-card p {
    color: var(--text-secondary);
    line-height: 1.8;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.industry-card a {
    color: var(--accent-primary);
    text-decoration: underline;
}

.industry-card a:hover {
    color: var(--accent-secondary);
}

.industries-cta {
    text-align: center;
    margin-top: 4rem;
}

.industries-cta p {
    font-size: 1.2rem;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

/* Responsive Styles for Industries Section */
@media (max-width: 968px) {
    .industries-section {
        padding: 5rem 2rem;
    }

    .industries-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .industry-card {
        padding: 2rem 1.5rem;
    }

    .industry-icon {
        font-size: 2.8rem;
        margin-bottom: 1.2rem;
    }

    .industry-card h3 {
        font-size: 1.2rem;
    }

    .industry-card p {
        font-size: 0.95rem;
    }
}

@media (max-width: 640px) {
    .industries-section {
        padding: 4rem 1.5rem;
    }

    .industries-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 3rem;
    }

    .industry-card {
        padding: 2rem 1.5rem;
        text-align: center;
    }

    .industry-icon {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }

    .industry-card h3 {
        font-size: 1.15rem;
        margin-bottom: 0.8rem;
    }

    .industry-card p {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .industries-cta {
        margin-top: 3rem;
    }

    .industries-cta p {
        font-size: 1rem;
        margin-bottom: 1.2rem;
    }

    .industries-cta .btn {
        padding: 1rem 2rem;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .industries-section {
        padding: 3rem 1rem;
    }

    .section-header {
        padding: 0 0.5rem;
    }

    .section-header h2 {
        font-size: 1.75rem;
    }

    .section-header p {
        font-size: 0.9rem;
    }

    .industries-grid {
        gap: 1.2rem;
        margin-top: 2.5rem;
    }

    .industry-card {
        padding: 1.5rem 1.2rem;
    }

    .industry-icon {
        font-size: 2.2rem;
    }

    .industry-card h3 {
        font-size: 1.1rem;
    }

    .industry-card p {
        font-size: 0.875rem;
        line-height: 1.5;
    }

    .industries-cta {
        margin-top: 2.5rem;
        padding: 0 0.5rem;
    }

    .industries-cta .btn {
        padding: 0.9rem 1.5rem;
        font-size: 0.9rem;
        width: 100%;
    }
}

@media (max-width: 375px) {
    .industries-section {
        padding: 2.5rem 0.8rem;
    }

    .industry-card {
        padding: 1.5rem 1rem;
        border-radius: 15px;
    }

    .industry-icon {
        font-size: 2rem;
        margin-bottom: 0.8rem;
    }

    .industry-card h3 {
        font-size: 1rem;
        margin-bottom: 0.6rem;
    }

    .industry-card p {
        font-size: 0.85rem;
    }
}

/* Pricing Info Section */
.pricing-info {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, rgba(10, 36, 99, 0.05) 0%, rgba(0, 168, 168, 0.05) 100%);
    position: relative;
    overflow: hidden;
}

/* Subtle background pattern */
.pricing-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(0, 217, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(212, 175, 55, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

/* Highlight text in header */
.pricing-info .highlight-text {
    color: var(--accent-primary);
    position: relative;
    display: inline-block;
}

.pricing-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
    position: relative;
    z-index: 1;
}

/* Card with glassmorphism effect */
.pricing-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.pricing-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.pricing-card.delay-1 {
    transition-delay: 0.15s;
}

.pricing-card.delay-2 {
    transition-delay: 0.3s;
}

.pricing-card.delay-3 {
    transition-delay: 0.45s;
}

.pricing-card-inner {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 217, 255, 0.1);
    border-radius: 20px;
    padding: 3rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    height: 100%;
}

/* Hover effect with glow */
.pricing-card-inner:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--accent-primary);
    box-shadow: 
        0 10px 40px rgba(0, 217, 255, 0.2),
        0 0 60px rgba(0, 217, 255, 0.1);
    background: rgba(0, 217, 255, 0.05);
}

/* Animated gradient overlay on hover */
.pricing-card-inner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 217, 255, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.pricing-card-inner:hover::before {
    opacity: 1;
}

/* Icon wrapper with animation */
.pricing-icon-wrapper {
    width: 100px;
    height: 100px;
    margin: 0 auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 217, 255, 0.1) 0%, rgba(212, 175, 55, 0.1) 100%);
    border-radius: 50%;
    position: relative;
    transition: transform 0.3s ease;
}

.pricing-card-inner:hover .pricing-icon-wrapper {
    transform: scale(1.1);
}

/* Rotating ring effect */
.pricing-icon-wrapper::before {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    border: 2px solid transparent;
    border-top-color: var(--accent-primary);
    border-right-color: var(--accent-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.pricing-card-inner:hover .pricing-icon-wrapper::before {
    opacity: 1;
    animation: rotate 2s linear infinite;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.pricing-icon {
    font-size: 3.5rem;
    display: block;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

/* Animated Coin - bounce and spin */
.animated-coin {
    animation: coinBounce 2s ease-in-out infinite;
}

@keyframes coinBounce {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-10px) rotate(15deg); }
    50% { transform: translateY(0) rotate(0deg); }
    75% { transform: translateY(-5px) rotate(-15deg); }
}

.pricing-card-inner:hover .animated-coin {
    animation: coinSpin 0.6s ease-in-out;
}

@keyframes coinSpin {
    0% { transform: rotateY(0deg); }
    100% { transform: rotateY(360deg); }
}

/* Animated Refresh - continuous rotation */
.animated-refresh {
    animation: refreshSpin 3s linear infinite;
}

@keyframes refreshSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.pricing-card-inner:hover .animated-refresh {
    animation: refreshSpinFast 0.5s linear infinite;
}

@keyframes refreshSpinFast {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Animated Phone - ring effect */
.animated-phone {
    animation: phoneRing 2s ease-in-out infinite;
}

@keyframes phoneRing {
    0%, 100% { transform: rotate(0deg); }
    10%, 30% { transform: rotate(-15deg); }
    20%, 40% { transform: rotate(15deg); }
    50% { transform: rotate(0deg); }
}

.pricing-card-inner:hover .animated-phone {
    animation: phoneBounce 0.5s ease;
}

@keyframes phoneBounce {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-15px) scale(1.1); }
}

.pricing-card h4 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-weight: 700;
}

.pricing-card p {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1rem;
}

/* CTA Section */
.pricing-cta {
    text-align: center;
    margin-top: 4rem;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.pricing-cta.visible {
    opacity: 1;
    transform: translateY(0);
}

.btn-pricing-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.2rem 3rem;
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 50px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 217, 255, 0.3);
    transition: all 0.3s ease;
}

/* Animated gradient background */
.btn-pricing-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--accent-secondary) 0%, #D4AF37 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-pricing-cta:hover::before {
    opacity: 1;
}

.btn-pricing-cta .btn-text,
.btn-pricing-cta .btn-icon {
    position: relative;
    z-index: 1;
}

.btn-pricing-cta .btn-icon {
    font-size: 1.3rem;
    transition: transform 0.3s ease;
}

.btn-pricing-cta:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 15px 40px rgba(0, 217, 255, 0.4),
        0 0 60px rgba(0, 217, 255, 0.2);
}

.btn-pricing-cta:hover .btn-icon {
    transform: translateX(5px);
}

/* Pulse animation */
.btn-pricing-cta::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 50px;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    z-index: -1;
    opacity: 0;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 0;
        transform: scale(1);
    }
    50% {
        opacity: 0.3;
        transform: scale(1.05);
    }
}

/* Responsive Design */
@media (max-width: 968px) {
    .pricing-benefits {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 2rem;
    }
    
    .pricing-card-inner {
        padding: 2.5rem 1.5rem;
    }
}

@media (max-width: 640px) {
    .pricing-info {
        padding: 4rem 1.5rem;
    }
    
    .pricing-benefits {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 3rem;
    }
    
    .pricing-card-inner {
        padding: 2rem 1.5rem;
    }
    
    .pricing-icon-wrapper {
        width: 80px;
        height: 80px;
        margin-bottom: 1.5rem;
    }
    
    .pricing-icon {
        font-size: 3rem;
    }
    
    .pricing-card h4 {
        font-size: 1.2rem;
    }
    
    .pricing-cta {
        margin-top: 3rem;
    }
    
    .btn-pricing-cta {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
}

/* CTA Section with Particles */
.services-cta {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, rgba(0, 217, 255, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    position: relative;
    overflow: hidden;
}

.cta-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.cta-particles .particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--accent-primary);
    border-radius: 50%;
    opacity: 0.4;
    animation: particleFloat 15s linear infinite;
}

.cta-particles .particle:nth-child(1) { top: 20%; left: 10%; animation-delay: 0s; }
.cta-particles .particle:nth-child(2) { top: 60%; left: 30%; animation-delay: 3s; }
.cta-particles .particle:nth-child(3) { top: 40%; right: 20%; animation-delay: 6s; }
.cta-particles .particle:nth-child(4) { bottom: 30%; left: 60%; animation-delay: 9s; }
.cta-particles .particle:nth-child(5) { top: 70%; right: 40%; animation-delay: 12s; }

@keyframes particleFloat {
    0% { transform: translateY(0) translateX(0); opacity: 0; }
    10% { opacity: 0.4; }
    90% { opacity: 0.4; }
    100% { transform: translateY(-100vh) translateX(50px); opacity: 0; }
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.cta-content p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.pulse-btn {
    animation: btnPulse 2s ease-in-out infinite;
}

@keyframes btnPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(0, 217, 255, 0.7); }
    50% { box-shadow: 0 0 20px 10px rgba(0, 217, 255, 0); }
}

/* Scroll Animations */
.animate-fade-in {
    animation: fadeIn 0.8s ease forwards;
}

.animate-slide-up {
    animation: slideUp 0.8s ease forwards;
}

.animate-slide-up.delay-1 {
    animation-delay: 0.2s;
    opacity: 0;
}

.animate-slide-up.delay-2 {
    animation-delay: 0.4s;
    opacity: 0;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

.animate-on-scroll.delay-1 {
    transition-delay: 0.1s;
}

.animate-on-scroll.delay-2 {
    transition-delay: 0.2s;
}

.animate-on-scroll.delay-3 {
    transition-delay: 0.3s;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .process-flow {
        flex-direction: column;
    }

    .process-arrow {
        transform: rotate(90deg);
        margin: 1rem 0;
    }
}

@media (max-width: 768px) {
    .services-hero {
        padding: calc(80px + 3rem) 1.5rem 3rem;
        min-height: 60vh;
    }

    .services-packages,
    .addons-section,
    .how-it-works,
    .why-choose,
    .services-cta {
        padding: 4rem 1.5rem;
    }

    .services-grid,
    .addons-grid,
    .why-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .float-shape {
        font-size: 2rem;
    }

    .service-card .service-icon-wrapper,
    .service-card .service-icon {
        width: 150px;
        height: 150px;
    }

    .service-card .service-icon {
        font-size: 4.5rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-buttons .btn {
        width: 100%;
    }
}

/* ===================================
   OLD SERVICES KEPT FOR COMPATIBILITY
   =================================== */

/* ===================================
   TEAM/ABOUT SECTION
   =================================== */

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.team-member {
    background: var(--bg-card);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(0, 217, 255, 0.1);
    transition: var(--transition-smooth);
    text-align: center;
}

.team-member:hover {
    transform: translateY(-8px);
    box-shadow: var(--glow-card);
    border-color: var(--accent-primary);
}

.team-photo {
    width: 100%;
    height: 280px;
    background: linear-gradient(135deg, rgba(0, 217, 255, 0.2) 0%, rgba(139, 92, 246, 0.2) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
}

.team-info {
    padding: 2rem;
}

.team-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.team-role {
    color: var(--accent-primary);
    font-weight: 600;
    margin-bottom: 1rem;
}

.team-info p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ===================================
   CONTACT FORM
   =================================== */

.contact-section {
    background: var(--bg-secondary);
}

.contact-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 4rem;
}

.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--accent-gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-details h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.contact-details p {
    color: var(--text-secondary);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-weight: 600;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1rem;
    background: var(--bg-card);
    border: 1px solid rgba(0, 217, 255, 0.2);
    border-radius: 10px;
    color: var(--text-primary);
    font-family: 'Open Sans', sans-serif;
    transition: var(--transition-smooth);
    font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 20px rgba(0, 217, 255, 0.2);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

/* FAQ Accordion */
.faq-section {
    margin-top: 4rem;
    padding: 4rem 2rem;
    background: var(--bg-primary);
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-card);
    border-radius: 15px;
    margin-bottom: 1rem;
    border: 1px solid rgba(0, 217, 255, 0.1);
    overflow: hidden;
    transition: var(--transition-smooth);
}

.faq-item:hover {
    border-color: var(--accent-primary);
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 1.1rem;
}

.faq-question h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    flex: 1;
}

.faq-toggle {
    font-size: 1.5rem;
    color: var(--accent-primary);
    transition: transform 0.3s ease;
    margin-left: 1rem;
    flex-shrink: 0;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 1.5rem 1.5rem;
}

.faq-answer p {
    color: var(--text-secondary);
    line-height: 1.8;
}

.faq-answer a {
    color: var(--accent-primary);
    text-decoration: underline;
}

.faq-answer a:hover {
    color: var(--accent-secondary);
}

.faq-cta {
    text-align: center;
    margin-top: 3rem;
}

.faq-cta p {
    font-size: 1.2rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

/* ===================================
   CASE STUDY PAGE
   =================================== */

.case-study-hero {
    padding: calc(80px + 4rem) 2rem 4rem;
    background: var(--bg-secondary);
    text-align: center;
}

.case-study-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.meta-item {
    text-align: center;
}

.meta-label {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.meta-value {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 1.1rem;
}

.case-study-content {
    max-width: 900px;
    margin: 0 auto;
}

.case-study-image {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, rgba(0, 217, 255, 0.2) 0%, rgba(139, 92, 246, 0.2) 100%);
    border-radius: 20px;
    margin: 3rem 0;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.result-card {
    background: var(--bg-card);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    border: 1px solid rgba(0, 217, 255, 0.1);
}

.result-value {
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.result-label {
    color: var(--text-secondary);
}

/* ===================================
   FOOTER - ANIMATED CARTOON STYLE
   =================================== */

.footer-animated {
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 50%, #0a0d14 100%);
    border-top: 2px solid rgba(0, 217, 255, 0.2);
    padding: 5rem 2rem 0;
    width: 100%;
    position: relative;
    overflow: hidden;
}

/* Floating Background Elements */
.footer-bg-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.float-element {
    position: absolute;
    font-size: 2rem;
    opacity: 0.15;
    animation: floatRandom 8s ease-in-out infinite;
}

.float-element:nth-child(1) { animation-delay: 0s; }
.float-element:nth-child(2) { animation-delay: 1s; }
.float-element:nth-child(3) { animation-delay: 2s; }
.float-element:nth-child(4) { animation-delay: 3s; }
.float-element:nth-child(5) { animation-delay: 4s; }

@keyframes floatRandom {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    25% { transform: translateY(-20px) rotate(5deg); }
    50% { transform: translateY(-10px) rotate(-5deg); }
    75% { transform: translateY(-25px) rotate(3deg); }
}

/* Footer Container */
.footer-container {
    max-width: var(--container-max);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
    align-items: start;
}

.footer-section {
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
}

.footer-section:nth-child(1) { animation-delay: 0.1s; }
.footer-section:nth-child(2) { animation-delay: 0.2s; }
.footer-section:nth-child(3) { animation-delay: 0.3s; }
.footer-section:nth-child(4) { animation-delay: 0.4s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
    from {
        opacity: 0;
        transform: translateY(30px);
    }
}

/* 1. ANIMATED BRAND SECTION */
.brand-section {
    padding-right: 2rem;
}

.footer-logo {
    position: relative;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.footer-logo-img {
    height: 130px;
    width: auto;
    object-fit: contain;
    display: block;
    margin-bottom: 0.5rem;
    background: transparent;
    mix-blend-mode: screen;
}

.footer-logo-text {
    font-size: 1.5rem;
    font-weight: 900;
    font-family: 'Georgia', 'Times New Roman', serif;
    display: flex;
    gap: 0.3rem;
    justify-content: center;
    margin-bottom: 0.5rem;
}

.footer-logo-growthly {
    color: #ffffff;
}

.footer-logo-spark {
    color: #6dd5ed;
}

.brand-text {
    font-size: 2rem;
    font-weight: 800;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: brandGlow 3s ease-in-out infinite;
    display: inline-block;
}

@keyframes brandGlow {
    0%, 100% { filter: drop-shadow(0 0 10px rgba(0, 217, 255, 0.5)); }
    50% { filter: drop-shadow(0 0 20px rgba(139, 92, 246, 0.8)); }
}

.logo-sparkle {
    position: absolute;
    top: -10px;
    right: -10px;
    font-size: 1.5rem;
    animation: sparkleRotate 2s linear infinite;
}

@keyframes sparkleRotate {
    0% { transform: rotate(0deg) scale(1); opacity: 1; }
    50% { transform: rotate(180deg) scale(1.3); opacity: 0.7; }
    100% { transform: rotate(360deg) scale(1); opacity: 1; }
}

.brand-tagline {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.brand-tagline .highlight {
    color: var(--accent-primary);
    font-weight: 600;
}

.brand-badges {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.badge {
    background: rgba(0, 217, 255, 0.1);
    border: 1px solid rgba(0, 217, 255, 0.3);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--text-primary);
    font-weight: 600;
}

.bounce-1 { animation: gentleBounce 2s ease-in-out infinite; }
.bounce-2 { animation: gentleBounce 2s ease-in-out infinite 0.3s; }
.bounce-3 { animation: gentleBounce 2s ease-in-out infinite 0.6s; }

@keyframes gentleBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

/* Section Titles */
.section-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gradient);
    transition: width 0.3s ease;
}

.footer-section:hover .section-title::after {
    width: 100%;
}

/* 2. QUICK LINKS WITH ANIMATED ICONS */
.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links li:last-child {
    margin-bottom: 0;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    font-size: 0.95rem;
    line-height: 1.5;
}

.link-icon {
    font-size: 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    width: 1.8rem;
    height: 1.8rem;
    line-height: 1;
}

.footer-links a:hover {
    color: var(--accent-primary);
}

.footer-links a:hover .link-icon {
    transform: scale(1.2);
}

/* 3. SERVICES WITH CARTOON ANIMATED ICONS */
.footer-services {
    list-style: none;
}

.footer-services li {
    color: var(--text-secondary);
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.95rem;
    cursor: default;
    transition: color 0.3s ease;
    line-height: 1.5;
}

.footer-services li:last-child {
    margin-bottom: 0;
}

.footer-services .service-icon {
    font-size: 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.5s ease;
    flex-shrink: 0;
    width: 1.8rem;
    height: 1.8rem;
    line-height: 1;
}

.footer-services li:hover {
    color: var(--accent-primary);
}

.footer-services li:hover .service-icon {
    transform: scale(1.2);
}

/* 4. CONTACT INFO WITH ANIMATED ICONS */
.contact-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.contact-item:hover {
    color: var(--accent-primary);
}

.contact-icon {
    font-size: 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 1.8rem;
    height: 1.8rem;
    line-height: 1;
}

/* Wiggle Animation */
.contact-item:hover .wiggle-hover {
    animation: wiggle 0.5s ease;
}

@keyframes wiggle {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-15deg); }
    75% { transform: rotate(15deg); }
}

/* Ring Animation */
.contact-item:hover .ring-hover {
    animation: ring 0.6s ease;
}

@keyframes ring {
    0%, 100% { transform: rotate(0deg); }
    10%, 30%, 50%, 70%, 90% { transform: rotate(-10deg); }
    20%, 40%, 60%, 80% { transform: rotate(10deg); }
}

/* Bounce Animation */
.contact-item:hover .bounce-hover {
    animation: iconBounce 0.6s ease;
}

@keyframes iconBounce {
    0%, 100% { transform: translateY(0); }
    25% { transform: translateY(-10px); }
    50% { transform: translateY(-5px); }
    75% { transform: translateY(-8px); }
}

/* 5. SOCIAL MEDIA & NEWSLETTER ROW */
.footer-action-row {
    background: rgba(10, 36, 99, 0.1);
    border-top: 1px solid rgba(0, 217, 255, 0.1);
    border-bottom: 1px solid rgba(0, 217, 255, 0.1);
    padding: 3rem 2rem;
    position: relative;
    z-index: 1;
}

.action-grid {
    max-width: var(--container-max);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: center;
}

.social-section h4,
.newsletter-section h4 {
    font-size: 1.3rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-weight: 700;
}

/* Social Links Animated */
.social-links-animated {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.social-btn {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    margin-bottom: 0.8rem;
    transition: color 0.3s ease;
    line-height: 1.5;
}

.social-btn:last-child {
    margin-bottom: 0;
}

.social-icon {
    font-size: 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 1.8rem;
    height: 1.8rem;
    line-height: 1;
    transition: transform 0.5s ease;
}

.social-text {
    font-size: 0.95rem;
    font-weight: 400;
}

.social-btn:hover {
    color: var(--accent-primary);
}

.social-btn:hover .social-icon {
    transform: scale(1.2);
}

/* Newsletter Section */
.newsletter-section p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.newsletter-form {
    max-width: 500px;
}

.input-wrapper {
    display: flex;
    gap: 0.5rem;
    position: relative;
}

.newsletter-input {
    flex: 1;
    padding: 1rem 1.5rem;
    background: var(--bg-card);
    border: 2px solid rgba(0, 217, 255, 0.2);
    border-radius: 50px;
    color: var(--text-primary);
    font-size: 0.95rem;
    outline: none;
    transition: all 0.3s ease;
}

.newsletter-input:focus {
    border-color: var(--accent-primary);
    box-shadow: 0 0 20px rgba(0, 217, 255, 0.3);
    background: var(--bg-primary);
}

.newsletter-input::placeholder {
    color: var(--text-muted);
}

.newsletter-btn {
    padding: 1rem 2rem;
    background: var(--accent-gradient);
    border: none;
    border-radius: 50px;
    color: white;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
    overflow: hidden;
}

.newsletter-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.newsletter-btn:hover::before {
    width: 300px;
    height: 300px;
}

.newsletter-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 40px rgba(0, 217, 255, 0.4);
}

.newsletter-btn:active {
    transform: scale(0.95);
}

.btn-icon {
    font-size: 1.2rem;
    animation: btnIconPulse 2s ease-in-out infinite;
}

@keyframes btnIconPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

/* 7. BOTTOM BAR WITH ANIMATED DIVIDER */
.footer-bottom {
    padding: 2rem 0;
    position: relative;
    z-index: 1;
}

.footer-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.divider-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-primary);
    border-radius: 50%;
    animation: dotPulse 2s ease-in-out infinite;
}

.divider-dot:last-child {
    animation-delay: 1s;
}

@keyframes dotPulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.5); opacity: 1; }
}

.divider-line {
    flex: 1;
    max-width: 200px;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, var(--accent-primary) 50%, transparent 100%);
    animation: lineGlow 3s ease-in-out infinite;
}

@keyframes lineGlow {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

.footer-bottom-content {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-bottom-content p {
    margin-bottom: 0.8rem;
}

.brand-highlight {
    color: var(--accent-primary);
    font-weight: 600;
}

.heart-beat {
    display: inline-block;
    animation: heartBeat 1.5s ease-in-out infinite;
    color: #ff0066;
}

@keyframes heartBeat {
    0%, 100% { transform: scale(1); }
    10%, 30% { transform: scale(1.3); }
    20%, 40% { transform: scale(1); }
}

.footer-links-bottom {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.footer-links-bottom a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links-bottom a:hover {
    color: var(--accent-primary);
}

.separator {
    color: var(--text-muted);
}

/* RESPONSIVE DESIGN */
@media (max-width: 1024px) {
    .footer-container {
        grid-template-columns: 1fr 1fr 1fr 1fr;
    }
    
    .action-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .footer-animated {
        padding: 3rem 1.5rem 0;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .brand-section {
        padding-right: 0;
        text-align: center;
    }
    
    .brand-badges {
        justify-content: center;
    }
    
    .footer-links,
    .footer-services,
    .contact-items {
        align-items: center;
        text-align: center;
    }
    
    .footer-links a,
    .contact-item {
        justify-content: center;
    }
    
    .social-links-animated {
        justify-content: center;
    }
    
    .social-btn {
        width: 100%;
        justify-content: center;
    }
    
    .newsletter-section {
        text-align: center;
    }
    
    .input-wrapper {
        flex-direction: column;
    }
    
    .newsletter-btn {
        width: 100%;
        justify-content: center;
    }
    
    .footer-links-bottom {
        flex-direction: column;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .brand-text {
        font-size: 1.5rem;
    }
    
    .float-element {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 1.1rem;
    }
}

/* ===================================
   BACK TO TOP BUTTON
   =================================== */

.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--accent-gradient);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
    z-index: var(--z-sticky);
    box-shadow: var(--glow-blue);
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 217, 255, 0.5);
}

/* ===================================
   SCROLL ANIMATIONS
   =================================== */

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Staggered animations */
.fade-in:nth-child(1) { transition-delay: 0.1s; }
.fade-in:nth-child(2) { transition-delay: 0.2s; }
.fade-in:nth-child(3) { transition-delay: 0.3s; }
.fade-in:nth-child(4) { transition-delay: 0.4s; }

/* ===================================
   RESPONSIVE DESIGN
   =================================== */

/* Large Tablet / Small Desktop */
@media (max-width: 968px) {
    section {
        padding: var(--section-padding-mobile);
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .hero {
        min-height: auto;
        padding: calc(80px + 3rem) 1.5rem 3rem;
    }
    
    .hero-animation {
        height: 350px;
    }
    
    .animation-container {
        max-width: 400px;
    }
    
    .floating-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .grid-2,
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .case-study-meta {
        gap: 1rem;
    }
}

/* Tablet Portrait *//* Tablet Portrait */
@media (max-width: 768px) {
    :root {
        --container-padding: 1.5rem;
    }
    
    .nav-container {
        padding: 0 var(--container-padding) 0 var(--container-padding);
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: calc(70px);
        flex-direction: column;
        background: rgba(15, 17, 23, 0.98);
        backdrop-filter: blur(10px);
        width: 100%;
        height: calc(100vh - 70px);
        padding: 2rem;
        transition: left 0.3s ease;
        border-top: 1px solid rgba(0, 217, 255, 0.2);
        gap: 0;
        overflow-y: auto;
        z-index: 999;
        align-items: flex-start;
    }
    
    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid rgba(0, 217, 255, 0.1);
        text-align: left;
    }
    
    .nav-menu a {
        display: block;
        padding: 1rem;
        width: 100%;
        text-align: left;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hamburger {
        display: flex;
    }
    
    .logo-img {
        height: 55px;
    }
    
    .logo-text {
        font-size: 1.1rem;
        font-weight: 900;
        font-family: 'Georgia', 'Times New Roman', serif;
        margin-left: 0.3rem;
    }
    
    .hero {
        padding: calc(80px + 2rem) 1.5rem 2rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .hero-animation {
        height: 300px;
    }
    
    .animation-container {
        max-width: 350px;
    }
    
    .floating-icon {
        width: 45px;
        height: 45px;
        font-size: 1.4rem;
    }
    
    .cartoon-laptop {
        width: 250px;
        height: 170px;
    }
    
    .footer-logo-img {
        height: 100px;
    }
    
    .footer-logo-text {
        font-size: 1.2rem;
    }
    
    .portfolio-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }
}

/* Large Mobile */
@media (max-width: 425px) {
    :root {
        --container-padding: 1rem;
    }
    
    .hero {
        padding: calc(80px + 1.5rem) 1rem 1.5rem;
    }
    
    .hero h1 {
        font-size: 1.75rem;
        line-height: 1.3;
    }
    
    .hero p {
        font-size: 0.95rem;
    }
    
    .hero-animation {
        height: 280px;
    }
    
    .animation-container {
        max-width: 300px;
    }
    
    .floating-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .cartoon-laptop {
        width: 200px;
        height: 140px;
    }
    
    .hero-cta {
        flex-direction: column;
        width: 100%;
    }
    
    .btn {
        width: 100%;
        text-align: center;
        padding: 0.9rem 2rem;
    }
    
    .section-header h2 {
        font-size: 1.75rem;
    }
    
    .section-header p {
        font-size: 0.95rem;
    }
    
    .logo-img {
        height: 50px;
    }
    
    .logo-text {
        font-size: 1rem;
    }
    
    .service-card .service-icon-wrapper,
    .service-card .service-icon {
        width: 130px;
        height: 130px;
    }
    
    .service-card .service-icon {
        font-size: 4rem;
    }
}

/* Standard Mobile */
@media (max-width: 375px) {
    :root {
        --container-padding: 0.875rem;
    }
    
    .hero h1 {
        font-size: 1.5rem;
    }
    
    .hero-tag {
        font-size: 0.8rem;
        padding: 0.4rem 1.2rem;
    }
    
    .hero-animation {
        height: 250px;
    }
    
    .animation-container {
        max-width: 280px;
    }
    
    .floating-icon {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .cartoon-laptop {
        width: 180px;
        height: 120px;
    }
    
    .section-header h2 {
        font-size: 1.5rem;
    }
    
    .logo-img {
        height: 45px;
    }
    
    .logo-text {
        font-size: 0.95rem;
    }
    
    .nav-menu {
        padding: 1.5rem;
    }
    
    .promise-item,
    .service-card {
        padding: 1.5rem 1rem;
    }
    
    .service-card .service-icon-wrapper,
    .service-card .service-icon {
        width: 120px;
        height: 120px;
    }
    
    .service-card .service-icon {
        font-size: 3.5rem;
    }
}

/* Small Mobile */
@media (max-width: 320px) {
    :root {
        --container-padding: 0.75rem;
    }
    
    .hero {
        padding: calc(70px + 1rem) 0.75rem 1rem;
    }
    
    .hero h1 {
        font-size: 1.35rem;
    }
    
    .hero p {
        font-size: 0.9rem;
    }
    
    .hero-animation {
        height: 220px;
    }
    
    .animation-container {
        max-width: 250px;
    }
    
    .floating-icon {
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
    }
    
    .cartoon-laptop {
        width: 150px;
        height: 100px;
    }
    
    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .section-header h2 {
        font-size: 1.35rem;
    }
    
    .section-tag {
        font-size: 0.75rem;
    }
    
    .logo-img {
        height: 40px;
    }
    
    .logo-text {
        font-size: 0.9rem;
        margin-left: 0.25rem;
    }
    
    .navbar {
        height: 65px;
        padding: 0.5rem 0;
    }
    
    .nav-menu {
        top: 65px;
        height: calc(100vh - 65px);
        padding: 1rem;
    }
    
    .grid-3,
    .promise-grid,
    .process-steps,
    .team-grid,
    .results-grid {
        grid-template-columns: 1fr;
    }
    
    .back-to-top {
        bottom: 1rem;
        right: 1rem;
        width: 45px;
        height: 45px;
    }
}

/* Extra safeguards for all mobile sizes */
@media (max-width: 768px) {
    /* Prevent horizontal scrolling */
    body, html {
        overflow-x: hidden;
        max-width: 100vw;
    }
    
    section {
        overflow-x: hidden;
    }
    
    /* Fix any elements that might cause overflow */
    .container {
        max-width: 100%;
        padding-left: var(--container-padding);
        padding-right: var(--container-padding);
    }
    
    /* Hide floating icons that might overflow */
    .floating-icon[style*="left: -"] {
        left: 2% !important;
    }
    
    .floating-icon[style*="right: -"] {
        right: 2% !important;
    }
    
    /* Improve touch targets */
    button, a, input, select, textarea {
        min-height: 44px;
        min-width: 44px;
    }
    
    /* Optimize animations for mobile performance */
    * {
        -webkit-tap-highlight-color: transparent;
    }
    
    .animation-container {
        transform: translateZ(0);
        will-change: transform;
    }
}

/* ===================================
   UTILITY CLASSES
   =================================== */

.text-center {
    text-align: center;
}

.text-gradient {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.glow-text {
    text-shadow: 0 0 20px rgba(0, 217, 255, 0.5);
}

.mt-1 { margin-top: var(--spacing-sm); }
.mt-2 { margin-top: var(--spacing-md); }
.mt-3 { margin-top: var(--spacing-lg); }

.mb-1 { margin-bottom: var(--spacing-sm); }
.mb-2 { margin-bottom: var(--spacing-md); }
.mb-3 { margin-bottom: var(--spacing-lg); }

/* Hide scrollbar but keep functionality */
.hide-scrollbar::-webkit-scrollbar {
    display: none;
}

.hide-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Missing Animations for Portfolio Page */
@keyframes glowPulse {
    0%, 100% {
        opacity: 0.5;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.2);
    }
}

/* ===================================
   ABOUT PAGE STYLES
   =================================== */

/* About Hero Section */
.about-hero {
    padding: calc(80px + 6rem) 1rem 6rem;
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.about-hero::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 217, 255, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    top: -200px;
    right: -200px;
    animation: floatRandom 15s ease-in-out infinite;
}

.about-hero::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    bottom: -100px;
    left: -100px;
    animation: floatRandom 12s ease-in-out infinite 2s;
}

.about-hero-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.about-hero-text h1 {
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.7;
}

/* Our Story Section */
.our-story {
    padding: 6rem 1rem;
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.our-story .container {
    max-width: 1700px;
}

.story-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 4rem;
    margin-top: 4rem;
    align-items: start;
}

.story-paragraph {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    margin-bottom: 3rem;
    padding: 2rem;
    background: var(--bg-card);
    border-radius: 20px;
    border: 1px solid rgba(0, 217, 255, 0.1);
    transition: all 0.4s ease;
}

.story-paragraph:hover {
    transform: translateX(10px);
    border-color: var(--accent-primary);
    box-shadow: 0 10px 30px rgba(0, 217, 255, 0.15);
}

.story-paragraph p {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1.05rem;
}

/* Mission & Vision Section */
.mission-vision {
    padding: 6rem 1rem;
    background: var(--bg-primary);
    position: relative;
}

.mission-vision .container {
    max-width: 1700px;
}

.mv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.mission-vision-card {
    background: var(--bg-card);
    padding: 4rem 3rem;
    border-radius: 25px;
    border: 2px solid rgba(0, 217, 255, 0.1);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
    overflow: hidden;
}

.mission-vision-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--accent-gradient);
    opacity: 0.05;
    transition: left 0.6s ease;
}

.mission-vision-card:hover::before {
    left: 0;
}

.mission-vision-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0, 217, 255, 0.3);
    border-color: var(--accent-primary);
}

.mv-icon {
    margin: 0 auto 2rem;
    display: block;
}

.mission-vision-card h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.mission-vision-card p {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1.1rem;
}

/* Core Values Section */
.core-values {
    padding: 6rem 1rem;
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.core-values .container {
    max-width: 1700px;
}

.core-values::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.05) 0%, transparent 70%);
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    animation: floatPulse 10s ease-in-out infinite;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.value-tile {
    background: var(--bg-card);
    padding: 3rem 2rem;
    border-radius: 20px;
    border: 2px solid rgba(0, 217, 255, 0.1);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.value-tile:hover {
    transform: translateY(-10px);
    border-color: var(--accent-secondary);
    box-shadow: 0 15px 40px rgba(139, 92, 246, 0.2);
}

.value-icon {
    margin: 0 auto 1.5rem;
    display: block;
}

.value-tile h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.value-tile p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Team Section */
.team {
    padding: 6rem 1rem;
    background: var(--bg-primary);
    position: relative;
}

.team .container {
    max-width: 1400px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.team-card {
    background: var(--bg-card);
    border-radius: 25px;
    overflow: hidden;
    border: 2px solid rgba(0, 217, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.team-card:hover {
    transform: translateY(-12px);
    border-color: var(--accent-primary);
    box-shadow: 0 20px 50px rgba(0, 217, 255, 0.3);
}

.team-avatar-frame {
    width: 100%;
    height: 240px;
    background: linear-gradient(135deg, rgba(0, 217, 255, 0.15) 0%, rgba(139, 92, 246, 0.15) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4.5rem;
    position: relative;
    overflow: hidden;
}

.team-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-card h3 {
    font-size: 1.5rem;
    margin: 1.5rem 2rem 0.8rem;
    color: var(--text-primary);
}

.role-badge {
    display: inline-block;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    font-size: 1rem;
    margin: 0 2rem 1rem;
}

.team-bio {
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0 2rem 1.5rem;
    font-size: 0.95rem;
}

.team-social {
    display: flex;
    gap: 1rem;
    padding: 0 2rem 2rem;
}

.team-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(0, 217, 255, 0.1);
    transition: all 0.3s ease;
}

.team-social a:hover {
    background: var(--accent-primary);
    transform: translateY(-5px) rotate(10deg);
}

.team-social svg {
    fill: var(--accent-primary);
}

.team-social a:hover svg {
    fill: white;
}

/* How We Work Section */
.how-we-work {
    padding: 6rem 1rem;
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.how-we-work .container {
    max-width: 1700px;
}

.how-we-work::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 217, 255, 0.04) 0%, transparent 70%);
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    animation: floatPulse 12s ease-in-out infinite;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.2rem;
    margin-top: 1rem;
    margin-bottom: 3rem;
}

.work-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
    position: relative;
    z-index: 1;
}

.work-step {
    background: var(--bg-card);
    padding: 3rem 2rem;
    border-radius: 20px;
    border: 2px solid rgba(0, 217, 255, 0.1);
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
}

.work-step:hover {
    transform: translateY(-10px);
    border-color: var(--accent-primary);
    box-shadow: 0 15px 40px rgba(0, 217, 255, 0.2);
}

.step-icon {
    margin: 0 auto 1.5rem;
    display: block;
}

.work-step h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.work-step p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.step-arrow {
    display: block;
    margin: 1rem auto 0;
}

/* Why Choose Us Section */
.why-choose-us {
    padding: 6rem 1rem;
    background: var(--bg-primary);
    position: relative;
}

.why-choose-us .container {
    max-width: 1400px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.stat-block {
    background: var(--bg-card);
    padding: 3.5rem 2rem;
    border-radius: 25px;
    border: 2px solid rgba(0, 217, 255, 0.1);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.stat-block:hover {
    transform: translateY(-12px) scale(1.05);
    border-color: var(--accent-secondary);
    box-shadow: 0 20px 60px rgba(139, 92, 246, 0.3);
}

.stat-icon {
    margin: 0 auto 1.5rem;
    display: block;
}

.stat-block h3 {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

.stat-block p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    padding: 8rem 1rem;
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.cta-background-illustration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.5;
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.cta-content p {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive About Page */
@media (max-width: 1024px) {
    .about-hero-content,
    .story-content,
    .mv-grid,
    .work-steps {
        grid-template-columns: 1fr;
    }

    .work-steps {
        gap: 3rem;
    }

    .step-arrow {
        transform: rotate(90deg);
    }
}

@media (max-width: 768px) {
    .about-hero {
        padding: calc(80px + 4rem) 1.5rem 4rem;
        min-height: 70vh;
    }

    .our-story,
    .mission-vision,
    .core-values,
    .team,
    .how-we-work,
    .why-choose-us {
        padding: 4rem 1.5rem;
    }

    .cta-section {
        padding: 5rem 1.5rem;
    }

    .cta-content h2 {
        font-size: 2rem;
    }

    .cta-content p {
        font-size: 1.1rem;
    }

    .values-grid,
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .team-grid {
        gap: 2rem;
    }
}
