/* ============================================
   CSS Variables & Reset
   ============================================ */

:root {
    --primary-red: #E02020;
    --primary-red-dark: #C01A1A;
    --dark-text: #2C3E50;
    --dark-blue: #1a2332;
    --light-blue: #2d3a4f;
    --white: #ffffff;
    --light-gray: #f5f7fa;
    --gray: #e8ecf1;
    --text-gray: #6c757d;
    --shadow: rgba(0, 0, 0, 0.1);
    --shadow-lg: rgba(0, 0, 0, 0.15);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--dark-text);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   Custom Scrollbar Design
   ============================================ */

/* Për Firefox */
html {
    scrollbar-width: thin;
    scrollbar-color: var(--primary-red) var(--dark-blue);
}

/* Për Chrome, Edge, dhe Safari */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--dark-blue);
}

::-webkit-scrollbar-thumb {
    background-color: var(--primary-red);
    border-radius: 6px;
    border: 3px solid var(--dark-blue);
}

::-webkit-scrollbar-thumb:hover {
    background-color: var(--primary-red-dark);
}


/* ============================================
   Navigation
   ============================================ */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, rgba(15, 20, 25, 0.98) 0%, rgba(26, 35, 50, 0.98) 50%, rgba(45, 58, 79, 0.98) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-bottom: 1px solid rgba(224, 32, 32, 0.2);
}

.navbar::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(224, 32, 32, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(224, 32, 32, 0.08) 0%, transparent 50%);
    z-index: -1;
    pointer-events: none;
    opacity: 0.6;
}

.navbar.scrolled {
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
    border-bottom: 1px solid rgba(224, 32, 32, 0.3);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
}

.logo-a {
    color: var(--primary-red);
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
    position: relative;
}

.logo-text {
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 600;
    text-transform: lowercase;
    letter-spacing: -0.02em;
}

.logo-text-after {
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 600;
    text-transform: lowercase;
    letter-spacing: -0.02em;
    margin-left: 0.5rem;
    display: inline-block;
    vertical-align: middle;
}

.navbar .logo-text-after {
    color: var(--white);
    font-size: 2rem;
    font-weight: 700;
}

.footer .logo-text-after {
    color: var(--white);
    font-size: 2rem;
    font-weight: 700;
    text-transform: lowercase;
    letter-spacing: -0.02em;
    margin-left: 0.5rem;
    display: inline-block;
    vertical-align: middle;
}

.logo:hover {
    transform: translateY(-2px);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    transition: var(--transition);
    padding: 0.5rem 0;
    text-transform: uppercase;
    letter-spacing: 1.2px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-red), #ff4444);
    box-shadow: 0 0 10px rgba(224, 32, 32, 0.6);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--white);
    text-shadow: 0 0 10px rgba(224, 32, 32, 0.5);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--white);
    border-radius: 3px;
    transition: var(--transition);
}

/* ============================================
   Hero Section
   ============================================ */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0f1419 0%, #1a2332 50%, #2d3a4f 100%);
    overflow: hidden;
    padding-top: 80px;
}

#particleCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.6;
}

.hero-background-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        /* Topographic contour lines */
        radial-gradient(ellipse at 20% 30%, transparent 0%, transparent 40%, rgba(255, 255, 255, 0.03) 40%, rgba(255, 255, 255, 0.03) 41%, transparent 41%, transparent 50%, rgba(255, 255, 255, 0.03) 50%, rgba(255, 255, 255, 0.03) 51%, transparent 51%),
        radial-gradient(ellipse at 80% 70%, transparent 0%, transparent 35%, rgba(255, 255, 255, 0.03) 35%, rgba(255, 255, 255, 0.03) 36%, transparent 36%, transparent 45%, rgba(255, 255, 255, 0.03) 45%, rgba(255, 255, 255, 0.03) 46%, transparent 46%),
        /* Grid pattern */
        repeating-linear-gradient(0deg,
            transparent,
            transparent 2px,
            rgba(255, 255, 255, 0.02) 2px,
            rgba(255, 255, 255, 0.02) 4px),
        repeating-linear-gradient(90deg,
            transparent,
            transparent 2px,
            rgba(255, 255, 255, 0.02) 2px,
            rgba(255, 255, 255, 0.02) 4px);
    opacity: 0.5;
    z-index: 1;
    animation: patternMove 20s linear infinite;
    background-size: 100% 100%, 100% 100%, 40px 40px, 40px 40px;
}

@keyframes patternMove {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(20px, 20px);
    }
}

.floating-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(224, 32, 32, 0.1), rgba(224, 32, 32, 0.05));
    filter: blur(60px);
    animation: float 20s infinite ease-in-out;
}

.shape-1 {
    width: 400px;
    height: 400px;
    top: -100px;
    left: -100px;
    animation-delay: 0s;
}

.shape-2 {
    width: 300px;
    height: 300px;
    top: 50%;
    right: -50px;
    animation-delay: 5s;
}

.shape-3 {
    width: 350px;
    height: 350px;
    bottom: -100px;
    left: 20%;
    animation-delay: 10s;
}

.shape-4 {
    width: 250px;
    height: 250px;
    top: 20%;
    right: 20%;
    animation-delay: 15s;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.3;
    }

    25% {
        transform: translate(50px, -50px) scale(1.1);
        opacity: 0.5;
    }

    50% {
        transform: translate(-30px, 30px) scale(0.9);
        opacity: 0.4;
    }

    75% {
        transform: translate(30px, 50px) scale(1.05);
        opacity: 0.5;
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(224, 32, 32, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(224, 32, 32, 0.1) 0%, transparent 50%);
    z-index: 1;
    pointer-events: none;
    animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.8;
        transform: scale(1.1);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    max-width: 900px;
    padding: 2rem 0;
    margin-top: 150px !important;
    position: relative;
}

/* Rregullim që në telefon të mos zbresë tepër poshtë */
@media (max-width: 768px) {
    .hero-content {
        margin-top: 80px !important;
    }
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.title-line {
    display: block;
    animation: fadeInUp 0.8s ease-out;
}

.title-line:nth-child(2) {
    animation-delay: 0.2s;
}

.title-line.highlight {
    background: linear-gradient(135deg, var(--primary-red) 0%, #ff4444 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
}

.title-line.highlight::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-red), transparent);
    border-radius: 2px;
    animation: underlineExpand 1s ease-out 1s both;
}

@keyframes underlineExpand {
    from {
        width: 0;
        opacity: 0;
    }

    to {
        width: 100%;
        opacity: 1;
    }
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    font-weight: 300;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.btn-primary {
    background: var(--primary-red);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(224, 32, 32, 0.3);
}

.btn-primary {
    position: relative;
    overflow: hidden;
}

.btn-primary {
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary:hover::before {
    width: 400px;
    height: 400px;
}

.btn-ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transform: scale(0);
    animation: ripple 0.6s;
    pointer-events: none;
}

@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

.btn-primary:hover {
    background: var(--primary-red-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(224, 32, 32, 0.4);
}

.btn-primary span,
.btn-primary i {
    position: relative;
    z-index: 1;
}

.btn-primary i {
    transition: transform 0.3s;
}

.btn-primary:hover i {
    transform: translateX(5px);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary {
    position: relative;
    overflow: hidden;
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transition: left 0.3s;
}

.btn-secondary:hover::before {
    left: 100%;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--white);
    transform: translateY(-2px);
}

.btn-secondary span,
.btn-secondary i {
    position: relative;
    z-index: 1;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--white);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.8;
    animation: fadeInUp 1s ease-out 1s both;
}

@media (max-width: 900px) {
    .scroll-indicator {
        display: none;
    }
}

.mouse {
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 15px;
    position: relative;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.wheel {
    width: 4px;
    height: 8px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 2px;
    animation: scrollWheel 2s infinite;
}

@keyframes scrollWheel {
    0% {
        opacity: 1;
        transform: translateY(0);
    }

    100% {
        opacity: 0;
        transform: translateY(12px);
    }
}

.scroll-indicator span {
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0.7;
}

/* ============================================
   Section Styles
   ============================================ */

section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-tag {
    display: inline-block;
    color: var(--primary-red);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 1rem;
}

.section-description {
    font-size: 1.1rem;
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   About Section
   ============================================ */

.about {
    background: linear-gradient(135deg, #0f1419 0%, #1a2332 50%, #2d3a4f 100%);
    position: relative;
    overflow: hidden;
    color: var(--white);
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(224, 32, 32, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(224, 32, 32, 0.1) 0%, transparent 50%);
    z-index: 0;
    pointer-events: none;
    animation: gradientShift 15s ease infinite;
}

.about .container {
    position: relative;
    z-index: 1;
}

.section-bg-animation {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        repeating-linear-gradient(45deg,
            transparent,
            transparent 20px,
            rgba(224, 32, 32, 0.02) 20px,
            rgba(224, 32, 32, 0.02) 40px);
    opacity: 0.5;
    animation: bgMove 30s linear infinite;
    pointer-events: none;
}

@keyframes bgMove {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(40px, 40px);
    }
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-content-modern {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

/* Ensure text is on the left */
.about-content-modern>.about-text-modern {
    order: 1;
}

.about-content-modern>.geodesy-network-diagram {
    order: 2;
}

.about-text-modern {
    background: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    padding: 0;
    border-radius: 0;
    border: none;
    box-shadow: none;
    transition: none;
}

.about-text-modern:hover {
    transform: none;
    box-shadow: none;
}

.text-content-wrapper {
    position: relative;
}

.about-description-modern {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--white);
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.about-description-modern strong {
    color: var(--primary-red);
    font-weight: 700;
}

.about-text-modern p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
    font-weight: 300;
}

@media (max-width: 900px) {
    .about-content-modern {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .about-text-modern {
        text-align: left;
    }

    .geodesy-network-diagram {
        padding: 2rem;
        min-height: 420px;
    }

    .network-container {
        height: 380px;
        max-width: 420px;
    }

    .about-highlight-box {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 600px) {
    .about-content-modern {
        gap: 2rem;
    }

    .about-description-modern {
        font-size: 1.05rem;
        line-height: 1.6;
    }

    .about-text-modern p {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .geodesy-network-diagram {
        padding: 1.25rem;
        min-height: 320px;
    }

    .network-container {
        height: 300px;
        max-width: 320px;
    }
}

/* About Highlight Box */
.about-highlight-box {
    margin-top: 2.5rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(224, 32, 32, 0.1), rgba(224, 32, 32, 0.05));
    border-left: 4px solid var(--primary-red);
    border-radius: 12px;
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.about-highlight-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(224, 32, 32, 0.1), transparent);
    transition: left 0.5s;
}

.about-highlight-box:hover::before {
    left: 100%;
}

.about-highlight-box:hover {
    background: linear-gradient(135deg, rgba(224, 32, 32, 0.15), rgba(224, 32, 32, 0.08));
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(224, 32, 32, 0.2);
}

.highlight-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-red), var(--primary-red-dark));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(224, 32, 32, 0.3);
    transition: transform 0.3s;
}

.about-highlight-box:hover .highlight-icon {
    transform: scale(1.1) rotate(5deg);
}

.highlight-icon i {
    font-size: 1.5rem;
    color: white;
}

.highlight-content {
    flex: 1;
}

.highlight-content h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
}

.highlight-content p {
    font-size: 1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 0;
    font-weight: 300;
}

/* ============================================
   Geodesy Network Diagram
   ============================================ */

.geodesy-network-diagram {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid rgba(224, 32, 32, 0.2);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
}

.geodesy-network-diagram:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(224, 32, 32, 0.3);
}

.network-container {
    position: relative;
    width: 100%;
    max-width: 500px;
    height: 500px;
    margin: 0 auto;
}

/* Grid background pattern */
.network-grid {
    position: absolute;
    inset: 0;
    background-image:
        repeating-linear-gradient(0deg,
            transparent,
            transparent 20px,
            rgba(224, 32, 32, 0.1) 20px,
            rgba(224, 32, 32, 0.1) 22px),
        repeating-linear-gradient(90deg,
            transparent,
            transparent 20px,
            rgba(224, 32, 32, 0.1) 20px,
            rgba(224, 32, 32, 0.1) 22px);
    opacity: 0.6;
    z-index: 1;
}

/* Circular pattern overlay */
.network-grid::before {
    content: '';
    position: absolute;
    inset: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    border-radius: 50%;
    border: 1px solid rgba(224, 32, 32, 0.2);
    z-index: 1;
}

.network-grid::after {
    content: '';
    position: absolute;
    inset: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    height: 60%;
    border-radius: 50%;
    border: 1px solid rgba(224, 32, 32, 0.15);
    z-index: 1;
}

/* Central icon */
.network-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

.center-icon-wrapper {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-red), var(--primary-red-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        0 0 30px rgba(224, 32, 32, 0.6),
        0 0 60px rgba(224, 32, 32, 0.4),
        inset 0 0 20px rgba(255, 255, 255, 0.2);
    position: relative;
    cursor: pointer;
    animation: centerPulse 3s ease-in-out infinite, centerRotate 8s linear infinite;
}

.center-pulse-ring {
    position: absolute;
    inset: -20px;
    border-radius: 50%;
    border: 3px solid var(--primary-red);
    opacity: 0.5;
    animation: pulseRing 2s ease-in-out infinite;
}

@keyframes centerPulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow:
            0 0 30px rgba(224, 32, 32, 0.6),
            0 0 60px rgba(224, 32, 32, 0.4),
            inset 0 0 20px rgba(255, 255, 255, 0.2);
    }

    50% {
        transform: scale(1.05);
        box-shadow:
            0 0 40px rgba(224, 32, 32, 0.7),
            0 0 80px rgba(224, 32, 32, 0.5),
            inset 0 0 20px rgba(255, 255, 255, 0.25);
    }
}

@keyframes centerRotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes pulseRing {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.3);
        opacity: 0.2;
    }

    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

.center-icon-wrapper i {
    font-size: 3rem;
    color: white;
    z-index: 2;
    position: relative;
}

/* Network nodes */
.network-node {
    position: absolute;
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    opacity: 0;
    transform: scale(0);
    transition: all 0.3s ease;
}

.network-node.animated {
    opacity: 1;
    transform: scale(1);
}

.network-node-top {
    top: 10%;
    left: 50%;
    transform: translateX(-50%) scale(0);
}

.network-node-top.animated {
    transform: translateX(-50%) scale(1);
}

.network-node-right {
    right: 10%;
    top: 50%;
    transform: translateY(-50%) scale(0);
}

.network-node-right.animated {
    transform: translateY(-50%) scale(1);
}

.network-node-bottom {
    bottom: 10%;
    left: 50%;
    transform: translateX(-50%) scale(0);
}

.network-node-bottom.animated {
    transform: translateX(-50%) scale(1);
}

.network-node-left {
    left: 10%;
    top: 50%;
    transform: translateY(-50%) scale(0);
}

.network-node-left.animated {
    transform: translateY(-50%) scale(1);
}

.network-node:hover {
    z-index: 15;
    transform: scale(1.15) !important;
}

.node-icon-wrapper {
    width: 80px;
    height: 80px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--primary-red), var(--primary-red-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        0 0 20px rgba(224, 32, 32, 0.5),
        0 4px 15px rgba(224, 32, 32, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: visible;
}

.node-glow {
    position: absolute;
    inset: -10px;
    border-radius: 16px;
    background: radial-gradient(circle, rgba(224, 32, 32, 0.4), transparent);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s;
}

.network-node:hover .node-icon-wrapper {
    transform: scale(1.1) rotate(5deg);
    box-shadow:
        0 0 30px rgba(224, 32, 32, 0.7),
        0 8px 25px rgba(224, 32, 32, 0.5),
        inset 0 0 20px rgba(255, 255, 255, 0.3);
}

.network-node:hover .node-glow {
    opacity: 1;
    animation: glowPulse 1.5s ease-in-out infinite;
}

@keyframes glowPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.2);
        opacity: 0.8;
    }
}

.node-icon-wrapper i {
    font-size: 2rem;
    color: white;
    z-index: 2;
    position: relative;
    transition: transform 0.3s;
}

.network-node:hover .node-icon-wrapper i {
    transform: scale(1.2);
}

.node-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
    opacity: 0.8;
    transition: all 0.3s;
    white-space: nowrap;
}

.network-node:hover .node-label {
    opacity: 1;
    color: var(--primary-red);
    transform: translateY(-5px);
}

/* Tooltip */
.node-tooltip {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    background: var(--dark-text);
    color: white;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 0.875rem;
    white-space: nowrap;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    z-index: 100;
    pointer-events: none;
    margin-bottom: 0.5rem;
    opacity: 0;
    transition: opacity 0.3s, transform 0.3s;
}

.network-node:hover .node-tooltip {
    opacity: 1;
    transform: translateX(-50%) translateY(-15px);
}

.node-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: var(--dark-text);
}

/* Connection lines */
.network-lines {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.connection-line {
    stroke: var(--primary-red);
    stroke-width: 2;
    opacity: 0;
    filter: drop-shadow(0 0 3px rgba(224, 32, 32, 0.3));
    stroke-dasharray: 5, 5;
    stroke-dashoffset: 1000;
    transition: stroke-dashoffset 1s ease-out, opacity 1s ease-out;
}

.connection-line.animated {
    opacity: 0.4;
    stroke-dashoffset: 0;
    animation: linePulse 2s ease-in-out infinite;
}

.connection-circle {
    stroke-width: 1.5;
    opacity: 0;
}

.connection-circle.animated {
    opacity: 0.3;
}

@keyframes linePulse {

    0%,
    100% {
        opacity: 0.4;
    }

    50% {
        opacity: 0.7;
    }
}

/* Placeholder nodes */
.network-node-placeholder {
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 12px;
    border: 2px dashed rgba(224, 32, 32, 0.3);
    z-index: 3;
    opacity: 0;
    transition: all 0.3s;
}

.network-node-placeholder.animated {
    opacity: 0.3;
}

.network-placeholder-top-right {
    top: 15%;
    right: 15%;
}

.network-placeholder-bottom-right {
    bottom: 15%;
    right: 15%;
}

.network-placeholder-bottom-left {
    bottom: 15%;
    left: 15%;
}

.network-placeholder-top-left {
    top: 15%;
    left: 15%;
}

.network-node-placeholder:hover {
    opacity: 0.5;
    border-color: rgba(224, 32, 32, 0.5);
}

.about-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
}

.about-intro {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.about-intro strong {
    color: var(--primary-red);
    font-weight: 700;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    padding: 1rem;
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: var(--primary-red);
    transform: scaleY(0);
    transition: transform 0.4s;
    transform-origin: bottom;
}

.feature-item:hover::before {
    transform: scaleY(1);
    transform-origin: top;
}

.feature-item:hover {
    background: rgba(224, 32, 32, 0.15);
    border-color: rgba(224, 32, 32, 0.3);
    transform: translateX(10px);
    padding-left: 1.5rem;
    box-shadow: 0 4px 20px rgba(224, 32, 32, 0.2);
}

.feature-icon-wrapper {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(224, 32, 32, 0.1), rgba(224, 32, 32, 0.05));
    border-radius: 10px;
    transition: all 0.4s;
    position: relative;
    z-index: 1;
}

.feature-item:hover .feature-icon-wrapper {
    background: linear-gradient(135deg, var(--primary-red), var(--primary-red-dark));
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 4px 15px rgba(224, 32, 32, 0.3);
}

.feature-item i {
    color: var(--primary-red);
    font-size: 1.2rem;
    transition: all 0.4s;
    position: relative;
    z-index: 2;
}

.feature-item:hover i {
    color: var(--white);
    transform: scale(1.2);
}

.text-reveal-wrapper {
    position: relative;
}

.about-image {
    position: relative;
    width: 100%;
}

.about-banner-wrapper {
    position: relative;
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transition: transform 0.4s, box-shadow 0.4s;
    background: var(--dark-text);
}

.about-image:hover .about-banner-wrapper {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
}

.about-banner-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    transition: transform 0.4s;
}

.about-image:hover .about-banner-img {
    transform: scale(1.05);
}

.image-placeholder {
    aspect-ratio: 1;
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-red-dark) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 60px rgba(224, 32, 32, 0.3);
    position: relative;
    overflow: hidden;
    transition: transform 0.4s, box-shadow 0.4s;
}

.about-image:hover .image-placeholder {
    transform: scale(1.05) rotate(2deg);
    box-shadow: 0 30px 80px rgba(224, 32, 32, 0.4);
}

.image-placeholder::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: repeating-linear-gradient(45deg,
            transparent,
            transparent 10px,
            rgba(255, 255, 255, 0.05) 10px,
            rgba(255, 255, 255, 0.05) 20px);
    animation: rotate 20s linear infinite;
}

.topographic-pattern {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(ellipse at center, transparent 0%, transparent 30%, rgba(255, 255, 255, 0.1) 30%, rgba(255, 255, 255, 0.1) 31%, transparent 31%, transparent 40%, rgba(255, 255, 255, 0.1) 40%, rgba(255, 255, 255, 0.1) 41%, transparent 41%),
        radial-gradient(ellipse at center, transparent 0%, transparent 20%, rgba(255, 255, 255, 0.15) 20%, rgba(255, 255, 255, 0.15) 21%, transparent 21%);
    opacity: 0.6;
    z-index: 1;
}

.logo-display {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.logo-a-large {
    font-size: 6rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    animation: logoPulse 3s ease-in-out infinite;
}

.logo-text-large {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--white);
    text-transform: lowercase;
    letter-spacing: 0.1em;
    opacity: 0.95;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

@keyframes logoPulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

/* ============================================
   Services Section
   ============================================ */

.services {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #0f1419 0%, #1a2332 50%, #2d3a4f 100%);
    color: var(--white);
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(224, 32, 32, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(224, 32, 32, 0.1) 0%, transparent 50%);
    z-index: 0;
    pointer-events: none;
    animation: gradientShift 15s ease infinite;
}

.services .container {
    position: relative;
    z-index: 1;
}

.section-title {
    color: var(--white);
}

.section-description {
    color: rgba(255, 255, 255, 0.7);
}


.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.service-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    overflow: hidden;
    --mouse-x: 50%;
    --mouse-y: 50%;
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(224, 32, 32, 0.1), transparent 70%);
    opacity: 0;
    transition: opacity 0.4s;
    pointer-events: none;
}

.service-card:hover::after {
    opacity: 1;
}

.service-glow {
    display: none;
}

.service-card>* {
    position: relative;
    z-index: 1;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-red);
    font-weight: 500;
    font-size: 0.9rem;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover .service-link {
    opacity: 1;
    transform: translateY(0);
}

.service-link i {
    transition: transform 0.3s;
    font-size: 0.8rem;
}

.service-card:hover .service-link i {
    transform: translateX(3px);
}

.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(224, 32, 32, 0.5), rgba(224, 32, 32, 0.1));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s;
}

.service-card:hover {
    transform: none;
    /* pa lëvizje në hover */
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 60px rgba(224, 32, 32, 0.2);
    border-color: rgba(224, 32, 32, 0.3);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    width: 56px;
    height: 56px;
    background: rgba(224, 32, 32, 0.1);
    border: 1px solid rgba(224, 32, 32, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.service-card:hover .service-icon {
    background: rgba(224, 32, 32, 0.2);
    border-color: rgba(224, 32, 32, 0.4);
    transform: none;
    /* pa zoom në hover */
}

.service-icon i {
    font-size: 1.5rem;
    color: var(--primary-red);
    transition: all 0.4s;
}

.service-card:hover .service-icon i {
    transform: none;
    /* pa zoom në hover */
}

.service-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 1rem;
}

.service-description {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
}

/* ============================================
   Stats Section
   ============================================ */

.stats {
    background: linear-gradient(135deg, #0f1419 0%, #1a2332 50%, #2d3a4f 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
    background-size: 200% 200%;
    animation: gradientAnimation 15s ease infinite;
}

.stats::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        /* Topographic contour lines pattern - gjeodezike style */
        radial-gradient(ellipse at 20% 30%, transparent 0%, transparent 40%, rgba(224, 32, 32, 0.1) 40%, rgba(224, 32, 32, 0.1) 41%, transparent 41%, transparent 50%, rgba(224, 32, 32, 0.1) 50%, rgba(224, 32, 32, 0.1) 51%, transparent 51%),
        radial-gradient(ellipse at 80% 70%, transparent 0%, transparent 35%, rgba(224, 32, 32, 0.08) 35%, rgba(224, 32, 32, 0.08) 36%, transparent 36%, transparent 45%, rgba(224, 32, 32, 0.08) 45%, rgba(224, 32, 32, 0.08) 46%, transparent 46%),
        radial-gradient(ellipse at 50% 50%, transparent 0%, transparent 25%, rgba(224, 32, 32, 0.06) 25%, rgba(224, 32, 32, 0.06) 26%, transparent 26%),
        /* Grid pattern - coordinate system style */
        repeating-linear-gradient(0deg,
            transparent,
            transparent 40px,
            rgba(224, 32, 32, 0.04) 40px,
            rgba(224, 32, 32, 0.04) 42px),
        repeating-linear-gradient(90deg,
            transparent,
            transparent 40px,
            rgba(224, 32, 32, 0.04) 40px,
            rgba(224, 32, 32, 0.04) 42px),
        /* Diagonal pattern */
        repeating-linear-gradient(45deg,
            transparent,
            transparent 20px,
            rgba(224, 32, 32, 0.02) 20px,
            rgba(224, 32, 32, 0.02) 22px);
    opacity: 0.65;
    z-index: 0;
    animation: patternMove 30s linear infinite;
    background-size: 100% 100%, 100% 100%, 100% 100%, 80px 80px, 80px 80px, 40px 40px;
}

.stats::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(224, 32, 32, 0.16) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(224, 32, 32, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 50% 10%, rgba(224, 32, 32, 0.08) 0%, transparent 40%);
    z-index: 0;
    pointer-events: none;
    animation: gradientShift 18s ease infinite;
    opacity: 0.8;
}

@keyframes patternMove {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }

    50% {
        transform: translate(40px, 40px) rotate(1deg);
    }

    100% {
        transform: translate(80px, 80px) rotate(0deg);
    }
}

.stats-bg-elements {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.stats-orb {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(224, 32, 32, 0.22), rgba(224, 32, 32, 0.12), transparent);
    filter: blur(60px);
    animation: orbFloat 20s infinite ease-in-out;
    box-shadow: 0 0 120px rgba(224, 32, 32, 0.32);
}

/* Floating geometric shapes */
.stats-shape {
    position: absolute;
    border: 2px solid rgba(224, 32, 32, 0.17);
    pointer-events: none;
    z-index: 0;
    animation: shapeFloat 25s infinite ease-in-out;
}

.stats-shape-1 {
    width: 80px;
    height: 80px;
    top: 15%;
    left: 8%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(224, 32, 32, 0.08), transparent);
    animation-delay: 0s;
}

.stats-shape-2 {
    width: 60px;
    height: 60px;
    bottom: 20%;
    right: 10%;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(224, 32, 32, 0.12), transparent);
    transform: rotate(45deg);
    animation-delay: 8s;
}

.stats-shape-3 {
    width: 100px;
    height: 100px;
    top: 60%;
    left: 85%;
    border-radius: 20px;
    border-style: dashed;
    background: radial-gradient(ellipse, rgba(224, 32, 32, 0.065), transparent);
    animation-delay: 15s;
}

@keyframes shapeFloat {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg) scale(1);
        opacity: 0.4;
    }

    25% {
        transform: translate(30px, -40px) rotate(90deg) scale(1.1);
        opacity: 0.6;
    }

    50% {
        transform: translate(-20px, 30px) rotate(180deg) scale(0.9);
        opacity: 0.5;
    }

    75% {
        transform: translate(40px, 20px) rotate(270deg) scale(1.05);
        opacity: 0.6;
    }
}

.orb-1 {
    width: 300px;
    height: 300px;
    top: -100px;
    left: 10%;
    animation-delay: 0s;
}

.orb-2 {
    width: 400px;
    height: 400px;
    bottom: -150px;
    right: 15%;
    animation-delay: 7s;
}

.orb-3 {
    width: 250px;
    height: 250px;
    top: 50%;
    left: 50%;
    animation-delay: 14s;
}

@keyframes orbFloat {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.5;
    }

    33% {
        transform: translate(50px, -50px) scale(1.2);
        opacity: 0.7;
    }

    66% {
        transform: translate(-30px, 30px) scale(0.8);
        opacity: 0.6;
    }
}

@keyframes gradientAnimation {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Stats background patterns are now in .stats::before above */

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    position: relative;
    z-index: 1;
}

.stat-item {
    text-align: center;
    position: relative;
    padding: 2.5rem 2rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 2px;
    background: linear-gradient(135deg, var(--primary-red), transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s;
}

.stat-item:hover::before {
    opacity: 1;
}

.stat-item:hover {
    transform: translateY(-15px) scale(1.05);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.stat-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(224, 32, 32, 0.2);
    border-radius: 15px;
    transition: all 0.4s;
}

.stat-item:hover .stat-icon {
    background: var(--primary-red);
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 20px rgba(224, 32, 32, 0.4);
}

.stat-icon i {
    font-size: 1.5rem;
    color: var(--primary-red);
    transition: all 0.4s;
}

.stat-item:hover .stat-icon i {
    color: var(--white);
    transform: scale(1.2);
}

.stat-progress {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    margin-top: 1rem;
    overflow: hidden;
    position: relative;
}

.stat-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-red), #ff4444);
    border-radius: 2px;
    width: 0;
    transition: width 2s ease-out;
    position: relative;
    overflow: hidden;
}

.stat-progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s infinite;
}

.stat-number {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: var(--primary-red);
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
    font-weight: 500;
}

/* ============================================
   Blog Section
   ============================================ */

.blog {
    background: linear-gradient(135deg, #0f1419 0%, #1a2332 50%, #2d3a4f 100%);
    position: relative;
    overflow: hidden;
    color: var(--white);
    padding: 6rem 0;
}

.blog::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(224, 32, 32, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(224, 32, 32, 0.1) 0%, transparent 50%);
    z-index: 0;
    pointer-events: none;
    animation: gradientShift 15s ease infinite;
}

.blog::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        repeating-linear-gradient(45deg,
            transparent,
            transparent 20px,
            rgba(224, 32, 32, 0.02) 20px,
            rgba(224, 32, 32, 0.02) 40px);
    opacity: 0.5;
    animation: bgMove 30s linear infinite;
    pointer-events: none;
    z-index: 0;
}

.blog .container {
    position: relative;
    z-index: 1;
}

.blog-bg-elements {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.blog-orb {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(224, 32, 32, 0.25), rgba(224, 32, 32, 0.15), transparent);
    filter: blur(50px);
    animation: orbFloat 20s infinite ease-in-out;
    box-shadow: 0 0 100px rgba(224, 32, 32, 0.3);
}

.blog-orb-1 {
    width: 300px;
    height: 300px;
    top: -100px;
    left: 10%;
    animation-delay: 0s;
}

.blog-orb-2 {
    width: 400px;
    height: 400px;
    bottom: -150px;
    right: 15%;
    animation-delay: 7s;
}

.blog-orb-3 {
    width: 250px;
    height: 250px;
    top: 50%;
    left: 50%;
    animation-delay: 14s;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.blog-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
    opacity: 1;
    transform: translateY(0);
}

.blog-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(224, 32, 32, 0.1), transparent 70%);
    opacity: 0;
    transition: opacity 0.4s;
    pointer-events: none;
    z-index: 1;
}

.blog-card:hover::before {
    opacity: 1;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(224, 32, 32, 0.3);
    border-color: rgba(224, 32, 32, 0.3);
}

.blog-card-image {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(224, 32, 32, 0.1), rgba(224, 32, 32, 0.05));
}

.blog-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    filter: brightness(0.7) saturate(1.1);
}

.blog-card:hover .blog-card-img {
    transform: scale(1.15);
    filter: brightness(0.85) saturate(1.2);
}

.blog-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: rgba(224, 32, 32, 0.5);
    transition: all 0.4s;
}

.blog-card:hover .blog-image-placeholder {
    transform: scale(1.1);
    color: rgba(224, 32, 32, 0.8);
}

.blog-card-date {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(15, 20, 25, 0.9);
    backdrop-filter: blur(10px);
    padding: 0.75rem 1rem;
    border-radius: 12px;
    text-align: center;
    border: 1px solid rgba(224, 32, 32, 0.3);
    z-index: 2;
}

.date-day {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-red);
    line-height: 1;
}

.date-month {
    display: block;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 0.25rem;
}

.blog-card-content {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
}

.blog-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.blog-category {
    background: rgba(224, 32, 32, 0.2);
    color: var(--primary-red);
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.75rem;
}

.blog-read-time {
    color: rgba(255, 255, 255, 0.6);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.blog-read-time i {
    font-size: 0.75rem;
}

.blog-card-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 1rem;
    line-height: 1.4;
    transition: color 0.3s;
}

.blog-card:hover .blog-card-title {
    color: var(--primary-red);
}

.blog-card-excerpt {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    flex: 1;
}

.blog-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-red);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    margin-top: auto;
}

.blog-card-link i {
    transition: transform 0.3s;
}

.blog-card:hover .blog-card-link {
    color: var(--white);
}

.blog-card:hover .blog-card-link i {
    transform: translateX(5px);
}

/* Blog Pagination */
.blog-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.pagination-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
}

.pagination-btn:hover:not(:disabled) {
    background: rgba(224, 32, 32, 0.2);
    border-color: rgba(224, 32, 32, 0.4);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(224, 32, 32, 0.3);
}

.pagination-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.pagination-btn i {
    font-size: 0.875rem;
    transition: transform 0.3s;
}

.pagination-btn:hover:not(:disabled) i {
    transform: scale(1.1);
}

.pagination-numbers {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.pagination-number {
    min-width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
}

.pagination-number:hover {
    background: rgba(224, 32, 32, 0.2);
    border-color: rgba(224, 32, 32, 0.4);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(224, 32, 32, 0.2);
}

.pagination-number.active {
    background: rgba(224, 32, 32, 0.3);
    border-color: var(--primary-red);
    color: var(--white);
    box-shadow: 0 4px 16px rgba(224, 32, 32, 0.4);
}

.pagination-number.active:hover {
    background: rgba(224, 32, 32, 0.4);
    box-shadow: 0 6px 20px rgba(224, 32, 32, 0.5);
}

@media (max-width: 768px) {
    .blog {
        padding: 4rem 0;
    }

    .blog-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .blog-card-image {
        height: 200px;
    }

    .blog-pagination {
        flex-wrap: wrap;
        gap: 0.75rem;
    }

    .pagination-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.875rem;
    }

    .pagination-btn span {
        display: none;
    }

    .pagination-number {
        min-width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }
}

/* ============================================
   Contact Section
   ============================================ */

.contact {
    background: linear-gradient(135deg, #0f1419 0%, #1a2332 50%, #2d3a4f 100%);
    position: relative;
    overflow: hidden;
    color: var(--white);
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(224, 32, 32, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(224, 32, 32, 0.1) 0%, transparent 50%);
    z-index: 0;
    pointer-events: none;
    animation: gradientShift 15s ease infinite;
}

.contact .container {
    position: relative;
    z-index: 1;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s;
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(224, 32, 32, 0.3);
    transform: translateX(5px);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-red-dark) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(224, 32, 32, 0.3);
}

.contact-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

.contact-details h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.contact-details a,
.contact-details p {
    display: block;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    margin-bottom: 0.25rem;
    transition: var(--transition);
}

.contact-details a:hover {
    color: var(--primary-red);
}

/* Social Links */
.social-links {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    margin-top: 0.5rem;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-decoration: none;
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(224, 32, 32, 0.2), transparent);
    transition: left 0.5s;
}

.social-link:hover::before {
    left: 100%;
}

.social-link:hover {
    background: rgba(224, 32, 32, 0.15);
    border-color: rgba(224, 32, 32, 0.3);
    color: var(--white);
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(224, 32, 32, 0.2);
}

.social-link i {
    font-size: 1.25rem;
    width: 24px;
    text-align: center;
    color: var(--primary-red);
    transition: all 0.3s;
}

.social-link:hover i {
    color: var(--white);
    transform: scale(1.2);
}

.social-link span {
    font-weight: 500;
    font-size: 0.95rem;
}

.contact-form-wrapper {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 2.5rem;
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(224, 32, 32, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.contact-form-wrapper:hover {
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(224, 32, 32, 0.2);
    border-color: rgba(224, 32, 32, 0.3);
}

.form-header {
    margin-bottom: 2rem;
    text-align: center;
}

.form-header h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
}

.form-header p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin: 0;
}

.contact-form-wrapper::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(224, 32, 32, 0.05) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
    pointer-events: none;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin-bottom: 1.25rem;
}

.form-group {
    margin-bottom: 1.25rem;
    position: relative;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 1rem;
    color: rgba(255, 255, 255, 0.5);
    font-size: 1rem;
    z-index: 2;
    transition: all 0.3s ease;
    pointer-events: none;
}

.textarea-icon {
    top: 1rem;
    align-items: flex-start;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    font-size: 0.95rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
    position: relative;
    z-index: 1;
}

.form-group textarea {
    padding-top: 1rem;
    padding-left: 3rem;
    resize: vertical;
    min-height: 100px;
    line-height: 1.6;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
    opacity: 1;
}

.form-group input:hover,
.form-group textarea:hover {
    border-color: rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.08);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-red);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 0 3px rgba(224, 32, 32, 0.1), 0 4px 12px rgba(224, 32, 32, 0.15);
}

.form-group input:focus+.input-icon,
.form-group:has(input:focus) .input-icon,
.form-group textarea:focus+.input-icon,
.form-group:has(textarea:focus) .input-icon {
    color: var(--primary-red);
    transform: scale(1.1);
}

.form-group:has(input:focus) .input-icon,
.form-group:has(textarea:focus) .input-icon {
    color: var(--primary-red);
    transform: scale(1.1);
}

.form-submit-btn {
    margin-top: 1.5rem;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.form-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(224, 32, 32, 0.4);
}

.form-submit-btn:active {
    transform: translateY(0);
}

/* ============================================
   Footer
   ============================================ */

.footer {
    background: linear-gradient(135deg, #0f1419 0%, #1a2332 50%, #2d3a4f 100%);
    color: var(--white);
    padding: 3rem 0 1.5rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(224, 32, 32, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(224, 32, 32, 0.1) 0%, transparent 50%);
    z-index: 0;
    pointer-events: none;
    animation: gradientShift 15s ease infinite;
}

.footer::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        repeating-linear-gradient(45deg,
            transparent,
            transparent 20px,
            rgba(224, 32, 32, 0.02) 20px,
            rgba(224, 32, 32, 0.02) 40px);
    opacity: 0.5;
    animation: bgMove 30s linear infinite;
    pointer-events: none;
    z-index: 0;
}

.footer-floating-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.footer-shape {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(224, 32, 32, 0.2), rgba(224, 32, 32, 0.1), transparent);
    filter: blur(40px);
    animation: footerFloatContinuous 20s infinite ease-in-out;
    box-shadow: 0 0 80px rgba(224, 32, 32, 0.3);
}

.footer-shape-1 {
    width: 400px;
    height: 400px;
    top: -100px;
    left: -100px;
    animation-delay: 0s;
}

.footer-shape-2 {
    width: 300px;
    height: 300px;
    top: 50%;
    right: -50px;
    animation-delay: 3.75s;
}

.footer-shape-3 {
    width: 350px;
    height: 350px;
    bottom: -100px;
    left: 20%;
    animation-delay: 7.5s;
}

.footer-shape-4 {
    width: 250px;
    height: 250px;
    top: 20%;
    right: 20%;
    animation-delay: 11.25s;
}

@keyframes footerFloatContinuous {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 0.3;
    }

    25% {
        transform: translate(60px, -60px) scale(1.15);
        opacity: 0.5;
    }

    50% {
        transform: translate(-40px, 40px) scale(0.85);
        opacity: 0.4;
    }

    75% {
        transform: translate(40px, 60px) scale(1.1);
        opacity: 0.5;
    }

    100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.3;
    }
}


.footer .container {
    position: relative;
    z-index: 1;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.footer-logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.footer-logo .logo-a {
    color: var(--primary-red);
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
}

.footer-logo .logo-text {
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 600;
    text-transform: lowercase;
    letter-spacing: -0.02em;
}

.footer-section p {
    opacity: 1;
    line-height: 1.7;
    margin-top: 1rem;
    color: var(--white);
}

.footer-section h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--white);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
    opacity: 0.8;
    transition: var(--transition);
}

.footer-section ul li:hover {
    opacity: 1;
    transform: translateX(5px);
}

.footer-section ul li a {
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--primary-red);
}

.footer-section ul li i {
    color: var(--primary-red);
    margin-right: 0.5rem;
    width: 20px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.7;
}


/* ============================================
   Animations
   ============================================ */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-10px);
    }

    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }

    100% {
        background-position: 1000px 0;
    }
}

@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Glassmorphism effects */
.glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Parallax effect */
.parallax {
    will-change: transform;
}

/* ============================================
   Responsive Design
   ============================================ */

@media (max-width: 968px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .contact-form-wrapper {
        padding: 2rem;
    }

    .about-features {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: linear-gradient(135deg, rgba(15, 20, 25, 0.98) 0%, rgba(26, 35, 50, 0.98) 50%, rgba(45, 58, 79, 0.98) 100%);
        flex-direction: column;
        padding: 2rem;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
        transition: var(--transition);
        gap: 0;
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-link {
        display: block;
        padding: 1rem 0;
        width: 100%;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    section {
        padding: 3rem 0;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .service-card,
    .contact-form-wrapper {
        padding: 1.5rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .form-header h3 {
        font-size: 1.5rem;
    }

    .form-group input,
    .form-group textarea {
        padding: 0.875rem 0.875rem 0.875rem 2.75rem;
        font-size: 0.9rem;
    }

    .form-group textarea {
        padding-top: 0.875rem;
        padding-left: 2.75rem;
        min-height: 90px;
    }

    .input-icon {
        font-size: 0.9rem;
        left: 0.875rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .geodesy-network-diagram {
        padding: 1.5rem;
        min-height: 350px;
    }

    .network-container {
        height: 350px;
    }

    .center-icon-wrapper {
        width: 80px;
        height: 80px;
    }

    .center-icon-wrapper i {
        font-size: 2rem;
    }

    .node-icon-wrapper {
        width: 60px;
        height: 60px;
    }

    .node-icon-wrapper i {
        font-size: 1.5rem;
    }

    .network-node-placeholder {
        width: 40px;
        height: 40px;
    }
}