/* CSS Variables */
:root {
    --bg-color: #0b0f19;
    --surface-color: #151b2b;
    --surface-hover: #1e2538;
    --primary-color: #3b82f6;
    /* Electric Blue */
    --secondary-color: #06b6d4;
    /* Cyan */
    --accent-color: #6366f1;
    /* Indigo */
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --border-color: #1e293b;
    --gradient-main: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    color: #fff;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s ease;
}

ul {
    list-style: none;
}

section {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Utility Classes */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-gradient {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background: var(--gradient-main);
    color: #fff;
    box-shadow: 0 4px 15px rgba(6, 182, 212, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(6, 182, 212, 0.4);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background: rgba(59, 130, 246, 0.1);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(11, 15, 25, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    font-family: 'Space Grotesk', sans-serif;
    letter-spacing: -0.02em;
}

.logo span {
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
#hero {
    min-height: 100vh;
    display: flex;
    max-width: 100%;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding-top: 100px;
    overflow: hidden;
    /* Background moved to .hero-bg-animation for Ken Burns effect */
}

.hero-bg-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(11, 15, 25, 0.7), rgba(11, 15, 25, 0.8)), url('assets/images/hero.png');
    background-size: cover;
    background-position: center;
    z-index: -2;
    animation: kenburns 20s infinite alternate;
}

@keyframes kenburns {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.15);
    }
}

/* Background Graphics for Hero */
#hero::before {
    content: '';
    position: absolute;
    top: -20%;
    left: -10%;
    width: 50%;
    height: 50%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.2) 0%, rgba(11, 15, 25, 0) 70%);
    z-index: -1;
    filter: blur(80px);
}

#hero::after {
    content: '';
    position: absolute;
    bottom: -20%;
    right: -10%;
    width: 50%;
    height: 50%;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.15) 0%, rgba(11, 15, 25, 0) 70%);
    z-index: -1;
    filter: blur(80px);
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 40px;
}

.cta-group {
    display: flex !important;
    justify-content: center !important;
    gap: 15px !important;
    flex-wrap: wrap !important;
}

/* About Section */
#about {
    background-color: var(--surface-color);
    border-radius: 20px;
    margin: 40px auto;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.mission-vision {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.mv-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 30px;
    border-radius: 12px;
    border-left: 3px solid var(--primary-color);
}

.mv-card h3 {
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.mv-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--surface-color);
    padding: 40px 30px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    background: var(--surface-hover);
}

.service-icon img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 20px;
    border-radius: 10px;
    /* Blend mode to hide black background */
    mix-blend-mode: screen;
    filter: drop-shadow(0 0 15px rgba(6, 182, 212, 0.3));
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon img {
    transform: scale(1.1) rotate(5deg);
}

.service-card h3 {
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.service-card p {
    color: var(--text-secondary);
    font-size: 1rem;
}

/* Refined Target & Why Us */
#target {
    background: rgba(11, 15, 25, 0.5);
    /* Transparent to let bg flow */
}

.features-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

/* Glassmorphism Card Style for Sections */
.feature-block {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 40px;
    transition: transform 0.3s ease;
}

.feature-block:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.feature-block h3 {
    margin-bottom: 25px;
    font-size: 1.8rem;
    color: #fff;
    border-bottom: 2px solid var(--secondary-color);
    display: inline-block;
    padding-bottom: 10px;
}

/* Checkmark Styling */
.feature-list li {
    position: relative;
    padding-left: 35px;
    margin-bottom: 18px;
    color: var(--text-primary);
    font-size: 1.05rem;
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 2px;
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    color: #fff;
    font-size: 12px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

/* Footer Evolve Logo */
.evolve-link img {
    height: 50px;
    margin-top: 10px;
    transition: opacity 0.3s ease;
}

.evolve-link img:hover {
    opacity: 0.8;
}

/* Footer Icons (using text alternatives or simple shapes for now if FA not available, but user asked for improvements. 
           Using simple SVG embedding for high quality) */
.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    /* Slightly more space */
    color: var(--text-secondary);
}

.contact-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Removed background circle for cleaner look, just the icon */
    color: var(--primary-color);
}

.contact-icon svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* Footer Flex Layout */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

@media (max-width: 768px) {
    .features-wrapper {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

/* Tech & Team */
.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
}

.tech-tag {
    background: rgba(255, 255, 255, 0.05);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Contact / Footer */
footer {
    background: var(--surface-color);
    padding: 60px 20px 20px;
    /* Reduced bottom padding */
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-col h4 {
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.contact-info p {
    margin-bottom: 10px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.copyright {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 60px auto 0;
    /* Centered with top margin */
    max-width: 1200px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: rgba(11, 15, 25, 0.95);
        backdrop-filter: blur(10px);
        padding: 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        gap: 20px;
        text-align: center;
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: block;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {

    /* ... existing styles ... */
    .cta-group {
        flex-direction: column !important;
        align-items: center !important;
        gap: 20px !important;
        /* Slightly larger gap for touch targets */
    }

    .btn {
        width: 100% !important;
        /* Optional: make buttons full width or just consistent width */
        max-width: 250px !important;
        /* Don't let them get too wide */
    }
}