:root {
    --primary: #1a365d;
    --primary-dark: #0f2744;
    --primary-light: #2c5282;
    --secondary: #4299e1;
    --secondary-light: #63b3ed;
    --accent: #48bb78;
    --accent-dark: #38a169;
    --background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
    --background-section: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
    --background-alt: linear-gradient(180deg, #0f172a 0%, #1a365d 50%, #0f172a 100%);
    --surface: rgba(30, 41, 59, 0.8);
    --surface-light: rgba(51, 65, 85, 0.6);
    --text: #e2e8f0;
    --text-muted: #94a3b8;
    --text-dark: #1e293b;
    --border: rgba(148, 163, 184, 0.2);
    --shadow: 0 4px 6px -1px rgba(0,0,0,0.3), 0 2px 4px -1px rgba(0,0,0,0.2);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.4), 0 4px 6px -2px rgba(0,0,0,0.3);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.5), 0 10px 10px -5px rgba(0,0,0,0.3);
    --glow-blue: 0 0 30px rgba(66, 153, 225, 0.3);
    --glow-green: 0 0 30px rgba(72, 187, 120, 0.3);
    --radius: 12px;
    --radius-sm: 8px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: #0f172a;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, rgba(15,23,42,0.95) 0%, rgba(30,41,59,0.95) 50%, rgba(15,23,42,0.95) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-bottom: 1px solid rgba(66,153,225,0.2);
    box-shadow: 
        0 4px 30px rgba(0,0,0,0.3),
        0 1px 0 rgba(66,153,225,0.1) inset;
}

.header::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent,
        rgba(66,153,225,0.5) 20%,
        rgba(99,179,237,0.8) 50%,
        rgba(66,153,225,0.5) 80%,
        transparent
    );
    opacity: 0.6;
}

.header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 20% 50%, rgba(66,153,225,0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 50%, rgba(72,187,120,0.08) 0%, transparent 50%);
    pointer-events: none;
}

.header.scrolled {
    background: linear-gradient(135deg, rgba(15,23,42,0.98) 0%, rgba(30,41,59,0.98) 50%, rgba(15,23,42,0.98) 100%);
    border-bottom-color: rgba(66,153,225,0.3);
    box-shadow: 
        0 8px 40px rgba(0,0,0,0.4),
        0 0 30px rgba(66,153,225,0.1);
}

.header.scrolled::before {
    opacity: 1;
    animation: headerGlow 3s ease-in-out infinite;
}

@keyframes headerGlow {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    position: relative;
    z-index: 2;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 30px;
}

.btn-login {
    background: linear-gradient(135deg, var(--accent) 0%, #2f855a 100%);
    color: white;
    border: none;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 13px;
    box-shadow: 
        0 4px 15px rgba(72,187,120,0.4),
        0 0 0 1px rgba(72,187,120,0.3) inset;
    text-transform: uppercase;
    letter-spacing: 1px;
    filter: blur(0px);
    position: relative;
    overflow: hidden;
}

.btn-login::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;
}

.btn-login:hover::before {
    left: 100%;
}

.btn-login:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 
        0 8px 30px rgba(72,187,120,0.5),
        0 0 20px rgba(72,187,120,0.3);
}

.btn-login-text::before {
    content: '🔐 ';
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: white;
    position: relative;
}

.logo-icon {
    font-size: 36px;
    filter: drop-shadow(0 2px 8px rgba(66,153,225,0.5));
    animation: logoFloat 3s ease-in-out infinite;
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

.logo-text {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, #ffffff 0%, #90cdf4 50%, #63b3ed 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.logo-text::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--secondary), var(--accent));
    transition: width 0.3s ease;
    border-radius: 1px;
}

.logo:hover .logo-text::after {
    width: 100%;
}

.nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 14px;
    position: relative;
    filter: blur(0px);
    border: 1px solid transparent;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--secondary), var(--accent));
    transition: width 0.3s ease;
    border-radius: 1px;
}

.nav-link:hover {
    color: white;
    background: rgba(66,153,225,0.15);
    border-color: rgba(66,153,225,0.2);
}

.nav-link:hover::before {
    width: 50%;
}

.nav-link.active {
    background: linear-gradient(135deg, rgba(66,153,225,0.3) 0%, rgba(99,179,237,0.2) 100%);
    color: white;
    border-color: rgba(66,153,225,0.3);
    box-shadow: 
        0 4px 15px rgba(66,153,225,0.2),
        0 0 0 1px rgba(66,153,225,0.1) inset;
}

.nav-link.active::before {
    width: 50%;
    opacity: 1;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: white;
    transition: var(--transition);
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    
    .nav {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
        flex-direction: column;
        padding: 20px;
        gap: 10px;
        transform: translateY(-150%);
        transition: var(--transition);
        box-shadow: var(--shadow-lg);
        border-bottom: 1px solid rgba(66, 153, 225, 0.2);
    }
    
    .nav.open {
        transform: translateY(0);
    }
    
    .nav-link {
        width: 100%;
        text-align: center;
        padding: 15px 20px;
        color: var(--text);
        border-bottom: 1px solid rgba(66, 153, 225, 0.1);
        border-radius: 0;
    }
    
    .nav-link:last-child {
        border-bottom: none;
    }
    
    .nav-link.active {
        background: rgba(66, 153, 225, 0.2);
    }
    
    .nav-link:hover {
        background: rgba(66, 153, 225, 0.15);
    }
}

.login-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.login-modal.open {
    opacity: 1;
    visibility: visible;
}

.login-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.login-modal-content {
    position: relative;
    background: linear-gradient(180deg, rgba(30, 41, 59, 0.9) 0%, rgba(15, 23, 42, 0.95) 100%);
    border-radius: var(--radius);
    width: 90%;
    max-width: 400px;
    overflow: hidden;
    transform: scale(0.9) translateY(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), 0 0 80px rgba(66, 153, 225, 0.15);
    border: 1px solid rgba(66, 153, 225, 0.2);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.login-modal.open .login-modal-content {
    transform: scale(1) translateY(0);
}

.login-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: white;
    opacity: 0.8;
    transition: var(--transition);
    z-index: 10;
}

.login-modal-close:hover {
    opacity: 1;
}

.login-modal-header {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    padding: 40px 30px;
    text-align: center;
    color: white;
}

.login-modal-icon {
    font-size: 48px;
    display: block;
    margin-bottom: 15px;
}

.login-modal-header h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 5px;
}

.login-modal-header p {
    opacity: 0.9;
    font-size: 14px;
}

.login-modal-body {
    padding: 30px;
    background: rgba(15, 23, 42, 0.5);
}

.login-section {
    margin-bottom: 20px;
}

.login-section:last-child {
    margin-bottom: 0;
}

.login-section-title {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.15);
}

.login-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: rgba(30, 41, 59, 0.5);
    border: 2px solid rgba(66, 153, 225, 0.2);
    border-radius: var(--radius-sm);
    text-decoration: none;
    color: var(--text);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    filter: blur(0px);
}

.login-card:hover {
    border-color: var(--secondary);
    background: rgba(66, 153, 225, 0.15);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px -10px rgba(0, 0, 0, 0.4), 0 0 40px rgba(66, 153, 225, 0.2);
    animation: blurTransition 0.4s ease;
}

.login-card-icon {
    font-size: 36px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: var(--radius-sm);
}

.login-card-info h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--secondary-light);
}

.login-card-info p {
    font-size: 13px;
    color: var(--text-muted);
}

.login-card-arrow {
    margin-left: auto;
    font-size: 24px;
    color: var(--secondary);
    transition: var(--transition);
}

.login-card:hover .login-card-arrow {
    transform: translateX(5px);
}

.main-content {
    padding-top: 70px;
    position: relative;
    z-index: 1;
}

.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    background: transparent;
    overflow: hidden;
    z-index: 1;
}

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero::before,
.hero::after {
    display: none;
}

@keyframes floatBubble {
    0%, 100% { transform: translateY(0) translateX(0) scale(1); }
    25% { transform: translateY(-40px) translateX(20px) scale(1.05); }
    50% { transform: translateY(-20px) translateX(-10px) scale(0.98); }
    75% { transform: translateY(-60px) translateX(30px) scale(1.02); }
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(5deg); }
}

@keyframes pulse {
    0%, 100% { opacity: 0.4; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.1); }
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero-content {
    position: relative;
    z-index: 1;
    color: white;
    max-width: 700px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.15);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 14px;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
}

.hero h1 {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero h1 span {
    color: var(--secondary-light);
}

.hero p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 30px;
    max-width: 550px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 15px;
    border: none;
    cursor: pointer;
    filter: blur(0px);
}

.btn-primary {
    background: var(--accent);
    color: white;
}

.btn-primary:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    animation: blurTransitionSmall 0.3s ease;
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid rgba(255,255,255,0.5);
}

.btn-outline:hover {
    background: white;
    color: var(--primary);
    border-color: white;
    animation: blurTransitionSmall 0.3s ease;
}

.hero-trust {
    display: flex;
    gap: 20px;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.2);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.trust-icon {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.trust-text {
    font-size: 13px;
    opacity: 0.9;
}

.trust-text strong {
    display: block;
    font-size: 14px;
}

.section {
    padding: 80px 0;
    position: relative;
    z-index: 1;
}

.section:nth-child(even) {
    background: transparent;
}

.section:nth-child(odd) {
    background: transparent;
}

.section-divider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: translateY(-99%);
}

.section-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 60px;
}

.section-divider .shape-fill {
    fill: rgba(15, 23, 42, 0.8);
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 50px;
}

.section-badge {
    display: inline-block;
    background: rgba(66,153,225,0.2);
    color: var(--secondary-light);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 15px;
    border: 1px solid rgba(66, 153, 225, 0.3);
}

.section-title {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 800;
    color: var(--text);
    margin-bottom: 15px;
    background: linear-gradient(135deg, #ffffff 0%, var(--secondary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-desc {
    color: var(--text-muted);
    font-size: 16px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.service-card {
    background: linear-gradient(180deg, rgba(30, 41, 59, 0.4) 0%, rgba(15, 23, 42, 0.5) 100%);
    border-radius: var(--radius);
    padding: 30px;
    border: 1px solid rgba(66, 153, 225, 0.15);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1), filter 0.3s ease;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    filter: blur(0px);
}

.service-card:hover {
    transform: translateY(-8px);
    background: linear-gradient(180deg, rgba(30, 41, 59, 0.8) 0%, rgba(15, 23, 42, 0.9) 100%);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), 0 0 50px rgba(66, 153, 225, 0.15);
    border-color: rgba(66, 153, 225, 0.4);
    animation: blurTransition 0.4s ease;
}

@keyframes blurTransition {
    0% { filter: blur(0px); }
    30% { filter: blur(4px); }
    100% { filter: blur(0px); }
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--secondary-light);
    margin-bottom: 10px;
}

.service-card p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.7;
}

.service-list {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(148, 163, 184, 0.2);
}

.service-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text);
    padding: 5px 0;
}

.service-list li::before {
    content: '✓';
    color: var(--accent);
    font-weight: bold;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    border-radius: var(--radius);
    box-shadow: var(--shadow-xl);
}

.about-badge-float {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    padding: 20px 25px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg), var(--glow-blue);
    text-align: center;
    border: 1px solid rgba(66, 153, 225, 0.3);
}

.about-badge-float strong {
    display: block;
    font-size: 32px;
    color: white;
}

.about-badge-float span {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
}

.about-content h2 {
    font-size: clamp(28px, 4vw, 36px);
    font-weight: 800;
    color: var(--text);
    margin-bottom: 20px;
    background: linear-gradient(135deg, #ffffff 0%, var(--secondary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-content p {
    color: var(--text-muted);
    margin-bottom: 15px;
    line-height: 1.8;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 25px;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    background: rgba(30, 41, 59, 0.4);
    border-radius: var(--radius-sm);
    border: 1px solid rgba(66, 153, 225, 0.15);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    filter: blur(0px);
}

.about-feature:hover {
    background: rgba(30, 41, 59, 0.6);
    border-color: rgba(66, 153, 225, 0.3);
    transform: translateX(5px);
    animation: blurTransition 0.3s ease;
}

.about-feature span:first-child {
    font-size: 20px;
}

.about-feature span:last-child {
    font-size: 14px;
    font-weight: 500;
}

.cta-section {
    background: rgba(26, 54, 93, 0.4);
    padding: 100px 0 80px;
    text-align: center;
    color: white;
    position: relative;
    overflow: visible;
    margin-top: 40px;
    border-top: 1px solid rgba(66, 153, 225, 0.2);
    z-index: 1;
}

.cta-section::before {
    display: none;
}

.cta-section::after {
    display: none;
}

.cta-section h2 {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 800;
    margin-bottom: 15px;
}

.cta-section p {
    opacity: 0.9;
    margin-bottom: 30px;
    font-size: 18px;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    aspect-ratio: 4/3;
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    display: flex;
    align-items: flex-end;
    padding: 20px;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-caption {
    color: white;
    font-weight: 500;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

.contact-info {
    background: linear-gradient(180deg, rgba(30, 41, 59, 0.4) 0%, rgba(15, 23, 42, 0.5) 100%);
    border-radius: var(--radius);
    padding: 40px;
    border: 1px solid rgba(66, 153, 225, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(20px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    filter: blur(0px);
}

.contact-info:hover {
    background: linear-gradient(180deg, rgba(30, 41, 59, 0.7) 0%, rgba(15, 23, 42, 0.8) 100%);
    border-color: rgba(66, 153, 225, 0.3);
    box-shadow: 0 0 40px rgba(66, 153, 225, 0.1);
    animation: blurTransition 0.4s ease;
}

.contact-info h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--secondary-light);
    margin-bottom: 20px;
}

.contact-list {
    list-style: none;
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid rgba(148, 163, 184, 0.15);
}

.contact-list li:last-child {
    border-bottom: none;
}

.contact-list .icon {
    width: 45px;
    height: 45px;
    background: rgba(66, 153, 225, 0.2);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
    border: 1px solid rgba(66, 153, 225, 0.3);
}

.contact-list .info strong {
    display: block;
    color: var(--text);
    margin-bottom: 5px;
}

.contact-list .info span {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
}

.contact-form {
    background: linear-gradient(180deg, rgba(30, 41, 59, 0.4) 0%, rgba(15, 23, 42, 0.5) 100%);
    border-radius: var(--radius);
    padding: 40px;
    border: 1px solid rgba(66, 153, 225, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(20px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    filter: blur(0px);
}

.contact-form:hover {
    background: linear-gradient(180deg, rgba(30, 41, 59, 0.7) 0%, rgba(15, 23, 42, 0.8) 100%);
    border-color: rgba(66, 153, 225, 0.3);
    box-shadow: 0 0 40px rgba(66, 153, 225, 0.1);
    animation: blurTransition 0.4s ease;
}

.contact-form h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--secondary-light);
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid rgba(148, 163, 184, 0.2);
    border-radius: var(--radius-sm);
    font-size: 15px;
    transition: var(--transition);
    font-family: inherit;
    background: rgba(15, 23, 42, 0.6);
    color: var(--text);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary);
    background: rgba(30, 41, 59, 0.8);
    box-shadow: 0 0 20px rgba(66, 153, 225, 0.2);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.form-submit {
    width: 100%;
    padding: 16px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.form-submit:hover {
    background: var(--primary-dark);
}

.footer {
    background: rgba(15, 23, 42, 0.7);
    color: white;
    padding: 80px 0 0;
    position: relative;
    margin-top: 40px;
    border-top: 1px solid rgba(66, 153, 225, 0.2);
    z-index: 1;
}

.footer::before {
    display: none;
}

.footer::after {
    display: none;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.footer-logo .logo-icon {
    font-size: 24px;
}

.footer-logo .logo-text {
    font-size: 20px;
    font-weight: 800;
}

.footer-desc {
    opacity: 0.8;
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-badges {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
}

.badge-mof {
    background: rgba(72,187,120,0.2);
    color: #9ae6b4;
}

.badge-stb {
    background: rgba(66,153,225,0.2);
    color: #90cdf4;
}

.badge-einvoice {
    background: rgba(237,137,54,0.2);
    color: #fbd38d;
}

.footer-col h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
}

.footer-contact .contact-icon {
    font-size: 16px;
}

.footer-contact span {
    font-size: 14px;
    opacity: 0.8;
    line-height: 1.6;
}

.footer-bottom {
    margin-top: 50px;
    padding: 25px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
}

.footer-bottom p {
    font-size: 14px;
    opacity: 0.7;
}

.footer-credit {
    margin-top: 5px;
    font-size: 12px !important;
}

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25d366;
    color: white;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    z-index: 900;
}

.whatsapp-float:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(37,211,102,0.4);
}

.whatsapp-icon {
    font-size: 24px;
}

@media (max-width: 480px) {
    .whatsapp-text {
        display: none;
    }
    
    .whatsapp-float {
        padding: 14px;
        border-radius: 50%;
    }
}

.page-header {
    background: transparent;
    padding: 120px 0 80px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.page-header::before {
    display: none;
}

@keyframes bgScroll {
    0% { background-position: 0 0; }
    100% { background-position: 100px 100px; }
}

.page-header h1 {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 800;
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
}

.page-header p {
    opacity: 0.9;
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.page-header .container {
    position: relative;
    z-index: 2;
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    font-size: 14px;
    position: relative;
    z-index: 2;
}

.breadcrumb a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
}

.breadcrumb a:hover {
    color: white;
}

.breadcrumb span {
    opacity: 0.5;
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

.text-center { text-align: center; }
.mt-20 { margin-top: 20px; }
.mt-40 { margin-top: 40px; }
.mb-20 { margin-bottom: 20px; }
.mb-40 { margin-bottom: 40px; }

.map-container {
    margin-top: 40px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.map-container iframe {
    width: 100%;
    height: 400px;
    border: none;
}

.alert {
    padding: 15px 20px;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
}

.alert-success {
    background: rgba(72,187,120,0.1);
    color: var(--accent-dark);
    border: 1px solid rgba(72,187,120,0.3);
}

.alert-error {
    background: rgba(245,101,101,0.1);
    color: #c53030;
    border: 1px solid rgba(245,101,101,0.3);
}

/* Global Background Animation - Fixed across entire page */
.global-bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
    background: linear-gradient(-45deg, #0f2744, #1a365d, #2c5282, #1a365d);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
    animation-play-state: paused;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.global-bg-animation.synced {
    animation-play-state: running;
    opacity: 1;
}

/* Pause all child animations until synced */
.global-bg-animation .node,
.global-bg-animation .star,
.global-bg-animation .circuit-trace,
.global-bg-animation .circuit-joint,
.global-bg-animation .circuit-pulse,
.global-bg-animation .tech-chip,
.global-bg-animation .binary-float,
.global-bg-animation .connection-line {
    animation-play-state: paused;
}

.global-bg-animation.synced .node,
.global-bg-animation.synced .star,
.global-bg-animation.synced .circuit-trace,
.global-bg-animation.synced .circuit-joint,
.global-bg-animation.synced .circuit-pulse,
.global-bg-animation.synced .tech-chip,
.global-bg-animation.synced .binary-float,
.global-bg-animation.synced .connection-line {
    animation-play-state: running;
}

/* Fallback: show animation if JS doesn't load */
.no-js .global-bg-animation {
    animation-play-state: running;
    opacity: 1;
}

.global-bg-animation::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 1000px;
    height: 1000px;
    background: radial-gradient(circle, rgba(66,153,225,0.25) 0%, transparent 60%);
    border-radius: 50%;
    animation: floatBubble 15s ease-in-out infinite;
}

.global-bg-animation::after {
    content: '';
    position: absolute;
    bottom: -40%;
    left: -15%;
    width: 900px;
    height: 900px;
    background: radial-gradient(circle, rgba(72,187,120,0.2) 0%, transparent 60%);
    border-radius: 50%;
    animation: floatBubble 20s ease-in-out infinite reverse;
}

.global-bg-animation .hero-particles,
.global-bg-animation .hero-stars,
.global-bg-animation .hero-grid-bg {
    position: absolute;
    inset: 0;
}

/* Network Nodes Animation */
.hero-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 1;
    pointer-events: none;
}

.network-container {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

/* Network Nodes */
.node {
    position: absolute;
    width: 8px;
    height: 8px;
    background: rgba(99, 179, 237, 0.8);
    border-radius: 50%;
    box-shadow: 
        0 0 10px rgba(99, 179, 237, 0.8),
        0 0 20px rgba(99, 179, 237, 0.5),
        0 0 30px rgba(99, 179, 237, 0.3);
    animation: nodePulse 3s ease-in-out infinite;
}

.node::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border: 1px solid rgba(99, 179, 237, 0.3);
    border-radius: 50%;
    animation: nodeRing 2s ease-out infinite;
}

.node-1 { top: 15%; left: 20%; animation-delay: 0s; }
.node-2 { top: 25%; left: 75%; animation-delay: 0.5s; }
.node-3 { top: 45%; left: 40%; animation-delay: 1s; }
.node-4 { top: 60%; left: 85%; animation-delay: 1.5s; }
.node-5 { top: 75%; left: 25%; animation-delay: 2s; }
.node-6 { top: 35%; left: 10%; animation-delay: 0.3s; }
.node-7 { top: 80%; left: 60%; animation-delay: 0.8s; }
.node-8 { top: 10%; left: 50%; animation-delay: 1.3s; }
.node-9 { top: 55%; left: 15%; animation-delay: 1.8s; }
.node-10 { top: 40%; left: 65%; animation-delay: 2.3s; }
.node-11 { top: 20%; left: 90%; animation-delay: 0.7s; }
.node-12 { top: 70%; left: 45%; animation-delay: 1.2s; }

.node-large {
    width: 12px;
    height: 12px;
    background: rgba(72, 187, 120, 0.9);
    box-shadow: 
        0 0 15px rgba(72, 187, 120, 0.8),
        0 0 30px rgba(72, 187, 120, 0.5),
        0 0 45px rgba(72, 187, 120, 0.3);
}

.node-large::before {
    width: 30px;
    height: 30px;
    border-color: rgba(72, 187, 120, 0.3);
}

@keyframes nodePulse {
    0%, 100% { 
        transform: scale(1);
        opacity: 0.8;
    }
    50% { 
        transform: scale(1.5);
        opacity: 1;
    }
}

@keyframes nodeRing {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.6;
    }
    100% {
        transform: translate(-50%, -50%) scale(3);
        opacity: 0;
    }
}

/* Connection Lines */
.connection-lines {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.connection-line {
    position: absolute;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent,
        rgba(99, 179, 237, 0.6),
        rgba(99, 179, 237, 0.8),
        rgba(99, 179, 237, 0.6),
        transparent
    );
    transform-origin: left center;
    animation: lineGlow 4s ease-in-out infinite;
}

.line-1 { top: 18%; left: 22%; width: 280px; transform: rotate(15deg); animation-delay: 0s; }
.line-2 { top: 28%; left: 12%; width: 200px; transform: rotate(-25deg); animation-delay: 0.5s; }
.line-3 { top: 47%; left: 42%; width: 250px; transform: rotate(35deg); animation-delay: 1s; }
.line-4 { top: 62%; left: 27%; width: 320px; transform: rotate(-10deg); animation-delay: 1.5s; }
.line-5 { top: 35%; left: 65%; width: 180px; transform: rotate(50deg); animation-delay: 2s; }
.line-6 { top: 72%; left: 47%; width: 220px; transform: rotate(-30deg); animation-delay: 0.8s; }
.line-7 { top: 12%; left: 52%; width: 260px; transform: rotate(20deg); animation-delay: 1.3s; }
.line-8 { top: 55%; left: 17%; width: 150px; transform: rotate(-45deg); animation-delay: 1.8s; }

.connection-line::before {
    content: '';
    position: absolute;
    top: -2px;
    left: 0;
    width: 20px;
    height: 5px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    filter: blur(2px);
    animation: dataPacket 3s linear infinite;
}

@keyframes lineGlow {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.8; }
}

@keyframes dataPacket {
    0% { left: 0%; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { left: 100%; opacity: 0; }
}

/* Circuit Board Pattern */
.circuit-board {
    position: absolute;
    inset: 0;
    overflow: hidden;
    opacity: 0.4;
}

.circuit-trace {
    position: absolute;
    background: transparent;
    border: 1px solid rgba(99, 179, 237, 0.3);
}

/* Horizontal traces */
.trace-h-1 { top: 20%; left: 0; width: 30%; height: 0; border-top: 1px solid rgba(99, 179, 237, 0.4); }
.trace-h-2 { top: 40%; left: 60%; width: 40%; height: 0; border-top: 1px solid rgba(99, 179, 237, 0.3); }
.trace-h-3 { top: 60%; left: 10%; width: 25%; height: 0; border-top: 1px solid rgba(99, 179, 237, 0.35); }
.trace-h-4 { top: 80%; left: 50%; width: 35%; height: 0; border-top: 1px solid rgba(99, 179, 237, 0.3); }

/* Vertical traces */
.trace-v-1 { top: 10%; left: 30%; width: 0; height: 25%; border-left: 1px solid rgba(99, 179, 237, 0.4); }
.trace-v-2 { top: 35%; left: 60%; width: 0; height: 30%; border-left: 1px solid rgba(99, 179, 237, 0.35); }
.trace-v-3 { top: 50%; left: 85%; width: 0; height: 35%; border-left: 1px solid rgba(99, 179, 237, 0.3); }
.trace-v-4 { top: 15%; left: 15%; width: 0; height: 20%; border-left: 1px solid rgba(99, 179, 237, 0.35); }

/* Circuit corners/joints */
.circuit-joint {
    position: absolute;
    width: 6px;
    height: 6px;
    background: rgba(99, 179, 237, 0.6);
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(99, 179, 237, 0.5);
}

.joint-1 { top: 20%; left: 30%; }
.joint-2 { top: 40%; left: 60%; }
.joint-3 { top: 60%; left: 35%; }
.joint-4 { top: 80%; left: 85%; }
.joint-5 { top: 35%; left: 15%; }
.joint-6 { top: 65%; left: 85%; }

/* Animated circuit pulse */
.circuit-pulse {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #63b3ed;
    border-radius: 50%;
    box-shadow: 
        0 0 10px #63b3ed,
        0 0 20px #63b3ed;
    animation: circuitRun 4s linear infinite;
}

.pulse-1 { top: 20%; animation: circuitRunH1 5s linear infinite; }
.pulse-2 { left: 60%; animation: circuitRunV1 6s linear infinite; }
.pulse-3 { top: 60%; animation: circuitRunH2 4s linear infinite; animation-delay: 2s; }
.pulse-4 { left: 30%; animation: circuitRunV2 5s linear infinite; animation-delay: 1s; }

@keyframes circuitRunH1 {
    0% { left: 0%; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { left: 30%; opacity: 0; }
}

@keyframes circuitRunH2 {
    0% { left: 10%; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { left: 35%; opacity: 0; }
}

@keyframes circuitRunV1 {
    0% { top: 35%; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { top: 65%; opacity: 0; }
}

@keyframes circuitRunV2 {
    0% { top: 10%; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { top: 35%; opacity: 0; }
}

/* Tech chip/processor decorations */
.tech-chip {
    position: absolute;
    border: 1px solid rgba(99, 179, 237, 0.4);
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(5px);
}

.chip-1 {
    top: 25%;
    left: 80%;
    width: 60px;
    height: 40px;
    border-radius: 4px;
}

.chip-1::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -15px;
    transform: translateY(-50%);
    width: 15px;
    height: 20px;
    background: repeating-linear-gradient(
        0deg,
        transparent 0px,
        transparent 3px,
        rgba(99, 179, 237, 0.5) 3px,
        rgba(99, 179, 237, 0.5) 5px
    );
}

.chip-1::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -15px;
    transform: translateY(-50%);
    width: 15px;
    height: 20px;
    background: repeating-linear-gradient(
        0deg,
        transparent 0px,
        transparent 3px,
        rgba(99, 179, 237, 0.5) 3px,
        rgba(99, 179, 237, 0.5) 5px
    );
}

.chip-2 {
    top: 70%;
    left: 5%;
    width: 50px;
    height: 50px;
    border-radius: 4px;
}

.chip-inner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    height: 60%;
    border: 1px solid rgba(99, 179, 237, 0.3);
    border-radius: 2px;
    animation: chipGlow 2s ease-in-out infinite;
}

@keyframes chipGlow {
    0%, 100% {
        box-shadow: inset 0 0 10px rgba(99, 179, 237, 0.2);
    }
    50% {
        box-shadow: inset 0 0 20px rgba(99, 179, 237, 0.5);
    }
}

/* Binary floating text */
.binary-float {
    position: absolute;
    font-family: 'Courier New', monospace;
    font-size: 12px;
    color: rgba(99, 179, 237, 0.3);
    animation: binaryFade 8s linear infinite;
    white-space: nowrap;
}

.binary-1 { top: 30%; left: 5%; animation-delay: 0s; }
.binary-2 { top: 50%; left: 70%; animation-delay: 2s; }
.binary-3 { top: 85%; left: 30%; animation-delay: 4s; }
.binary-4 { top: 15%; left: 85%; animation-delay: 6s; }

@keyframes binaryFade {
    0%, 100% { opacity: 0; transform: translateY(0); }
    20% { opacity: 0.4; }
    80% { opacity: 0.4; }
    100% { opacity: 0; transform: translateY(-30px); }
}

/* Floating Stars */
.hero-stars {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 1;
    pointer-events: none;
}

.star {
    position: absolute;
    width: 6px;
    height: 6px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 0 10px white, 0 0 20px white;
    animation: twinkle 2s infinite ease-in-out;
}

.star:nth-child(1) { top: 10%; left: 20%; animation-delay: 0s; }
.star:nth-child(2) { top: 20%; left: 80%; animation-delay: 0.3s; }
.star:nth-child(3) { top: 40%; left: 40%; animation-delay: 0.6s; }
.star:nth-child(4) { top: 60%; left: 70%; animation-delay: 0.9s; }
.star:nth-child(5) { top: 80%; left: 30%; animation-delay: 1.2s; }
.star:nth-child(6) { top: 15%; left: 60%; animation-delay: 0.2s; }
.star:nth-child(7) { top: 50%; left: 10%; animation-delay: 0.5s; }
.star:nth-child(8) { top: 70%; left: 90%; animation-delay: 0.8s; }
.star:nth-child(9) { top: 30%; left: 25%; animation-delay: 1.1s; }
.star:nth-child(10) { top: 85%; left: 50%; animation-delay: 1.4s; }

@keyframes twinkle {
    0%, 100% { opacity: 0.2; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.8); }
}

/* ========== ADVANCED PCB CIRCUIT BOARD ========== */
.chipset-container {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

/* Main Processor Chips - ONLY ON EDGES */
.processor {
    position: absolute;
    background: linear-gradient(145deg, #1a2a4a 0%, #0d1a2d 100%);
    border: 2px solid rgba(99, 179, 237, 0.6);
    border-radius: 4px;
    box-shadow: 
        0 0 25px rgba(99, 179, 237, 0.4),
        inset 0 0 20px rgba(99, 179, 237, 0.15);
}

/* LEFT SIDE CHIPS */
.processor-1 {
    top: 8%;
    left: 3%;
    width: 110px;
    height: 90px;
}

.processor-2 {
    top: 45%;
    left: 2%;
    width: 90px;
    height: 70px;
}

.processor-3 {
    top: 78%;
    left: 5%;
    width: 80px;
    height: 65px;
}

/* RIGHT SIDE CHIPS */
.processor-4 {
    top: 12%;
    right: 3%;
    left: auto;
    width: 100px;
    height: 80px;
}

.processor-5 {
    top: 50%;
    right: 2%;
    left: auto;
    width: 95px;
    height: 75px;
}

.processor-6 {
    top: 82%;
    right: 4%;
    left: auto;
    width: 85px;
    height: 68px;
}

/* Chip die with detailed markings */
.chip-die {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50%;
    height: 50%;
    background: linear-gradient(135deg, #2d4a6f 0%, #1a365d 50%, #0f2744 100%);
    border: 1px solid rgba(99, 179, 237, 0.7);
    border-radius: 2px;
    box-shadow: 
        0 0 20px rgba(99, 179, 237, 0.5),
        inset 0 0 15px rgba(99, 179, 237, 0.3);
    animation: dieGlow 2s ease-in-out infinite;
}

.chip-die::before {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 5px;
    height: 5px;
    background: rgba(99, 179, 237, 0.7);
    border-radius: 50%;
    box-shadow: 0 0 5px rgba(99, 179, 237, 0.8);
}

.chip-die::after {
    content: 'IC';
    position: absolute;
    bottom: 2px;
    right: 3px;
    font-size: 5px;
    color: rgba(99, 179, 237, 0.5);
    font-family: 'Courier New', monospace;
    font-weight: bold;
}

.processor-1 .chip-die::after { content: 'CPU'; }
.processor-2 .chip-die::after { content: 'RAM'; }
.processor-3 .chip-die::after { content: 'I/O'; }
.processor-4 .chip-die::after { content: 'GPU'; }
.processor-5 .chip-die::after { content: 'MCU'; }
.processor-6 .chip-die::after { content: 'PWR'; }

@keyframes dieGlow {
    0%, 100% { box-shadow: 0 0 20px rgba(99, 179, 237, 0.5), inset 0 0 15px rgba(99, 179, 237, 0.3); }
    50% { box-shadow: 0 0 35px rgba(99, 179, 237, 0.8), inset 0 0 25px rgba(99, 179, 237, 0.5); }
}

/* Chip pins - detailed metal pins */
.chip-pins {
    position: absolute;
    display: flex;
}

.chip-pins-top {
    top: -8px;
    left: 8%;
    right: 8%;
    height: 8px;
    justify-content: space-evenly;
}

.chip-pins-bottom {
    bottom: -8px;
    left: 8%;
    right: 8%;
    height: 8px;
    justify-content: space-evenly;
}

.chip-pins-left {
    left: -8px;
    top: 8%;
    bottom: 8%;
    width: 8px;
    flex-direction: column;
    justify-content: space-evenly;
}

.chip-pins-right {
    right: -8px;
    top: 8%;
    bottom: 8%;
    width: 8px;
    flex-direction: column;
    justify-content: space-evenly;
}

.pin {
    width: 2px;
    height: 8px;
    background: linear-gradient(180deg, #e0e0e0 0%, #808080 30%, #c0c0c0 50%, #808080 70%, #e0e0e0 100%);
    border-radius: 0.5px;
    box-shadow: 0 0 3px rgba(255,255,255,0.4);
}

.chip-pins-left .pin,
.chip-pins-right .pin {
    width: 8px;
    height: 2px;
    background: linear-gradient(90deg, #e0e0e0 0%, #808080 30%, #c0c0c0 50%, #808080 70%, #e0e0e0 100%);
}

/* ========== PIN TO PIN VOLTAGE TRACES ========== */
.voltage-trace {
    position: absolute;
    height: 1px;
    background: rgba(99, 179, 237, 0.2);
    transform-origin: left center;
}

/* Left chip 1 to Right chip 4 */
.vt-1 { top: 12%; left: calc(3% + 115px); width: calc(97% - 3% - 115px - 105px); }
.vt-2 { top: 15%; left: calc(3% + 115px); width: calc(97% - 3% - 115px - 105px); transform: rotate(0.5deg); }
.vt-3 { top: 18%; left: calc(3% + 115px); width: calc(97% - 3% - 115px - 105px); transform: rotate(-0.3deg); }

/* Left chip 2 to Right chip 5 */
.vt-4 { top: 48%; left: calc(2% + 95px); width: calc(98% - 2% - 95px - 100px); }
.vt-5 { top: 51%; left: calc(2% + 95px); width: calc(98% - 2% - 95px - 100px); transform: rotate(0.8deg); }
.vt-6 { top: 54%; left: calc(2% + 95px); width: calc(98% - 2% - 95px - 100px); transform: rotate(-0.5deg); }

/* Left chip 3 to Right chip 6 */
.vt-7 { top: 82%; left: calc(5% + 85px); width: calc(96% - 5% - 85px - 90px); }
.vt-8 { top: 85%; left: calc(5% + 85px); width: calc(96% - 5% - 85px - 90px); transform: rotate(0.3deg); }

/* Diagonal connections */
.vt-9 { top: 25%; left: calc(3% + 115px); width: 300px; transform: rotate(25deg); }
.vt-10 { top: 60%; left: calc(2% + 95px); width: 350px; transform: rotate(-20deg); }
.vt-11 { top: 35%; left: calc(3% + 60px); width: 200px; transform: rotate(45deg); }
.vt-12 { top: 70%; left: calc(5% + 50px); width: 250px; transform: rotate(-30deg); }

/* ========== VOLTAGE/CURRENT FLOW ANIMATION ========== */
.voltage-flow {
    position: absolute;
    height: 1px;
    background: rgba(99, 179, 237, 0.15);
    overflow: visible;
}

.voltage-flow::before {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    top: -1px;
    left: -60px;
    background: linear-gradient(90deg, 
        transparent 0%,
        rgba(34, 197, 94, 0.2) 10%,
        rgba(34, 197, 94, 0.5) 30%,
        rgba(72, 187, 120, 0.9) 45%,
        rgba(255, 255, 255, 1) 50%,
        rgba(72, 187, 120, 0.9) 55%,
        rgba(34, 197, 94, 0.5) 70%,
        rgba(34, 197, 94, 0.2) 90%,
        transparent 100%
    );
    border-radius: 2px;
    box-shadow: 
        0 0 8px rgba(72, 187, 120, 1),
        0 0 15px rgba(72, 187, 120, 0.7),
        0 0 25px rgba(72, 187, 120, 0.4);
    animation: voltageMove 3s linear infinite;
}

/* Horizontal voltage flows */
.vf-1 { top: 12%; left: calc(3% + 118px); width: calc(97% - 3% - 118px - 108px); }
.vf-2 { top: 15%; left: calc(3% + 118px); width: calc(97% - 3% - 118px - 108px); }
.vf-3 { top: 48%; left: calc(2% + 98px); width: calc(98% - 2% - 98px - 103px); }
.vf-4 { top: 51%; left: calc(2% + 98px); width: calc(98% - 2% - 98px - 103px); }
.vf-5 { top: 82%; left: calc(5% + 88px); width: calc(96% - 5% - 88px - 93px); }
.vf-6 { top: 85%; left: calc(5% + 88px); width: calc(96% - 5% - 88px - 93px); }

.vf-1::before { animation-delay: 0s; animation-duration: 2.5s; }
.vf-2::before { animation-delay: 0.4s; animation-duration: 2.8s; }
.vf-3::before { animation-delay: 0.8s; animation-duration: 3s; }
.vf-4::before { animation-delay: 1.2s; animation-duration: 2.6s; }
.vf-5::before { animation-delay: 1.6s; animation-duration: 3.2s; }
.vf-6::before { animation-delay: 2s; animation-duration: 2.4s; }

@keyframes voltageMove {
    0% { left: -60px; opacity: 0; }
    3% { opacity: 1; }
    97% { opacity: 1; }
    100% { left: calc(100% + 10px); opacity: 0; }
}

/* Diagonal voltage flows */
.voltage-flow-diag {
    position: absolute;
    height: 1px;
    background: rgba(99, 179, 237, 0.1);
    overflow: visible;
}

.voltage-flow-diag::before {
    content: '';
    position: absolute;
    width: 50px;
    height: 3px;
    top: -1px;
    left: -50px;
    background: linear-gradient(90deg, 
        transparent 0%,
        rgba(59, 130, 246, 0.3) 20%,
        rgba(99, 179, 237, 0.8) 45%,
        rgba(255, 255, 255, 1) 50%,
        rgba(99, 179, 237, 0.8) 55%,
        rgba(59, 130, 246, 0.3) 80%,
        transparent 100%
    );
    border-radius: 2px;
    box-shadow: 
        0 0 8px rgba(99, 179, 237, 1),
        0 0 15px rgba(99, 179, 237, 0.6);
    animation: voltageMove 4s linear infinite;
}

.vfd-1 { top: 20%; left: calc(3% + 115px); width: 280px; transform: rotate(22deg); }
.vfd-2 { top: 55%; left: calc(2% + 95px); width: 320px; transform: rotate(-18deg); }
.vfd-3 { top: 30%; left: calc(3% + 60px); width: 180px; transform: rotate(40deg); }
.vfd-4 { top: 65%; left: calc(5% + 50px); width: 220px; transform: rotate(-25deg); }

.vfd-1::before { animation-delay: 0.5s; animation-duration: 3.5s; }
.vfd-2::before { animation-delay: 1.5s; animation-duration: 4s; }
.vfd-3::before { animation-delay: 2.5s; animation-duration: 3s; }
.vfd-4::before { animation-delay: 3.5s; animation-duration: 3.8s; }

/* ========== PIN SPARK/VOLTAGE INDICATORS ========== */
.pin-spark {
    position: absolute;
    width: 6px;
    height: 6px;
    background: radial-gradient(circle, 
        rgba(255,255,255,1) 0%, 
        rgba(72, 187, 120, 0.9) 30%, 
        rgba(72, 187, 120, 0.5) 50%, 
        transparent 70%
    );
    border-radius: 50%;
    animation: pinSparkPulse 1.2s ease-in-out infinite;
}

/* Left side pin sparks */
.ps-l1-1 { top: 10%; left: calc(3% + 112px); }
.ps-l1-2 { top: 13%; left: calc(3% + 112px); }
.ps-l1-3 { top: 16%; left: calc(3% + 112px); }
.ps-l2-1 { top: 47%; left: calc(2% + 92px); }
.ps-l2-2 { top: 50%; left: calc(2% + 92px); }
.ps-l2-3 { top: 53%; left: calc(2% + 92px); }
.ps-l3-1 { top: 81%; left: calc(5% + 82px); }
.ps-l3-2 { top: 84%; left: calc(5% + 82px); }

/* Right side pin sparks */
.ps-r1-1 { top: 14%; right: calc(3% + 102px); left: auto; }
.ps-r1-2 { top: 17%; right: calc(3% + 102px); left: auto; }
.ps-r2-1 { top: 52%; right: calc(2% + 97px); left: auto; }
.ps-r2-2 { top: 55%; right: calc(2% + 97px); left: auto; }
.ps-r3-1 { top: 84%; right: calc(4% + 87px); left: auto; }
.ps-r3-2 { top: 87%; right: calc(4% + 87px); left: auto; }

.ps-l1-1 { animation-delay: 0s; }
.ps-l1-2 { animation-delay: 0.15s; }
.ps-l1-3 { animation-delay: 0.3s; }
.ps-l2-1 { animation-delay: 0.45s; }
.ps-l2-2 { animation-delay: 0.6s; }
.ps-l2-3 { animation-delay: 0.75s; }
.ps-l3-1 { animation-delay: 0.9s; }
.ps-l3-2 { animation-delay: 1.05s; }
.ps-r1-1 { animation-delay: 0.1s; }
.ps-r1-2 { animation-delay: 0.25s; }
.ps-r2-1 { animation-delay: 0.5s; }
.ps-r2-2 { animation-delay: 0.65s; }
.ps-r3-1 { animation-delay: 0.95s; }
.ps-r3-2 { animation-delay: 1.1s; }

@keyframes pinSparkPulse {
    0%, 100% { 
        transform: scale(0.6);
        opacity: 0.5;
        box-shadow: 0 0 4px rgba(72, 187, 120, 0.6);
    }
    50% { 
        transform: scale(1.8);
        opacity: 1;
        box-shadow: 0 0 12px rgba(72, 187, 120, 1), 0 0 25px rgba(72, 187, 120, 0.6);
    }
}

/* ========== VOLTAGE LABELS ========== */
.voltage-label {
    position: absolute;
    font-family: 'Courier New', monospace;
    font-size: 8px;
    color: rgba(72, 187, 120, 0.8);
    text-shadow: 0 0 5px rgba(72, 187, 120, 0.5);
    animation: voltageLabelPulse 2s ease-in-out infinite;
}

.vl-1 { top: 10%; left: calc(3% + 130px); }
.vl-2 { top: 46%; left: calc(2% + 110px); }
.vl-3 { top: 80%; left: calc(5% + 100px); }
.vl-4 { top: 12%; right: calc(3% + 120px); left: auto; }
.vl-5 { top: 50%; right: calc(2% + 115px); left: auto; }
.vl-6 { top: 83%; right: calc(4% + 105px); left: auto; }

@keyframes voltageLabelPulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

/* ========== VIA HOLES - MORE SCATTERED ========== */
.via {
    position: absolute;
    width: 5px;
    height: 5px;
    background: #0a1628;
    border: 1px solid rgba(99, 179, 237, 0.6);
    border-radius: 50%;
    box-shadow: 
        inset 0 0 3px rgba(99, 179, 237, 0.4),
        0 0 3px rgba(99, 179, 237, 0.3);
}

/* Scattered via holes on edges */
.via-1 { top: 5%; left: 18%; }
.via-2 { top: 22%; left: 8%; }
.via-3 { top: 38%; left: 15%; }
.via-4 { top: 55%; left: 5%; }
.via-5 { top: 72%; left: 12%; }
.via-6 { top: 88%; left: 8%; }
.via-7 { top: 8%; right: 15%; left: auto; }
.via-8 { top: 25%; right: 8%; left: auto; }
.via-9 { top: 42%; right: 12%; left: auto; }
.via-10 { top: 58%; right: 6%; left: auto; }
.via-11 { top: 75%; right: 10%; left: auto; }
.via-12 { top: 92%; right: 15%; left: auto; }

/* ========== SMD COMPONENTS ON EDGES ========== */
.smd {
    position: absolute;
    border-radius: 1px;
}

.smd-resistor {
    width: 14px;
    height: 5px;
    background: linear-gradient(90deg, #1a1a1a 0%, #2d2d2d 50%, #1a1a1a 100%);
    border: 1px solid rgba(99, 179, 237, 0.3);
}

.smd-resistor::before,
.smd-resistor::after {
    content: '';
    position: absolute;
    top: 0;
    width: 2px;
    height: 100%;
    background: #b0b0b0;
}

.smd-resistor::before { left: 0; }
.smd-resistor::after { right: 0; }

/* Left side SMD */
.smdr-1 { top: 28%; left: 12%; transform: rotate(30deg); }
.smdr-2 { top: 62%; left: 8%; transform: rotate(-20deg); }
.smdr-3 { top: 92%; left: 15%; transform: rotate(15deg); }

/* Right side SMD */
.smdr-4 { top: 32%; right: 10%; left: auto; transform: rotate(-25deg); }
.smdr-5 { top: 68%; right: 12%; left: auto; transform: rotate(35deg); }
.smdr-6 { top: 95%; right: 8%; left: auto; transform: rotate(-10deg); }

/* SMD Capacitors */
.smd-cap {
    width: 8px;
    height: 6px;
    background: linear-gradient(180deg, #8b6914 0%, #c9a227 50%, #8b6914 100%);
    border: 1px solid rgba(201, 162, 39, 0.5);
    border-radius: 1px;
}

.smdc-1 { top: 35%; left: 5%; }
.smdc-2 { top: 70%; left: 10%; }
.smdc-3 { top: 40%; right: 6%; left: auto; }
.smdc-4 { top: 75%; right: 8%; left: auto; }

/* SMD LEDs with glow */
.smd-led {
    width: 6px;
    height: 4px;
    background: linear-gradient(90deg, #1a1a1a 25%, var(--led-color, #22c55e) 25%);
    border-radius: 1px;
    animation: ledBlink 1.5s ease-in-out infinite;
}

.smd-led::after {
    content: '';
    position: absolute;
    top: -3px;
    right: -2px;
    width: 8px;
    height: 10px;
    background: radial-gradient(ellipse at center, var(--led-glow, rgba(34, 197, 94, 0.7)) 0%, transparent 70%);
    animation: ledGlow 1.5s ease-in-out infinite;
}

.led-1 { top: 6%; left: 16%; --led-color: #22c55e; --led-glow: rgba(34, 197, 94, 0.9); }
.led-2 { top: 42%; left: 6%; --led-color: #3b82f6; --led-glow: rgba(59, 130, 246, 0.9); animation-delay: 0.3s; }
.led-3 { top: 75%; left: 13%; --led-color: #ef4444; --led-glow: rgba(239, 68, 68, 0.9); animation-delay: 0.6s; }
.led-4 { top: 18%; right: 12%; left: auto; --led-color: #f59e0b; --led-glow: rgba(245, 158, 11, 0.9); animation-delay: 0.9s; }
.led-5 { top: 62%; right: 8%; left: auto; --led-color: #22c55e; --led-glow: rgba(34, 197, 94, 0.9); animation-delay: 1.2s; }
.led-6 { top: 88%; right: 14%; left: auto; --led-color: #3b82f6; --led-glow: rgba(59, 130, 246, 0.9); animation-delay: 0.5s; }

@keyframes ledBlink {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

@keyframes ledGlow {
    0%, 100% { opacity: 0.3; transform: scale(0.8); }
    50% { opacity: 1; transform: scale(1.4); }
}

/* ========== LARGE ELECTROLYTIC CAPACITORS ========== */
.capacitor-large {
    position: absolute;
    width: 16px;
    height: 25px;
    background: linear-gradient(90deg, #151515 0%, #2a2a2a 30%, #353535 50%, #2a2a2a 70%, #151515 100%);
    border-radius: 3px 3px 1px 1px;
    border: 1px solid rgba(99, 179, 237, 0.4);
}

.capacitor-large::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 10px;
    height: 2px;
    background: linear-gradient(90deg, #505050, #808080, #505050);
    border-radius: 1px;
}

.capacitor-large::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 2px;
    width: 3px;
    height: 6px;
    background: #707070;
    box-shadow: 8px 0 0 #707070;
}

.caplg-1 { top: 30%; left: 1%; }
.caplg-2 { top: 65%; left: 14%; }
.caplg-3 { top: 25%; right: 1%; left: auto; }
.caplg-4 { top: 70%; right: 14%; left: auto; }

/* ========== CRYSTAL OSCILLATORS ========== */
.crystal {
    position: absolute;
    width: 12px;
    height: 25px;
    background: linear-gradient(90deg, #a0a0a0 0%, #d0d0d0 50%, #a0a0a0 100%);
    border-radius: 2px;
    border: 1px solid rgba(140, 140, 140, 0.6);
}

.crystal::before,
.crystal::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 5px;
    background: #606060;
}

.crystal::before { top: -5px; }
.crystal::after { bottom: -5px; }

.crystal-1 { top: 55%; left: 1%; }
.crystal-2 { top: 38%; right: 1%; left: auto; }

/* ========== DATA BUS - GREEN SIGNALS ========== */
.data-bus {
    position: absolute;
    height: 1px;
    background: rgba(72, 187, 120, 0.15);
    overflow: visible;
}

.data-bus::before {
    content: '';
    position: absolute;
    width: 15px;
    height: 3px;
    top: -1px;
    left: -15px;
    background: linear-gradient(90deg, 
        transparent 0%,
        rgba(72, 187, 120, 0.6) 30%,
        rgba(72, 187, 120, 1) 50%,
        rgba(72, 187, 120, 0.6) 70%,
        transparent 100%
    );
    border-radius: 2px;
    box-shadow: 0 0 6px rgba(72, 187, 120, 0.8);
    animation: dataPulse 0.8s linear infinite;
}

.db-1 { top: 8%; left: calc(3% + 115px); width: 80px; }
.db-2 { top: 18%; left: calc(3% + 115px); width: 100px; }
.db-3 { top: 45%; left: calc(2% + 95px); width: 90px; }
.db-4 { top: 56%; left: calc(2% + 95px); width: 85px; }
.db-5 { top: 80%; left: calc(5% + 85px); width: 70px; }
.db-6 { top: 10%; right: calc(3% + 105px); left: auto; width: 75px; transform: rotate(180deg); }
.db-7 { top: 52%; right: calc(2% + 100px); left: auto; width: 80px; transform: rotate(180deg); }
.db-8 { top: 85%; right: calc(4% + 90px); left: auto; width: 65px; transform: rotate(180deg); }

.db-1::before { animation-delay: 0s; }
.db-2::before { animation-delay: 0.1s; }
.db-3::before { animation-delay: 0.2s; }
.db-4::before { animation-delay: 0.3s; }
.db-5::before { animation-delay: 0.4s; }
.db-6::before { animation-delay: 0.5s; }
.db-7::before { animation-delay: 0.6s; }
.db-8::before { animation-delay: 0.7s; }

@keyframes dataPulse {
    0% { left: -15px; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { left: 100%; opacity: 0; }
}

/* Grid Background */
.hero-grid-bg {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
    z-index: 0;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

/* Entry Animations */
.animate-fade-in {
    animation: fadeIn 0.8s ease forwards;
}

.animate-slide-up {
    opacity: 0;
    animation: slideUpIn 0.8s ease forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUpIn {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Glowing Effects */
.hero-badge {
    animation: glowPulse 3s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { box-shadow: 0 0 20px rgba(66,153,225,0.3); }
    50% { box-shadow: 0 0 40px rgba(66,153,225,0.5); }
}

/* Button Hover Glow */
.btn-primary {
    position: relative;
    overflow: hidden;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(255,255,255,0.1),
        transparent
    );
    transform: rotate(45deg);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%) rotate(45deg); }
    100% { transform: translateX(100%) rotate(45deg); }
}

/* Page Header Particles */
.page-header .hero-particles,
.page-header .hero-stars {
    z-index: 1;
}

.page-header .particle {
    opacity: 0.6;
}

/* Gallery Item Dark Theme */
.gallery-item {
    border: 1px solid rgba(66, 153, 225, 0.2);
}

.gallery-item:hover {
    border-color: var(--secondary);
    box-shadow: var(--glow-blue);
}

/* Empty Gallery State */
.gallery-empty {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
}

.gallery-empty p {
    font-size: 18px;
}

/* Additional Colored Sections */
.section-colored {
    background: linear-gradient(180deg, rgba(26, 54, 93, 0.3) 0%, rgba(15, 23, 42, 0.5) 100%);
}

.section-dark {
    background: linear-gradient(180deg, #0f172a 0%, rgba(30, 41, 59, 0.8) 100%);
}

/* Card Glow Effects */
.card-glow {
    box-shadow: 0 0 40px rgba(66, 153, 225, 0.15);
    transition: var(--transition);
}

.card-glow:hover {
    box-shadow: 0 0 60px rgba(66, 153, 225, 0.25);
}

/* Text gradient utility */
.text-gradient {
    background: linear-gradient(135deg, #ffffff 0%, var(--secondary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Border glow utility */
.border-glow {
    border: 1px solid rgba(66, 153, 225, 0.3);
    box-shadow: inset 0 0 20px rgba(66, 153, 225, 0.1);
}

/* ========== PAGE LOADER ========== */
.page-loader {
    position: fixed;
    inset: 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader.loaded {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
}

.loader-icon {
    font-size: 60px;
    animation: loaderBounce 1s ease-in-out infinite;
}

.loader-spinner {
    width: 50px;
    height: 50px;
    margin: 20px auto;
    border: 3px solid rgba(66, 153, 225, 0.2);
    border-top-color: var(--secondary);
    border-radius: 50%;
    animation: loaderSpin 1s linear infinite;
}

.loader-text {
    color: var(--text-muted);
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

@keyframes loaderBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

@keyframes loaderSpin {
    to { transform: rotate(360deg); }
}

/* ========== TESTIMONIALS SECTION ========== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: linear-gradient(180deg, rgba(30, 41, 59, 0.4) 0%, rgba(15, 23, 42, 0.5) 100%);
    border-radius: var(--radius);
    padding: 30px;
    border: 1px solid rgba(66, 153, 225, 0.15);
    transition: all 0.4s ease;
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 80px;
    font-family: Georgia, serif;
    color: rgba(66, 153, 225, 0.1);
    line-height: 1;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: rgba(66, 153, 225, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.testimonial-content {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: white;
    font-weight: 700;
}

.testimonial-info h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 3px;
}

.testimonial-info span {
    font-size: 13px;
    color: var(--text-muted);
}

.testimonial-stars {
    color: #fbbf24;
    font-size: 14px;
    margin-top: 5px;
}

/* ========== CLIENT LOGOS ========== */
.clients-section {
    padding: 60px 0;
    background: rgba(15, 23, 42, 0.4);
    position: relative;
    z-index: 1;
}

.clients-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

.client-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 30px;
    background: rgba(30, 41, 59, 0.4);
    border-radius: var(--radius-sm);
    border: 1px solid rgba(66, 153, 225, 0.1);
    transition: all 0.3s ease;
    min-width: 150px;
}

.client-logo:hover {
    background: rgba(30, 41, 59, 0.6);
    border-color: rgba(66, 153, 225, 0.3);
    transform: translateY(-3px);
}

.client-logo img {
    max-height: 50px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
    filter: grayscale(100%) brightness(2);
}

.client-logo:hover img {
    opacity: 1;
    filter: grayscale(0%) brightness(1);
}

.client-logo-text {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
    text-align: center;
}

.client-logo-text span {
    display: block;
    font-size: 24px;
    margin-bottom: 5px;
}

/* ========== FAQ SECTION ========== */
.faq-grid {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: linear-gradient(180deg, rgba(30, 41, 59, 0.5) 0%, rgba(15, 23, 42, 0.6) 100%);
    border-radius: var(--radius-sm);
    margin-bottom: 15px;
    border: 1px solid rgba(66, 153, 225, 0.15);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(66, 153, 225, 0.3);
}

.faq-question {
    padding: 20px 25px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: rgba(66, 153, 225, 0.1);
}

.faq-question h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
    margin: 0;
}

.faq-icon {
    font-size: 20px;
    color: var(--secondary);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer-content {
    padding: 0 25px 20px;
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.7;
}

/* ========== QUOTE REQUEST FORM ========== */
.quote-form {
    background: linear-gradient(180deg, rgba(30, 41, 59, 0.4) 0%, rgba(15, 23, 42, 0.5) 100%);
    border-radius: var(--radius);
    padding: 40px;
    border: 1px solid rgba(66, 153, 225, 0.2);
}

.quote-form h3 {
    font-size: 24px;
    color: var(--secondary-light);
    margin-bottom: 25px;
    text-align: center;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 600px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

.form-group select {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid rgba(148, 163, 184, 0.2);
    border-radius: var(--radius-sm);
    font-size: 15px;
    transition: var(--transition);
    background: rgba(15, 23, 42, 0.6);
    color: var(--text);
    cursor: pointer;
}

.form-group select:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 20px rgba(66, 153, 225, 0.2);
}

/* ========== BLOG SECTION ========== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.blog-card {
    background: linear-gradient(180deg, rgba(30, 41, 59, 0.4) 0%, rgba(15, 23, 42, 0.5) 100%);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid rgba(66, 153, 225, 0.15);
    transition: all 0.4s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    border-color: rgba(66, 153, 225, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.blog-image {
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-content {
    padding: 25px;
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 15px;
}

.blog-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.blog-content h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 10px;
    line-height: 1.4;
}

.blog-content h3 a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-content h3 a:hover {
    color: var(--secondary-light);
}

.blog-excerpt {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 15px;
}

.blog-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    font-weight: 600;
    color: var(--secondary);
    text-decoration: none;
    transition: gap 0.3s ease;
}

.blog-link:hover {
    gap: 10px;
}

/* ========== PROJECT SHOWCASE ========== */
.project-showcase {
    max-width: 900px;
    margin: 0 auto;
}

.project-card {
    background: linear-gradient(180deg, rgba(30, 41, 59, 0.5) 0%, rgba(15, 23, 42, 0.6) 100%);
    border-radius: var(--radius);
    padding: 40px;
    border: 1px solid rgba(66, 153, 225, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.project-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.project-icon {
    font-size: 48px;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: var(--radius);
}

.project-title h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--secondary-light);
    margin-bottom: 5px;
}

.project-tag {
    display: inline-block;
    background: rgba(72, 187, 120, 0.2);
    color: var(--accent);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.project-desc {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 25px;
}

.project-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 25px;
}

@media (max-width: 600px) {
    .project-features {
        grid-template-columns: 1fr;
    }
}

.project-feature {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 15px;
    background: rgba(15, 23, 42, 0.4);
    border-radius: var(--radius-sm);
    border: 1px solid rgba(66, 153, 225, 0.1);
}

.project-feature .feature-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.project-feature .feature-info strong {
    display: block;
    color: var(--text);
    font-size: 14px;
    margin-bottom: 3px;
}

.project-feature .feature-info span {
    color: var(--text-muted);
    font-size: 13px;
}

.project-summary {
    padding-top: 20px;
    border-top: 1px solid rgba(66, 153, 225, 0.15);
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.project-summary .summary-item {
    color: var(--text-muted);
    font-size: 14px;
}

.project-summary .summary-item strong {
    color: var(--secondary-light);
}

/* ========== TURNKEY SOLUTIONS ========== */
.turnkey-highlight {
    max-width: 900px;
    margin: 0 auto;
}

.turnkey-card {
    background: linear-gradient(135deg, rgba(26, 54, 93, 0.6) 0%, rgba(30, 41, 59, 0.5) 100%);
    border-radius: var(--radius);
    padding: 40px;
    border: 2px solid rgba(72, 187, 120, 0.3);
    position: relative;
    overflow: hidden;
}

.turnkey-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--secondary));
}

.turnkey-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.turnkey-icon {
    font-size: 48px;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--accent), #2f855a);
    border-radius: var(--radius);
    box-shadow: 0 8px 20px rgba(72, 187, 120, 0.3);
}

.turnkey-header h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 5px;
}

.turnkey-tag {
    display: inline-block;
    background: rgba(72, 187, 120, 0.2);
    color: var(--accent);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    border: 1px solid rgba(72, 187, 120, 0.3);
}

.turnkey-desc {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 25px;
    font-size: 15px;
}

.turnkey-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

@media (max-width: 768px) {
    .turnkey-features {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .turnkey-features {
        grid-template-columns: 1fr;
    }
}

.turnkey-feature {
    background: rgba(15, 23, 42, 0.5);
    padding: 20px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(66, 153, 225, 0.15);
    text-align: center;
    transition: all 0.3s ease;
}

.turnkey-feature:hover {
    border-color: rgba(72, 187, 120, 0.4);
    transform: translateY(-3px);
}

.turnkey-feature span {
    font-size: 32px;
    display: block;
    margin-bottom: 10px;
}

.turnkey-feature strong {
    display: block;
    color: var(--text);
    font-size: 14px;
    margin-bottom: 5px;
}

.turnkey-feature p {
    color: var(--text-muted);
    font-size: 12px;
    line-height: 1.5;
    margin: 0;
}

/* ========== STATS COUNTER ========== */
.stats-section {
    padding: 60px 0;
    background: rgba(26, 54, 93, 0.5);
    position: relative;
    z-index: 1;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.stat-item {
    text-align: center;
    color: white;
}

.stat-number {
    font-size: 48px;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 14px;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ========== ADMIN DASHBOARD ========== */
.admin-layout {
    display: flex;
    min-height: 100vh;
}

.admin-sidebar {
    width: 260px;
    background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
    padding: 20px;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    border-right: 1px solid rgba(66, 153, 225, 0.2);
}

.admin-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(66, 153, 225, 0.2);
}

.admin-nav {
    list-style: none;
}

.admin-nav li {
    margin-bottom: 5px;
}

.admin-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    color: var(--text-muted);
    text-decoration: none;
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
    font-size: 14px;
}

.admin-nav a:hover,
.admin-nav a.active {
    background: rgba(66, 153, 225, 0.15);
    color: white;
}

.admin-nav a.active {
    border-left: 3px solid var(--secondary);
}

.admin-main {
    flex: 1;
    margin-left: 260px;
    padding: 30px;
    background: #0f172a;
    min-height: 100vh;
}

.admin-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
}

.admin-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--text);
}

.admin-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}

.admin-card {
    background: linear-gradient(180deg, rgba(30, 41, 59, 0.6) 0%, rgba(15, 23, 42, 0.7) 100%);
    border-radius: var(--radius);
    padding: 25px;
    border: 1px solid rgba(66, 153, 225, 0.15);
}

.admin-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
}

.admin-card-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.admin-card-value {
    font-size: 36px;
    font-weight: 800;
    color: var(--text);
}

.admin-card-label {
    font-size: 14px;
    color: var(--text-muted);
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    background: linear-gradient(180deg, rgba(30, 41, 59, 0.5) 0%, rgba(15, 23, 42, 0.6) 100%);
    border-radius: var(--radius);
    overflow: hidden;
}

.admin-table th,
.admin-table td {
    padding: 15px 20px;
    text-align: left;
    border-bottom: 1px solid rgba(66, 153, 225, 0.1);
}

.admin-table th {
    background: rgba(66, 153, 225, 0.1);
    color: var(--text);
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.admin-table td {
    color: var(--text-muted);
    font-size: 14px;
}

.admin-table tr:hover td {
    background: rgba(66, 153, 225, 0.05);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 13px;
}

.btn-danger {
    background: #ef4444;
    color: white;
}

.btn-danger:hover {
    background: #dc2626;
}

@media (max-width: 768px) {
    .admin-sidebar {
        transform: translateX(-100%);
    }
    
    .admin-main {
        margin-left: 0;
    }
}

/* ============================================================
   COMPREHENSIVE RESPONSIVE STYLES
   ============================================================ */

/* ========== SAFE AREA INSETS (for notched phones) ========== */
@supports (padding: env(safe-area-inset-top)) {
    .header {
        padding-top: env(safe-area-inset-top);
    }
    
    .main-content {
        padding-top: calc(70px + env(safe-area-inset-top));
    }
    
    .footer-bottom {
        padding-bottom: env(safe-area-inset-bottom);
    }
    
    .whatsapp-float {
        bottom: calc(20px + env(safe-area-inset-bottom));
        right: calc(20px + env(safe-area-inset-right));
    }
    
    .login-modal-content {
        padding-bottom: env(safe-area-inset-bottom);
    }
}

/* ========== TABLET (max-width: 1024px) ========== */
@media (max-width: 1024px) {
    .container {
        padding: 0 30px;
    }
    
    .hero-content {
        max-width: 600px;
    }
    
    .hero h1 {
        font-size: 42px;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-grid {
        gap: 40px;
    }
    
    .contact-grid {
        gap: 30px;
    }
    
    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
        gap: 30px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ========== TABLET PORTRAIT (max-width: 768px) ========== */
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    /* Header Mobile */
    .header-inner {
        padding: 12px 15px;
    }
    
    .header-left {
        gap: 15px;
    }
    
    .btn-login {
        padding: 10px 18px;
        font-size: 12px;
    }
    
    .logo-icon {
        font-size: 28px;
    }
    
    .logo-text {
        font-size: 22px;
    }
    
    /* Hero Mobile */
    .hero {
        min-height: 80vh;
        padding: 20px 0;
    }
    
    .hero h1 {
        font-size: 32px;
        line-height: 1.3;
    }
    
    .hero p {
        font-size: 16px;
    }
    
    .hero-badge {
        font-size: 12px;
        padding: 6px 12px;
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }
    
    .hero-trust {
        flex-direction: column;
        gap: 15px;
    }
    
    /* Sections */
    .section {
        padding: 60px 0;
    }
    
    .section-header {
        margin-bottom: 40px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .section-desc {
        font-size: 15px;
    }
    
    /* Services Grid */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .service-card {
        padding: 25px;
    }
    
    .service-icon {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
    
    .service-card h3 {
        font-size: 18px;
    }
    
    /* About Section */
    .about-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .about-badge-float {
        position: relative;
        bottom: auto;
        right: auto;
        margin-top: 20px;
        display: inline-block;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .about-content h2 {
        font-size: 28px;
    }
    
    /* Contact Grid */
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-info,
    .contact-form {
        padding: 30px;
    }
    
    .contact-info h3,
    .contact-form h3 {
        font-size: 20px;
    }
    
    /* Footer */
    .footer {
        padding: 60px 0 0;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
    
    .footer-col:first-child {
        grid-column: span 2;
    }
    
    .footer-bottom {
        margin-top: 40px;
        padding: 20px 0;
    }
    
    /* Page Header */
    .page-header {
        padding: 100px 0 60px;
    }
    
    .page-header h1 {
        font-size: 32px;
    }
    
    .page-header p {
        font-size: 16px;
    }
    
    /* CTA Section */
    .cta-section {
        padding: 60px 0;
    }
    
    .cta-section h2 {
        font-size: 28px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
    
    /* Gallery */
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    /* Blog */
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-card {
        margin-bottom: 20px;
    }
    
    /* Testimonials */
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    /* Stats */
    .stats-section {
        padding: 40px 0;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .stat-item {
        padding: 20px;
    }
    
    .stat-number {
        font-size: 32px;
    }
    
    /* Clients */
    .clients-section {
        padding: 40px 0;
    }
    
    .clients-grid {
        gap: 15px;
    }
    
    .client-logo {
        padding: 15px;
        min-width: 120px;
    }
    
    /* Quote Form */
    .quote-form {
        padding: 30px;
    }
    
    .quote-grid {
        grid-template-columns: 1fr;
    }
    
    /* Project/Turnkey */
    .project-card,
    .turnkey-card {
        padding: 25px;
    }
    
    .project-header,
    .turnkey-header {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .project-icon,
    .turnkey-icon {
        width: 70px;
        height: 70px;
        font-size: 36px;
    }
    
    .project-features {
        grid-template-columns: 1fr;
    }
    
    .turnkey-features {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Login Modal */
    .login-modal-content {
        width: 95%;
        margin: 10px;
    }
    
    .login-modal-header {
        padding: 30px 20px;
    }
    
    .login-modal-body {
        padding: 20px;
    }
    
    .login-section-title {
        font-size: 14px;
    }
    
    .login-cards-grid {
        grid-template-columns: 1fr;
    }
    
    /* WhatsApp Float */
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        padding: 12px 18px;
    }
}

/* ========== MOBILE (max-width: 480px) ========== */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    /* Header Mobile Small */
    .header-inner {
        padding: 10px 12px;
    }
    
    .header-left {
        gap: 10px;
    }
    
    .btn-login {
        padding: 8px 14px;
        font-size: 11px;
    }
    
    .btn-login-text::before {
        content: '';
    }
    
    .logo-icon {
        font-size: 24px;
    }
    
    .logo-text {
        font-size: 18px;
    }
    
    /* Hero Small Mobile */
    .hero {
        min-height: 85vh;
    }
    
    .hero h1 {
        font-size: 26px;
    }
    
    .hero p {
        font-size: 14px;
    }
    
    .hero-badge {
        font-size: 11px;
        padding: 5px 10px;
    }
    
    .btn {
        padding: 12px 20px;
        font-size: 14px;
    }
    
    /* Section Small */
    .section {
        padding: 40px 0;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .section-badge {
        font-size: 11px;
        padding: 4px 12px;
    }
    
    /* Service Cards */
    .service-card {
        padding: 20px;
    }
    
    .service-icon {
        width: 45px;
        height: 45px;
        font-size: 22px;
        margin-bottom: 15px;
    }
    
    .service-card h3 {
        font-size: 16px;
    }
    
    .service-card p {
        font-size: 13px;
    }
    
    .service-list li {
        font-size: 12px;
    }
    
    /* Contact */
    .contact-info,
    .contact-form {
        padding: 20px;
    }
    
    .contact-list .icon {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 12px 14px;
        font-size: 14px;
    }
    
    /* Footer */
    .footer {
        padding: 40px 0 0;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .footer-col:first-child {
        grid-column: auto;
    }
    
    .footer-logo .logo-text {
        font-size: 18px;
    }
    
    .footer-col h4 {
        font-size: 14px;
        margin-bottom: 15px;
    }
    
    .footer-links a,
    .footer-contact span {
        font-size: 13px;
    }
    
    .footer-bottom p {
        font-size: 12px;
    }
    
    /* Page Header */
    .page-header {
        padding: 90px 0 50px;
    }
    
    .page-header h1 {
        font-size: 26px;
    }
    
    .page-header p {
        font-size: 14px;
    }
    
    .breadcrumb {
        font-size: 12px;
    }
    
    /* Gallery */
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-item {
        aspect-ratio: 16/10;
    }
    
    /* Stats */
    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    
    .stat-item {
        padding: 15px;
    }
    
    .stat-number {
        font-size: 28px;
    }
    
    .stat-label {
        font-size: 11px;
    }
    
    /* Turnkey */
    .turnkey-features {
        grid-template-columns: 1fr;
    }
    
    .turnkey-feature {
        padding: 15px;
    }
    
    .turnkey-feature span {
        font-size: 28px;
    }
    
    /* Project Summary */
    .project-summary {
        flex-direction: column;
        gap: 10px;
    }
    
    /* CTA */
    .cta-section {
        padding: 50px 0;
    }
    
    .cta-section h2 {
        font-size: 24px;
    }
    
    .cta-section p {
        font-size: 14px;
    }
    
    /* WhatsApp */
    .whatsapp-float {
        bottom: 15px;
        right: 15px;
        padding: 12px;
        border-radius: 50%;
    }
    
    .whatsapp-text {
        display: none;
    }
    
    .whatsapp-icon {
        font-size: 22px;
    }
    
    /* Quote Form */
    .quote-form {
        padding: 20px;
    }
    
    .quote-form h3 {
        font-size: 20px;
    }
    
    /* Tables */
    .admin-table {
        font-size: 12px;
    }
    
    .admin-table th,
    .admin-table td {
        padding: 10px 12px;
    }
}

/* ========== VERY SMALL MOBILE (max-width: 360px) ========== */
@media (max-width: 360px) {
    .container {
        padding: 0 12px;
    }
    
    .hero h1 {
        font-size: 22px;
    }
    
    .hero p {
        font-size: 13px;
    }
    
    .logo-text {
        font-size: 16px;
    }
    
    .btn-login {
        padding: 6px 12px;
        font-size: 10px;
    }
    
    .section-title {
        font-size: 20px;
    }
    
    .service-card h3 {
        font-size: 15px;
    }
    
    .stat-number {
        font-size: 24px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

/* ========== LANDSCAPE MOBILE ========== */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: 100vh;
        padding: 80px 0 40px;
    }
    
    .hero h1 {
        font-size: 28px;
    }
    
    .hero-trust {
        display: none;
    }
    
    .page-header {
        padding: 80px 0 40px;
    }
}

/* ========== TOUCH DEVICE OPTIMIZATIONS ========== */
@media (hover: none) and (pointer: coarse) {
    .service-card:hover,
    .testimonial-card:hover,
    .blog-card:hover,
    .login-card:hover {
        transform: none;
    }
    
    .nav-link:hover::before {
        width: 0;
    }
    
    .btn:active {
        transform: scale(0.98);
    }
    
    .service-card:active {
        transform: scale(0.99);
    }
}

/* ========== PRINT STYLES ========== */
@media print {
    .header,
    .footer,
    .whatsapp-float,
    .global-bg-animation,
    .login-modal {
        display: none !important;
    }
    
    .main-content {
        padding-top: 0;
    }
    
    .hero {
        min-height: auto;
        padding: 40px 0;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .section {
        background: transparent !important;
    }
}
