/* ===== CSS Variables ===== */
:root {
    --primary-blue: #1a4d7a;
    --secondary-blue: #2196F3;
    --primary-green: #10b981;
    --accent-green: #00ff88;
    --dark-navy: #0a1929;
    --darker-navy: #05101c;
    --white: #ffffff;
    --gray: #6b7280;
    --light-gray: #9ca3af;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--white);
    background-color: var(--darker-navy);
    overflow-x: hidden;
}

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

/* ===== Navigation ===== */
.navbar {
    background: linear-gradient(135deg, #0a1929 0%, #0f2942 50%, #1a4d7a 100%);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 100px;
    width: auto;
}

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

.nav-menu a {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a:hover {
    color: var(--primary-green);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: var(--primary-green);
    transition: width 0.3s ease;
}

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

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--white);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* ===== Hero Section ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(135deg, #0a1929 0%, #0f2942 50%, #1a4d7a 100%);
    overflow: hidden;
    padding-top: 80px;
}

.tech-background {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(90deg, rgba(16, 185, 129, 0.03) 1px, transparent 1px),
        linear-gradient(rgba(16, 185, 129, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
}

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

.circuit-pattern {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(16, 185, 129, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(33, 150, 243, 0.1) 0%, transparent 50%);
    animation: pulse 4s ease-in-out infinite;
}

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

.hero-content {
    text-align: center;
    z-index: 2;
    position: relative;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-title .highlight {
    background: linear-gradient(135deg, var(--primary-green), var(--accent-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    color: var(--light-gray);
    font-weight: 300;
}

.hero-badge {
    display: inline-block;
    background: rgba(16, 185, 129, 0.15);
    color: var(--primary-green);
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 2rem;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 4rem;
}

.hero-features {
    display: flex;
    gap: 3rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 4rem;
}

.hero-feature-item {
    text-align: center;
}

.feature-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-green);
    margin-bottom: 0.5rem;
}

.feature-text {
    font-size: 0.95rem;
    color: var(--light-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    animation: float 20s infinite ease-in-out;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: var(--primary-green);
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 400px;
    height: 400px;
    background: var(--secondary-blue);
    top: 50%;
    right: 10%;
    animation-delay: 5s;
}

.shape-3 {
    width: 250px;
    height: 250px;
    background: var(--accent-green);
    bottom: 10%;
    left: 50%;
    animation-delay: 10s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(50px, -50px) scale(1.1);
    }
    66% {
        transform: translate(-50px, 50px) scale(0.9);
    }
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 36px;
    border-radius: 6px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    border: 2px solid transparent;
    cursor: pointer;
}

.btn svg {
    transition: transform 0.3s ease;
}

.btn:hover svg {
    transform: translateX(5px);
}

.btn-primary {
    background: var(--primary-green);
    color: var(--white);
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.4);
}

.btn-primary:hover {
    background: var(--accent-green);
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(16, 185, 129, 0.6);
}

.btn-secondary {
    background: var(--secondary-blue);
    color: var(--white);
    box-shadow: 0 4px 20px rgba(33, 150, 243, 0.4);
}

.btn-secondary:hover {
    background: #1976d2;
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(33, 150, 243, 0.6);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary-blue);
    transform: translateY(-2px);
}

/* ===== Quick Services Preview ===== */
.quick-services {
    padding: 60px 0;
    background: var(--dark-navy);
}

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

.service-preview-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 2.5rem 2rem;
    border-radius: 12px;
    text-align: center;
    border: 1px solid rgba(16, 185, 129, 0.2);
    transition: all 0.3s ease;
}

.service-preview-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-green);
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.2);
}

.service-preview-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    color: var(--primary-green);
}

.service-preview-icon svg {
    width: 100%;
    height: 100%;
}

.service-preview-card h3 {
    font-size: 1.2rem;
    color: var(--white);
    font-weight: 600;
}

/* ===== Services Section ===== */
.services-section {
    padding: 100px 0;
    background: var(--darker-navy);
}

.section-title {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: linear-gradient(135deg, var(--white), var(--light-gray));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--gray);
    margin-bottom: 4rem;
}

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

.service-card {
    background: linear-gradient(135deg, rgba(26, 77, 122, 0.3), rgba(16, 185, 129, 0.1));
    padding: 3rem;
    border-radius: 16px;
    border: 1px solid rgba(16, 185, 129, 0.3);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-green);
    box-shadow: 0 20px 40px rgba(16, 185, 129, 0.3);
}

.service-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 2rem;
    color: var(--primary-green);
}

.service-icon svg {
    width: 100%;
    height: 100%;
}

.service-card h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: var(--white);
    font-weight: 700;
    letter-spacing: 1px;
}

.service-description {
    font-size: 1.1rem;
    color: var(--light-gray);
    margin-bottom: 1.5rem;
    font-style: italic;
}

.service-features {
    list-style: none;
    padding: 0;
}

.service-features li {
    padding: 0.75rem 0;
    color: var(--light-gray);
    display: flex;
    align-items: flex-start;
    line-height: 1.6;
}

.service-features li::before {
    content: "▸";
    color: var(--primary-green);
    font-weight: bold;
    margin-right: 1rem;
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* ===== About Section ===== */
.about-section {
    padding: 100px 0;
    background: var(--dark-navy);
}

.about-content {
    max-width: 1000px;
    margin: 0 auto;
}

.about-text {
    font-size: 1.15rem;
    line-height: 1.9;
    color: var(--light-gray);
    margin-bottom: 2rem;
    text-align: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.stat-card {
    text-align: center;
    padding: 2rem;
    background: rgba(16, 185, 129, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-green);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: var(--light-gray);
}

/* ===== Why Choose Us ===== */
.why-choose {
    padding: 100px 0;
    background: var(--darker-navy);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.feature-item {
    text-align: center;
    padding: 2rem;
    background: rgba(26, 77, 122, 0.2);
    border-radius: 12px;
    border: 1px solid rgba(16, 185, 129, 0.2);
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary-green);
}

.feature-icon-svg {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    color: var(--primary-green);
}

.feature-icon-svg svg {
    width: 100%;
    height: 100%;
}

.feature-item h3 {
    font-size: 1.3rem;
    color: var(--white);
    margin-bottom: 1rem;
}

.feature-item p {
    color: var(--light-gray);
    line-height: 1.7;
}

/* ===== Contact Section ===== */
.contact-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #0f2942 0%, var(--primary-green) 100%);
    position: relative;
    overflow: hidden;
}

.tech-background-contact {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
}

.contact-content-simple {
    position: relative;
    z-index: 2;
}

.contact-info-center {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    flex-wrap: wrap;
    margin-top: 3rem;
}

.contact-item-large {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 3rem 4rem;
    border-radius: 16px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    width: 400px;
    min-height: 280px;
}

.contact-item-large:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--white);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.contact-icon-large {
    width: 80px;
    height: 80px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.contact-icon-large svg {
    width: 40px;
    height: 40px;
    color: var(--primary-green);
}

.contact-details-large h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--white);
    font-weight: 700;
}

.contact-details-large p {
    font-size: 1.1rem;
    color: var(--white);
    line-height: 1.8;
}

.contact-details-large a {
    font-size: 1.2rem;
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.contact-details-large a:hover {
    color: var(--accent-green);
    text-decoration: underline;
}

/* ===== Footer ===== */
.footer {
    background: var(--darker-navy);
    padding: 3rem 0;
    border-top: 1px solid rgba(16, 185, 129, 0.2);
}

.footer-content {
    text-align: center;
}

.footer-logo img {
    height: 50px;
    margin-bottom: 1rem;
}

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

/* ===== Mobile Responsive ===== */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: linear-gradient(135deg, #0a1929 0%, #0f2942 50%, #1a4d7a 100%);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.5);
        padding: 2rem 0;
        gap: 0;
    }

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

    .nav-menu li {
        margin: 1rem 0;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-features {
        gap: 2rem;
    }

    .feature-number {
        font-size: 2rem;
    }

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

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

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

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

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

    .contact-item-large {
        min-width: auto;
        width: 100%;
        max-width: 400px;
        padding: 2rem;
    }

    .service-card {
        padding: 2rem;
    }

    .floating-shapes {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-badge {
        font-size: 0.8rem;
        padding: 8px 16px;
    }

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

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

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

    .contact-icon-large {
        width: 60px;
        height: 60px;
    }

    .contact-icon-large svg {
        width: 30px;
        height: 30px;
    }
}
