:root {
    --primary-white: #ffffff;
    --accent-cyan: #68dfe3;
    --accent-yellow: #ffdc5c;
    --success-green: #00ff88;
    --white: #ffffff;
    --dark-bg: #08092b; 
    --portal-black: #050505;
    --surface-black: #0a0a0a;
    --card-bg: #0e0f3d;
    --font-head: 'Syne', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

body {
    background: radial-gradient(circle at 50% 10%, #141752 0%, #070722 42%, #050505 100%);
    background-size: 200% 200%;
    animation: gradientBG 15s ease infinite;
    color: var(--white);
    font-family: var(--font-body);
    overflow-x: hidden;
    position: relative;
    width: 100%;
    max-width: 100vw;
    line-height: 1.6;
}
body::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    background-image: linear-gradient(rgba(255,255,255,0.028) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.028) 1px, transparent 1px);
    background-size: 56px 56px;
}

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

body.no-scroll {
    overflow: hidden !important;
}

#preloader {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(8, 9, 43, 0.95);
    backdrop-filter: blur(10px);
    z-index: 999999;
    display: flex; justify-content: center; align-items: center;
    transition: opacity 0.5s ease-out;
}
.loader-content { position: relative; width: 120px; height: 120px; display: flex; justify-content: center; align-items: center; }
.loader-circle {
    position: absolute; width: 100%; height: 100%;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-top-color: var(--primary-white);
    border-bottom-color: var(--accent-cyan);
    border-radius: 50%; animation: spin 1s linear infinite;
    box-shadow: 0 0 15px var(--primary-white);
}
.loader-icon { font-size: 2.5rem; color: var(--white); animation: iconPulse 0.8s infinite alternate; }
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
@keyframes iconPulse { 0% { transform: scale(0.8); opacity: 0.7; filter: blur(1px); } 100% { transform: scale(1.1); opacity: 1; filter: blur(0); } }

header {
    background: transparent;
    backdrop-filter: none;
    height: 90px; width: 100%; position: fixed; top: 0; z-index: 1000;
    display: flex; justify-content: space-between; align-items: center;
    padding: 0 50px;
    border-bottom: none;
    box-shadow: none;
    transition: background-color 0.35s ease, backdrop-filter 0.35s ease, box-shadow 0.35s ease;
}
header.scrolled {
    background: rgba(7, 7, 28, 0.86);
    backdrop-filter: blur(14px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}
header::after {
    content: none;
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-cyan) 0%, #8debef 50%, var(--accent-cyan) 100%);
    box-shadow: 0 0 12px rgba(104, 223, 227, 0.45);
}

nav { width: 100%; height: 100%; display: flex; justify-content: space-between; align-items: center; position: relative; }

.nav-links-left, .nav-links-right { display: flex; gap: 60px; align-items: center; flex: 1; }
.nav-links-left { justify-content: flex-start; }
.nav-links-right { justify-content: flex-end; }

nav a.link {
    text-decoration: none; color: var(--white); font-weight: 700;
    text-transform: uppercase; font-size: 0.85rem; letter-spacing: 1px; transition: 0.3s;
    position: relative; white-space: nowrap; font-family: var(--font-head);
}
nav a.link::after {
    content: ''; position: absolute; width: 0; height: 2px; bottom: -5px; left: 0;
    background: linear-gradient(90deg, var(--primary-white), var(--accent-cyan));
    transition: width 0.3s;
}
nav a.link:hover::after { width: 100%; }
nav a.link:hover { color: var(--accent-cyan); text-shadow: 0 0 14px rgba(104, 223, 227, 0.5); }

.logo-absolute {
    --logo-size: 113px;
    position: absolute;
    left: 50%;
    top: 100%;
    width: var(--logo-size);
    height: var(--logo-size);
    transform: translate(-50%, -50%);
    z-index: 1001;
    isolation: isolate;
}
.logo-absolute::before {
    content: '';
    position: absolute;
    inset: -6px;
    border: 2px solid rgba(214, 218, 224, 0.82);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    box-shadow: 0 0 8px rgba(232, 235, 239, 0.52), 0 0 18px rgba(205, 210, 218, 0.42), 0 0 30px rgba(186, 192, 202, 0.28);
    animation: logoRingGlow 2.8s ease-in-out infinite alternate;
}
.logo-absolute a {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    position: relative;
    z-index: 1;
}

.logo-img {
    height: 100%; width: 100%;
    border-radius: 50%; object-fit: cover;
    border: none;
    transition: transform 0.3s ease;
    box-shadow: 0 0 12px rgba(8, 9, 43, 0.28);
}
.logo-img:hover { transform: scale(1.02); }

@keyframes logoRingGlow {
    0% {
        opacity: 0.72;
        border-color: rgba(198, 203, 211, 0.68);
        box-shadow: 0 0 5px rgba(224, 228, 234, 0.42), 0 0 12px rgba(198, 204, 213, 0.32), 0 0 20px rgba(178, 185, 196, 0.2);
    }
    100% {
        opacity: 1;
        border-color: rgba(228, 232, 238, 0.9);
        box-shadow: 0 0 10px rgba(235, 239, 244, 0.62), 0 0 22px rgba(210, 216, 224, 0.48), 0 0 36px rgba(191, 198, 209, 0.34);
    }
}

.portal-btn {
    background: linear-gradient(135deg, var(--accent-yellow), #ffd46a);
    color: var(--dark-bg);
    padding: 10px 25px;
    border-radius: 30px;
    font-family: var(--font-head);
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.85rem;
    text-decoration: none;
    transition: 0.3s;
    box-shadow: 0 0 15px rgba(255, 220, 92, 0.38);
    display: inline-block;
    white-space: nowrap;
}
.portal-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 25px rgba(255, 220, 92, 0.62);
    background: #fff;
    color: var(--dark-bg);
}

.mobile-portal { display: none; }

.hamburger { display: none; font-size: 1.8rem; color: var(--white); cursor: pointer; z-index: 1002;}

.mobile-menu {
    position: fixed; top: 0; right: -100%; width: 100%; height: 100vh;
    background: rgba(8, 9, 43, 0.98); backdrop-filter: blur(20px);
    z-index: 2000; display: flex; flex-direction: column;
    justify-content: center; align-items: center; gap: 30px;
    transition: right 0.5s cubic-bezier(0.7, 0, 0.3, 1);
}
.mobile-menu.active { right: 0; }

.mobile-menu a { 
    font-family: var(--font-head); font-size: 2rem; color: #fff; 
    text-decoration: none; font-weight: 700; text-transform: uppercase; 
    opacity: 0; transform: translateY(30px); transition: 0.3s ease;
}
.mobile-menu a:hover {
    color: var(--primary-white); text-shadow: 0 0 20px var(--primary-white);
    letter-spacing: 4px; transform: scale(1.1);
}
.mobile-menu.active a { animation: slideUpFade 0.6s forwards 0.2s; }
.mobile-menu.active a:nth-child(2) { animation-delay: 0.1s; }
.mobile-menu.active a:nth-child(3) { animation-delay: 0.2s; }
.mobile-menu.active a:nth-child(4) { animation-delay: 0.3s; }
.mobile-menu.active a:nth-child(5) { animation-delay: 0.4s; }
.mobile-menu.active a:nth-child(6) { animation-delay: 0.5s; }

@keyframes slideUpFade { to { opacity: 1; transform: translateY(0); } }
.mobile-close { position: absolute; top: 30px; right: 30px; font-size: 2.5rem; color: var(--white); cursor: pointer; }

.hero {
    min-height: 100vh; display: flex; flex-direction: column; justify-content: center; align-items: center;
    text-align: center; padding: 160px 20px 50px 20px;
    background: radial-gradient(circle at 50% 50%, #151849 0%, #090926 40%, #050505 100%);
    position: relative; overflow: hidden;
    scroll-margin-top: 110px;
}
.hero::before {
    content: ''; position: absolute; width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(255, 220, 92, 0.16) 0%, rgba(8, 9, 43, 0) 70%);
    top: 50%; left: 50%; transform: translate(-50%, -50%);
    animation: pulseBlob 6s infinite alternate; z-index: 0; pointer-events: none;
}
@keyframes pulseBlob { 0% { transform: translate(-50%, -50%) scale(1); } 100% { transform: translate(-50%, -50%) scale(1.3); } }

.hero h1 { 
    font-family: var(--font-head); font-size: 5.5rem; line-height: 1.05; 
    margin-bottom: 25px; color: var(--white); position: relative; z-index: 1;
}

.glitch-wrapper { display: inline-block; position: relative; }
.glitch {
    position: relative;
    background: linear-gradient(90deg, var(--primary-white), var(--accent-cyan));
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.glitch::before, .glitch::after {
    content: attr(data-text); position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: var(--dark-bg); -webkit-background-clip: text; background-clip: text; 
}
.glitch::before {
    left: 2px; text-shadow: -1px 0 #ffffff; clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim 5s infinite linear alternate-reverse;
}
.glitch::after {
    left: -2px; text-shadow: -1px 0 #00fff9; clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim2 5s infinite linear alternate-reverse;
}
@keyframes glitch-anim { 0% { clip: rect(30px, 9999px, 10px, 0); } 100% { clip: rect(0, 0, 0, 0); } }
@keyframes glitch-anim2 { 0% { clip: rect(60px, 9999px, 70px, 0); } 100% { clip: rect(0, 0, 0, 0); } }

.cta-text {
    font-family: var(--font-head); font-size: 1.1rem; color: var(--white);
    text-transform: uppercase; letter-spacing: 2px; font-weight: 700;
    margin-bottom: 35px; text-align: center; position: relative; z-index: 1;
}

.btn-main {
    position: relative; overflow: hidden; z-index: 1;
    padding: 20px 60px; background: linear-gradient(45deg, var(--accent-cyan), #4cb5f0);
    color: var(--dark-bg); font-weight: 800; text-transform: uppercase; border-radius: 50px;
    text-decoration: none; transition: 0.3s; box-shadow: 0 0 30px rgba(104, 223, 227, 0.32); font-size: 1.1rem;
    display: inline-block;
}
.btn-main:hover { transform: translateY(-5px) scale(1.05); box-shadow: 0 15px 50px rgba(104, 223, 227, 0.58); }

.fade-text { animation: fadeEffect 0.5s ease-in-out; }
@keyframes fadeEffect { 0% { opacity: 0; } 100% { opacity: 1; } }

.reveal { opacity: 0; transform: translateY(50px) scale(0.95); filter: blur(10px); transition: all 1s cubic-bezier(0.5, 0, 0, 1); }
.reveal.active { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }

.section { padding: 100px 50px; max-width: 1400px; margin: 0 auto; position: relative; scroll-margin-top: 110px; }
.section-header h2 { font-family: var(--font-head); font-size: 3rem; color: var(--white); text-shadow: 0 0 20px rgba(8, 9, 43, 0.5); }
.section-header p { color: var(--accent-cyan); font-weight: 700; text-transform: uppercase; letter-spacing: 2px; }
.section-header.text-center { text-align: center; }

.about-text { font-size: 1.2rem; color: #d2d2d2; margin-bottom: 40px; line-height: 1.8; }

.stats-wrapper { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; perspective: 1000px; }

.stat-card { 
    background: linear-gradient(145deg, rgba(8, 8, 8, 0.94), rgba(16, 16, 16, 0.94)); backdrop-filter: blur(20px); border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 40px 30px; border-radius: 20px; text-align: center; 
    border: 1px solid rgba(255,255,255,0.05);
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    min-height: 250px; transition: transform 0.1s ease, box-shadow 0.3s;
    transform-style: preserve-3d;
}
.stat-card:hover { border-color: var(--accent-cyan); box-shadow: 0 0 30px rgba(104, 223, 227, 0.22); }
.counter { font-family: var(--font-head); font-size: 4.5rem; color: var(--white); font-weight: 800; transform: translateZ(20px); }
.symbol { font-size: 4.5rem; color: var(--accent-cyan); font-family: var(--font-head); font-weight: 800; transform: translateZ(20px); }
.stat-label { margin-top: 15px; text-transform: uppercase; color: #9f9f9f; font-weight: 600; font-size: 0.9rem; transform: translateZ(10px); }
.progress-bar { height: 4px; width: 0%; background: linear-gradient(90deg, var(--primary-white), var(--accent-cyan)); margin: 15px auto 0 auto; border-radius: 2px; }

.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 40px; perspective: 1000px; margin-top: 50px; }
.service-box { 
    background: linear-gradient(150deg, #090909, #141414); padding: 50px 30px; 
    border-radius: 20px; border: 1px solid rgba(255, 255, 255, 0.08); 
    display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center;
    height: 100%; transition: transform 0.1s, box-shadow 0.3s, border-color 0.3s;
    transform-style: preserve-3d;
}
.service-box:hover { border-color: var(--accent-cyan); box-shadow: 0 20px 50px rgba(104, 223, 227, 0.18); transform: translateY(-10px) scale(1.02); }
.service-icon { font-size: 3.5rem; color: var(--primary-white); margin-bottom: 25px; transform: translateZ(30px); transition: 0.3s; }
.service-box:hover .service-icon { transform: translateZ(50px) scale(1.1); text-shadow: 0 0 20px var(--accent-cyan); color: var(--accent-cyan); }
.service-box h3 { font-family: var(--font-head); font-size: 1.8rem; margin-bottom: 20px; transform: translateZ(20px); }
.service-box p { margin-bottom: 0; color: #bbb; transform: translateZ(10px); }

.marquee-section {
    background: linear-gradient(90deg, #040404, #0f0f0f);
    padding: 12px 0;
    overflow: hidden;
    display: flex;
    white-space: nowrap;
    position: relative;
    z-index: 5;
}
.marquee-wrapper {
    display: flex;
    width: max-content;
    animation: scrollMarquee 20s linear infinite;
}
.marquee-wrapper:hover {
    animation-play-state: paused;
}
.marquee-content {
    display: flex;
    justify-content: space-around;
    gap: 60px;
    padding-right: 60px;
}
.marquee-item {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--white);
    font-family: var(--font-head);
    font-size: 1rem;
    font-weight: 800;
    text-transform: uppercase;
}
.marquee-item i {
    font-size: 1.3rem;
    color: var(--accent-cyan);
}
@keyframes scrollMarquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.projects-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; margin-top: 50px; }
.project-card {
    background: linear-gradient(155deg, #0a0a0a, #121212); border-radius: 15px; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.08);
    transition: 0.3s; position: relative;
}
.project-card:hover { transform: translateY(-10px); border-color: var(--accent-cyan); box-shadow: 0 10px 30px rgba(104, 223, 227, 0.2); }
.project-image { width: 100%; height: 250px; background: #222; object-fit: cover; display: flex; align-items: center; justify-content: center; color: #555; font-size: 2rem;}
.project-info { padding: 25px; }
.project-info h3 { font-family: var(--font-head); font-size: 1.4rem; color: var(--white); margin-bottom: 10px; }
.project-info p { color: #aaa; font-size: 0.9rem; margin-bottom: 20px; }
.project-btn { color: var(--accent-cyan); font-weight: 700; text-decoration: none; text-transform: uppercase; font-size: 0.85rem; }
.project-btn:hover { text-decoration: underline; }

.contact-section { 
    background: #090909;
    position: relative;
    border-radius: 42px 42px 0 0;
    margin-bottom: 0;
}
.contact-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 220, 92, 0.13) 0%, transparent 70%);
    z-index: 0;
    pointer-events: none;
}
.contact-wrapper-white {
    background: rgba(10, 10, 10, 0.88);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 800px;
    margin: 60px auto 0 auto;
    border-radius: 30px;
    position: relative;
    padding: 80px 50px 50px 50px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.55), inset 0 0 20px rgba(255, 255, 255, 0.04);
    z-index: 1;
}
.contact-badge-top {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    background: linear-gradient(145deg, #0e0f3d, #121342);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.5rem;
    color: var(--accent-yellow);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(255, 220, 92, 0.36);
}
.btn-cancel-form {
    position: absolute;
    top: 25px;
    right: 25px;
    background: transparent;
    border: none;
    color: #999;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: 0.3s;
    z-index: 10;
    display: none;
}
.btn-cancel-form:hover {
    color: var(--primary-white);
    transform: scale(1.05);
}
.form-step { display: none; opacity: 0; text-align: center; transition: opacity 0.4s ease; }
.form-step.active { display: block; opacity: 1; }
.contact-wrapper-white h3 { color: var(--white); font-family: var(--font-head); font-size: 2.2rem; margin-bottom: 40px; }
.form-row { display: flex; gap: 20px; }
.form-col { flex: 1; }
.form-group { margin-bottom: 25px; position: relative; text-align: left; }
.form-group label { display: block; margin-bottom: 8px; color: rgba(255, 255, 255, 0.7); font-size: 0.85rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }
.contact-wrapper-white input, .contact-wrapper-white textarea {
    width: 100%; padding: 15px; background: rgba(0, 0, 0, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 10px; color: var(--white);
    font-family: var(--font-body); font-size: 1rem; transition: 0.3s;
}
.contact-wrapper-white input:focus, .contact-wrapper-white textarea:focus {
    outline: none; border-color: var(--accent-cyan); background: rgba(0, 0, 0, 0.85);
    box-shadow: 0 0 15px rgba(104, 223, 227, 0.22);
}
.submit-btn {
    width: 100%; padding: 18px; background: linear-gradient(90deg, var(--accent-cyan), #4cb5f0); color: var(--dark-bg);
    border: none; border-radius: 10px; font-size: 1rem; font-weight: 800;
    text-transform: uppercase; cursor: pointer; transition: 0.3s; letter-spacing: 1px;
    box-shadow: 0 5px 20px rgba(104, 223, 227, 0.38); margin-top: 10px;
}
.submit-btn:hover { box-shadow: 0 10px 30px rgba(104, 223, 227, 0.56); transform: translateY(-3px); }

.iti { width: 100%; text-align: left; }
.iti__country-list { background: rgba(8, 9, 43, 0.95); backdrop-filter: blur(10px); color: var(--white); text-align: left; border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 10px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5); }
.iti__country-list .iti__country.iti__highlight { background-color: rgba(104, 223, 227, 0.2); }
.iti__search-input { background: rgba(255, 255, 255, 0.05); color: var(--white); border: 1px solid rgba(255, 255, 255, 0.1); padding: 10px; border-radius: 5px; margin: 10px; width: calc(100% - 20px); }
.iti__search-input:focus { outline: none; border-color: var(--accent-cyan); background: rgba(255, 255, 255, 0.1); }

footer { background-color: #090909; border-top: none; padding: 100px 50px 30px 50px; }
.footer-content { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr; gap: 50px; max-width: 1400px; margin: 0 auto 80px auto; }
.footer-logo-text { font-family: var(--font-head); font-size: 2.5rem; color: var(--white); display: block; margin-bottom: 20px;}
.footer-pro-text { color: #d6d6d6; font-size: 1.05rem; line-height: 1.8; max-width: 400px; }
.footer-highlight { color: var(--white); font-weight: 600; }
.footer-col h4 { color: var(--white); margin-bottom: 30px; text-transform: uppercase; font-weight: 700; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 15px; }
.footer-col ul li a { color: #f0f0f0; text-decoration: none; transition: 0.3s; }
.footer-col ul li a:hover { color: var(--primary-white); padding-left: 10px; text-shadow: 0 0 10px var(--primary-white); }
.footer-contact-item { display: flex; align-items: center; margin-bottom: 20px; color: #f2f2f2; }
.footer-contact-item i { color: var(--accent-cyan); font-size: 1.2rem; margin-right: 15px; width: 25px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.12); padding-top: 40px; text-align: center; color: #b8bcc5; }
.social-links { margin-top: 20px; display: flex; gap: 20px; }
.social-icon { color: var(--accent-yellow); font-size: 1.5rem; transition: all 0.3s ease; }
.social-icon:hover { color: var(--primary-white) !important; transform: scale(1.2); text-shadow: 0 0 15px var(--primary-white); }
.social-icon:nth-child(2):hover { color: var(--primary-white) !important; text-shadow: 0 0 15px var(--primary-white); }

#successOverlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100vh;
    background: radial-gradient(circle at center, #121342 0%, #08092b 100%);
    z-index: 99999;
    display: none; 
    flex-direction: column; justify-content: center; align-items: center;
    text-align: center;
}
.particle {
    position: absolute; border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    animation: float 10s infinite linear; z-index: 0; pointer-events: none;
}
.p1 { width: 100px; height: 100px; top: 10%; left: 10%; animation-duration: 15s; filter: blur(40px); }
.p2 { width: 150px; height: 150px; bottom: 20%; right: 10%; background: rgba(104, 223, 227, 0.2); animation-duration: 12s; animation-direction: reverse; filter: blur(50px); }
.p3 { width: 50px; height: 50px; top: 40%; left: 80%; background: rgba(104, 223, 227, 0.2); animation-duration: 8s; filter: blur(20px); }
@keyframes float {
    0% { transform: translateY(0) translateX(0) rotate(0deg); }
    50% { transform: translateY(-20px) translateX(20px) rotate(180deg); }
    100% { transform: translateY(0) translateX(0) rotate(360deg); }
}
.content-box { position: relative; z-index: 2; padding: 20px; animation: popIn 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
.icon-wrapper { position: relative; display: inline-block; margin-bottom: 30px; }
.success-icon { font-size: 5rem; color: var(--success-green); position: relative; z-index: 2; text-shadow: 0 0 30px rgba(0, 255, 136, 0.6); }
.pulse-ring {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 100%; height: 100%; border: 2px solid var(--success-green);
    border-radius: 50%; animation: pulse 2s infinite; z-index: 1;
}
@keyframes pulse { 0% { width: 80%; height: 80%; opacity: 1; } 100% { width: 200%; height: 200%; opacity: 0; } }
.success-title { font-family: var(--font-head); font-size: 3.5rem; margin-bottom: 15px; position: relative; color: var(--white); text-transform: uppercase; }

.btn-close-overlay {
    background: linear-gradient(45deg, var(--primary-white), #ffffff);
    color: var(--dark-bg);
    border: none;
    padding: 15px 45px;
    font-size: 1.1rem;
    font-family: var(--font-body);
    font-weight: 800;
    text-transform: uppercase;
    border-radius: 50px;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.4);
    margin-top: 30px;
}
.btn-close-overlay:hover {
    background: linear-gradient(45deg, var(--accent-cyan), #4cb5f0);
    color: var(--dark-bg);
    box-shadow: 0 10px 40px rgba(104, 223, 227, 0.6);
    transform: translateY(-5px);
}

.highlight-section::after {
    content: '';
    position: absolute;
    top: 10px; left: 20px; right: 20px; bottom: 10px;
    border-radius: 20px;
    pointer-events: none;
    z-index: 9999;
    animation: sectionGlow 0.8s ease-out forwards; 
}

@keyframes sectionGlow {
    0% { box-shadow: 0 0 0px transparent, inset 0 0 0px transparent; border: 2px solid transparent; }
    30% { box-shadow: 0 0 30px var(--primary-white), inset 0 0 20px rgba(255, 255, 255,0.2); border: 2px solid var(--primary-white); }
    70% { box-shadow: 0 0 30px var(--primary-white), inset 0 0 20px rgba(255, 255, 255,0.2); border: 2px solid var(--primary-white); }
    100% { box-shadow: 0 0 0px transparent, inset 0 0 0px transparent; border: 2px solid transparent; }
}

@media (max-width: 1200px) {
    header { padding: 0 20px; }
    .nav-links-left, .nav-links-right { gap: 30px; }
    nav a.link { font-size: 0.8rem; }
    .logo-absolute { --logo-size: 90px; }
}
@media (max-width: 1024px) {
    .footer-content { grid-template-columns: 1fr 1fr; }
    .contact-container { grid-template-columns: 1fr; }
    .hero h1 { font-size: 3.5rem; }
    .nav-links-left, .nav-links-right { display: none; }
    .hamburger { display: block; position: absolute; right: 25px; }
    
    .desktop-portal { display: none !important; }
    .mobile-portal { display: flex; align-items: center; position: absolute; left: 25px; height: 100%; top: 0; z-index: 1002; }
    .portal-icon-btn { font-size: 1.8rem; color: var(--white); text-decoration: none; transition: 0.3s; display: flex; align-items: center; }
    .portal-icon-btn:hover { color: var(--accent-cyan); text-shadow: 0 0 10px var(--accent-cyan); }
    
    .logo-absolute { position: absolute; left: 50%; top: 100%; transform: translate(-50%, -50%); margin: 0; }
    
    header { justify-content: center; }
}
@media (max-width: 768px) {
    html, body { overflow-x: hidden; width: 100%; }
    header { padding: 0 20px; height: 80px; }
    
    .logo-absolute { --logo-size: 95px; }
    
    .mobile-portal { left: 20px; }

    .hero h1 { font-size: 2.8rem; margin-bottom: 20px; }
    .hero p { font-size: 1rem; margin-bottom: 40px; }
    .section { padding: 60px 20px; }
    .section-header h2 { font-size: 2rem; }
    .stats-wrapper { grid-template-columns: 1fr; gap: 20px; }
    .stat-card { height: 220px; min-height: 220px; padding: 20px; transform: none !important; }
    .service-box { transform: none !important; }
    .form-row { flex-direction: column; gap: 0; }
    .footer-content { grid-template-columns: 1fr; gap: 30px; }
    .footer-pro-text { max-width: 100%; }
    .lang-switch-mobile { display: block; }
    
    .hide-mobile { display: none !important; }
    
    .projects-grid { 
        display: flex; 
        flex-wrap: nowrap; 
        overflow-x: auto; 
        gap: 20px; 
        scroll-snap-type: x mandatory; 
        padding-bottom: 20px; 
        -ms-overflow-style: none;
        scrollbar-width: none;
    }
    .projects-grid::-webkit-scrollbar { display: none; }
    .projects-grid .project-card { 
        flex: 0 0 85%;
        scroll-snap-align: center;
    }
    
    .highlight-section::after { 
        top: 5px; left: 15px; right: 15px; bottom: 5px;
        animation-duration: 2s; 
    } 

    .contact-wrapper-white { padding: 60px 20px 30px 20px; }
    .contact-badge-top { width: 80px; height: 80px; font-size: 2rem; }
}
.project-card { text-decoration: none; color: inherit; display: block; cursor: pointer; }
.project-image img { width: 100%; height: 100%; object-fit: cover; }
.project-card:hover { transform: translateY(-6px); }