/*
 * Layer3 ISP Website - Premium Professional Design
 * Modern, elegant design inspired by AT&T Fiber, Xfinity, and premium ISPs
 * Main Color: #478ac9 with sophisticated gradients and effects
 */

/* ========================================
   CSS RESET & BASE STYLES
======================================== */

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

:root {
    /* Primary Color Palette */
    --primary-color: #478ac9;
    --primary-dark: #3670a8;
    --primary-light: #6ba3d9;
    --primary-lighter: #e8f2fb;

    /* Accent Colors */
    --accent-color: #5bc0de;
    --accent-gradient: linear-gradient(135deg, #478ac9 0%, #5bc0de 100%);
    --accent-gradient-hover: linear-gradient(135deg, #3670a8 0%, #4ba6c4 100%);

    /* Neutral Colors */
    --dark-color: #1a2332;
    --dark-secondary: #2d3748;
    --text-color: #4a5568;
    --text-light: #718096;
    --light-bg: #f7fafc;
    --white: #ffffff;
    --border-color: #e2e8f0;

    /* Shadows */
    --shadow-xs: 0 1px 2px 0 rgba(71, 138, 201, 0.05);
    --shadow-sm: 0 2px 8px rgba(71, 138, 201, 0.1);
    --shadow-md: 0 4px 16px rgba(71, 138, 201, 0.15);
    --shadow-lg: 0 10px 30px rgba(71, 138, 201, 0.2);
    --shadow-xl: 0 20px 40px rgba(71, 138, 201, 0.25);
    --shadow-glow: 0 0 20px rgba(71, 138, 201, 0.4);

    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    color: var(--text-color);
    line-height: 1.7;
    background-color: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

ul {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    font-family: inherit;
    transition: var(--transition);
}

/* ========================================
   TYPOGRAPHY
======================================== */

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', 'Inter', sans-serif;
    font-weight: 700;
    line-height: 1.3;
    color: var(--dark-color);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h4 { font-size: clamp(1.25rem, 2vw, 1.75rem); }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    font-size: 1.0625rem;
    line-height: 1.8;
    margin-bottom: 1rem;
    color: var(--text-color);
}

/* ========================================
   UTILITY CLASSES
======================================== */

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

.section-padding {
    padding: 70px 0;
}

.bg-light {
    background-color: var(--light-bg);
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
    position: relative;
}

.section-header::before {
    content: '';
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--accent-gradient);
    border-radius: 2px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--dark-color);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    font-weight: 400;
    line-height: 1.8;
}

/* ========================================
   BUTTONS
======================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 16px 36px;
    font-size: 1.0625rem;
    font-weight: 600;
    border-radius: 12px;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    z-index: 1;
    letter-spacing: 0.01em;
}

.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;
    z-index: -1;
}

.btn:hover::before {
    width: 400px;
    height: 400px;
}

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

.btn--primary:hover {
    background: var(--accent-gradient-hover);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn--primary:active {
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

.btn--outline {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    position: relative;
    overflow: hidden;
}

.btn--outline::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--accent-gradient);
    transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.btn--outline:hover {
    color: var(--white);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn--outline:hover::after {
    left: 0;
}

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

.btn--light:hover {
    background-color: var(--primary-lighter);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn--large {
    padding: 18px 42px;
    font-size: 1.125rem;
}

/* ========================================
   TOP BAR
======================================== */

.top-bar {
    background: linear-gradient(135deg, var(--dark-color) 0%, var(--dark-secondary) 100%);
    padding: 12px 0;
    color: var(--white);
    font-size: 0.9375rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar__content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar__contact {
    display: flex;
    gap: 30px;
}

.top-bar__contact a {
    color: rgba(255, 255, 255, 0.9);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.top-bar__contact a:hover {
    color: var(--accent-color);
    transform: translateX(2px);
}

.top-bar__contact i {
    font-size: 0.875rem;
}

.top-bar__social {
    display: flex;
    gap: 10px;
}

.top-bar__social a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.top-bar__social a:hover {
    background: var(--accent-gradient);
    transform: translateY(-3px) scale(1.1);
    box-shadow: var(--shadow-glow);
}

/* ========================================
   HEADER & NAVIGATION - PROFESSIONAL CLEAN DESIGN
======================================== */

.header {
    background: #ffffff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 999;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.header.scrolled {
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.header.scrolled .navbar {
    padding: 16px 0;
}

.header.scrolled .navbar__logo img {
    height: 50px;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    position: relative;
}

.navbar__logo {
    position: relative;
    display: inline-block;
}

.navbar__logo img {
    height: 56px;
    width: auto;
    transition: all 0.3s ease;
}

.navbar__logo:hover img {
    opacity: 0.85;
}

.navbar__logo span {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: -0.02em;
}

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

.navbar__link {
    color: #1a2332;
    font-weight: 500;
    font-size: 0.9375rem;
    transition: all 0.25s ease;
    position: relative;
    padding: 10px 18px;
    letter-spacing: 0.01em;
    border-radius: 6px;
}

.navbar__link::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--primary-color);
    border-radius: 1px;
    transition: width 0.3s ease;
}

.navbar__link:hover {
    color: var(--primary-color);
    background: rgba(71, 138, 201, 0.04);
}

.navbar__link:hover::after {
    width: 50%;
}

.navbar__link.active {
    color: var(--primary-color);
    font-weight: 600;
    background: rgba(71, 138, 201, 0.06);
}

.navbar__link.active::after {
    width: 50%;
}

.navbar__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    padding: 8px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.navbar__toggle:hover {
    background: rgba(71, 138, 201, 0.06);
}

.navbar__toggle span {
    width: 24px;
    height: 2px;
    background: var(--dark-color);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.navbar__toggle:hover span {
    background: var(--primary-color);
}

/* ========================================
   HERO SECTION - PREMIUM DESIGN
======================================== */

.hero {
    background: linear-gradient(135deg,
        rgba(71, 138, 201, 0.97) 0%,
        rgba(91, 192, 222, 0.95) 50%,
        rgba(71, 138, 201, 0.97) 100%);
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 100px 0 80px;
    position: relative;
    overflow: hidden;
}

/* Animated Background Pattern */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
    opacity: 0.5;
    animation: heroPattern 20s ease-in-out infinite;
}

@keyframes heroPattern {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(50px, 30px) scale(1.1); }
}

/* Floating Geometric Shapes */
.hero::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15), transparent 70%);
    border-radius: 50%;
    top: -300px;
    right: -200px;
    animation: float 15s ease-in-out infinite;
}

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

.hero__content {
    max-width: 900px;
    text-align: center;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    animation: heroSlideIn 1s ease-out;
}

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

.hero__subtitle {
    font-size: 0.9375rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 25px;
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    backdrop-filter: blur(10px);
}

.hero__title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 30px;
    line-height: 1.2;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    letter-spacing: -0.03em;
}

.hero__description {
    font-size: clamp(1.125rem, 2vw, 1.375rem);
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 45px;
    line-height: 1.8;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero__buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ========================================
   STATS SECTION - ELEVATED DESIGN
======================================== */

.stats {
    background-color: var(--white);
    padding: 40px 0;
    box-shadow: var(--shadow-xl);
    position: relative;
    margin-top: -50px;
    z-index: 10;
    border-radius: 20px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

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

.stats__item {
    text-align: center;
    transition: var(--transition);
    position: relative;
}

.stats__item::after {
    content: '';
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--accent-gradient);
    transition: var(--transition);
    border-radius: 2px;
}

.stats__item:hover::after {
    width: 60%;
}

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

.stats__icon {
    width: 70px;
    height: 70px;
    background: var(--accent-gradient);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: var(--transition-slow);
    position: relative;
    box-shadow: var(--shadow-md);
}

.stats__icon::before {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: 22px;
    background: var(--accent-gradient);
    opacity: 0;
    transition: var(--transition);
    z-index: -1;
    filter: blur(15px);
}

.stats__item:hover .stats__icon {
    transform: rotate(360deg) scale(1.1);
    box-shadow: var(--shadow-glow);
}

.stats__item:hover .stats__icon::before {
    opacity: 0.6;
}

.stats__icon i {
    font-size: 32px;
    color: var(--white);
}

.stats__number {
    font-size: clamp(2rem, 3vw, 2.75rem);
    font-weight: 800;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 6px;
    transition: var(--transition);
    display: block;
}

.stats__label {
    font-size: 0.9375rem;
    color: var(--text-color);
    font-weight: 500;
}

/* ========================================
   ABOUT SECTION
======================================== */

.about__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about__text h3 {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    color: var(--dark-color);
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
}

.about__text h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--accent-gradient);
    border-radius: 2px;
}

.about__text p {
    font-size: 1.125rem;
    line-height: 1.9;
    margin-bottom: 25px;
    color: var(--text-color);
}

.about__image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    position: relative;
}

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

.about__image:hover::before {
    opacity: 0.1;
}

.about__image img {
    width: 100%;
    height: auto;
    transition: var(--transition-slow);
}

.about__image:hover img {
    transform: scale(1.08);
}

/* ========================================
   VISUAL GALLERY - PREMIUM DESIGN
======================================== */

.visual-gallery {
    background: linear-gradient(135deg, var(--light-bg) 0%, rgba(71, 138, 201, 0.03) 100%);
    position: relative;
    overflow: hidden;
}

.visual-gallery::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(71, 138, 201, 0.08), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    position: relative;
    z-index: 1;
}

.gallery-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    height: 320px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    cursor: pointer;
    background: var(--white);
    border: 2px solid transparent;
}

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

.gallery-item::after {
    content: '';
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    opacity: 0;
    transform: scale(0.5) rotate(-90deg);
    transition: var(--transition);
    z-index: 3;
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}

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

.gallery-item:hover::after {
    opacity: 1;
    transform: scale(1) rotate(0deg);
}

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

.gallery-item:hover img {
    transform: scale(1.1);
    filter: brightness(0.8);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top,
        rgba(26, 35, 50, 0.95) 0%,
        rgba(26, 35, 50, 0.7) 50%,
        transparent 100%);
    padding: 25px 20px;
    transform: translateY(calc(100% - 60px));
    transition: var(--transition);
    z-index: 2;
}

.gallery-item:hover .gallery-caption {
    transform: translateY(0);
    background: linear-gradient(to top,
        rgba(71, 138, 201, 0.95) 0%,
        rgba(71, 138, 201, 0.7) 50%,
        transparent 100%);
}

.gallery-caption h4 {
    color: var(--white);
    font-size: 1.25rem;
    margin-bottom: 6px;
    font-weight: 600;
}

.gallery-caption p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.9375rem;
    margin: 0;
    line-height: 1.6;
    opacity: 0;
    transform: translateY(10px);
    transition: var(--transition);
}

.gallery-item:hover .gallery-caption p {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.1s;
}

/* Tablet and mobile responsive */
@media (max-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .gallery-item {
        height: 280px;
    }
}

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

    .gallery-item {
        height: 260px;
    }

    .gallery-caption {
        padding: 20px 18px;
    }
}

/* ========================================
   INFRASTRUCTURE SECTION - PREMIUM DESIGN
======================================== */

.infrastructure-visual {
    background: linear-gradient(135deg, var(--light-bg) 0%, rgba(71, 138, 201, 0.03) 100%);
    position: relative;
    overflow: hidden;
}

.infrastructure-visual::before {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(91, 192, 222, 0.1), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.infrastructure-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    position: relative;
    z-index: 1;
}

.infrastructure-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
    border: 2px solid transparent;
}

.infrastructure-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}

.infrastructure-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.infrastructure-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(71, 138, 201, 0.1) 100%);
    z-index: 1;
    transition: var(--transition);
}

.infrastructure-card:hover .infrastructure-image::before {
    background: linear-gradient(to bottom, transparent 0%, rgba(71, 138, 201, 0.3) 100%);
}

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

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

.infrastructure-content {
    padding: 35px 30px;
    text-align: center;
    position: relative;
}

.infrastructure-icon {
    width: 75px;
    height: 75px;
    background: var(--accent-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: -50px auto 25px;
    box-shadow: 0 6px 20px rgba(71, 138, 201, 0.3);
    transition: var(--transition-bounce);
    position: relative;
    z-index: 2;
}

.infrastructure-icon::before {
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    background: var(--accent-gradient);
    opacity: 0;
    filter: blur(15px);
    transition: var(--transition);
    z-index: -1;
}

.infrastructure-card:hover .infrastructure-icon {
    transform: rotate(360deg) scale(1.15);
    box-shadow: 0 8px 25px rgba(71, 138, 201, 0.5);
}

.infrastructure-card:hover .infrastructure-icon::before {
    opacity: 0.6;
}

.infrastructure-icon i {
    font-size: 34px;
    color: var(--white);
}

.infrastructure-content h3 {
    font-size: 1.5rem;
    color: var(--dark-color);
    margin-bottom: 15px;
    font-weight: 600;
    transition: var(--transition);
}

.infrastructure-card:hover .infrastructure-content h3 {
    color: var(--primary-color);
}

.infrastructure-content p {
    color: var(--text-color);
    line-height: 1.8;
    margin: 0;
    font-size: 1rem;
}

/* Responsive design for infrastructure cards */
@media (max-width: 1024px) {
    .infrastructure-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .infrastructure-image {
        height: 180px;
    }

    .infrastructure-content {
        padding: 30px 25px;
    }
}

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

    .infrastructure-image {
        height: 220px;
    }

    .infrastructure-content {
        padding: 35px 25px;
    }

    .infrastructure-icon {
        width: 70px;
        height: 70px;
        margin: -45px auto 20px;
    }

    .infrastructure-icon i {
        font-size: 30px;
    }

    .infrastructure-content h3 {
        font-size: 1.375rem;
    }
}

@media (max-width: 480px) {
    .infrastructure-image {
        height: 200px;
    }

    .infrastructure-content {
        padding: 30px 20px;
    }

    .infrastructure-icon {
        width: 65px;
        height: 65px;
        margin: -40px auto 18px;
    }

    .infrastructure-icon i {
        font-size: 28px;
    }

    .infrastructure-content h3 {
        font-size: 1.25rem;
        margin-bottom: 12px;
    }

    .infrastructure-content p {
        font-size: 0.9375rem;
    }
}

/* ========================================
   TECH SHOWCASE
======================================== */

.tech-showcase {
    background: linear-gradient(135deg, var(--light-bg) 0%, rgba(71, 138, 201, 0.05) 100%);
}

.tech-showcase__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 35px;
}

.tech-showcase__item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 450px;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    cursor: pointer;
}

.tech-showcase__item:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-xl);
}

.tech-showcase__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.tech-showcase__item:hover .tech-showcase__image {
    transform: scale(1.15);
}

.tech-showcase__overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top,
        rgba(26, 35, 50, 0.95) 0%,
        rgba(26, 35, 50, 0.6) 70%,
        transparent 100%);
    padding: 40px 35px;
    transform: translateY(0);
    transition: var(--transition);
}

.tech-showcase__overlay h3 {
    color: var(--white);
    font-size: 1.75rem;
    margin-bottom: 12px;
}

.tech-showcase__overlay p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.0625rem;
    margin: 0;
    line-height: 1.7;
}

.tech-showcase__item:hover .tech-showcase__overlay {
    background: linear-gradient(to top,
        rgba(71, 138, 201, 0.95) 0%,
        rgba(71, 138, 201, 0.7) 70%,
        transparent 100%);
    padding-bottom: 50px;
}

/* ========================================
   PRICING SECTION - PREMIUM DESIGN
======================================== */

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 20px;
}

.pricing-table {
    background: var(--white);
    border-radius: 16px;
    padding: 0;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
    border: 2px solid transparent;
    overflow: hidden;
    height: 350px;
    display: flex;
    flex-direction: column;
}

.pricing-table::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
        rgba(26, 35, 50, 0.1) 0%,
        transparent 40%);
    z-index: 1;
    transition: var(--transition);
}

.pricing-table:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}

.pricing-table:hover::before {
    background: linear-gradient(to top,
        rgba(26, 35, 50, 0.95) 0%,
        rgba(26, 35, 50, 0.7) 40%,
        rgba(26, 35, 50, 0.4) 70%,
        transparent 100%);
}

/* Featured/Popular Package */
.pricing-table.featured {
    border-color: var(--primary-color);
    box-shadow: 0 8px 30px rgba(71, 138, 201, 0.25);
    position: relative;
}

.pricing-table.featured::after {
    content: 'POPULAR';
    position: absolute;
    top: 15px;
    right: -30px;
    background: var(--accent-gradient);
    color: var(--white);
    padding: 5px 35px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    transform: rotate(45deg);
    box-shadow: 0 4px 10px rgba(71, 138, 201, 0.3);
}

.pricing-table.featured::before {
    transform: scaleX(1);
}

/* Package Image - Full Card Background */
.pricing-table__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

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

.pricing-table:hover .pricing-table__image img {
    transform: scale(1.08);
}

/* Content Container - Overlay */
.pricing-table__content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 25px;
}

/* Speed Badge - Top Right */
.pricing-table__speed {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--accent-gradient);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 1.25rem;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
    z-index: 3;
    opacity: 0;
    transform: translateY(-10px);
}

.pricing-table__speed span {
    font-size: 0.8125rem;
    font-weight: 500;
}

.pricing-table:hover .pricing-table__speed {
    opacity: 1;
    transform: translateY(0) scale(1.08);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

/* Package Name */
.pricing-table__name {
    font-size: 1.625rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 6px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
    opacity: 0;
    transform: translateY(15px);
}

.pricing-table:hover .pricing-table__name {
    opacity: 1;
    transform: translateY(0);
}

/* Price */
.pricing-table__price {
    font-size: 2rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 6px;
    display: block;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transform: translateY(15px);
    transition: var(--transition);
}

.pricing-table__price span {
    font-size: 1rem;
    font-weight: 500;
}

.pricing-table:hover .pricing-table__price {
    opacity: 1;
    transform: translateY(0);
}

/* Period/Description */
.pricing-table__period {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 15px;
    line-height: 1.5;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transform: translateY(15px);
    transition: var(--transition);
}

.pricing-table:hover .pricing-table__period {
    opacity: 1;
    transform: translateY(0);
}

/* Features List */
.pricing-table__features {
    list-style: none;
    margin-bottom: 15px;
    opacity: 0;
    transform: translateY(15px);
    transition: var(--transition);
}

.pricing-table:hover .pricing-table__features {
    opacity: 1;
    transform: translateY(0);
}

.pricing-table__features li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 6px;
    padding: 3px 0;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.pricing-table__features i {
    color: var(--accent-color);
    font-size: 0.9375rem;
    flex-shrink: 0;
}

/* CTA Button */
.pricing-table .btn {
    width: 100%;
    justify-content: center;
    background: var(--white);
    color: var(--primary-color);
    font-weight: 700;
    opacity: 0;
    transform: translateY(15px);
    transition: var(--transition);
}

.pricing-table:hover .btn {
    opacity: 1;
    transform: translateY(0);
}

.pricing-table .btn:hover {
    background: var(--accent-gradient);
    color: var(--white);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .pricing-table {
        height: 320px;
    }

    .pricing-table__content {
        padding: 22px;
    }

    .pricing-table__speed {
        font-size: 1.125rem;
        padding: 7px 14px;
        top: 12px;
        right: 12px;
    }

    .pricing-table__name {
        font-size: 1.5rem;
    }

    .pricing-table__price {
        font-size: 1.75rem;
    }
}

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

    .pricing-table {
        height: 280px;
    }

    .pricing-table__content {
        padding: 18px;
    }

    .pricing-table__speed {
        font-size: 1rem;
        padding: 6px 12px;
        top: 10px;
        right: 10px;
    }

    .pricing-table__name {
        font-size: 1.25rem;
        margin-bottom: 5px;
    }

    .pricing-table__price {
        font-size: 1.5rem;
        margin-bottom: 5px;
    }

    .pricing-table__period {
        font-size: 0.8125rem;
        margin-bottom: 12px;
    }

    .pricing-table__features li {
        font-size: 0.8125rem;
        margin-bottom: 5px;
    }

    .pricing-table.featured::after {
        font-size: 0.65rem;
        padding: 4px 28px;
    }
}

@media (max-width: 480px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .pricing-table {
        height: 300px;
    }

    .pricing-table__content {
        padding: 20px;
    }

    .pricing-table__name {
        font-size: 1.375rem;
    }

    .pricing-table__price {
        font-size: 1.625rem;
    }

    .pricing-table__period {
        font-size: 0.875rem;
    }
}

/* ========================================
   SERVICES SECTION - PREMIUM CARDS
======================================== */

.services__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 35px;
}

.service-card {
    background-color: var(--white);
    padding: 50px 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--accent-gradient);
    opacity: 0;
    transition: var(--transition);
    z-index: 0;
}

.service-card:hover::before {
    opacity: 0.03;
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--accent-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}

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

.service-card__icon {
    width: 85px;
    height: 85px;
    background: var(--accent-gradient);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    transition: var(--transition-bounce);
    position: relative;
    z-index: 1;
    box-shadow: var(--shadow-md);
}

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

.service-card__icon i {
    font-size: 38px;
    color: var(--white);
}

.service-card__title {
    font-size: 1.75rem;
    color: var(--dark-color);
    margin-bottom: 18px;
    position: relative;
    z-index: 1;
}

.service-card__description {
    font-size: 1.0625rem;
    color: var(--text-color);
    line-height: 1.8;
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
}

.service-card__link {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
    position: relative;
    z-index: 1;
    font-size: 1.0625rem;
}

.service-card__link:hover {
    gap: 15px;
    color: var(--primary-dark);
}

.service-card__link i {
    transition: var(--transition);
}

/* ========================================
   FEATURES SECTION
======================================== */

.features__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 45px;
}

.feature-box {
    text-align: center;
    padding: 40px 30px;
    transition: var(--transition);
    border-radius: 16px;
}

.feature-box:hover {
    background: rgba(71, 138, 201, 0.03);
}

.feature-box__icon {
    width: 95px;
    height: 95px;
    background: linear-gradient(135deg, var(--primary-lighter) 0%, rgba(91, 192, 222, 0.2) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    transition: var(--transition-slow);
    position: relative;
}

.feature-box__icon::before {
    content: '';
    position: absolute;
    inset: -10px;
    border-radius: 50%;
    background: var(--accent-gradient);
    opacity: 0;
    filter: blur(20px);
    transition: var(--transition);
    z-index: -1;
}

.feature-box:hover .feature-box__icon {
    background: var(--accent-gradient);
    transform: scale(1.1) rotate(360deg);
}

.feature-box:hover .feature-box__icon::before {
    opacity: 0.4;
}

.feature-box__icon i {
    font-size: 42px;
    color: var(--primary-color);
    transition: var(--transition);
}

.feature-box:hover .feature-box__icon i {
    color: var(--white);
}

.feature-box__title {
    font-size: 1.375rem;
    color: var(--dark-color);
    margin-bottom: 18px;
    font-weight: 600;
}

.feature-box__description {
    font-size: 1.0625rem;
    color: var(--text-color);
    line-height: 1.8;
}

/* ========================================
   COVERAGE SECTION
======================================== */

.coverage__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.coverage__text p {
    font-size: 1.125rem;
    line-height: 1.9;
    margin-bottom: 30px;
}

.coverage__text h4 {
    font-size: 1.75rem;
    color: var(--dark-color);
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
}

.coverage__text h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--accent-gradient);
    border-radius: 2px;
}

.coverage__list {
    margin-bottom: 35px;
}

.coverage__list li {
    font-size: 1.125rem;
    color: var(--text-color);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: var(--transition);
    padding: 8px 0;
}

.coverage__list li:hover {
    transform: translateX(5px);
    color: var(--primary-color);
}

.coverage__list i {
    color: var(--accent-color);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.coverage__image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    position: relative;
}

.coverage__image::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 3px solid transparent;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color)) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: var(--transition);
}

.coverage__image:hover::after {
    opacity: 0.5;
}

.coverage__image img {
    width: 100%;
    height: auto;
    transition: var(--transition-slow);
}

.coverage__image:hover img {
    transform: scale(1.05);
}

/* ========================================
   CTA SECTION - DRAMATIC DESIGN
======================================== */

.cta {
    background: linear-gradient(135deg,
        var(--dark-color) 0%,
        var(--dark-secondary) 50%,
        var(--dark-color) 100%);
    padding: 70px 0;
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(71, 138, 201, 0.2), transparent 70%);
    border-radius: 50%;
    top: -250px;
    left: -100px;
    animation: ctaFloat 20s ease-in-out infinite;
}

.cta::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(91, 192, 222, 0.15), transparent 70%);
    border-radius: 50%;
    bottom: -200px;
    right: -50px;
    animation: ctaFloat 15s ease-in-out infinite reverse;
}

@keyframes ctaFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(50px, 50px) scale(1.1); }
}

.cta__content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.cta__title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    color: var(--white);
    margin-bottom: 25px;
}

.cta__description {
    font-size: 1.375rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 45px;
    line-height: 1.8;
}

.cta__buttons {
    display: flex;
    gap: 25px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ========================================
   FOOTER - MODERN DESIGN
======================================== */

.footer {
    background: linear-gradient(180deg, var(--dark-color) 0%, #0f1419 100%);
    color: var(--white);
    padding: 60px 0 30px;
    position: relative;
    overflow: hidden;
}

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

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

.footer__logo img {
    height: 55px;
    width: auto;
    margin-bottom: 25px;
    transition: var(--transition);
}

.footer__logo:hover img {
    transform: scale(1.05);
}

.footer__logo span {
    font-size: 2rem;
    font-weight: 700;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer__description {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 30px;
}

.footer__social {
    display: flex;
    gap: 15px;
}

.footer__social a {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.footer__social a:hover {
    background: var(--accent-gradient);
    transform: translateY(-5px) scale(1.1);
    box-shadow: var(--shadow-glow);
}

.footer__title {
    font-size: 1.25rem;
    color: var(--white);
    margin-bottom: 30px;
    font-weight: 700;
    position: relative;
    display: inline-block;
}

.footer__title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--accent-gradient);
    border-radius: 2px;
}

.footer__links li {
    margin-bottom: 15px;
}

.footer__links a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer__links a::before {
    content: '→';
    opacity: 0;
    transform: translateX(-10px);
    transition: var(--transition);
}

.footer__links a:hover {
    color: var(--accent-color);
    padding-left: 0;
}

.footer__links a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

.footer__contact li {
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    line-height: 1.7;
}

.footer__contact i {
    color: var(--accent-color);
    margin-top: 4px;
    width: 20px;
    font-size: 1.125rem;
}

.footer__contact a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

.footer__contact a:hover {
    color: var(--accent-color);
    transform: translateX(3px);
}

.footer__bottom {
    text-align: center;
    padding-top: 35px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__bottom p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9375rem;
    margin: 0;
}

/* ========================================
   SCROLL TO TOP BUTTON
======================================== */

.scroll-top {
    position: fixed;
    bottom: 35px;
    right: 35px;
    width: 55px;
    height: 55px;
    background: var(--accent-gradient);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 998;
    box-shadow: var(--shadow-lg);
    cursor: pointer;
}

.scroll-top::before {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    background: var(--accent-gradient);
    z-index: -1;
    animation: pulse-ring 2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes pulse-ring {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

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

.scroll-top:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: var(--shadow-glow);
}

.scroll-top i {
    font-size: 22px;
    animation: bounce 2s infinite;
}

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

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

@media (max-width: 1024px) {
    .container {
        padding: 0 2rem;
    }

    .section-padding {
        padding: 60px 0;
    }

    .stats__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 35px;
    }

    .about__content,
    .coverage__content {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .footer__content {
        grid-template-columns: 1fr 1fr;
        gap: 50px;
    }
}

@media (max-width: 768px) {
    .top-bar {
        display: none;
    }

    .navbar {
        padding: 16px 0;
    }

    .navbar__logo img {
        height: 48px;
    }

    .navbar__menu {
        position: fixed;
        top: 81px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 81px);
        background: #ffffff;
        flex-direction: column;
        justify-content: flex-start;
        padding: 30px 20px;
        gap: 6px;
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
        transition: all 0.3s ease;
        overflow-y: auto;
        border-top: 1px solid rgba(0, 0, 0, 0.06);
    }

    .navbar__menu.active {
        left: 0;
    }

    .navbar__link {
        width: 100%;
        padding: 16px 20px;
        font-size: 1.0625rem;
        border-radius: 8px;
        margin-bottom: 0;
    }

    .navbar__link::after {
        display: none;
    }

    .navbar__link:hover {
        background: rgba(71, 138, 201, 0.08);
    }

    .navbar__link.active {
        background: rgba(71, 138, 201, 0.1);
        color: var(--primary-color);
        font-weight: 600;
    }

    .navbar__toggle {
        display: flex;
    }

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

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

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

    .hero {
        padding: 80px 0 60px;
        background-attachment: scroll;
    }

    .hero__buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .stats {
        padding: 35px 20px;
        margin-top: 0;
        border-radius: 0;
    }

    .stats__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .stats__icon {
        width: 60px;
        height: 60px;
        margin: 0 auto 15px;
    }

    .stats__icon i {
        font-size: 28px;
    }

    .stats__number {
        font-size: clamp(1.75rem, 3vw, 2rem);
        margin-bottom: 4px;
    }

    .stats__label {
        font-size: 0.875rem;
    }

    .section-padding {
        padding: 50px 0;
    }

    .cta {
        padding: 50px 0;
    }

    .footer {
        padding: 50px 0 25px;
    }

    .services__grid,
    .features__grid {
        grid-template-columns: 1fr;
    }

    .footer__content {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .scroll-top {
        bottom: 25px;
        right: 25px;
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1.25rem;
    }

    .stats__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .stats {
        padding: 30px 15px;
    }

    .stats__icon {
        width: 55px;
        height: 55px;
        margin: 0 auto 12px;
    }

    .stats__icon i {
        font-size: 24px;
    }

    .stats__number {
        font-size: 1.5rem;
    }

    .stats__label {
        font-size: 0.8125rem;
    }

    .btn--large {
        padding: 16px 32px;
        font-size: 1rem;
    }
}

/* ========================================
   ADVANCED ANIMATIONS
======================================== */

/* Fade In Up */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Fade In */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Smooth Page Load */
body {
    animation: fadeIn 0.4s ease-in;
}

/* Ripple Effect for Buttons */
.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    transform: scale(0);
    animation: ripple-animation 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

@keyframes ripple-animation {
    to {
        transform: scale(2.5);
        opacity: 0;
    }
}

/* Scroll Reveal Base */
.scroll-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Gradient Animation */
@keyframes gradient-shift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

/* Floating Animation */
@keyframes floating {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

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

/* Reading Progress Bar */
.progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background: var(--accent-gradient);
    z-index: 9999;
    transition: width 0.1s ease;
    box-shadow: 0 0 10px rgba(71, 138, 201, 0.5);
}

/* Smooth Transitions for All Interactive Elements */
a, button, input, textarea, select {
    transition: var(--transition);
}

/* Focus States for Accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 3px solid var(--primary-color);
    outline-offset: 2px;
    border-radius: 4px;
}
