/* Symmetry - Custom Styles */

* {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    scroll-behavior: smooth;
}

html, body {
    overflow-x: hidden;
    max-width: 100vw;
}

.gradient-symmetry {
    background:
        radial-gradient(circle at 10% 20%, rgba(0, 55, 96, 0.9) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(0, 84, 143, 0.8) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(0, 119, 204, 0.3) 0%, transparent 70%),
        linear-gradient(135deg, #000814 0%, #001d3d 25%, #003760 50%, #004d7a 75%, #006494 100%);
    position: relative;
}
.gradient-symmetry::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(45deg, transparent 30%, rgba(0, 168, 255, 0.1) 50%, transparent 70%),
        linear-gradient(-45deg, transparent 30%, rgba(202, 235, 255, 0.08) 50%, transparent 70%);
    animation: gradientShift 15s ease infinite;
}
@keyframes gradientShift {
    0%, 100% { opacity: 0.5; transform: translate(0, 0) scale(1); }
    50% { opacity: 0.8; transform: translate(-10px, -10px) scale(1.05); }
}
.gradient-header {
    background: linear-gradient(135deg, rgba(0, 26, 51, 0.98) 0%, rgba(0, 55, 96, 0.95) 50%, rgba(0, 84, 143, 0.98) 100%);
    backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(0, 55, 96, 0.2);
}
.text-gradient {
    background: linear-gradient(135deg, #003760 0%, #0077cc 50%, #00a8ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.glass-morphism {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.hover-lift {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.hover-lift:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 55, 96, 0.2);
}

.floating {
    animation: floating 8s ease-in-out infinite;
}
@keyframes floating {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.symmetry-pattern {
    background-image:
        radial-gradient(circle at 20% 50%, rgba(202, 235, 255, 0.05) 0%, transparent 50%),
        repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(202, 235, 255, 0.03) 35px, rgba(202, 235, 255, 0.03) 70px);
}

.nav-item {
    position: relative;
}
.nav-item::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #CAEBFF;
    transition: width 0.3s ease;
}
.nav-item:hover::before { width: 100%; }

.lang-toggle-container {
    display: flex;
    gap: 6px;
    background: rgba(255, 255, 255, 0.08);
    padding: 4px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 13px;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
}

.lang-btn.active {
    background: linear-gradient(135deg, #CAEBFF 0%, #ffffff 100%);
    color: #003760;
    box-shadow: 0 4px 12px rgba(202, 235, 255, 0.3);
}

.lang-btn:not(.active) {
    color: rgba(255, 255, 255, 0.7);
}

.tech-badge {
    background: linear-gradient(135deg, rgba(0, 55, 96, 0.08) 0%, rgba(0, 119, 204, 0.08) 100%);
    border: 1px solid rgba(0, 55, 96, 0.15);
    transition: all 0.3s ease;
}

.tech-badge:hover {
    background: linear-gradient(135deg, rgba(0, 55, 96, 0.15) 0%, rgba(0, 119, 204, 0.15) 100%);
    border-color: rgba(0, 55, 96, 0.3);
    transform: translateY(-2px);
}

.service-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(250, 250, 252, 0.98) 100%);
    border: 2px solid rgba(0, 55, 96, 0.08);
    transition: all 0.4s ease;
}

.service-card:hover {
    border-color: rgba(0, 55, 96, 0.25);
    box-shadow: 0 16px 48px rgba(0, 55, 96, 0.12);
}

/* Modern Service Card */
.service-card-modern {
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card-modern:hover {
    box-shadow: 0 20px 60px rgba(0, 55, 96, 0.15);
    border-color: rgba(0, 55, 96, 0.3);
}

/* Modern Tech Badge */
.tech-badge-modern {
    transition: all 0.3s ease;
    cursor: default;
}

.tech-badge-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 55, 96, 0.15);
}

/* Modern Tech Card */
.tech-card-modern {
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.tech-card-modern:hover {
    box-shadow: 0 12px 40px rgba(0, 55, 96, 0.12);
    transform: translateY(-4px);
}

/* Modern Stat Card */
.stat-card-modern {
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-card-modern:hover {
    box-shadow: 0 16px 50px rgba(0, 55, 96, 0.15);
    transform: translateY(-6px);
}

.portfolio-card {
    overflow: hidden;
    position: relative;
    border: 2px solid rgba(0, 55, 96, 0.1);
}

.portfolio-card img {
    transition: transform 0.6s ease;
}
.portfolio-card:hover img {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 26, 51, 0.95) 0%, rgba(0, 55, 96, 0.7) 60%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 2;
}
.portfolio-card:hover .portfolio-overlay { opacity: 1; }

.timeline-item {
    position: relative;
    padding-left: 40px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: -30px;
    width: 2px;
    background: linear-gradient(to bottom, #003760, #0077cc);
}

.timeline-item::after {
    content: '';
    position: absolute;
    left: -6px;
    top: 8px;
    width: 14px;
    height: 14px;
    background: #003760;
    border: 3px solid #CAEBFF;
    border-radius: 50%;
}

.timeline-item:last-child::before {
    display: none;
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu {
    transform: translateX(100%);
    transition: transform 0.4s ease;
}

.mobile-menu.active {
    transform: translateX(0);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
}

@keyframes sparkle {
    0%, 100% { opacity: 0; transform: scale(0) translate(var(--tx), var(--ty)); }
    50% { opacity: 1; transform: scale(1) translate(var(--tx), var(--ty)); }
}
.sparkle {
    position: fixed;
    width: 6px;
    height: 6px;
    background: #CAEBFF;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
}
