/* ============================================
   Soft Stream V2 - Modern Design System
   ============================================ */

/* Design Tokens */
:root {
    /* Colors */
    --color-primary: #0a0f1f;
    --color-accent: #7dfc34;
    --color-white: #ffffff;
    --color-gray: #abb4c2;
    --color-gray-dark: #1a1f2e;
    --color-gray-light: #f5f7fa;
    
    /* Typography */
    --font-arabic: 'Cairo', sans-serif;
    --font-heading: 'Montserrat', sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.2);
    --shadow-glow: 0 0 20px rgba(125, 252, 52, 0.3);
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-arabic);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-white);
    background: var(--color-primary);
    overflow-x: hidden;
    direction: rtl;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
    color: var(--color-white);
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: var(--spacing-sm);
    color: var(--color-gray);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-base);
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

@media (min-width: 1440px) {
    .container {
        max-width: 1400px;
    }
}

/* ============================================
   Header & Navbar
   ============================================ */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 15, 31, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 2px solid rgba(125, 252, 52, 0.3);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    transition: none;
}

/* Navbar scroll effect disabled - navbar stays fixed */
/* .main-header.scrolled {
    background: rgba(10, 15, 31, 0.98);
    box-shadow: var(--shadow-md);
}

.main-header.scrolled .navbar-logo {
    height: 200px;
    max-width: 900px;
    min-width: 500px;
} */

.navbar-modern {
    padding: var(--spacing-xs) 0;
    min-height: auto;
}

.navbar-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-lg);
}

/* Logo */
.navbar-logo-wrapper {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    flex-shrink: 0;
    background: transparent;
    position: sticky;
    top: 0;
    z-index: 1001;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, #3b82f6 0%, #7dfc34 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-transform: uppercase;
    letter-spacing: 2px;
    filter: drop-shadow(0 0 10px rgba(125, 252, 52, 0.5));
    white-space: nowrap;
    overflow: visible !important;
    border-right: 3px solid var(--color-accent);
    width: auto !important;
    padding-right: var(--spacing-sm);
    animation: none !important;
}

@keyframes typing {
    0% {
        width: 0;
    }
    50% {
        width: 100%;
    }
    100% {
        width: 0;
    }
}

@keyframes blink-caret {
    from, to {
        border-color: transparent;
    }
    50% {
        border-color: var(--color-accent);
    }
}

.navbar-logo {
    height: 60px;
    width: auto;
    max-width: 250px;
    min-width: 120px;
    object-fit: contain;
    background: transparent;
    filter: drop-shadow(0 0 15px rgba(125, 252, 52, 0.4)) drop-shadow(0 0 8px rgba(59, 130, 246, 0.3));
    transition: var(--transition-base);
    animation: logoGlow 3s ease-in-out infinite;
    mix-blend-mode: normal;
    display: block;
    border-radius: 0;
}

@keyframes logoGlow {
    0%, 100% {
        filter: drop-shadow(0 0 15px rgba(125, 252, 52, 0.4)) drop-shadow(0 0 8px rgba(59, 130, 246, 0.3));
    }
    50% {
        filter: drop-shadow(0 0 25px rgba(125, 252, 52, 0.7)) drop-shadow(0 0 15px rgba(59, 130, 246, 0.5));
    }
}

.navbar-logo-wrapper:hover .navbar-logo {
    transform: scale(1.05);
    filter: drop-shadow(0 0 30px rgba(125, 252, 52, 0.8)) drop-shadow(0 0 20px rgba(59, 130, 246, 0.6));
}

/* Desktop Menu */
.navbar-menu {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

.navbar-menu li {
    display: flex;
    align-items: center;
}

.navbar-menu a {
    color: var(--color-white);
    font-weight: 600;
    font-size: 1rem;
    padding: var(--spacing-xs) var(--spacing-md);
    position: relative;
    transition: var(--transition-base);
    border-radius: 8px;
    white-space: nowrap;
}

.navbar-menu a::before {
    content: '';
    position: absolute;
    bottom: 0;
    right: 50%;
    transform: translateX(50%);
    width: 0;
    height: 3px;
    background: var(--color-accent);
    border-radius: 2px;
    transition: var(--transition-base);
}

.navbar-menu a:hover,
.navbar-menu a.active {
    color: var(--color-accent);
    background: rgba(125, 252, 52, 0.1);
}

.navbar-menu a:hover::before,
.navbar-menu a.active::before {
    width: 80%;
}

/* Navbar Actions */
.navbar-actions {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
}

.btn-cta-primary {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-xs) var(--spacing-md);
    background: var(--color-accent);
    color: var(--color-primary);
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: 50px;
    transition: var(--transition-base);
    box-shadow: 0 0 15px rgba(125, 252, 52, 0.4);
    white-space: nowrap;
}

.btn-cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(125, 252, 52, 0.6);
    background: #8aff3d;
}

.btn-auth {
    padding: var(--spacing-xs) var(--spacing-md);
    color: var(--color-white);
    font-weight: 600;
    font-size: 0.95rem;
    border: 2px solid var(--color-accent);
    border-radius: 50px;
    transition: var(--transition-base);
    white-space: nowrap;
}

.btn-auth:hover {
    background: var(--color-accent);
    color: var(--color-primary);
    border-color: var(--color-accent);
}

/* User Dropdown */
.user-dropdown {
    position: relative;
}

.user-btn {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-xs) var(--spacing-sm);
    background: transparent;
    border: 2px solid var(--color-accent);
    border-radius: 50px;
    color: var(--color-white);
    cursor: pointer;
    transition: var(--transition-base);
}

.user-btn:hover {
    background: var(--color-accent);
    color: var(--color-primary);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + var(--spacing-xs));
    left: 0;
    min-width: 200px;
    background: var(--color-gray-dark);
    border: 1px solid rgba(125, 252, 52, 0.3);
    border-radius: 12px;
    padding: var(--spacing-xs);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition-base);
    z-index: 100;
}

.dropdown-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a,
.dropdown-menu button {
    display: block;
    width: 100%;
    padding: var(--spacing-xs) var(--spacing-sm);
    color: var(--color-white);
    border: none;
    background: transparent;
    text-align: right;
    cursor: pointer;
    border-radius: 8px;
    transition: var(--transition-base);
}

.dropdown-menu a:hover,
.dropdown-menu button:hover {
    background: rgba(125, 252, 52, 0.1);
    color: var(--color-accent);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: var(--spacing-xs);
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--color-accent);
    border-radius: 3px;
    transition: var(--transition-base);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 350px;
    height: 100vh;
    background: rgba(10, 15, 31, 0.98);
    border-left: 3px solid var(--color-accent);
    z-index: 2000;
    transition: var(--transition-base);
    overflow-y: auto;
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.5);
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--spacing-md);
    border-bottom: 1px solid rgba(125, 252, 52, 0.2);
}

.mobile-logo {
    height: 50px;
    width: auto;
    max-width: 200px;
    min-width: 100px;
    filter: drop-shadow(0 0 15px rgba(125, 252, 52, 0.4)) drop-shadow(0 0 8px rgba(59, 130, 246, 0.3));
    border-radius: 0;
    object-fit: contain;
    background: transparent;
}

.mobile-menu-close {
    background: transparent;
    border: none;
    color: var(--color-accent);
    font-size: 1.5rem;
    cursor: pointer;
}

.mobile-menu-list {
    list-style: none;
    padding: var(--spacing-md);
}

.mobile-menu-list li {
    margin-bottom: var(--spacing-sm);
}

.mobile-menu-list a,
.mobile-menu-list button {
    display: flex;
    align-items: center;
    width: 100%;
    padding: var(--spacing-md);
    color: var(--color-white);
    border: none;
    background: transparent;
    text-align: right;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    transition: var(--transition-base);
    margin-bottom: var(--spacing-xs);
}

.mobile-menu-list a i,
.mobile-menu-list button i {
    margin-left: var(--spacing-sm);
    width: 20px;
    text-align: center;
}

.mobile-menu-list a:hover,
.mobile-menu-list button:hover {
    background: rgba(125, 252, 52, 0.15);
    color: var(--color-accent);
    transform: translateX(-5px);
}

.btn-mobile-cta {
    background: var(--color-accent) !important;
    color: var(--color-primary) !important;
    font-weight: 700 !important;
    margin-top: var(--spacing-md) !important;
    text-align: center !important;
}

/* Main Content */
.main-content {
    margin-top: 80px;
    min-height: calc(100vh - 80px);
}

/* ============================================
   Hero Section
   ============================================ */
.hero-section {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-primary) 0%, #1a1f2e 100%);
    overflow: hidden;
    padding: var(--spacing-2xl) 0;
}

.hero-bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: 1;
    opacity: 0.3;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(10, 15, 31, 0.8) 0%, rgba(10, 15, 31, 0.95) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.hero-company-name {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 900;
    background: linear-gradient(135deg, #3b82f6 0%, #7dfc34 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-transform: uppercase;
    letter-spacing: 4px;
    filter: drop-shadow(0 0 20px rgba(125, 252, 52, 0.6)) drop-shadow(0 0 10px rgba(59, 130, 246, 0.5));
    margin-bottom: var(--spacing-lg);
    overflow: hidden;
    border-right: 4px solid var(--color-accent);
    white-space: nowrap;
    animation: typing-hero 4s steps(11, end) infinite, blink-caret-hero 0.75s step-end infinite;
    width: 0;
    animation-fill-mode: forwards;
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes typing-hero {
    0% {
        width: 0;
    }
    50% {
        width: 100%;
    }
    100% {
        width: 0;
    }
}

@keyframes blink-caret-hero {
    from, to {
        border-color: transparent;
    }
    50% {
        border-color: var(--color-accent);
    }
}

.hero-badge {
    display: inline-block;
    padding: var(--spacing-xs) var(--spacing-md);
    background: rgba(125, 252, 52, 0.2);
    border: 2px solid var(--color-accent);
    border-radius: 50px;
    color: var(--color-accent);
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    animation: fadeInUp 0.6s ease, pulse 2s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}

.hero-badge::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 ease;
}

.hero-badge:hover::before {
    left: 100%;
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: var(--spacing-md);
    background: linear-gradient(135deg, var(--color-white) 0%, var(--color-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 0.8s ease;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--color-gray);
    margin-bottom: var(--spacing-xl);
    animation: fadeInUp 1s ease;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-md);
    justify-content: center;
    animation: fadeInUp 1.2s ease;
}

.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-md) var(--spacing-xl);
    background: var(--color-accent);
    color: var(--color-primary);
    font-weight: 700;
    font-size: 1.1rem;
    border-radius: 50px;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: 0 0 20px rgba(125, 252, 52, 0.4);
    position: relative;
    overflow: hidden;
}

.btn-hero-primary::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;
}

.btn-hero-primary:hover::before {
    width: 300px;
    height: 300px;
}

.btn-hero-primary:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 50px rgba(125, 252, 52, 0.8);
    background: #8aff3d;
}

.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-md) var(--spacing-xl);
    background: transparent;
    color: var(--color-white);
    font-weight: 700;
    font-size: 1.1rem;
    border: 2px solid var(--color-white);
    border-radius: 50px;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
    overflow: hidden;
}

.btn-hero-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--color-white);
    transition: left 0.4s ease;
    z-index: -1;
}

.btn-hero-secondary:hover::before {
    left: 0;
}

.btn-hero-secondary:hover {
    background: var(--color-white);
    color: var(--color-primary);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3);
}

/* Hero Stats */
.hero-stats {
    margin-top: var(--spacing-2xl);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: var(--spacing-md);
    animation: fadeInUp 1.4s ease;
}

.hero-stats .stat-card:nth-child(1) {
    animation-delay: 0.1s;
}

.hero-stats .stat-card:nth-child(2) {
    animation-delay: 0.2s;
}

.hero-stats .stat-card:nth-child(3) {
    animation-delay: 0.3s;
}

.hero-stats .stat-card:nth-child(4) {
    animation-delay: 0.4s;
}

.stat-card {
    background: rgba(125, 252, 52, 0.1);
    border: 2px solid rgba(125, 252, 52, 0.3);
    border-radius: 20px;
    padding: var(--spacing-md);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
    overflow: hidden;
}

.stat-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(125, 252, 52, 0.2) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.stat-card:hover {
    transform: translateY(-10px) scale(1.05);
    border-color: var(--color-accent);
    box-shadow: 0 10px 40px rgba(125, 252, 52, 0.4);
}

.stat-card:hover::after {
    opacity: 1;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--color-accent);
    margin-bottom: var(--spacing-xs);
    transition: all 0.3s ease;
    display: inline-block;
}

.stat-card:hover .stat-number {
    transform: scale(1.2);
    text-shadow: 0 0 20px rgba(125, 252, 52, 0.8);
}

.stat-label {
    color: var(--color-gray);
    font-size: 0.9rem;
}

/* ============================================
   Sections
   ============================================ */
.section {
    padding: var(--spacing-2xl) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
}

.section-badge {
    display: inline-block;
    padding: var(--spacing-xs) var(--spacing-md);
    background: rgba(125, 252, 52, 0.2);
    border: 2px solid var(--color-accent);
    border-radius: 50px;
    color: var(--color-accent);
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    animation: fadeInUp 0.6s ease;
    position: relative;
    overflow: hidden;
}

.section-badge::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(125, 252, 52, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.section-badge:hover::after {
    width: 200px;
    height: 200px;
}

.section-title {
    font-size: 3rem;
    margin-bottom: var(--spacing-md);
}

.section-description {
    font-size: 1.2rem;
    color: var(--color-gray);
    max-width: 700px;
    margin: 0 auto;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.service-card {
    background: rgba(125, 252, 52, 0.05);
    border: 2px solid rgba(125, 252, 52, 0.2);
    border-radius: 20px;
    padding: var(--spacing-xl);
    text-align: center;
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(125, 252, 52, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: var(--transition-slow);
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--color-accent);
    box-shadow: var(--shadow-glow);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--spacing-md);
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(125, 252, 52, 0.2);
    border-radius: 50%;
    font-size: 2rem;
    color: var(--color-accent);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
}

.service-icon::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid var(--color-accent);
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.4s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.15) rotate(360deg);
    background: var(--color-accent);
    color: var(--color-primary);
    box-shadow: 0 0 30px rgba(125, 252, 52, 0.6);
}

.service-card:hover .service-icon::before {
    opacity: 1;
    transform: scale(1.3);
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
}

.service-description {
    color: var(--color-gray);
    margin-bottom: var(--spacing-md);
}

.btn-service {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-xs) var(--spacing-md);
    background: var(--color-accent);
    color: var(--color-primary);
    font-weight: 700;
    border-radius: 50px;
    transition: var(--transition-base);
}

.btn-service:hover {
    transform: translateX(-5px);
    box-shadow: var(--shadow-glow);
}

/* Portfolio Grid */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.portfolio-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 16/9;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border: 2px solid transparent;
}

.portfolio-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.3) 0%, rgba(125, 252, 52, 0.3) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.portfolio-card:hover::before {
    opacity: 1;
}

.portfolio-card:hover {
    transform: translateY(-15px) scale(1.03);
    border-color: var(--color-accent);
    box-shadow: 0 15px 50px rgba(125, 252, 52, 0.5);
}

.portfolio-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(10, 15, 31, 0.95) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: var(--spacing-md);
    opacity: 0;
    transition: var(--transition-base);
}

.portfolio-card:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-card:hover .portfolio-image {
    transform: scale(1.2) rotate(2deg);
}

.portfolio-title {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-xs);
    color: var(--color-white);
}

.portfolio-category {
    color: var(--color-accent);
    font-weight: 600;
}

/* Footer */
.main-footer {
    background: var(--color-gray-dark);
    border-top: 2px solid rgba(125, 252, 52, 0.3);
    padding: var(--spacing-2xl) 0 var(--spacing-lg);
    margin-top: var(--spacing-2xl);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.footer-logo-wrapper {
    margin-bottom: var(--spacing-md);
}

.footer-logo {
    height: 100px;
    width: auto;
    max-width: 400px;
    min-width: 200px;
    filter: drop-shadow(0 0 20px rgba(125, 252, 52, 0.5)) drop-shadow(0 0 10px rgba(59, 130, 246, 0.4));
    border-radius: 0;
    object-fit: contain;
    background: transparent;
}

.footer-description {
    color: var(--color-gray);
    margin-bottom: var(--spacing-md);
}

.social-links {
    display: flex;
    gap: var(--spacing-sm);
}

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(125, 252, 52, 0.1);
    border: 2px solid rgba(125, 252, 52, 0.3);
    border-radius: 50%;
    color: var(--color-accent);
    transition: var(--transition-base);
}

.social-links a:hover {
    background: var(--color-accent);
    color: var(--color-primary);
    transform: translateY(-3px);
}

.footer-title {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-md);
    color: var(--color-accent);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: var(--spacing-xs);
}

.footer-links a {
    color: var(--color-gray);
    transition: var(--transition-base);
}

.footer-links a:hover {
    color: var(--color-accent);
    padding-right: var(--spacing-xs);
}

.footer-contact {
    list-style: none;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    margin-bottom: var(--spacing-sm);
    color: var(--color-gray);
}

.footer-contact i {
    color: var(--color-accent);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-lg);
    border-top: 1px solid rgba(125, 252, 52, 0.2);
    color: var(--color-gray);
}

/* Scroll to Top */
.scroll-to-top {
    position: fixed;
    bottom: var(--spacing-lg);
    left: var(--spacing-lg);
    width: 50px;
    height: 50px;
    background: var(--color-accent);
    color: var(--color-primary);
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 999;
    box-shadow: 0 0 20px rgba(125, 252, 52, 0.4);
    position: relative;
    overflow: hidden;
}

.scroll-to-top::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.4s ease, height 0.4s ease;
}

.scroll-to-top:hover::before {
    width: 100px;
    height: 100px;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    animation: float 2s ease-in-out infinite;
}

.scroll-to-top:hover {
    transform: translateY(-10px) scale(1.1);
    box-shadow: 0 0 40px rgba(125, 252, 52, 0.8);
    background: #8aff3d;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
    z-index: 1000;
    transition: all 0.3s ease;
    text-decoration: none;
    animation: pulse-whatsapp 2s ease-in-out infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.7);
    background: #20BA5A;
}

.whatsapp-float:active {
    transform: scale(0.95);
}

@keyframes pulse-whatsapp {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
    }
    50% {
        box-shadow: 0 4px 30px rgba(37, 211, 102, 0.8);
    }
}

@media (max-width: 768px) {
    .whatsapp-float {
        width: 55px;
        height: 55px;
        font-size: 1.8rem;
        bottom: 15px;
        right: 15px;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.9;
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes rotateIn {
    from {
        opacity: 0;
        transform: rotate(-10deg) scale(0.8);
    }
    to {
        opacity: 1;
        transform: rotate(0) scale(1);
    }
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

/* Ripple Effect */
.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    transform: scale(0);
    animation: ripple-animation 0.6s ease-out;
    pointer-events: none;
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Text Reveal */
.text-revealed {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Enhanced Hover Effects */
.service-card,
.portfolio-card,
.team-card,
.stat-card {
    position: relative;
    overflow: hidden;
}

.service-card::before,
.portfolio-card::before,
.team-card::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(125, 252, 52, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.service-card:hover::before,
.portfolio-card:hover::before,
.team-card:hover::before {
    width: 300px;
    height: 300px;
}

/* Gradient Animation */
@keyframes gradient-shift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.hero-company-name {
    background-size: 200% 200%;
}

.logo-text {
    background-size: 200% 200%;
    animation: none !important;
    width: auto !important;
    overflow: visible !important;
}

/* Loading Skeleton */
@keyframes skeleton-loading {
    0% {
        background-position: -200px 0;
    }
    100% {
        background-position: calc(200px + 100%) 0;
    }
}

.skeleton {
    background: linear-gradient(90deg, rgba(125, 252, 52, 0.1) 25%, rgba(125, 252, 52, 0.2) 50%, rgba(125, 252, 52, 0.1) 75%);
    background-size: 200px 100%;
    animation: skeleton-loading 1.5s ease-in-out infinite;
}

/* Stagger Animation for Grid Items */
.services-grid > *:nth-child(1) { animation-delay: 0.1s; }
.services-grid > *:nth-child(2) { animation-delay: 0.2s; }
.services-grid > *:nth-child(3) { animation-delay: 0.3s; }
.services-grid > *:nth-child(4) { animation-delay: 0.4s; }
.services-grid > *:nth-child(5) { animation-delay: 0.5s; }
.services-grid > *:nth-child(6) { animation-delay: 0.6s; }

.portfolio-grid > *:nth-child(1) { animation-delay: 0.1s; }
.portfolio-grid > *:nth-child(2) { animation-delay: 0.2s; }
.portfolio-grid > *:nth-child(3) { animation-delay: 0.3s; }
.portfolio-grid > *:nth-child(4) { animation-delay: 0.4s; }

.team-grid > *:nth-child(1) { animation-delay: 0.1s; }
.team-grid > *:nth-child(2) { animation-delay: 0.2s; }
.team-grid > *:nth-child(3) { animation-delay: 0.3s; }
.team-grid > *:nth-child(4) { animation-delay: 0.4s; }
.team-grid > *:nth-child(5) { animation-delay: 0.5s; }
.team-grid > *:nth-child(6) { animation-delay: 0.6s; }

/* Responsive */
@media (max-width: 1024px) {
    h1 { font-size: 3rem; }
    h2 { font-size: 2rem; }
    .hero-title { font-size: 3rem; }
    .section-title { font-size: 2.5rem; }
    .navbar-logo { 
        height: 50px; 
        max-width: 200px; 
        min-width: 100px; 
    }
    
    .logo-text {
        font-size: 1.2rem;
        letter-spacing: 1px;
    }
    .navbar-modern {
        padding: var(--spacing-xs) 0;
    }
    .main-content {
        margin-top: 70px;
    }
}

@media (max-width: 768px) {
    .navbar-menu {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .navbar-actions .btn-cta-primary,
    .navbar-actions .btn-auth {
        display: none;
    }
    
    .main-content {
        margin-top: 100px;
    }
    
    .hero-section {
        min-height: 80vh;
        padding: var(--spacing-xl) 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .navbar-logo {
        height: 70px;
        max-width: 250px;
    }
    
    .services-grid,
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--spacing-sm);
    }
    
    .navbar-logo {
        height: 40px;
        max-width: 150px;
        min-width: 90px;
    }
    
    .logo-text {
        font-size: 0.9rem;
        letter-spacing: 0.5px;
    }
    
    .navbar-modern {
        padding: var(--spacing-xs) 0;
    }
    
    .main-content {
        margin-top: 60px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .btn-hero-primary,
    .btn-hero-secondary {
        width: 100%;
        justify-content: center;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-section {
        padding: var(--spacing-lg) 0;
    }
}

/* Additional Responsive Fixes */
@media (max-width: 375px) {
    .navbar-logo {
        height: 35px;
        max-width: 130px;
        min-width: 80px;
    }
    
    .logo-text {
        font-size: 0.8rem;
        letter-spacing: 0.3px;
    }
    
    .main-content {
        margin-top: 55px;
    }
}

@media (max-width: 480px) {
    .logo-text {
        display: none;
    }
}
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .service-card,
    .portfolio-card {
        padding: var(--spacing-md);
    }
}

/* Notification Styles */
.notification {
    position: fixed;
    top: 120px;
    right: var(--spacing-md);
    background: var(--color-gray-dark);
    border: 2px solid var(--color-accent);
    border-radius: 12px;
    padding: var(--spacing-md);
    min-width: 300px;
    max-width: 400px;
    z-index: 10000;
    opacity: 0;
    transform: translateX(100%);
    transition: var(--transition-base);
}

.notification.show {
    opacity: 1;
    transform: translateX(0);
}

.notification-content {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    color: var(--color-white);
}

.notification-success {
    border-color: #10b981;
}

.notification-error {
    border-color: #ef4444;
}

/* About Us Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-2xl);
    margin-top: var(--spacing-xl);
}

.about-text h3 {
    color: var(--color-accent);
    margin-top: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
}

.about-intro {
    margin-bottom: var(--spacing-xl);
    padding-bottom: var(--spacing-lg);
    border-bottom: 2px solid rgba(125, 252, 52, 0.2);
}

.about-intro h3 {
    margin-top: 0;
}

.about-text p {
    color: var(--color-gray);
    line-height: 1.8;
    margin-bottom: var(--spacing-md);
}

.values-list {
    list-style: none;
    padding: 0;
    margin-top: var(--spacing-md);
}

.values-list li {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm) 0;
    color: var(--color-gray);
}

.values-list li i {
    color: var(--color-accent);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.values-list li strong {
    color: var(--color-white);
    margin-left: var(--spacing-xs);
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
    align-items: start;
}

.company-services-overview {
    margin-top: var(--spacing-2xl);
    padding-top: var(--spacing-2xl);
    border-top: 2px solid rgba(125, 252, 52, 0.2);
}

.company-services-overview h3 {
    color: var(--color-accent);
    margin-bottom: var(--spacing-xl);
    text-align: center;
    font-size: 2rem;
}

.services-overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

.service-overview-item {
    background: rgba(125, 252, 52, 0.05);
    border: 2px solid rgba(125, 252, 52, 0.2);
    border-radius: 20px;
    padding: var(--spacing-xl);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
    overflow: hidden;
}

.service-overview-item::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(125, 252, 52, 0.2) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-overview-item:hover::before {
    opacity: 1;
}

.service-overview-item:hover {
    transform: translateY(-10px) scale(1.05);
    border-color: var(--color-accent);
    box-shadow: 0 15px 40px rgba(125, 252, 52, 0.4);
}

.service-overview-item:hover i {
    transform: scale(1.2) rotate(10deg);
    color: var(--color-accent);
}

.service-overview-item i {
    font-size: 3rem;
    color: var(--color-accent);
    margin-bottom: var(--spacing-md);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    display: inline-block;
}

.service-overview-item h4 {
    color: var(--color-white);
    margin-bottom: var(--spacing-sm);
}

.service-overview-item p {
    color: var(--color-gray);
    line-height: 1.6;
    margin: 0;
}

.stat-item {
    background: rgba(125, 252, 52, 0.05);
    border: 2px solid rgba(125, 252, 52, 0.2);
    border-radius: 20px;
    padding: var(--spacing-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: var(--spacing-md);
    transition: var(--transition-base);
    width: 100%;
    aspect-ratio: 1;
}

.stat-item:hover {
    transform: translateY(-5px);
    border-color: var(--color-accent);
    box-shadow: var(--shadow-glow);
}

.stat-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(125, 252, 52, 0.2);
    border: 2px solid var(--color-accent);
    border-radius: 50%;
    color: var(--color-accent);
    font-size: 1.5rem;
    flex-shrink: 0;
    margin: 0 auto;
}

.stat-info {
    flex: 1;
    min-width: 0;
    word-wrap: break-word;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
}

.stat-info h4 {
    font-size: 2rem;
    font-weight: 900;
    color: var(--color-accent);
    margin: 0;
    line-height: 1.2;
}

.stat-info p {
    color: var(--color-gray);
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
    word-wrap: break-word;
}

.stat-info small {
    display: block;
    color: var(--color-gray);
    font-size: 0.75rem;
    margin-top: 0.25rem;
    opacity: 0.8;
    line-height: 1.4;
    word-wrap: break-word;
}

/* Team Section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-xl);
    margin-top: var(--spacing-xl);
}

.team-card {
    background: rgba(125, 252, 52, 0.05);
    border: 2px solid rgba(125, 252, 52, 0.2);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    text-align: center;
    position: relative;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    height: auto;
    width: 100%;
    /* Ensure consistent layout for all cards */
    min-height: 400px;
}

.team-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(125, 252, 52, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.team-card:hover::after {
    opacity: 1;
}

.team-card:hover {
    transform: translateY(-15px) scale(1.03);
    border-color: var(--color-accent);
    box-shadow: 0 15px 50px rgba(125, 252, 52, 0.5);
}

.team-card:hover .team-image {
    transform: scale(1.05);
    filter: brightness(1.1);
}

.team-image-wrapper {
    width: 100% !important;
    height: 280px !important;
    min-height: 280px !important;
    max-height: 280px !important;
    overflow: hidden !important;
    background: rgba(125, 252, 52, 0.1);
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative;
    flex-shrink: 0 !important;
    order: 1 !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box;
}

.team-image {
    width: 100% !important;
    height: 100% !important;
    min-height: 280px !important;
    max-height: 280px !important;
    object-fit: cover !important;
    object-position: center center !important;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    image-rendering: high-quality;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    transition: transform 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    will-change: transform;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
}

.team-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: var(--spacing-md);
}

.team-placeholder {
    width: 100%;
    height: 100%;
    min-height: 280px;
    max-height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-gray);
    background: rgba(125, 252, 52, 0.05);
    flex-shrink: 0;
}

.team-info {
    padding: 1.5rem 1.25rem !important;
    flex: 1;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    align-items: center !important;
    order: 2 !important;
    width: 100% !important;
    gap: 0.75rem;
    margin: 0 !important;
}

.team-info h3,
.team-info .team-name {
    color: var(--color-white);
    margin: 0;
    margin-bottom: 0.25rem;
    display: block;
    width: 100%;
    font-size: 1.25rem;
    font-weight: 700;
    text-align: center;
}

.team-role {
    color: var(--color-accent);
    font-weight: 600;
    margin: 0;
    margin-bottom: 0.5rem;
    display: block;
    width: 100%;
    font-size: 1rem;
    text-align: center;
}

.team-description {
    color: var(--color-gray);
    font-size: 0.9rem;
    line-height: 1.7;
    margin: 0;
    margin-bottom: 0.75rem;
    text-align: center;
    width: 100%;
}

.team-social {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin: 0;
    margin-top: 0.5rem;
    width: 100%;
}

.team-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(125, 252, 52, 0.1);
    border: 2px solid rgba(125, 252, 52, 0.3);
    border-radius: 50%;
    color: var(--color-accent);
    transition: var(--transition-base);
}

.team-social a:hover {
    background: var(--color-accent);
    color: var(--color-primary);
    transform: translateY(-3px);
}

.team-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0;
    margin-bottom: 0.75rem;
    justify-content: center;
    width: 100%;
}

.skill-tag {
    padding: 0.25rem 0.75rem;
    background: rgba(125, 252, 52, 0.1);
    border: 1px solid rgba(125, 252, 52, 0.3);
    border-radius: 50px;
    color: var(--color-accent);
    font-size: 0.75rem;
    font-weight: 600;
}

.company-logo-card .team-image-wrapper {
    background: rgba(0, 0, 0, 0.3);
}

@media (max-width: 1024px) {
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .about-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .services-overview-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-company-name {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .about-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-company-name {
        font-size: 2.5rem;
        letter-spacing: 2px;
    }
}

@media (max-width: 480px) {
    .hero-company-name {
        font-size: 2rem;
        letter-spacing: 1px;
        min-height: 60px;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mt-5 {
    margin-top: 3rem;
}

.mb-5 {
    margin-bottom: 3rem;
}

.no-services,
.no-portfolio {
    grid-column: 1 / -1;
    padding: 3rem;
    text-align: center;
}

.no-services i,
.no-portfolio i {
    display: block;
    margin-bottom: 1rem;
    opacity: 0.5;
}

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Performance Optimizations */
img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.navbar-logo,
.mobile-logo,
.footer-logo {
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

/* Smooth Page Transitions */
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Enhanced Button Animations */
.btn-service {
    position: relative;
    overflow: hidden;
}

.btn-service::after {
    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;
}

.btn-service:hover::after {
    width: 300px;
    height: 300px;
}

.btn-service:hover {
    transform: translateX(-8px) scale(1.05);
}

/* Particle Background Effect (Optional) */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(2px 2px at 20% 30%, rgba(125, 252, 52, 0.3), transparent),
        radial-gradient(2px 2px at 60% 70%, rgba(59, 130, 246, 0.3), transparent),
        radial-gradient(1px 1px at 50% 50%, rgba(125, 252, 52, 0.2), transparent);
    background-size: 200% 200%;
    animation: particle-move 20s ease infinite;
    z-index: 1;
    pointer-events: none;
}

@keyframes particle-move {
    0%, 100% {
        background-position: 0% 0%;
    }
    50% {
        background-position: 100% 100%;
    }
}

/* Glow Pulse Animation */
@keyframes glow-pulse {
    0%, 100% {
        box-shadow: 0 0 20px rgba(125, 252, 52, 0.4);
    }
    50% {
        box-shadow: 0 0 40px rgba(125, 252, 52, 0.8);
    }
}

.service-card:hover,
.portfolio-card:hover,
.team-card:hover {
    animation: glow-pulse 2s ease-in-out infinite;
}

/* Smooth Transitions for All Interactive Elements */
a, button, input, textarea, select {
    transition: var(--transition-base);
}

/* Focus States for Accessibility */
a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .main-header,
    .main-footer,
    .mobile-menu,
    .scroll-to-top {
        display: none !important;
    }
    
    .main-content {
        margin-top: 0 !important;
    }
}

