/* ========================================
   COMUNICACIONES WEBSIN - Styles
   Color Palette:
   Primary: #3C7ABB (Blue)
   Secondary: #000D7D (Dark Blue)
   Accent: #00787D (Teal)
   Pink: #FF99CB, #E75F93
   Neutrals: #666666, #0F0F0F, #FFFFFF
======================================== */

/* CSS Variables */
:root {
    --primary: #3C7ABB;
    --primary-dark: #000D7D;
    --accent: #00787D;
    --pink: #FF99CB;
    --pink-dark: #E75F93;
    --gray: #666666;
    --dark: #0F0F0F;
    --darker: #0a0a0a;
    --white: #FFFFFF;
    --gradient-cyber: linear-gradient(135deg, var(--primary) 0%, var(--accent) 50%, var(--primary-dark) 100%);
    --gradient-pink: linear-gradient(135deg, var(--pink) 0%, var(--pink-dark) 100%);
    --shadow-glow: 0 0 30px rgba(60, 122, 187, 0.3);
    --shadow-card: 0 10px 40px rgba(0, 0, 0, 0.3);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-tech: 'Orbitron', sans-serif;
    --font-body: 'Roboto', sans-serif;
}

/* Reset & Base */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--dark);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Cyber Grid Background */
#cyber-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -2;
    background:
        linear-gradient(90deg, rgba(60, 122, 187, 0.03) 1px, transparent 1px),
        linear-gradient(rgba(60, 122, 187, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
}

#particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary);
    border-radius: 50%;
    opacity: 0.5;
    animation: float-particle 15s infinite;
}

@keyframes float-particle {

    0%,
    100% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }

    10% {
        opacity: 0.5;
    }

    90% {
        opacity: 0.5;
    }

    100% {
        transform: translateY(-100vh) rotate(720deg);
        opacity: 0;
    }
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========================================
   HEADER
======================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--white);
    z-index: 1000;
    transition: var(--transition);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.logo img {
    height: 150px;
    width: auto;
    transition: var(--transition);
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-link {
    font-family: var(--font-tech);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--dark);
    text-decoration: none;
    position: relative;
    padding: 10px 0;
    transition: var(--transition);
    letter-spacing: 1px;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-cyber);
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

.nav-link:hover::before,
.nav-link.active::before {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.hamburger {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--dark);
    position: relative;
    transition: var(--transition);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background: var(--dark);
    transition: var(--transition);
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    bottom: -8px;
}

.mobile-menu-btn.active .hamburger {
    background: transparent;
}

.mobile-menu-btn.active .hamburger::before {
    transform: rotate(45deg);
    top: 0;
}

.mobile-menu-btn.active .hamburger::after {
    transform: rotate(-45deg);
    bottom: 0;
}

/* ========================================
   HERO SLIDER
======================================== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    overflow: hidden;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.slide.active {
    opacity: 1;
    visibility: visible;
}

.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transform: scale(1.1);
    transition: transform 8s ease;
}

.slide.active .slide-bg {
    transform: scale(1);
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,
            rgba(0, 13, 125, 0.85) 0%,
            rgba(15, 15, 15, 0.9) 50%,
            rgba(0, 120, 125, 0.8) 100%);
}

.cyber-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(90deg, transparent 49.5%, rgba(60, 122, 187, 0.1) 50%, transparent 50.5%),
        linear-gradient(transparent 49.5%, rgba(60, 122, 187, 0.1) 50%, transparent 50.5%);
    background-size: 100px 100px;
    animation: cyber-pulse 4s infinite;
}

@keyframes cyber-pulse {

    0%,
    100% {
        opacity: 0.3;
    }

    50% {
        opacity: 0.6;
    }
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 10;
    width: 90%;
    max-width: 900px;
}

.cyber-glitch {
    font-family: var(--font-tech);
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 700;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 4px;
    position: relative;
    text-shadow: 0 0 20px rgba(60, 122, 187, 0.5);
    animation: glitch-text 3s infinite;
}

.cyber-glitch::before,
.cyber-glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.cyber-glitch::before {
    color: var(--pink);
    animation: glitch-1 0.3s infinite;
    clip-path: polygon(0 0, 100% 0, 100% 45%, 0 45%);
    transform: translate(-2px, -2px);
    opacity: 0.8;
}

.cyber-glitch::after {
    color: var(--accent);
    animation: glitch-2 0.3s infinite;
    clip-path: polygon(0 55%, 100% 55%, 100% 100%, 0 100%);
    transform: translate(2px, 2px);
    opacity: 0.8;
}

@keyframes glitch-1 {

    0%,
    100% {
        transform: translate(-2px, -2px);
    }

    25% {
        transform: translate(2px, 0);
    }

    50% {
        transform: translate(-1px, 1px);
    }

    75% {
        transform: translate(1px, -1px);
    }
}

@keyframes glitch-2 {

    0%,
    100% {
        transform: translate(2px, 2px);
    }

    25% {
        transform: translate(-2px, 0);
    }

    50% {
        transform: translate(1px, -1px);
    }

    75% {
        transform: translate(-1px, 1px);
    }
}

@keyframes glitch-text {

    0%,
    90%,
    100% {
        opacity: 1;
    }

    92% {
        opacity: 0.8;
        transform: skew(-2deg);
    }

    94% {
        opacity: 1;
        transform: skew(0);
    }

    96% {
        opacity: 0.9;
        transform: skew(1deg);
    }
}

.hero-tagline {
    font-size: clamp(1rem, 2vw, 1.3rem);
    color: rgba(255, 255, 255, 0.9);
    margin: 30px 0 40px;
    font-weight: 300;
    letter-spacing: 2px;
}

.btn-cyber {
    display: inline-block;
    padding: 18px 50px;
    font-family: var(--font-tech);
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    color: var(--white);
    background: transparent;
    border: 2px solid var(--primary);
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.btn-cyber::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-cyber);
    transition: var(--transition);
    z-index: -1;
}

.btn-cyber:hover::before {
    left: 0;
}

.btn-cyber:hover {
    box-shadow: 0 0 30px rgba(60, 122, 187, 0.5), 0 0 60px rgba(60, 122, 187, 0.3);
    transform: translateY(-3px);
}

.btn-glitch {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(-100%);
}

.btn-cyber:hover .btn-glitch {
    animation: btn-glitch-effect 0.3s;
}

@keyframes btn-glitch-effect {
    0% {
        transform: translateX(-100%);
    }

    50% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(100%);
    }
}

/* Flash Overlay Effect */
.flash-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.8), transparent 70%);
    opacity: 0;
    pointer-events: none;
    z-index: 20;
}

.slide.flash-active .flash-overlay {
    animation: flash-effect 0.6s ease-out;
}

@keyframes flash-effect {
    0% {
        opacity: 0;
        transform: scale(0.5);
    }

    30% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: scale(2);
    }
}

/* Geometric Shapes */
.geometric-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.geo-shape {
    position: absolute;
    border: 2px solid rgba(60, 122, 187, 0.3);
    opacity: 0;
}

.slide.active .geo-shape {
    animation: geo-appear 1s forwards;
}

.geo-1 {
    width: 100px;
    height: 100px;
    top: 20%;
    left: 10%;
    animation-delay: 0.2s !important;
    transform: rotate(45deg);
}

.geo-2 {
    width: 60px;
    height: 60px;
    top: 60%;
    right: 15%;
    border-radius: 50%;
    animation-delay: 0.4s !important;
}

.geo-3 {
    width: 80px;
    height: 80px;
    bottom: 20%;
    left: 20%;
    animation-delay: 0.6s !important;
    clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
    background: rgba(60, 122, 187, 0.1);
    border: none;
}

@keyframes geo-appear {
    0% {
        opacity: 0;
        transform: scale(0) rotate(0deg);
    }

    100% {
        opacity: 1;
        transform: scale(1) rotate(360deg);
    }
}

/* Slider Navigation */
.slider-nav {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 30px;
    z-index: 30;
}

.slider-btn {
    width: 50px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: rgba(0, 0, 0, 0.3);
    color: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    font-size: 1.2rem;
}

.slider-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(60, 122, 187, 0.5);
}

.slider-dots {
    display: flex;
    gap: 15px;
}

.dot {
    width: 12px;
    height: 12px;
    border: 2px solid var(--white);
    background: transparent;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

.dot::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 6px;
    height: 6px;
    background: var(--pink);
    transition: var(--transition);
}

.dot.active::after,
.dot:hover::after {
    transform: translate(-50%, -50%) scale(1);
}

.dot.active {
    border-color: var(--pink);
}

/* Scroll Hint */
.scroll-hint {
    position: absolute;
    bottom: 30px;
    left: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    z-index: 30;
}

.mouse-icon {
    width: 26px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 13px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--white);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-wheel 1.5s infinite;
}

@keyframes scroll-wheel {
    0% {
        opacity: 1;
        top: 8px;
    }

    100% {
        opacity: 0;
        top: 20px;
    }
}

.scroll-hint span {
    font-family: var(--font-tech);
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
}

/* ========================================
   SERVICES SECTION
======================================== */
.services {
    position: relative;
    padding: 120px 0;
    background: linear-gradient(180deg, var(--dark) 0%, #1a1a2e 50%, var(--dark) 100%);
    overflow: hidden;
}

.section-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 50%, rgba(60, 122, 187, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(0, 120, 125, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-tag {
    font-family: var(--font-tech);
    font-size: 0.85rem;
    color: var(--accent);
    letter-spacing: 3px;
    display: block;
    margin-bottom: 15px;
}

.section-title {
    font-family: var(--font-tech);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 3px;
}

.section-title .highlight {
    background: var(--gradient-cyber);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.title-decoration {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin: 25px 0;
}

.title-decoration.left {
    justify-content: flex-start;
}

.deco-line {
    width: 60px;
    height: 2px;
    background: var(--gradient-cyber);
}

.deco-dot {
    width: 10px;
    height: 10px;
    background: var(--pink);
    transform: rotate(45deg);
    animation: dot-pulse 2s infinite;
}

@keyframes dot-pulse {

    0%,
    100% {
        transform: rotate(45deg) scale(1);
    }

    50% {
        transform: rotate(45deg) scale(1.3);
    }
}

.section-description {
    font-size: 1.1rem;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 30px;
}

.service-card {
    position: relative;
    background: linear-gradient(145deg, rgba(30, 30, 50, 0.9), rgba(20, 20, 35, 0.95));
    border-radius: 15px;
    padding: 40px 30px;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid rgba(60, 122, 187, 0.2);
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
}

.service-card:hover h3,
.service-card:hover p,
.service-card:hover .service-features li {
    color: var(--primary-dark);
}

.card-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(60, 122, 187, 0.15), transparent 50%);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.service-card:hover .card-glow {
    opacity: 1;
}

.card-border {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 15px;
    pointer-events: none;
}

.card-border::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--gradient-cyber);
    border-radius: 17px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s;
}

.service-card:hover .card-border::before {
    opacity: 1;
}

.service-icon {
    position: relative;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.service-icon i {
    font-size: 2.5rem;
    color: var(--primary);
    z-index: 2;
    transition: var(--transition);
}

.service-card:hover .service-icon i {
    color: var(--white);
    transform: scale(1.1);
}

.icon-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    border: 2px solid var(--primary);
    border-radius: 50%;
    opacity: 0.5;
}

.service-card:hover .icon-pulse {
    animation: icon-pulse-anim 1s infinite;
}

@keyframes icon-pulse-anim {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.5;
    }

    100% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0;
    }
}

.service-card h3 {
    font-family: var(--font-tech);
    font-size: 1.3rem;
    color: var(--white);
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.service-card p {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.service-features {
    list-style: none;
    margin-bottom: 25px;
}

.service-features li {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.service-features li i {
    color: var(--accent);
    font-size: 0.8rem;
}

.card-link {
    font-family: var(--font-tech);
    font-size: 0.85rem;
    color: var(--pink);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
    letter-spacing: 1px;
}

.card-link:hover {
    color: var(--white);
    gap: 15px;
}

/* ========================================
   STATS SECTION
======================================== */
.stats {
    position: relative;
    padding: 100px 0;
    background: var(--primary-dark);
    overflow: hidden;
}

.stats-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        url('images/stats-bg.jpg') center/cover no-repeat,
        linear-gradient(135deg, var(--primary-dark) 0%, var(--accent) 100%);
    opacity: 0.3;
}

.stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--primary-dark), transparent, var(--primary-dark));
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    position: relative;
    z-index: 2;
}

.stat-item {
    text-align: center;
    padding: 30px;
    position: relative;
}

.stat-item::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 60%;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.stat-item:last-child::after {
    display: none;
}

.stat-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--pink);
    border-radius: 50%;
}

.stat-icon i {
    font-size: 1.5rem;
    color: var(--pink);
}

.stat-number {
    font-family: var(--font-tech);
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--white);
    display: inline;
}

.stat-plus {
    font-family: var(--font-tech);
    font-size: 2rem;
    color: var(--pink);
    display: inline;
}

.stat-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 10px;
    letter-spacing: 1px;
}

/* ========================================
   ABOUT SECTION
======================================== */
.about {
    padding: 120px 0;
    background: linear-gradient(180deg, var(--dark) 0%, #0d0d15 100%);
    position: relative;
    overflow: hidden;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image {
    position: relative;
}

.image-frame {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
}

.image-frame img {
    width: 100%;
    height: auto;
    display: block;
    filter: grayscale(20%);
    transition: var(--transition);
}

.image-frame:hover img {
    filter: grayscale(0%);
    transform: scale(1.03);
}

.frame-corner {
    position: absolute;
    width: 30px;
    height: 30px;
    border: 3px solid var(--primary);
    transition: var(--transition);
}

.top-left {
    top: -5px;
    left: -5px;
    border-right: none;
    border-bottom: none;
}

.top-right {
    top: -5px;
    right: -5px;
    border-left: none;
    border-bottom: none;
}

.bottom-left {
    bottom: -5px;
    left: -5px;
    border-right: none;
    border-top: none;
}

.bottom-right {
    bottom: -5px;
    right: -5px;
    border-left: none;
    border-top: none;
}

.image-frame:hover .frame-corner {
    width: 50px;
    height: 50px;
}

.image-accent {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 200px;
    height: 200px;
    background: var(--gradient-cyber);
    border-radius: 10px;
    z-index: -1;
    opacity: 0.3;
}

.about-content .section-title {
    text-align: left;
}

.about-text {
    color: var(--gray);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-text strong {
    color: var(--white);
}

.about-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.feature {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background: rgba(60, 122, 187, 0.1);
    border-radius: 10px;
    border: 1px solid rgba(60, 122, 187, 0.2);
    transition: var(--transition);
}

.feature:hover {
    background: rgba(60, 122, 187, 0.2);
    transform: translateY(-5px);
}

.feature-icon {
    width: 45px;
    height: 45px;
    min-width: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-cyber);
    border-radius: 10px;
}

.feature-icon i {
    color: var(--white);
    font-size: 1.2rem;
}

.feature-text h4 {
    font-family: var(--font-tech);
    font-size: 1rem;
    color: var(--white);
    margin-bottom: 5px;
}

.feature-text p {
    font-size: 0.85rem;
    color: var(--gray);
}

/* ========================================
   CONTACT SECTION
======================================== */
.contact {
    position: relative;
    padding: 120px 0;
    background: linear-gradient(180deg, #0d0d15 0%, var(--dark) 50%, #1a1a2e 100%);
    overflow: hidden;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.info-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 25px;
    background: rgba(30, 30, 50, 0.5);
    border-radius: 10px;
    border: 1px solid rgba(60, 122, 187, 0.2);
    transition: var(--transition);
}

.info-card:hover {
    border-color: var(--primary);
    transform: translateX(10px);
}

.info-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-cyber);
    border-radius: 10px;
}

.info-icon i {
    color: var(--white);
    font-size: 1.2rem;
}

.info-content h4 {
    font-family: var(--font-tech);
    font-size: 1rem;
    color: var(--white);
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.info-content p {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.6;
}

.map-container {
    margin-top: 10px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(60, 122, 187, 0.3);
}

.contact-form-wrapper {
    background: linear-gradient(145deg, rgba(30, 30, 50, 0.9), rgba(20, 20, 35, 0.95));
    padding: 50px;
    border-radius: 15px;
    border: 1px solid rgba(60, 122, 187, 0.2);
}

.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.form-group {
    position: relative;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    display: block;
    font-family: var(--font-tech);
    font-size: 0.85rem;
    color: var(--white);
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    background: rgba(15, 15, 15, 0.8);
    border: 1px solid rgba(60, 122, 187, 0.3);
    border-radius: 8px;
    color: var(--white);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(60, 122, 187, 0.2);
}

.input-highlight {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--gradient-cyber);
    transition: var(--transition);
}

.form-group input:focus~.input-highlight,
.form-group select:focus~.input-highlight,
.form-group textarea:focus~.input-highlight {
    width: 100%;
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%233C7ABB' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
}

.form-group select option {
    background: var(--dark);
    color: var(--white);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-submit {
    grid-column: 1 / -1;
    padding: 18px 50px;
    font-family: var(--font-tech);
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
    background: var(--gradient-cyber);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(60, 122, 187, 0.4);
}

.btn-submit::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: 0.5s;
}

.btn-submit:hover::before {
    left: 100%;
}

.btn-icon {
    transition: var(--transition);
}

.btn-submit:hover .btn-icon {
    transform: translateX(5px);
}

.btn-loading {
    display: none;
}

/* ========================================
   FOOTER
======================================== */
.footer {
    background: #050508;
    border-top: 1px solid rgba(60, 122, 187, 0.2);
}

.footer-top {
    padding: 80px 0 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 50px;
}

.footer-logo {
    height: 80px;
    width: auto;
    margin-bottom: 20px;
}

.footer-brand p {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 25px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(60, 122, 187, 0.1);
    border: 1px solid rgba(60, 122, 187, 0.3);
    border-radius: 10px;
    color: var(--primary);
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-5px);
}

.footer-links h4 {
    font-family: var(--font-tech);
    font-size: 1rem;
    color: var(--white);
    margin-bottom: 25px;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 15px;
}

.footer-links h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--gradient-cyber);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--gray);
    text-decoration: none;
    font-size: 0.95rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 10px;
}

.footer-bottom {
    padding: 25px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

.footer-bottom p {
    color: var(--gray);
    font-size: 0.9rem;
}

/* ========================================
   MODAL
======================================== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    background: linear-gradient(145deg, rgba(30, 30, 50, 0.98), rgba(15, 15, 25, 0.98));
    max-width: 800px;
    max-height: 80vh;
    width: 90%;
    border-radius: 15px;
    border: 1px solid rgba(60, 122, 187, 0.3);
    overflow: hidden;
    transform: translateY(50px);
    transition: var(--transition);
}

.modal.active .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: rgba(60, 122, 187, 0.2);
    border: none;
    border-radius: 50%;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
}

.modal-close:hover {
    background: var(--pink-dark);
    transform: rotate(90deg);
}

.modal-content h2 {
    font-family: var(--font-tech);
    font-size: 1.8rem;
    color: var(--white);
    padding: 30px 40px;
    background: rgba(60, 122, 187, 0.1);
    border-bottom: 1px solid rgba(60, 122, 187, 0.2);
    letter-spacing: 2px;
}

.modal-body {
    padding: 40px;
    max-height: calc(80vh - 100px);
    overflow-y: auto;
}

.modal-body h3 {
    font-family: var(--font-tech);
    font-size: 1.1rem;
    color: var(--primary);
    margin: 25px 0 15px;
    letter-spacing: 1px;
}

.modal-body p {
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 15px;
}

.modal-body ul {
    list-style: none;
    margin-bottom: 15px;
}

.modal-body li {
    color: var(--gray);
    padding: 8px 0 8px 25px;
    position: relative;
}

.modal-body li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent);
}

.modal-body em {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* Custom Scrollbar for Modal */
.modal-body::-webkit-scrollbar {
    width: 6px;
}

.modal-body::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

.modal-body::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 3px;
}

/* ========================================
   ANIMATIONS ON SCROLL
======================================== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   RESPONSIVE
======================================== */
@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-features {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 992px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat-item:nth-child(2)::after {
        display: none;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .about-image {
        order: -1;
        max-width: 500px;
        margin: 0 auto;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .header-container {
        padding: 10px 20px;
    }

    .logo img {
        height: 100px;
    }

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 350px;
        height: 100vh;
        background: var(--white);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.2);
        transition: var(--transition);
        z-index: 999;
    }

    .nav.active {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        padding: 100px 40px;
        gap: 0;
    }

    .nav-link {
        padding: 20px 0;
        font-size: 1.1rem;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    }

    .mobile-menu-btn {
        display: block;
        z-index: 1001;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .stat-item::after {
        display: none;
    }

    .contact-form {
        grid-template-columns: 1fr;
    }

    .contact-form-wrapper {
        padding: 30px 20px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-links h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .social-links {
        justify-content: center;
    }

    .slider-nav {
        bottom: 30px;
    }

    .scroll-hint {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 600px;
    }

    .cyber-glitch {
        font-size: 1.8rem;
        letter-spacing: 2px;
    }

    .hero-tagline {
        font-size: 0.95rem;
    }

    .btn-cyber {
        padding: 15px 30px;
        font-size: 0.85rem;
    }

    .slider-btn {
        width: 40px;
        height: 40px;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .modal-content h2 {
        font-size: 1.3rem;
        padding: 20px;
    }

    .modal-body {
        padding: 20px;
    }
}

/* Animation utilities */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% center;
    }

    100% {
        background-position: 200% center;
    }
}