/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #00d4ff;
    --primary-dark: #0099cc;
    --secondary: #7928ca;
    --accent: #ff0080;
    --dark-bg: #000000;
    --darker-bg: #050505;
    --card-bg: #111111;
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --text-tertiary: #888888;
    --border-color: #222222;
    --gradient: linear-gradient(135deg, #00d4ff 0%, #7928ca 50%, #ff0080 100%);
    --gradient-text: linear-gradient(90deg, #00d4ff, #7928ca);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    --shadow-hover: 0 20px 40px rgba(0, 212, 255, 0.15);
}

.light-theme {
    --dark-bg: #ffffff;
    --darker-bg: #f8fafc;
    --card-bg: #ffffff;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --text-tertiary: #94a3b8;
    --border-color: #e2e8f0;
}

/* Global overflow safety */
html, body {
    max-width: 100%;
    overflow-x: hidden;
    position: relative;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-primary);
    line-height: 1.6;
    transition: background-color 0.3s ease, color 0.3s ease;
    width: 100%;
}

/* Container */
.container {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 40px);
    position: relative;
}

/* ============================= */
/* NAVIGATION */
/* ============================= */

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    padding: 0;
    transition: all 0.3s ease;
    height: 80px;
    display: flex;
    align-items: center;
}

.light-theme .navbar {
    background: rgba(255, 255, 255, 0.95);
}

.nav-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 40px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 100%;
    z-index: 1001;
}

.logo-image {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.logo-main {
    background: linear-gradient(
        135deg,
        #f9e076 0%,
        #ffd700 30%,
        #ffbf00 55%,
        #ffae00 75%,
        #f9e076 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
    letter-spacing: 1.5px;
    font-size: 1.5rem;
}

/* Desktop Navigation */
.nav-links {
    display: flex;
    align-items: center;
    gap: clamp(15px, 2vw, 30px);
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    font-size: 0.95rem;
    white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary);
}

.theme-toggle {
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.25rem;
    cursor: pointer;
    padding: 8px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.3s ease;
    flex-shrink: 0;
}

.consultation-btn {
    padding: 10px 24px;
    font-size: 0.9rem;
    white-space: nowrap;
    flex-shrink: 0;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 8px;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    transition: background-color 0.3s ease;
    align-items: center;
    justify-content: center;
    z-index: 1002;
}

/* Mobile Navigation */
.mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1001;
    transform: translateX(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    padding: 100px 30px 40px;
    overflow-y: auto;
}

.light-theme .mobile-nav {
    background: rgba(255, 255, 255, 0.98);
}

.mobile-nav.active {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 25px;
    width: 100%;
    margin-bottom: 20px;
}

.mobile-nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.3rem;
    padding: 15px 0;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.mobile-theme-toggle {
    padding: 20px 0;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.mobile-theme-btn {
    background: none;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 10px 20px;
    border-radius: 50px;
    cursor: pointer;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    width: auto;
    margin: 0 auto;
}

body:not(.light-theme) .mobile-theme-btn .fa-sun,
.light-theme .mobile-theme-btn .fa-moon {
    display: none;
}

.mobile-nav-close {
    position: fixed;
    top: 25px;
    right: 25px;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 2rem;
    cursor: pointer;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.3s ease;
    z-index: 1002;
}

/* ============================= */
/* HERO SECTION - FIXED CENTERING */
/* ============================= */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px; /* Compensate for fixed navbar */
    box-sizing: border-box;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.9)),
        url('techneysoft\ website\ cover.jpeg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    z-index: -1;
}

.light-theme .hero-background {
    background: 
        linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.95)),
        url('techneysoft\ website\ cover.jpeg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.hero-content {
    width: 100%;
    text-align: center;
    padding: 60px 0 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

/* ============================= */
/* WE PROVIDE SECTION - FIXED CENTERING */
/* ============================= */

.services-animation-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.services-animation-center {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 0 auto;
    flex-wrap: wrap;
    width: 100%;
    max-width: 1200px;
    text-align: center;
}

.static-text {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 500;
    color: var(--text-primary);
    white-space: nowrap;
    margin: 0;
    line-height: 1.2;
}

.animated-text-container {
    height: clamp(40px, 8vw, 70px);
    position: relative;
    text-align: left;
    flex: 1;
    min-width: 300px;
    max-width: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.animated-text-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.animated-text {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: clamp(40px, 8vw, 70px);
    background: linear-gradient(45deg, var(--color), #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0;
    white-space: nowrap;
    transform: translateY(100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 10px;
    box-sizing: border-box;
}

/* NO TOGGLE BUTTON - Removed as requested */
.mobile-toggle-btn {
    display: none !important;
}

/* Slide Up Animation */
@keyframes slideUp {
    0% {
        opacity: 0;
        transform: translateY(100%);
    }
    5% {
        opacity: 1;
        transform: translateY(0);
    }
    15% {
        opacity: 1;
        transform: translateY(0);
    }
    20% {
        opacity: 0;
        transform: translateY(-100%);
    }
    100% {
        opacity: 0;
        transform: translateY(-100%);
    }
}

/* Assign animations to each text */
.animated-text:nth-child(1) { 
    --color: #00d4ff; 
    animation: slideUp 18s infinite 0s;
}
.animated-text:nth-child(2) { 
    --color: #7928ca; 
    animation: slideUp 18s infinite 3s;
}
.animated-text:nth-child(3) { 
    --color: #ff0080; 
    animation: slideUp 18s infinite 6s;
}
.animated-text:nth-child(4) { 
    --color: #FF6B35; 
    animation: slideUp 18s infinite 9s;
}
.animated-text:nth-child(5) { 
    --color: #25D366; 
    animation: slideUp 18s infinite 12s;
}
.animated-text:nth-child(6) { 
    --color: #00b894; 
    animation: slideUp 18s infinite 15s;
}

/* Hero Typography */
.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    margin: 0;
    line-height: 1.1;
    text-align: center;
    width: 100%;
}

.gradient-text {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    display: inline-block;
}

.hero-subtitle {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    color: var(--primary);
    font-weight: 500;
    margin: 0;
    width: 100%;
}

.hero-description {
    font-size: clamp(1rem, 2vw, 1.25rem);
    max-width: min(800px, 90vw);
    margin: 0;
    line-height: 1.8;
    color: var(--text-secondary);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin: 0;
    flex-wrap: wrap;
    width: 100%;
    padding: 0 20px;
}

.hero-buttons .btn {
    min-width: 200px;
}

.hero-note {
    font-size: clamp(0.9rem, 1.5vw, 1rem);
    color: var(--text-tertiary);
    margin: 0;
    max-width: min(600px, 90vw);
    width: 100%;
}

.protocol-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    max-width: min(900px, 90vw);
    margin: 0 auto;
    width: 100%;
}

.protocol-item {
    padding: 12px 24px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    font-size: clamp(0.8rem, 1vw, 0.9rem);
    font-weight: 500;
    transition: all 0.3s ease;
    white-space: nowrap;
}

/* ============================= */
/* TYPOGRAPHY & BUTTONS */
/* ============================= */

h1, h2, h3, h4, h5, h6 {
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    margin-bottom: 1rem;
}

h3 {
    font-size: clamp(1.5rem, 3vw, 1.75rem);
    margin-bottom: 1rem;
}

p {
    color: var(--text-secondary);
    font-size: clamp(1rem, 1.5vw, 1.125rem);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: clamp(12px, 2vw, 14px) clamp(20px, 3vw, 28px);
    border-radius: 50px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: clamp(0.9rem, 1.2vw, 1rem);
    letter-spacing: 0.5px;
    gap: 10px;
    font-weight: 600;
    text-align: center;
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient);
    color: white;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #ff0080 0%, #7928ca 50%, #00d4ff 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.btn-secondary {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: var(--dark-bg);
    transform: translateY(-2px);
}

.btn-whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
}

.btn-whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3);
}

/* ============================= */
/* RESPONSIVE FIXES FOR MOBILE */
/* ============================= */

@media (max-width: 768px) {
    .services-animation-center {
        flex-direction: column;
        gap: 15px;
        padding: 0 20px;
    }
    
    .static-text {
        font-size: clamp(1.8rem, 4vw, 2.5rem);
        text-align: center;
        width: 100%;
    }
    
    .animated-text-container {
        min-width: 280px;
        max-width: 100%;
        height: clamp(35px, 6vw, 50px);
    }
    
    .animated-text {
        font-size: clamp(1.8rem, 4vw, 2.5rem);
        line-height: clamp(35px, 6vw, 50px);
        text-align: center;
        justify-content: center;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .protocol-logos {
        gap: 10px;
    }
    
    .protocol-item {
        padding: 10px 18px;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .services-animation-center {
        gap: 10px;
    }
    
    .static-text {
        font-size: 1.8rem;
    }
    
    .animated-text {
        font-size: 1.8rem;
        line-height: 35px;
    }
    
    .animated-text-container {
        height: 35px;
        min-width: 260px;
    }
}

/* Desktop Navigation */
@media (min-width: 769px) {
    .mobile-menu-btn {
        display: none;
    }
    
    .mobile-nav {
        display: none;
    }
}

/* Tablet & Mobile Navigation */
@media (max-width: 768px) {
    .navbar {
        height: 70px;
    }
    
    .nav-links,
    .consultation-btn {
        display: none !important;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .theme-toggle {
        display: none;
    }
    
    .logo-image {
        height: 45px;
    }
    
    .hero {
        padding-top: 70px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .navbar {
        height: 65px;
    }
    
    .logo-image {
        height: 40px;
    }
    
    .mobile-menu-btn {
        width: 40px;
        height: 40px;
        font-size: 1.3rem;
    }
    
    .mobile-nav-close {
        top: 20px;
        right: 20px;
    }
    
    .service-actions {
        flex-direction: column;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .hero {
        padding-top: 65px;
    }
}

/* ============================= */
/* REST OF THE CSS REMAINS THE SAME */
/* ============================= */

/* SECTIONS */
.stats-section,
.services-section,
.cta-section,
.portfolio-section,
.contact-section {
    padding: clamp(4rem, 8vw, 6rem) 0;
    width: 100%;
    box-sizing: border-box;
}

.section-header {
    text-align: center;
    max-width: min(800px, 90vw);
    margin: 0 auto clamp(3rem, 6vw, 4rem);
}

.section-subtitle {
    color: var(--primary);
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    font-weight: 500;
    margin-bottom: 1rem;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
    gap: clamp(20px, 3vw, 30px);
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.stat-card {
    background: var(--card-bg);
    padding: clamp(2rem, 4vw, 3rem) clamp(1.5rem, 3vw, 2rem);
    border-radius: 20px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.stat-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: var(--shadow);
}

.stat-card h3 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-card p {
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.stat-subtext {
    font-size: clamp(0.8rem, 1.2vw, 0.9rem);
    color: var(--text-tertiary);
}

/* Service Filters */
.service-filters {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    padding: 0 10px;
}

.filter-btn {
    padding: 12px 24px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 0.9rem;
    white-space: nowrap;
}

/* Services Grid */
.services-grid,
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(350px, 100%), 1fr));
    gap: clamp(20px, 3vw, 30px);
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.service-card {
    background: var(--card-bg);
    padding: clamp(1.5rem, 3vw, 2.5rem);
    border-radius: 20px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-sizing: border-box;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: var(--shadow);
}

.service-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.service-category {
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

.service-category.enterprise {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
}

.service-category.professional {
    background: linear-gradient(135deg, #f093fb, #f5576c);
    color: white;
}

.service-duration {
    color: var(--text-tertiary);
    font-size: 0.9rem;
}

.service-features {
    list-style: none;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.service-actions {
    display: flex;
    gap: 15px;
    margin-top: auto;
}

.service-actions .btn {
    flex: 1;
    text-align: center;
}

/* WHY CHOOSE US */
.cta-section {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(121, 40, 202, 0.1));
    text-align: center;
}

.cta-content {
    max-width: min(800px, 90vw);
    margin: 0 auto;
}

.cta-content p {
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    margin-bottom: 2.5rem;
    max-width: min(600px, 90vw);
    margin-left: auto;
    margin-right: auto;
}

.why-choose-points {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
    gap: clamp(15px, 2vw, 20px);
    margin-bottom: 40px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

.choose-point {
    display: flex;
    gap: 20px;
    padding: clamp(15px, 2vw, 20px);
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.choose-point:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: var(--shadow);
}

.choose-point i {
    color: var(--primary);
    font-size: clamp(1.25rem, 2vw, 1.5rem);
    margin-top: 5px;
    flex-shrink: 0;
}

.choose-point h4 {
    font-size: clamp(1rem, 1.5vw, 1.1rem);
    margin-bottom: 8px;
    color: var(--text-primary);
}

.choose-point p {
    font-size: clamp(0.85rem, 1.2vw, 0.95rem);
    color: var(--text-secondary);
    margin-bottom: 0;
    line-height: 1.6;
}

/* Portfolio */
.text-center {
    text-align: center;
}

.load-more-container {
    margin-top: 3rem;
}

/* CONTACT */
.contact-section {
    background: var(--darker-bg);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(400px, 100%), 1fr));
    gap: clamp(30px, 5vw, 60px);
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.contact-info h2 {
    margin-bottom: 1rem;
}

.contact-subtitle {
    color: var(--primary);
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.contact-description {
    font-size: clamp(1rem, 1.5vw, 1.125rem);
    line-height: 1.8;
    margin-bottom: 2.5rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-location h4,
.contact-item h4 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 0.5rem;
    font-size: clamp(1rem, 1.5vw, 1.1rem);
}

.contact-location p,
.contact-item p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: clamp(0.9rem, 1.2vw, 1rem);
}

.contact-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.contact-item i {
    color: var(--primary);
    font-size: clamp(1.1rem, 1.5vw, 1.25rem);
    margin-top: 5px;
    flex-shrink: 0;
}

.contact-form {
    background: var(--card-bg);
    padding: clamp(1.5rem, 3vw, 3rem);
    border-radius: 20px;
    border: 1px solid var(--border-color);
    box-sizing: border-box;
}

#contactForm {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

#contactForm input,
#contactForm select,
#contactForm textarea {
    padding: 16px 20px;
    background: var(--dark-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    width: 100%;
    box-sizing: border-box;
}

#contactForm input:focus,
#contactForm select:focus,
#contactForm textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
}

#contactForm textarea {
    resize: vertical;
    min-height: 120px;
}

/* FOOTER */
.footer {
    padding: clamp(2rem, 5vw, 4rem) 0 clamp(1rem, 3vw, 2rem);
    background: var(--dark-bg);
    border-top: 1px solid var(--border-color);
    width: 100%;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
    gap: clamp(30px, 4vw, 40px);
    margin-bottom: 3rem;
    width: 100%;
}

.footer-col h4 {
    font-size: clamp(1rem, 1.5vw, 1.1rem);
    margin-bottom: 1.5rem;
}

.footer-logo {
    font-size: clamp(1.25rem, 2vw, 1.5rem);
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 1.5rem;
}

.footer-description {
    font-size: clamp(0.85rem, 1.2vw, 0.95rem);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.social-link {
    width: 40px;
    height: 40px;
    background: var(--card-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: clamp(0.85rem, 1.2vw, 0.95rem);
}

.contact-info-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    color: var(--text-secondary);
    font-size: clamp(0.85rem, 1.2vw, 0.95rem);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    width: 100%;
}

.footer-bottom p {
    font-size: clamp(0.8rem, 1.2vw, 0.9rem);
    color: var(--text-tertiary);
    margin-bottom: 0;
}

.footer-links {
    display: flex;
    gap: clamp(10px, 2vw, 20px);
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-tertiary);
    text-decoration: none;
    font-size: clamp(0.8rem, 1.2vw, 0.9rem);
    transition: color 0.3s ease;
}

/* MODAL */
.demo-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
}

.modal-content {
    position: relative;
    background: var(--card-bg);
    width: min(90%, 900px);
    max-height: 90vh;
    margin: 5vh auto;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 2rem;
    cursor: pointer;
    z-index: 1002;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.modal-body {
    padding: clamp(1.5rem, 3vw, 3rem);
    overflow-y: auto;
    max-height: calc(90vh - 100px);
}

/* ANIMATIONS */
.service-card,
.stat-card,
.choose-point {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.service-card.animate-in,
.stat-card.animate-in,
.choose-point.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* iOS FIX — disable fixed background */
@media (max-width: 768px) {
    .hero-background {
        background-attachment: scroll !important;
    }
}

/* ===================================================== */
/* FINAL, GUARANTEED MOBILE FIX — CENTERED + WORKING */
/* ===================================================== */

@media (max-width: 768px) {

    /* Disable iOS rendering bug */
    .hero-background {
        background-attachment: scroll !important;
    }

    .services-animation-center {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    .animated-text-container {
        width: 100%;
        max-width: 100%;
        min-height: 3.2em;          /* ✅ auto-fit text height */
        overflow: hidden;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .animated-text-wrapper {
        position: relative;
        width: 100%;
        height: 100%;
    }

    .animated-text {
        position: absolute;
        inset: 0;
        margin: auto;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;

        /* 🔥 THIS IS THE KEY FIX */
        white-space: normal;        /* allow wrap */
        word-break: break-word;

        line-height: 1.2;
        font-size: clamp(1.6rem, 4.8vw, 2.2rem);
        transform: translateY(100%);
        padding: 0 12px;
    }
}

/* Extra safety for very small phones */
@media (max-width: 480px) {
    .animated-text-container {
        min-height: 3.8em;
    }
}
/* =========================================
   FIX ❌ CLICK ISSUE (Z-INDEX + POINTER)
   ========================================= */

.mobile-nav {
    z-index: 1001;
}

.mobile-nav-close {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1005;               /* 🔥 ABOVE OVERLAY */
    pointer-events: auto;        /* 🔥 FORCE CLICK */
}

.mobile-nav * {
    pointer-events: auto;
}
/* ===============================
   MOBILE NAV – FINAL FIX
   =============================== */

.mobile-nav {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.97);
    z-index: 9998;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    pointer-events: none;
}

.mobile-nav.active {
    transform: translateX(0);
    pointer-events: auto;
}

/* ❌ CLOSE BUTTON – ALWAYS CLICKABLE */
.mobile-nav-close {
    position: fixed;
    top: 16px;
    right: 16px;
    z-index: 10000;
    background: none;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    pointer-events: auto;
}

/* Kill invisible blockers */
.mobile-nav::before,
.mobile-nav::after {
    display: none !important;
}

/* Disable blur (mobile bug killer) */
.mobile-nav {
    backdrop-filter: none !important;
}

/* Mobile only */
@media (min-width: 769px) {
    .mobile-nav,
    .mobile-menu-btn {
        display: none !important;
    }
}


