/* Root Variables */
:root {
    --primary-color: #2563eb;
    --secondary-color: #1e40af;
    --accent-color: #3b82f6;
    --success-color: #059669;
    --warning-color: #d97706;
    --dark-bg: #0f172a;
    --darker-bg: #020617;
    --card-bg: #1e293b;
    --light-text: #f8fafc;
    --gray-text: #94a3b8;
    --muted-text: #64748b;
    --border-color: #334155;
    --hover-bg: #334155;
    --gradient-primary: linear-gradient(135deg, #2563eb, #1e40af);
    --gradient-secondary: linear-gradient(135deg, #1e40af, #1e3a8a);
    --max-width: 1200px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Space Grotesk', sans-serif;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: var(--font-main);
    background-color: var(--dark-bg);
    color: var(--light-text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--darker-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s, visibility 0.5s;
}

.loading-screen.loaded {
    opacity: 0;
    visibility: hidden;
}

.loader {
    text-align: center;
}

.drone-loader {
    font-size: 48px;
    color: var(--primary-color);
    animation: rotate 2s linear infinite;
}

.loader-text {
    margin-top: 20px;
    font-family: var(--font-display);
    font-size: 14px;
    letter-spacing: 2px;
    color: var(--gray-text);
    animation: pulse 1.5s ease-in-out infinite;
}

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

@keyframes pulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1rem 0;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 0.75rem 0;
    background: rgba(5, 5, 5, 0.95);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.brand-text {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.brand-tagline {
    font-size: 0.75rem;
    color: var(--gray-text);
    letter-spacing: 1px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--light-text);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.cta-button {
    background: var(--gradient-primary);
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    transition: transform 0.3s, box-shadow 0.3s;
    color: var(--light-text);
}

.nav-link.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.4);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--light-text);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
}

.hero-drone-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0.15;
    filter: blur(2px);
    animation: drone-float 20s ease-in-out infinite;
}

.drone-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.1);
}

@keyframes drone-float {
    0%, 100% { transform: translateY(0) scale(1.1); }
    50% { transform: translateY(-20px) scale(1.15); }
}

.particle-field {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(37, 99, 235, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 50%, rgba(30, 64, 175, 0.1) 0%, transparent 50%);
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    33% { transform: translateY(-20px) rotate(1deg); }
    66% { transform: translateY(20px) rotate(-1deg); }
}

.grid-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: grid-move 10s linear infinite;
}

@keyframes grid-move {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

/* Flying Drones Animation */
.flying-drones-container {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.flying-drone {
    position: absolute;
    filter: drop-shadow(0 0 10px rgba(37, 99, 235, 0.8));
    z-index: 2;
}

/* Military Fixed-Wing UAV Design */
.military-uav {
    position: relative;
    width: 40px;
    height: 30px;
    transform-style: preserve-3d;
}

.uav-body {
    position: absolute;
    width: 25px;
    height: 4px;
    background: linear-gradient(90deg, #1e293b, #475569, #1e293b);
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50% 10% 10% 50%;
}

.uav-body::before {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    background: rgba(239, 68, 68, 0.8);
    border-radius: 50%;
    top: -2px;
    left: 2px;
    animation: sensor-blink 2s infinite;
}

.uav-wing-left,
.uav-wing-right {
    position: absolute;
    width: 20px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #334155, #475569);
    top: 50%;
    transform: translateY(-50%);
}

.uav-wing-left {
    left: -5px;
    transform: translateY(-50%) skewY(-5deg);
}

.uav-wing-right {
    right: -5px;
    transform: translateY(-50%) skewY(5deg);
}

.uav-tail {
    position: absolute;
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 10px solid #334155;
    right: -2px;
    top: 50%;
    transform: translateY(-50%) rotate(90deg);
}

/* Industrial Quadcopter UAV Design */
.quadcopter-uav {
    position: relative;
    width: 35px;
    height: 35px;
    transform-style: preserve-3d;
}

.quad-body {
    position: absolute;
    width: 12px;
    height: 12px;
    background: radial-gradient(circle, #475569, #1e293b);
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    border-radius: 30%;
    box-shadow: 0 0 5px rgba(37, 99, 235, 0.5);
}

.quad-body::before {
    content: '';
    position: absolute;
    width: 6px;
    height: 6px;
    background: rgba(34, 197, 94, 0.8);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: sensor-blink 1.5s infinite;
}

.quad-arm {
    position: absolute;
    width: 15px;
    height: 2px;
    background: #334155;
    left: 50%;
    top: 50%;
    transform-origin: 0 50%;
}

.quad-arm::after {
    content: '';
    position: absolute;
    width: 6px;
    height: 6px;
    background: #1e293b;
    border: 1px solid #475569;
    border-radius: 50%;
    right: -3px;
    top: -2px;
    animation: rotor-spin 0.1s linear infinite;
}

.arm-1 { transform: translate(-50%, -50%) rotate(45deg); }
.arm-2 { transform: translate(-50%, -50%) rotate(135deg); }
.arm-3 { transform: translate(-50%, -50%) rotate(225deg); }
.arm-4 { transform: translate(-50%, -50%) rotate(315deg); }

@keyframes sensor-blink {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

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

/* Smaller UAVs for Swarm Animation */
.military-uav-small {
    position: relative;
    width: 20px;
    height: 15px;
}

.uav-body-small {
    position: absolute;
    width: 12px;
    height: 2px;
    background: #475569;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50% 10% 10% 50%;
}

.uav-wing-left-small,
.uav-wing-right-small {
    position: absolute;
    width: 10px;
    height: 1px;
    background: #334155;
    top: 50%;
}

.uav-wing-left-small {
    left: -2px;
    transform: translateY(-50%) skewY(-5deg);
}

.uav-wing-right-small {
    right: -2px;
    transform: translateY(-50%) skewY(5deg);
}

.quad-uav-small {
    position: relative;
    width: 18px;
    height: 18px;
}

.quad-body-small {
    position: absolute;
    width: 6px;
    height: 6px;
    background: #475569;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    border-radius: 30%;
}

.quad-arm-small {
    position: absolute;
    width: 8px;
    height: 1px;
    background: #334155;
    left: 50%;
    top: 50%;
    transform-origin: 0 50%;
}

.quad-arm-small.arm-1 { transform: translate(-50%, -50%) rotate(45deg); }
.quad-arm-small.arm-2 { transform: translate(-50%, -50%) rotate(135deg); }
.quad-arm-small.arm-3 { transform: translate(-50%, -50%) rotate(225deg); }
.quad-arm-small.arm-4 { transform: translate(-50%, -50%) rotate(315deg); }

.drone-trail {
    position: absolute;
    top: 50%;
    left: -20px;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    opacity: 0.6;
    animation: trail-pulse 1s ease-in-out infinite;
}

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

@keyframes trail-pulse {
    0%, 100% { opacity: 0.3; transform: scaleX(0.5); }
    50% { opacity: 0.8; transform: scaleX(1); }
}

/* Individual Drone Flight Paths */
.drone-1 {
    animation: fly-path-1 25s ease-in-out infinite;
    animation-delay: 0s;
}

.drone-2 {
    animation: fly-path-2 30s ease-in-out infinite;
    animation-delay: 5s;
}

.drone-3 {
    animation: fly-path-3 20s ease-in-out infinite;
    animation-delay: 10s;
}

.drone-4 {
    animation: fly-path-4 35s ease-in-out infinite;
    animation-delay: 2s;
}

.drone-5 {
    animation: fly-path-5 28s ease-in-out infinite;
    animation-delay: 8s;
}

@keyframes fly-path-1 {
    0% {
        left: -50px;
        top: 20%;
        transform: scale(0.8) rotate(10deg);
    }
    25% {
        left: 30%;
        top: 10%;
        transform: scale(1.2) rotate(-5deg);
    }
    50% {
        left: 70%;
        top: 30%;
        transform: scale(1) rotate(15deg);
    }
    75% {
        left: 85%;
        top: 15%;
        transform: scale(0.9) rotate(-10deg);
    }
    100% {
        left: 110%;
        top: 25%;
        transform: scale(0.8) rotate(10deg);
    }
}

@keyframes fly-path-2 {
    0% {
        right: -50px;
        top: 60%;
        transform: scale(1) rotate(-15deg);
    }
    30% {
        right: 40%;
        top: 40%;
        transform: scale(1.3) rotate(20deg);
    }
    60% {
        right: 80%;
        top: 70%;
        transform: scale(0.9) rotate(-25deg);
    }
    100% {
        right: 110%;
        top: 50%;
        transform: scale(1) rotate(-15deg);
    }
}

@keyframes fly-path-3 {
    0% {
        left: 50%;
        bottom: -50px;
        transform: scale(0.7) rotate(0deg);
    }
    50% {
        left: 25%;
        bottom: 80%;
        transform: scale(1.4) rotate(180deg);
    }
    100% {
        left: 75%;
        bottom: 110%;
        transform: scale(0.7) rotate(360deg);
    }
}

@keyframes fly-path-4 {
    0% {
        left: -50px;
        top: 80%;
        transform: scale(1.1) rotate(45deg);
    }
    33% {
        left: 60%;
        top: 60%;
        transform: scale(0.8) rotate(-45deg);
    }
    66% {
        left: 40%;
        top: 20%;
        transform: scale(1.2) rotate(90deg);
    }
    100% {
        left: 110%;
        top: 40%;
        transform: scale(1.1) rotate(45deg);
    }
}

@keyframes fly-path-5 {
    0% {
        right: -50px;
        bottom: 20%;
        transform: scale(0.9) rotate(-30deg);
    }
    25% {
        right: 30%;
        bottom: 60%;
        transform: scale(1.1) rotate(30deg);
    }
    50% {
        right: 70%;
        bottom: 30%;
        transform: scale(1.3) rotate(-60deg);
    }
    75% {
        right: 20%;
        bottom: 10%;
        transform: scale(0.8) rotate(60deg);
    }
    100% {
        right: 110%;
        bottom: 40%;
        transform: scale(0.9) rotate(-30deg);
    }
}

.hero-content {
    text-align: center;
    z-index: 1;
    max-width: 1000px;
    padding: 0 2rem;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.title-line {
    display: block;
    opacity: 0;
    transform: translateY(30px);
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.5rem);
    color: var(--gray-text);
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(30px);
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(30px);
}

.btn {
    padding: 1rem 2rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 5px;
    transition: var(--transition);
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--light-text);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--light-text);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--light-text);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.4);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 4rem;
    opacity: 0;
    transform: translateY(30px);
}

.stat {
    text-align: center;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--gray-text);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.5rem;
    color: var(--gray-text);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* Sections */
.section {
    padding: 5rem 0;
    position: relative;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--light-text), var(--gray-text));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--gray-text);
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h3 {
    font-family: var(--font-display);
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.about-text p {
    margin-bottom: 1.5rem;
    color: var(--gray-text);
    line-height: 1.8;
}

.about-features {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    transition: var(--transition);
}

.feature-item:hover {
    background: var(--hover-bg);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.feature-item i {
    color: var(--primary-color);
    font-size: 1.25rem;
}

/* Drone Showcase */
.drone-showcase {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 10px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
}

.drone-main-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    z-index: 1;
    transition: transform 0.5s ease;
}

.drone-showcase:hover .drone-main-image {
    transform: scale(1.05);
}

.drone-3d-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

/* 3D Drone Animation */
.drone-3d-container {
    perspective: 1000px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.drone-3d {
    width: 200px;
    height: 200px;
    position: relative;
    transform-style: preserve-3d;
    animation: rotate3d 20s linear infinite;
    opacity: 0.3;
    z-index: 2;
}

@keyframes rotate3d {
    0% { transform: rotateX(0) rotateY(0); }
    100% { transform: rotateX(360deg) rotateY(360deg); }
}

.drone-body {
    width: 100px;
    height: 100px;
    background: var(--gradient-primary);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 20px;
    box-shadow: 0 0 50px rgba(37, 99, 235, 0.5);
}

.drone-rotor {
    width: 80px;
    height: 80px;
    border: 3px solid var(--primary-color);
    border-radius: 50%;
    position: absolute;
    animation: spin 0.5s linear infinite;
}

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

.rotor-1 { top: -30px; left: -30px; }
.rotor-2 { top: -30px; right: -30px; }
.rotor-3 { bottom: -30px; left: -30px; }
.rotor-4 { bottom: -30px; right: -30px; }

/* Solutions Section */
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.solution-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 2.5rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.solution-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s;
}

.solution-card:hover::before {
    opacity: 1;
}

.solution-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.solution-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.solution-card h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.solution-card p {
    color: var(--gray-text);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.solution-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.solution-features li {
    color: var(--gray-text);
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.5rem;
}

.solution-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.solution-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s;
}

.solution-link:hover {
    gap: 1rem;
}

/* Technology Section */
.technology-section {
    position: relative;
}

.tech-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.tech-bg-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.05;
    filter: blur(3px);
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.tech-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
}

.tech-card:hover {
    background: var(--hover-bg);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.tech-icon {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.tech-card h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.tech-card p {
    color: var(--gray-text);
    font-size: 0.875rem;
    line-height: 1.6;
}

/* Gallery Section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    height: 400px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.gallery-item:hover .gallery-image {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, transparent 100%);
    padding: 2rem;
    transform: translateY(100%);
    transition: transform 0.3s;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.gallery-overlay p {
    color: var(--gray-text);
    font-size: 0.875rem;
}

/* Market Section */
.market-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.market-stats {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.market-stat {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 2rem;
    transition: var(--transition);
}

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

.market-value {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
}

.market-label {
    font-size: 1.125rem;
    margin: 0.5rem 0;
}

.market-growth {
    font-size: 0.875rem;
    color: var(--primary-color);
    font-weight: 600;
}

.market-sectors h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.sector-chart {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.sector {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 5px;
    padding: 1rem;
    position: relative;
    overflow: hidden;
}

.sector::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: var(--sector-size);
    background: var(--gradient-primary);
    opacity: 0.3;
    transition: opacity 0.3s;
}

.sector:hover::before {
    opacity: 0.5;
}

.sector-label {
    position: relative;
    z-index: 1;
    font-weight: 600;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(30, 64, 175, 0.1));
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.25rem;
    color: var(--gray-text);
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-large {
    padding: 1.25rem 2.5rem;
    font-size: 1.125rem;
}

/* Contact Section */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-form {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 2.5rem;
}

.form-group {
    position: relative;
    margin-bottom: 2rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    color: var(--light-text);
    font-family: var(--font-main);
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group label {
    position: absolute;
    left: 1rem;
    top: 1rem;
    color: var(--gray-text);
    transition: var(--transition);
    pointer-events: none;
}

.form-group input:focus + label,
.form-group input:valid + label,
.form-group select:focus + label,
.form-group select:valid + label,
.form-group textarea:focus + label,
.form-group textarea:valid + label {
    top: -0.5rem;
    left: 0.75rem;
    font-size: 0.75rem;
    background: var(--dark-bg);
    padding: 0 0.5rem;
    color: var(--primary-color);
}

.btn-block {
    width: 100%;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 0.25rem;
}

.info-item h4 {
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
}

.info-item p {
    color: var(--gray-text);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.social-links a {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    color: var(--light-text);
    font-size: 1.25rem;
    transition: var(--transition);
}

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

/* Footer */
.footer {
    background: var(--darker-bg);
    padding: 3rem 0 1.5rem;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.footer-brand p {
    color: var(--gray-text);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-column h4 {
    font-size: 1.125rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

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

.footer-column li {
    margin-bottom: 0.75rem;
}

.footer-column a {
    color: var(--gray-text);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-column a:hover {
    color: var(--light-text);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.footer-bottom p {
    color: var(--gray-text);
}

.footer-legal {
    display: flex;
    gap: 2rem;
}

.footer-legal a {
    color: var(--gray-text);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s;
}

.footer-legal a:hover {
    color: var(--light-text);
}

/* Animations */
.animate-fade-up {
    animation: fadeUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s, transform 0.8s;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--darker-bg);
        width: 100%;
        text-align: center;
        padding: 2rem 0;
        transition: 0.3s;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-title {
        font-size: clamp(2.5rem, 10vw, 4rem);
    }

    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }

    .about-content,
    .market-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

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

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

    .gallery-item {
        height: 300px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-links {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .footer-legal {
        flex-direction: column;
        gap: 0.5rem;
    }
}