/* ===========================
   CloudNerve Design System
   =========================== */

/* Color Palette - Black & Blue Theme */
:root {
    /* Primary Colors */
    --primary-blue: #00a6ff;
    --secondary-blue: #0066cc;
    --accent-blue: #33b5ff;
    --electric-blue: #00d4ff;

    /* Dark Palette */
    --black: #000000;
    --dark-900: #0a0a0a;
    --dark-800: #111111;
    --dark-700: #1a1a1a;
    --dark-600: #262626;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #00a6ff 0%, #0066cc 100%);
    --gradient-accent: linear-gradient(135deg, #00d4ff 0%, #00a6ff 50%, #0066cc 100%);
    --gradient-overlay: linear-gradient(180deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.4) 100%);

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

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 5rem;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 166, 255, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 166, 255, 0.2);
    --shadow-lg: 0 8px 32px rgba(0, 166, 255, 0.3);
    --shadow-glow: 0 0 40px rgba(0, 212, 255, 0.4);
}

/* ===========================
   Reset & Base Styles
   =========================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-primary);
    background-color: var(--black);
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

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

h1 {
    font-size: clamp(2.5rem, 6vw, 5rem);
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    letter-spacing: -0.01em;
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
}

p {
    font-size: clamp(1rem, 2vw, 1.125rem);
    color: rgba(255, 255, 255, 0.8);
}

/* ===========================
   Navigation
   =========================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.25rem var(--spacing-md);
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(30px) saturate(180%);
    border-bottom: 2px solid transparent;
    border-image: linear-gradient(90deg, transparent 0%, rgba(0, 166, 255, 0.5) 50%, transparent 100%) 1;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 24px rgba(0, 166, 255, 0.15), 0 0 40px rgba(0, 212, 255, 0.1);
}

.navbar.scrolled {
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(40px) saturate(200%);
    box-shadow: 0 8px 32px rgba(0, 166, 255, 0.25), 0 0 60px rgba(0, 212, 255, 0.15);
    padding: 1rem var(--spacing-md);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 55px;
    width: auto;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    filter: drop-shadow(0 0 10px rgba(0, 166, 255, 0.3));
}

.logo:hover {
    transform: scale(1.08) translateY(-2px);
    filter: drop-shadow(0 0 20px rgba(0, 212, 255, 0.6));
}

.nav-menu {
    display: flex;
    gap: 2.5rem;
    list-style: none;
    align-items: center;
}

.nav-link {
    color: rgba(255, 255, 255, 0.95);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.02em;
    position: relative;
    padding: 0.5rem 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-shadow: 0 0 20px rgba(0, 166, 255, 0);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--electric-blue), var(--primary-blue));
    border-radius: 2px;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.8);
}

.nav-link:hover {
    color: var(--electric-blue);
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
    transform: translateY(-2px);
}

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

.cta-button {
    background: linear-gradient(135deg, var(--electric-blue) 0%, var(--primary-blue) 50%, var(--secondary-blue) 100%);
    background-size: 200% 200%;
    color: white;
    border: none;
    padding: 0.85rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 212, 255, 0.4), 0 0 30px rgba(0, 166, 255, 0.2);
    position: relative;
    overflow: hidden;
}

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

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

.cta-button:hover {
    background-position: 100% 100%;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 35px rgba(0, 212, 255, 0.6), 0 0 50px rgba(0, 166, 255, 0.4);
}

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

.menu-toggle span {
    width: 28px;
    height: 3px;
    background: var(--primary-blue);
    border-radius: 2px;
    transition: all var(--transition-normal);
}

/* ===========================
   Hero Section
   =========================== */

.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0, 102, 204, 0.3) 0%, rgba(0, 166, 255, 0.2) 50%, rgba(0, 0, 0, 0.4) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: var(--spacing-md);
    max-width: 1000px;
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    background: linear-gradient(135deg, #ffffff 0%, var(--electric-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--spacing-sm);
    animation: slideInDown 0.8s ease-out;
}

.hero-subtitle {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--spacing-md);
    font-weight: 300;
    animation: fadeIn 1s ease-out 0.3s backwards;
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeIn 1s ease-out 0.6s backwards;
}

.btn-primary,
.btn-secondary {
    padding: 1rem 2.5rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all var(--transition-normal);
    text-decoration: none;
    display: inline-block;
    border: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: var(--shadow-glow);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 166, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(0, 166, 255, 0.2);
    border-color: var(--primary-blue);
    transform: translateY(-3px);
}

.scroll-indicator {
    position: absolute;
    bottom: var(--spacing-md);
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    z-index: 2;
    cursor: pointer;
}

.scroll-indicator svg {
    width: 30px;
    height: 30px;
    stroke: var(--primary-blue);
}

/* ===========================
   Services Section
   =========================== */

.services {
    padding: var(--spacing-xl) var(--spacing-md);
    background: linear-gradient(180deg, var(--black) 0%, var(--dark-800) 50%, var(--black) 100%);
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--primary-blue) 50%, transparent 100%);
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
    animation: fadeInUp 0.8s ease-out;
}

.section-title {
    background: linear-gradient(135deg, #ffffff 0%, var(--primary-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--spacing-sm);
}

.section-description {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.7);
}

/* First section header spacing (for pages without hero) */
section:first-of-type .section-header {
    padding-top: calc(80px + var(--spacing-lg));
}

.services-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
    padding: var(--spacing-md) 0;
}

.service-card {
    background: rgba(26, 26, 26, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 166, 255, 0.1);
    border-radius: var(--radius-md);
    padding: var(--spacing-md);
    transition: all var(--transition-normal);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

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

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

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-blue);
    box-shadow: var(--shadow-lg);
    background: rgba(26, 26, 26, 0.8);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-sm);
    transition: all var(--transition-normal);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: var(--shadow-glow);
}

.service-icon svg {
    width: 30px;
    height: 30px;
    stroke: white;
    fill: none;
    stroke-width: 2;
}

.service-card h3 {
    color: white;
    margin-bottom: var(--spacing-xs);
    font-size: 1.5rem;
}

.service-card p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
}

/* ===========================
   About Section
   =========================== */

.about {
    padding: var(--spacing-xl) var(--spacing-md);
    background: var(--black);
    position: relative;
    overflow: hidden;
}

.about-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.about-content h2 {
    background: linear-gradient(135deg, #ffffff 0%, var(--primary-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--spacing-sm);
}

.about-content p {
    margin-bottom: var(--spacing-sm);
    font-size: 1.125rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
}

.stat-item {
    text-align: center;
    padding: var(--spacing-sm);
    background: rgba(0, 166, 255, 0.05);
    border-radius: var(--radius-sm);
    border: 1px solid rgba(0, 166, 255, 0.1);
    transition: all var(--transition-normal);
}

.stat-item:hover {
    transform: scale(1.05);
    border-color: var(--primary-blue);
    background: rgba(0, 166, 255, 0.1);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
}

.about-visual {
    position: relative;
    min-height: 400px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-sm);
}

.feature-item {
    background: rgba(0, 166, 255, 0.05);
    padding: var(--spacing-sm);
    border-radius: var(--radius-sm);
    border: 1px solid rgba(0, 166, 255, 0.1);
    transition: all var(--transition-normal);
}

.feature-item:hover {
    background: rgba(0, 166, 255, 0.1);
    border-color: var(--primary-blue);
    transform: translateX(5px);
}

.feature-item h4 {
    color: var(--primary-blue);
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.feature-item p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

/* ===========================
   Page Header (for non-home pages)
   =========================== */

.page-header {
    padding: calc(80px + var(--spacing-sm)) var(--spacing-md) var(--spacing-md);
    background: linear-gradient(180deg, var(--dark-900) 0%, var(--black) 100%);
    text-align: center;
    position: relative;
}

.page-header::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--primary-blue) 50%, transparent 100%);
}

.page-header-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.page-title {
    background: linear-gradient(135deg, #ffffff 0%, var(--electric-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--spacing-sm);
}

.page-subtitle {
    font-size: clamp(1.125rem, 2.5vw, 1.5rem);
    color: rgba(255, 255, 255, 0.8);
    font-weight: 300;
}

/* Page Header Animations */
.page-header-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    z-index: 0;
}

.animated-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.15;
    filter: blur(40px);
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--primary-blue) 0%, transparent 70%);
    top: -100px;
    left: -50px;
    animation: float-shape-1 20s ease-in-out infinite;
}

.shape-2 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, var(--electric-blue) 0%, transparent 70%);
    top: 50%;
    right: -50px;
    animation: float-shape-2 18s ease-in-out infinite;
}

.shape-3 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, #00d4ff 0%, transparent 70%);
    bottom: -50px;
    left: 50%;
    animation: float-shape-3 22s ease-in-out infinite;
}

@keyframes float-shape-1 {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(30px, 40px) scale(1.1);
    }

    66% {
        transform: translate(-20px, -30px) scale(0.9);
    }
}

@keyframes float-shape-2 {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(-40px, -30px) scale(0.9);
    }

    66% {
        transform: translate(20px, 40px) scale(1.1);
    }
}

@keyframes float-shape-3 {

    0%,
    100% {
        transform: translate(-50%, 0) scale(1);
    }

    33% {
        transform: translate(-50%, -40px) scale(1.1);
    }

    66% {
        transform: translate(-50%, 30px) scale(0.9);
    }
}

.animate-title {
    animation: titleSlideIn 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    opacity: 0;
}

.animate-subtitle {
    animation: subtitleFadeIn 1s ease-out 0.3s forwards;
    opacity: 0;
}

@keyframes titleSlideIn {
    0% {
        opacity: 0;
        transform: translateY(-30px) scale(0.95);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes subtitleFadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===========================
   CTA Section
   =========================== */

.cta-section {
    padding: var(--spacing-xl) var(--spacing-md);
    background: linear-gradient(135deg, var(--dark-900) 0%, var(--black) 50%, var(--dark-900) 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 166, 255, 0.1) 0%, transparent 70%);
    animation: pulse 8s ease-in-out infinite;
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    background: linear-gradient(135deg, #ffffff 0%, var(--primary-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--spacing-sm);
}

.cta-content p {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-md);
    color: rgba(255, 255, 255, 0.8);
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

/* ===========================
   Mission Section (About Page)
   =========================== */

.mission-section {
    padding: var(--spacing-xl) var(--spacing-md);
    background: var(--dark-800);
}

.mission-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
}

.mission-card {
    background: rgba(0, 166, 255, 0.05);
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    border: 1px solid rgba(0, 166, 255, 0.1);
    transition: all var(--transition-normal);
    text-align: center;
}

.mission-card:hover {
    border-color: var(--primary-blue);
    background: rgba(0, 166, 255, 0.1);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.mission-card h3 {
    color: var(--primary-blue);
    margin-bottom: var(--spacing-sm);
    font-size: 1.75rem;
}

.mission-card p {
    font-size: 1.0625rem;
    line-height: 1.7;
}

/* ===========================
   Contact Info Section
   =========================== */

.contact-info-section {
    padding: var(--spacing-xl) var(--spacing-md);
    background: var(--black);
}

.contact-info-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
}

.contact-info-card {
    background: rgba(26, 26, 26, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 166, 255, 0.1);
    border-radius: var(--radius-md);
    padding: var(--spacing-md);
    text-align: center;
    transition: all var(--transition-normal);
}

.contact-info-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-blue);
    box-shadow: var(--shadow-md);
}

.contact-info-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-sm);
    transition: all var(--transition-normal);
}

.contact-info-card:hover .contact-info-icon {
    transform: scale(1.1);
    box-shadow: var(--shadow-glow);
}

.contact-info-icon svg {
    width: 35px;
    height: 35px;
    stroke: white;
}

.contact-info-card h3 {
    color: var(--primary-blue);
    margin-bottom: var(--spacing-xs);
    font-size: 1.5rem;
}

.contact-info-card p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.0625rem;
}

/* ===========================
   Company Overview Section
   =========================== */

.company-overview {
    padding: var(--spacing-xl) var(--spacing-md);
    background: var(--black);
}

.overview-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.overview-content h2 {
    background: linear-gradient(135deg, #ffffff 0%, var(--primary-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--spacing-sm);
}

.overview-content p {
    margin-bottom: var(--spacing-sm);
    font-size: 1.125rem;
    line-height: 1.8;
}

.overview-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-sm);
    margin-top: var(--spacing-md);
}

.overview-stat-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-sm);
    background: rgba(0, 166, 255, 0.05);
    border-radius: var(--radius-sm);
    border: 1px solid rgba(0, 166, 255, 0.1);
    transition: all var(--transition-normal);
}

.overview-stat-item:hover {
    background: rgba(0, 166, 255, 0.1);
    border-color: var(--primary-blue);
    transform: translateY(-3px);
}

.overview-stat-item .stat-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.overview-stat-item .stat-icon svg {
    width: 24px;
    height: 24px;
    stroke: white;
}

.overview-stat-item .stat-info h3 {
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin: 0;
}

.overview-stat-item .stat-info p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.overview-visual {
    position: relative;
}

.growth-chart {
    background: rgba(26, 26, 26, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 166, 255, 0.1);
    border-radius: var(--radius-md);
    padding: var(--spacing-md);
}

.growth-chart h3 {
    color: var(--primary-blue);
    margin-bottom: var(--spacing-sm);
    font-size: 1.25rem;
}

.chart-container {
    position: relative;
    height: 300px;
}

.chart-container canvas {
    max-width: 100%;
    max-height: 100%;
}

/* ===========================
   Live Statistics Section
   =========================== */

.live-stats-section {
    padding: var(--spacing-xl) var(--spacing-md);
    background: linear-gradient(180deg, var(--dark-900) 0%, var(--black) 100%);
}

.live-stats-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
    padding: var(--spacing-md) 0;
}

.live-stat-card {
    background: rgba(26, 26, 26, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 166, 255, 0.1);
    border-radius: var(--radius-md);
    padding: var(--spacing-md);
    text-align: center;
    transition: all var(--transition-normal);
}

.live-stat-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-blue);
    box-shadow: var(--shadow-lg);
}

.live-stat-chart {
    position: relative;
    margin: 0 auto var(--spacing-sm);
    width: 200px;
    height: 200px;
}

.circular-chart {
    transform: rotate(-90deg);
}

.circle-bg {
    fill: none;
    stroke: rgba(0, 166, 255, 0.1);
    stroke-width: 10;
}

.circle-progress {
    fill: none;
    stroke: var(--primary-blue);
    stroke-width: 10;
    stroke-linecap: round;
    stroke-dasharray: 565;
    stroke-dashoffset: 565;
    animation: fillCircle 2s ease-out forwards;
}

.circle-progress.success {
    stroke: #00d4ff;
}

.circle-progress.warning {
    stroke: #ffd700;
}

.circle-progress.accent {
    stroke: #33b5ff;
}

@keyframes fillCircle {
    to {
        stroke-dashoffset: 0;
    }
}

.stat-percentage {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-blue);
}

.live-stat-card h3 {
    color: white;
    margin-bottom: var(--spacing-xs);
    font-size: 1.25rem;
}

.live-stat-card p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

/* ===========================
   Testimonials Section
   =========================== */

.testimonials {
    padding: var(--spacing-xl) var(--spacing-md);
    background: var(--black);
    position: relative;
}

.testimonials-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-md);
    padding: var(--spacing-md) 0;
}

.testimonial-card {
    background: rgba(26, 26, 26, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 166, 255, 0.1);
    border-radius: var(--radius-md);
    padding: var(--spacing-md);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 20px;
    font-size: 120px;
    color: rgba(0, 166, 255, 0.1);
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-blue);
    box-shadow: var(--shadow-md);
}

.testimonial-rating {
    display: flex;
    gap: 5px;
    margin-bottom: var(--spacing-sm);
}

.testimonial-rating svg {
    width: 20px;
    height: 20px;
    color: #ffd700;
}

.testimonial-text {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--spacing-md);
    font-style: italic;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.125rem;
    color: white;
    flex-shrink: 0;
}

.author-info h4 {
    color: white;
    margin: 0;
    font-size: 1rem;
}

.author-info p {
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    font-size: 0.875rem;
}

/* ===========================
   Featured Services Section
   =========================== */

.featured-services {
    padding: var(--spacing-xl) var(--spacing-md);
    background: linear-gradient(180deg, var(--dark-800) 0%, var(--black) 100%);
}

.featured-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
    padding: var(--spacing-md) 0;
}

.featured-card {
    background: rgba(26, 26, 26, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 166, 255, 0.1);
    border-radius: var(--radius-md);
    padding: var(--spacing-md);
    transition: all var(--transition-normal);
    text-align: center;
}

.featured-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-blue);
    box-shadow: var(--shadow-lg);
}

.featured-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-sm);
    transition: all var(--transition-normal);
}

.featured-card:hover .featured-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: var(--shadow-glow);
}

.featured-icon svg {
    width: 40px;
    height: 40px;
    stroke: white;
    fill: none;
    stroke-width: 2;
}

.featured-card h3 {
    color: white;
    margin-bottom: var(--spacing-xs);
    font-size: 1.5rem;
}

.featured-card p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: var(--spacing-sm);
}

.featured-link {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
    transition: all var(--transition-fast);
    display: inline-block;
}

.featured-link:hover {
    color: var(--electric-blue);
    transform: translateX(5px);
}

.featured-cta {
    text-align: center;
    margin-top: var(--spacing-md);
}

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

/* ===========================
   Featured Projects (Homepage)
   =========================== */

.featured-projects {
    padding: var(--spacing-xl) var(--spacing-md);
    background: linear-gradient(180deg, var(--black) 0%, var(--dark-900) 100%);
    position: relative;
}

.featured-projects-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-md);
    padding: var(--spacing-md) 0;
}

.featured-project-card {
    background: rgba(26, 26, 26, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 166, 255, 0.1);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all var(--transition-normal);
    display: flex;
    flex-direction: column;
}

.featured-project-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-blue);
    box-shadow: var(--shadow-lg);
}

.featured-project-image {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.featured-project-card:hover .project-placeholder {
    transform: scale(1.05);
}

.featured-project-card:hover .project-placeholder svg {
    transform: rotate(5deg) scale(1.1);
}

.project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--spacing-sm);
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
}

.project-category {
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.featured-project-content {
    padding: var(--spacing-md);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    flex-grow: 1;
}

.featured-project-content h3 {
    color: white;
    font-size: 1.5rem;
    margin: 0;
    line-height: 1.3;
}

.featured-project-content p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
    flex-grow: 1;
}

.project-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-sm);
    padding: var(--spacing-sm) 0;
    border-top: 1px solid rgba(0, 166, 255, 0.1);
    border-bottom: 1px solid rgba(0, 166, 255, 0.1);
}

.project-stats .stat {
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 1.75rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: var(--font-display);
}

.stat-label {
    display: block;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 0.25rem;
}

.project-tags-home {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tag-home {
    background: rgba(0, 166, 255, 0.1);
    color: var(--primary-blue);
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    border: 1px solid rgba(0, 166, 255, 0.2);
    transition: all var(--transition-fast);
}

.tag-home:hover {
    background: rgba(0, 166, 255, 0.2);
    border-color: var(--primary-blue);
}

.featured-projects-cta {
    text-align: center;
    margin-top: var(--spacing-md);
}

/* ===========================
   Portfolio Section
   =========================== */

.portfolio-filter-section {
    padding: var(--spacing-md) var(--spacing-md) 0;
    background: var(--black);
}

.portfolio-filter-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
}

.filter-btn {
    background: rgba(26, 26, 26, 0.6);
    border: 1px solid rgba(0, 166, 255, 0.2);
    color: rgba(255, 255, 255, 0.8);
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-sm);
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-normal);
    font-family: var(--font-primary);
    font-size: 0.95rem;
}

.filter-btn:hover {
    border-color: var(--primary-blue);
    background: rgba(0, 166, 255, 0.1);
    color: white;
    transform: translateY(-2px);
}

.filter-btn.active {
    background: var(--gradient-primary);
    border-color: transparent;
    color: white;
    box-shadow: var(--shadow-md);
}

.portfolio-section {
    padding: var(--spacing-xl) var(--spacing-md);
    background: var(--black);
}

.portfolio-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: var(--spacing-md);
}

.portfolio-card {
    background: rgba(26, 26, 26, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 166, 255, 0.1);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all var(--transition-normal);
    cursor: pointer;
}

.portfolio-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-blue);
    box-shadow: var(--shadow-lg);
}

.portfolio-image {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
}

.project-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--transition-slow);
}

.project-placeholder svg {
    width: 80px;
    height: 80px;
    stroke: white;
    opacity: 0.8;
    transition: all var(--transition-normal);
}

.portfolio-card:hover .project-placeholder {
    transform: scale(1.1);
}

.portfolio-card:hover .project-placeholder svg {
    transform: rotate(10deg) scale(1.2);
    opacity: 1;
}

/* Gradient backgrounds for placeholders */
.cloud-gradient {
    background: linear-gradient(135deg, #0066cc 0%, #00a6ff 100%);
}

.web-gradient {
    background: linear-gradient(135deg, #00a6ff 0%, #00d4ff 100%);
}

.devops-gradient {
    background: linear-gradient(135deg, #0052cc 0%, #0066cc 100%);
}

.security-gradient {
    background: linear-gradient(135deg, #004080 0%, #0066cc 100%);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-normal);
}

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

.view-project-btn {
    background: var(--gradient-primary);
    color: white;
    padding: 1rem 2rem;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-weight: 600;
    transform: translateY(20px);
    opacity: 0;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-md);
}

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

.view-project-btn:hover {
    box-shadow: var(--shadow-glow);
    transform: scale(1.05);
}

.portfolio-info {
    padding: var(--spacing-md);
}

.portfolio-tags {
    display: flex;
    gap: 0.5rem;
    margin-bottom: var(--spacing-xs);
    flex-wrap: wrap;
}

.tag {
    background: rgba(0, 166, 255, 0.15);
    color: var(--primary-blue);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(0, 166, 255, 0.3);
}

.portfolio-info h3 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: var(--spacing-xs);
    line-height: 1.3;
}

.portfolio-info p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: var(--spacing-sm);
}

.portfolio-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--spacing-xs);
    border-top: 1px solid rgba(0, 166, 255, 0.1);
}

.portfolio-meta .client {
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 0.9rem;
}

.portfolio-meta .date {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
}

/* Portfolio Filter Animation */
.portfolio-card.hidden {
    opacity: 0;
    transform: scale(0.8);
    height: 0;
    margin: 0;
    padding: 0;
    border: none;
    overflow: hidden;
    transition: all 0.4s ease;
}

.portfolio-card.visible {
    opacity: 1;
    transform: scale(1);
    transition: all 0.4s ease;
}

/* Portfolio Stats Section */
.portfolio-stats {
    padding: var(--spacing-xl) var(--spacing-md);
    background: linear-gradient(180deg, var(--dark-900) 0%, var(--black) 100%);
    position: relative;
}

.portfolio-stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--primary-blue) 50%, transparent 100%);
}

.portfolio-stats-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-lg);
}

.portfolio-stat-item {
    text-align: center;
    padding: var(--spacing-md);
    background: rgba(0, 166, 255, 0.05);
    border-radius: var(--radius-md);
    border: 1px solid rgba(0, 166, 255, 0.1);
    transition: all var(--transition-normal);
}

.portfolio-stat-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary-blue);
    background: rgba(0, 166, 255, 0.1);
    box-shadow: var(--shadow-md);
}

.portfolio-stat-item .stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    margin-bottom: 0.5rem;
    font-family: var(--font-display);
}

.portfolio-stat-item p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    font-weight: 500;
    margin: 0;
}

/* ===========================
   Contact Section
   =========================== */

.contact {
    padding: var(--spacing-xl) var(--spacing-md);
    background: linear-gradient(180deg, var(--black) 0%, var(--dark-900) 100%);
    position: relative;
}

.contact-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.contact h2 {
    background: linear-gradient(135deg, #ffffff 0%, var(--primary-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--spacing-sm);
}

.contact-form {
    margin-top: var(--spacing-md);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.form-group {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.form-group label {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    background: rgba(26, 26, 26, 0.6);
    border: 1px solid rgba(0, 166, 255, 0.2);
    border-radius: var(--radius-sm);
    padding: 1rem;
    color: white;
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: all var(--transition-normal);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(0, 166, 255, 0.1);
    background: rgba(26, 26, 26, 0.8);
}

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

.submit-button {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 1rem 2.5rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-md);
    margin-top: var(--spacing-sm);
}

.submit-button:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

/* ===========================
   Footer
   =========================== */

/* ===========================
   Footer
   =========================== */

.footer {
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(30px) saturate(180%);
    border-top: 2px solid transparent;
    border-image: linear-gradient(90deg, transparent 0%, rgba(0, 166, 255, 0.5) 50%, transparent 100%) 1;
    padding: var(--spacing-xl) var(--spacing-md) var(--spacing-md);
    position: relative;
    box-shadow: 0 -4px 24px rgba(0, 166, 255, 0.15), 0 0 40px rgba(0, 212, 255, 0.1);
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50%;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--electric-blue) 50%, transparent 100%);
    filter: blur(2px);
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: var(--spacing-lg);
    padding-bottom: var(--spacing-lg);
    border-bottom: 1px solid rgba(0, 166, 255, 0.15);
    margin-bottom: var(--spacing-md);
}

.footer-section h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    background: linear-gradient(135deg, #ffffff 0%, var(--electric-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--spacing-sm);
    font-weight: 700;
}

.footer-section h4 {
    color: var(--electric-blue);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-logo {
    height: 50px;
    width: auto;
    filter: drop-shadow(0 0 10px rgba(0, 166, 255, 0.3));
    margin-bottom: 0.5rem;
    transition: filter 0.3s ease;
}

.footer-logo:hover {
    filter: drop-shadow(0 0 20px rgba(0, 212, 255, 0.6));
}

.footer-brand p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
    max-width: 350px;
}

.footer-menu {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-menu li a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
    position: relative;
    padding-left: 0;
}

.footer-menu li a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 2px;
    background: var(--electric-blue);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.8);
}

.footer-menu li a:hover {
    color: var(--electric-blue);
    text-shadow: 0 0 15px rgba(0, 212, 255, 0.4);
    transform: translateX(10px);
    padding-left: 15px;
}

.footer-menu li a:hover::before {
    width: 8px;
}

.footer-contact {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.95rem;
}

.footer-contact li svg {
    width: 20px;
    height: 20px;
    stroke: var(--primary-blue);
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.footer-contact li:hover svg {
    stroke: var(--electric-blue);
    filter: drop-shadow(0 0 6px rgba(0, 212, 255, 0.6));
    transform: scale(1.1);
}

.footer-contact li a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-contact li a:hover {
    color: var(--electric-blue);
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.4);
}

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 166, 255, 0.1);
    border: 1px solid rgba(0, 166, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.footer-social a::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--electric-blue), var(--primary-blue));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.footer-social a:hover::before {
    opacity: 1;
}

.footer-social a svg {
    width: 20px;
    height: 20px;
    fill: rgba(255, 255, 255, 0.7);
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.5);
    border-color: var(--electric-blue);
}

.footer-social a:hover svg {
    fill: white;
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.5));
}

/* Responsive Footer */
@media (max-width: 1024px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand {
        align-items: center;
    }

    .footer-brand p {
        max-width: 100%;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* ===========================
   Animations
   =========================== */

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}

/* Scroll Animations */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ===========================
   Advanced Dynamic Animations
   =========================== */

/* Animated Background Grid */
.animated-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.03;
    background-image:
        linear-gradient(var(--primary-blue) 1px, transparent 1px),
        linear-gradient(90deg, var(--primary-blue) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 50px 50px;
    }
}

/* Floating Orbs Background */
.floating-orbs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
    pointer-events: none;
}

.orb {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, var(--primary-blue), transparent);
    opacity: 0.1;
    filter: blur(40px);
    animation: float 20s infinite ease-in-out;
}

.orb:nth-child(1) {
    width: 300px;
    height: 300px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
    animation-duration: 25s;
}

.orb:nth-child(2) {
    width: 400px;
    height: 400px;
    top: 60%;
    right: 10%;
    animation-delay: 5s;
    animation-duration: 30s;
}

.orb:nth-child(3) {
    width: 250px;
    height: 250px;
    bottom: 20%;
    left: 50%;
    animation-delay: 10s;
    animation-duration: 20s;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    25% {
        transform: translate(50px, -50px) scale(1.1);
    }

    50% {
        transform: translate(-30px, 50px) scale(0.9);
    }

    75% {
        transform: translate(30px, 30px) scale(1.05);
    }
}

/* Floating Animation for Elements */
@keyframes floating {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

.float-animation {
    animation: floating 3s ease-in-out infinite;
}

/* Gradient Animation */
@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.animated-gradient {
    background: linear-gradient(-45deg, var(--primary-blue), var(--secondary-blue), var(--electric-blue), var(--primary-blue));
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
}

/* Glow Pulse Animation */
@keyframes glowPulse {

    0%,
    100% {
        box-shadow: 0 0 5px var(--primary-blue), 0 0 10px var(--primary-blue);
    }

    50% {
        box-shadow: 0 0 20px var(--primary-blue), 0 0 40px var(--electric-blue);
    }
}

.glow-pulse {
    animation: glowPulse 2s ease-in-out infinite;
}

/* Ripple Effect */
.ripple {
    position: relative;
    overflow: hidden;
}

.ripple::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.ripple:active::after {
    width: 300px;
    height: 300px;
}

/* Text Shimmer Effect */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }

    100% {
        background-position: 1000px 0;
    }
}

.shimmer-text {
    background: linear-gradient(90deg,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.8) 50%,
            rgba(255, 255, 255, 0) 100%);
    background-size: 1000px 100%;
    -webkit-background-clip: text;
    background-clip: text;
    animation: shimmer 3s infinite;
}

/* Card 3D Tilt Effect */
.tilt-card {
    transform-style: preserve-3d;
    transition: transform 0.3s ease;
}

.tilt-card:hover {
    transform: perspective(1000px) rotateX(var(--rotate-x, 0deg)) rotateY(var(--rotate-y, 0deg)) scale3d(1.05, 1.05, 1.05);
}

/* Slide In Animations */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }

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

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }

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

.slide-in-left {
    animation: slideInLeft 0.8s ease-out;
}

.slide-in-right {
    animation: slideInRight 0.8s ease-out;
}

/* Bounce In Animation */
@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }

    50% {
        opacity: 1;
        transform: scale(1.05);
    }

    70% {
        transform: scale(0.9);
    }

    100% {
        transform: scale(1);
    }
}

.bounce-in {
    animation: bounceIn 0.8s ease-out;
}

/* Rotate In Animation */
@keyframes rotateIn {
    from {
        opacity: 0;
        transform: rotate(-200deg) scale(0);
    }

    to {
        opacity: 1;
        transform: rotate(0) scale(1);
    }
}

.rotate-in {
    animation: rotateIn 0.8s ease-out;
}

/* Scale Pulse */
@keyframes scalePulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

.scale-pulse {
    animation: scalePulse 2s ease-in-out infinite;
}

/* Typewriter Cursor */
.typewriter-cursor {
    display: inline-block;
    width: 3px;
    height: 1em;
    background: var(--primary-blue);
    margin-left: 5px;
    animation: blink 1s infinite;
}

@keyframes blink {

    0%,
    49% {
        opacity: 1;
    }

    50%,
    100% {
        opacity: 0;
    }
}

/* ===========================
   Advanced Scroll Animations
   =========================== */

/* Fade in with scale on scroll */
.fade-in-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-scale.active {
    opacity: 1;
    transform: scale(1);
}

/* Stagger children animations */
.stagger-children>* {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.stagger-children.active>*:nth-child(1) {
    transition-delay: 0.1s;
}

.stagger-children.active>*:nth-child(2) {
    transition-delay: 0.2s;
}

.stagger-children.active>*:nth-child(3) {
    transition-delay: 0.3s;
}

.stagger-children.active>*:nth-child(4) {
    transition-delay: 0.4s;
}

.stagger-children.active>*:nth-child(5) {
    transition-delay: 0.5s;
}

.stagger-children.active>*:nth-child(6) {
    transition-delay: 0.6s;
}

.stagger-children.active>* {
    opacity: 1;
    transform: translateY(0);
}

/* Scroll-triggered opacity */
.scroll-fade {
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* Parallax layers */
.parallax-slow {
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.parallax-medium {
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.parallax-fast {
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Image reveal on scroll */
.image-reveal {
    position: relative;
    overflow: hidden;
}

.image-reveal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    transform: translateX(-100%);
    transition: transform 0.8s cubic-bezier(0.77, 0, 0.175, 1);
    z-index: 1;
}

.image-reveal.active::before {
    transform: translateX(100%);
}

.image-reveal img {
    transform: scale(1.2);
    transition: transform 0.8s cubic-bezier(0.77, 0, 0.175, 1);
}

.image-reveal.active img {
    transform: scale(1);
}

/* Text reveal animations */
.text-reveal-word {
    overflow: hidden;
    display: inline-block;
}

.text-reveal-word span {
    display: inline-block;
    opacity: 0;
    transform: translateY(100%);
    transition: all 0.6s cubic-bezier(0.77, 0, 0.175, 1);
}

.text-reveal-word.active span {
    opacity: 1;
    transform: translateY(0);
}

/* Clip path reveal */
.clip-reveal {
    clip-path: polygon(0 0, 0 0, 0 100%, 0 100%);
    transition: clip-path 0.8s cubic-bezier(0.77, 0, 0.175, 1);
}

.clip-reveal.active {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

/* Scale up on scroll */
.scale-in {
    transform: scale(0.8);
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.scale-in.active {
    transform: scale(1);
    opacity: 1;
}

/* Draw line animation */
.draw-line {
    position: relative;
}

.draw-line::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.8s cubic-bezier(0.77, 0, 0.175, 1);
}

.draw-line.active::after {
    transform: scaleX(1);
}

/* Magnetic hover effect */
.magnetic {
    transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

.magnetic:hover {
    transform: translate(var(--mouse-x, 0px), var(--mouse-y, 0px));
}

/* Smooth section entrance */
.section-entrance {
    opacity: 0;
    transform: translateY(80px);
}

.section-entrance.active {
    animation: sectionSlideUp 1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes sectionSlideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Counter animation enhancement */
@keyframes countUp {
    from {
        opacity: 0;
        transform: scale(0.5);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.stat-number.counting {
    animation: countUp 0.5s ease-out;
}

/* Blur in effect */
.blur-in {
    filter: blur(10px);
    opacity: 0;
    transition: all 0.8s ease-out;
}

.blur-in.active {
    filter: blur(0);
    opacity: 1;
}

/* Split text animation */
.split-text {
    overflow: hidden;
}

.split-text .char {
    display: inline-block;
    opacity: 0;
    transform: translateY(100%) rotate(10deg);
    transition: all 0.5s cubic-bezier(0.77, 0, 0.175, 1);
}

.split-text.active .char {
    opacity: 1;
    transform: translateY(0) rotate(0);
}

/* Sequential delay for split text */
.split-text.active .char:nth-child(1) {
    transition-delay: 0.05s;
}

.split-text.active .char:nth-child(2) {
    transition-delay: 0.1s;
}

.split-text.active .char:nth-child(3) {
    transition-delay: 0.15s;
}

.split-text.active .char:nth-child(4) {
    transition-delay: 0.2s;
}

.split-text.active .char:nth-child(5) {
    transition-delay: 0.25s;
}

.split-text.active .char:nth-child(6) {
    transition-delay: 0.3s;
}

.split-text.active .char:nth-child(7) {
    transition-delay: 0.35s;
}

.split-text.active .char:nth-child(8) {
    transition-delay: 0.4s;
}

.split-text.active .char:nth-child(9) {
    transition-delay: 0.45s;
}

.split-text.active .char:nth-child(10) {
    transition-delay: 0.5s;
}

/* Morphing background */
@keyframes morphBlob {

    0%,
    100% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    }

    25% {
        border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
    }

    50% {
        border-radius: 40% 60% 60% 40% / 70% 30% 50% 60%;
    }

    75% {
        border-radius: 70% 30% 50% 50% / 30% 70% 60% 40%;
    }
}

.blob-morph {
    animation: morphBlob 10s ease-in-out infinite;
}

/* Enhanced hover glow */
.hover-glow {
    position: relative;
    overflow: hidden;
}

.hover-glow::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, var(--electric-blue) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.hover-glow:hover::before {
    opacity: 0.2;
}


/* ===========================
   Mobile & Tablet Responsive Styles
   =========================== */

/* Tablet Breakpoint - 768px */
@media (max-width: 768px) {

    /* Hero Section */
    .hero {
        min-height: 70vh;
    }

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

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

    .hero-subtitle {
        font-size: clamp(1rem, 4vw, 1.4rem);
    }

    /* Company Overview */
    .overview-container {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .overview-stats {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
    }

    /* Live Statistics */
    .live-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-sm);
    }

    .live-stat-chart {
        width: 150px;
        height: 150px;
    }

    .stat-percentage {
        font-size: 1.5rem;
    }

    /* Testimonials */
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
    }

    /* Featured Projects */
    .featured-projects-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
    }

    .featured-project-image {
        height: 200px;
    }

    /* Featured Services */
    .featured-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-sm);
    }

    /* Portfolio */
    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-stats-container {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Contact */
    .contact-container {
        padding: var(--spacing-md);
    }

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

    /* Mission Section */
    .mission-container {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
    }

    /* About Container */
    .about-container {
        grid-template-columns: 1fr;
    }

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

    /* Navigation */
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background: rgba(10, 10, 10, 0.98);
        width: 100%;
        padding: var(--spacing-md);
        transition: left var(--transition-normal);
        border-top: 1px solid rgba(0, 166, 255, 0.1);
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.9);
    }

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

    .menu-toggle {
        display: flex;
    }

    /* Stats Grid */
    .stats-grid {
        grid-template-columns: 1fr;
    }

    /* Services Grid */
    .services-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
    }

    /* Spacing Adjustments */
    :root {
        --spacing-xl: 3rem;
        --spacing-lg: 2rem;
    }

    /* Section Headers */
    .section-title {
        font-size: clamp(1.75rem, 6vw, 2.5rem);
    }

    .section-description {
        font-size: 1rem;
    }

    /* CTA Buttons */
    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .cta-buttons .btn-primary,
    .cta-buttons .btn-secondary {
        width: 100%;
    }
}

/* Mobile Breakpoint - 640px */
@media (max-width: 640px) {

    /* Navigation */
    .navbar {
        padding: 1rem var(--spacing-sm);
    }

    .logo {
        height: 45px;
    }

    .nav-menu {
        top: 65px;
        gap: 1.5rem;
    }

    /* Hero */
    .hero {
        min-height: 60vh;
    }

    .hero-title {
        font-size: clamp(1.75rem, 7vw, 2.5rem);
        margin-bottom: 0.75rem;
    }

    .hero-subtitle {
        font-size: clamp(0.95rem, 3.5vw, 1.2rem);
        margin-bottom: 1.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        max-width: 350px;
        margin: 0 auto;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        padding: 0.875rem 2rem;
    }

    .scroll-indicator {
        bottom: 1rem;
    }

    /* Company Overview */
    .company-overview,
    .live-stats-section,
    .testimonials,
    .featured-projects,
    .featured-services,
    .cta-section,
    .services,
    .about,
    .mission-section,
    .contact,
    .contact-info-section,
    .portfolio-section {
        padding: var(--spacing-md) var(--spacing-sm);
    }

    .overview-stats {
        gap: 0.75rem;
    }

    .overview-stat-item {
        padding: 0.75rem;
        flex-direction: column;
        text-align: center;
    }

    .overview-stat-item .stat-icon {
        margin-bottom: 0.5rem;
    }

    .chart-container {
        height: 250px;
    }

    /* Live Statistics */
    .live-stats-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
    }

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

    .live-stat-chart {
        width: 180px;
        height: 180px;
    }

    .stat-percentage {
        font-size: 1.75rem;
    }

    /* Testimonials */
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

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

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

    /* Featured Projects */
    .featured-projects-grid {
        grid-template-columns: 1fr;
    }

    .featured-project-image {
        height: 180px;
    }

    .featured-project-content {
        padding: var(--spacing-sm);
    }

    .project-stats {
        grid-template-columns: 1fr;
        text-align: left;
        gap: 0.5rem;
    }

    .project-stats .stat {
        text-align: left;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .stat-value {
        font-size: 1.5rem;
    }

    /* Featured Services */
    .featured-grid {
        grid-template-columns: 1fr;
    }

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

    .featured-icon {
        width: 60px;
        height: 60px;
    }

    .featured-icon svg {
        width: 30px;
        height: 30px;
    }

    /* Services Grid */
    .services-grid {
        grid-template-columns: 1fr;
    }

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

    .service-icon {
        width: 50px;
        height: 50px;
    }

    .service-icon svg {
        width: 25px;
        height: 25px;
    }

    /* Portfolio */
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
    }

    .portfolio-card {
        margin-bottom: 0;
    }

    .portfolio-image {
        height: 200px;
    }

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

    .portfolio-stats-container {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
        padding: var(--spacing-md);
    }

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

    /* Contact */
    .contact-container {
        padding: var(--spacing-sm);
    }

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

    .form-group {
        margin-bottom: var(--spacing-sm);
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
    }

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

    .contact-info-card {
        padding: var(--spacing-sm);
    }

    .contact-info-icon {
        width: 60px;
        height: 60px;
    }

    .contact-info-icon svg {
        width: 30px;
        height: 30px;
    }

    /* Mission Section */
    .mission-container {
        grid-template-columns: 1fr;
    }

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

    /* About Section */
    .about-container {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
    }

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

    .stat-item {
        padding: 0.75rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    /* Footer */
    .footer {
        padding: var(--spacing-md) var(--spacing-sm);
    }

    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--spacing-md);
    }

    .footer-brand {
        align-items: center;
    }

    .footer-brand p {
        max-width: 100%;
    }

    .footer-menu {
        align-items: center;
    }

    .footer-contact {
        align-items: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: var(--spacing-sm);
        text-align: center;
    }

    /* Typography */
    h2 {
        font-size: clamp(1.5rem, 5vw, 2.5rem);
    }

    h3 {
        font-size: clamp(1.25rem, 4vw, 2rem);
    }

    p {
        font-size: 1rem;
    }

    /* Spacing Reductions */
    :root {
        --spacing-xl: 2.5rem;
        --spacing-lg: 1.5rem;
        --spacing-md: 1.25rem;
    }

    /* CTA Section */
    .cta-content {
        padding: 0 var(--spacing-sm);
    }

    .cta-content h2 {
        font-size: clamp(1.5rem, 6vw, 2.25rem);
    }

    .cta-content p {
        font-size: 1rem;
    }

    /* Section Headers */
    .section-header {
        margin-bottom: var(--spacing-md);
    }

    .section-title {
        font-size: clamp(1.5rem, 5vw, 2.25rem);
    }
}

/* Small Mobile Breakpoint - 480px */
@media (max-width: 480px) {

    /* Further spacing optimization */
    :root {
        --spacing-xl: 2rem;
        --spacing-lg: 1.25rem;
        --spacing-md: 1rem;
        --spacing-sm: 0.75rem;
    }

    /* Navigation */
    .logo {
        height: 40px;
    }

    .navbar {
        padding: 0.875rem var(--spacing-sm);
    }

    .cta-button {
        padding: 0.75rem 1.5rem;
        font-size: 0.875rem;
    }

    /* Hero */
    .hero {
        min-height: 50vh;
    }

    .hero-title {
        font-size: clamp(1.5rem, 6vw, 2rem);
    }

    .hero-subtitle {
        font-size: clamp(0.875rem, 3vw, 1.1rem);
    }

    .btn-primary,
    .btn-secondary {
        padding: 0.75rem 1.5rem;
        font-size: 0.95rem;
    }

    /* All Sections */
    .company-overview,
    .live-stats-section,
    .testimonials,
    .featured-projects,
    .featured-services,
    .cta-section,
    .services,
    .about,
    .mission-section,
    .contact,
    .contact-info-section,
    .portfolio-section {
        padding: var(--spacing-lg) var(--spacing-sm);
    }

    /* Typography */
    .section-title {
        font-size: clamp(1.35rem, 5vw, 2rem);
        margin-bottom: 0.75rem;
    }

    .section-description {
        font-size: 0.95rem;
    }

    h2 {
        font-size: clamp(1.35rem, 5vw, 2rem);
    }

    h3 {
        font-size: clamp(1.1rem, 4vw, 1.5rem);
    }

    h4 {
        font-size: 1rem;
    }

    p {
        font-size: 0.95rem;
    }

    /* Cards */
    .service-card,
    .featured-card,
    .testimonial-card,
    .featured-project-card,
    .portfolio-card,
    .contact-info-card,
    .mission-card,
    .live-stat-card {
        padding: 1rem;
    }

    /* Stats */
    .live-stat-chart {
        width: 160px;
        height: 160px;
    }

    .stat-percentage {
        font-size: 1.5rem;
    }

    .stat-number {
        font-size: 1.75rem;
    }

    .stat-value {
        font-size: 1.35rem;
    }

    /* Icons */
    .service-icon,
    .contact-info-icon {
        width: 50px;
        height: 50px;
    }

    .featured-icon {
        width: 55px;
        height: 55px;
    }

    .service-icon svg,
    .contact-info-icon svg {
        width: 24px;
        height: 24px;
    }

    .featured-icon svg {
        width: 28px;
        height: 28px;
    }

    /* Project Images */
    .featured-project-image,
    .portfolio-image {
        height: 150px;
    }

    /* Form Elements */
    .form-input,
    .form-textarea,
    .submit-button {
        font-size: 0.95rem;
        padding: 0.75rem;
    }

    /* Testimonials */
    .testimonial-text {
        font-size: 0.95rem;
    }

    .author-avatar {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }

    /* Chart Container */
    .chart-container {
        height: 200px;
    }

    /* Tags */
    .tag,
    .tag-home {
        font-size: 0.7rem;
        padding: 0.3rem 0.6rem;
    }

    /* Footer */
    .footer {
        padding: var(--spacing-lg) var(--spacing-sm);
    }

    .footer-section h4,
    .footer-brand h3 {
        font-size: 1.1rem;
    }

    .footer-menu li a,
    .footer-contact li,
    .footer-brand p {
        font-size: 0.9rem;
    }

    .footer-social a {
        width: 35px;
        height: 35px;
    }

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

    /* CTA Content */
    .cta-content h2 {
        font-size: clamp(1.35rem, 5vw, 1.85rem);
    }

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

    /* Scroll Indicator */
    .scroll-indicator svg {
        width: 24px;
        height: 24px;
    }

    /* Portfolio Stats */
    .portfolio-stat-item .stat-number {
        font-size: 1.5rem;
    }

    /* Mission Cards */
    .mission-card h3 {
        font-size: 1.35rem;
    }

    /* Overview Stats */
    .overview-stat-item .stat-info h3 {
        font-size: 1.25rem;
    }

    .overview-stat-item .stat-icon {
        width: 36px;
        height: 36px;
    }

    .overview-stat-item .stat-icon svg {
        width: 20px;
        height: 20px;
    }
}