@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
    /* Neon Brand Colors */
    --google-blue: #2979FF;
    /* Bright Neon Blue */
    --google-red: #FF1744;
    /* Bright Neon Red */
    --google-yellow: #FFEA00;
    /* Bright Neon Yellow */
    --google-green: #00E676;
    /* Bright Neon Green */

    /* Neon Gradients for Text/Borders */
    --grad-blue: linear-gradient(135deg, #2979FF, #00B0FF);
    --grad-red: linear-gradient(135deg, #FF1744, #FF5252);
    --grad-yellow: linear-gradient(135deg, #FFEA00, #FFD600);
    --grad-green: linear-gradient(135deg, #00E676, #69F0AE);

    /* Dark Mode Theme Gradients */
    --bg-body: linear-gradient(180deg, #0F1012 0%, #17181C 100%);
    --bg-surface: linear-gradient(145deg, #1E1F23, #151619);
    /* Subtle card gradient */
    --bg-header: rgba(22, 24, 28, 0.9);
    /* Slightly lighter dark header for better contrast */

    --text-primary: #FFFFFF;
    --text-secondary: #B0B3B8;

    --border-color: #3C4043;
    --white: #202124;

    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text-primary);
    background: var(--bg-body);
    /* Gradient Background */
    background-attachment: fixed;
    /* Parallax-like effect */
    line-height: 1.5;
    min-height: 100vh;
}

#particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    /* Changed from -1 to 0 to sit above body background */
    pointer-events: none;
}

/* Ensure content sits above particles */
header,
main,
footer {
    position: relative;
    z-index: 1;
}

/* Layout Containers */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

section {
    padding: 100px 0;
}

/* Header & Nav */
header {
    height: 80px;
    display: flex;
    justify-content: center;
    /* Centers the inner nav */
    align-items: center;
    position: sticky;
    top: 0;
    background: var(--bg-header);
    backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

header.scrolled {
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

nav {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 1440px;
    padding: 0 40px;
    box-sizing: border-box;
    position: relative;
    /* For absolute centering of links */
}

.logo {
    display: flex;
    align-items: center;
    gap: 0px;
    font-family: 'Product Sans', 'Outfit', sans-serif;
    font-size: 28px;
    color: var(--text-primary);
    text-decoration: none;
    z-index: 2;
    letter-spacing: -0.5px;
}

.logo .text-ora {
    font-weight: 300;
    /* Light */
}

.logo .text-tech {
    font-weight: 800;
    /* Extra Bold */
}

.logo span {
    color: inherit;
}

/* Perfectly Centered Nav Links */
.nav-links {
    display: flex;
    gap: 48px;
    align-items: center;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 16px;
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: var(--google-blue);
}

.nav-actions {
    margin-left: auto;
    /* Pushes to far right */
    display: flex;
    align-items: center;
    gap: 24px;
    z-index: 2;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--google-blue);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #1a73e8;
    box-shadow: 0 1px 3px 0 rgba(60, 64, 67, 0.302), 0 4px 8px 3px rgba(60, 64, 67, 0.149);
}

.btn-outline {
    border: 1px solid var(--border-color);
    color: var(--google-blue);
    background: transparent;
}

.btn-outline:hover {
    background: var(--bg-light);
    border-color: var(--google-blue);
}

/* Hero Section - Centered Layout */
.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: calc(85vh - 72px);
    gap: 20px;
    padding: 80px 24px;
    background: var(--bg-body);
    /* Dark background */
}

.hero-content {
    max-width: 1000px;
    margin: 0 auto;
}

.hero-brand-name {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--text-primary);
    /* Update hardcoded black */
}

.hero-content h1 {
    font-size: 84px;
    font-weight: 700;
    line-height: 1.05;
    margin-bottom: 32px;
    color: var(--text-primary);
    letter-spacing: -2px;
}

.hero-content h1 span.gradient-text {
    background: linear-gradient(90.13deg, #4285F4 0.11%, #4285F4 20%, #EA4335 40%, #FBBC04 60%, #34A853 80%, #4285F4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.hero-content p {
    font-size: 22px;
    color: var(--text-secondary);
    margin: 0 auto 48px;
    max-width: 800px;
}

.cta-group {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.btn-pill {
    padding: 16px 40px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 20px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--grad-blue);
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.btn-pill:hover {
    box-shadow: 0 4px 12px rgba(66, 133, 244, 0.3);
    transform: translateY(-2px);
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.service-card {
    background: rgba(255, 255, 255, 0.03);
    /* Extremely transparent */
    padding: 40px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    /* Barely visible border */
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(800px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.06), transparent 40%);
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
    z-index: 1;
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--theme-color);
    box-shadow:
        0 0 20px -5px var(--theme-color),
        0 20px 40px -10px rgba(0, 0, 0, 0.5),
        inset 0 0 0 1px var(--theme-color-dim);
}

.service-card .icon {
    width: 56px;
    height: 56px;
    margin-bottom: 24px;
    filter: drop-shadow(0 0 5px var(--theme-color));
    transition: transform 0.3s ease;
    padding: 10px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
}

.service-card:hover .icon {
    transform: scale(1.1) rotate(5deg);
    background: var(--theme-color-dim);
    filter: drop-shadow(0 0 15px var(--theme-color));
}

.service-card h3 {
    font-size: 24px;
    margin-bottom: 12px;
    font-weight: 700;
}

.service-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 15px;
}

/* CTA Section */
.cta-box {
    background: var(--bg-surface);
    /* Dark surface color */
    padding: 80px 40px;
    border-radius: 32px;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    /* Subtle border */
    text-align: center;
}

/* Colors for cards */
/* Futuristic Card Themes */
.card-blue {
    --theme-color: #2979FF;
    --theme-color-dim: rgba(41, 121, 255, 0.1);
}

.card-red {
    --theme-color: #FF1744;
    --theme-color-dim: rgba(255, 23, 68, 0.1);
}

.card-yellow {
    --theme-color: #FFEA00;
    --theme-color-dim: rgba(255, 234, 0, 0.1);
}

.card-green {
    --theme-color: #00E676;
    --theme-color-dim: rgba(0, 230, 118, 0.1);
}

/* About Section */
/* About Section */
.about-box {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 40px;
    padding: 100px 60px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.5);
}

.about-box::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(41, 121, 255, 0.08) 0%, transparent 50%);
    animation: rotate 20s linear infinite;
    z-index: -1;
    pointer-events: none;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.about-content h2 {
    font-size: 56px;
    margin-bottom: 32px;
    letter-spacing: -1px;
    font-weight: 700;
}

.about-content p {
    font-size: 20px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 32px;
}

/* Footer */
footer {
    background: var(--bg-surface);
    /* Dark surface */
    padding: 60px 0 24px;
    border-top: 1px solid var(--border-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    text-decoration: none;
    color: var(--text-secondary);
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--text-primary);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
    color: var(--text-gray);
    font-size: 14px;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    cursor: pointer;
    z-index: 1002;
}

.line1,
.line2,
.line3 {
    width: 25px;
    height: 3px;
    background-color: var(--text-primary);
    margin: 5px;
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* Mobile Responsive */
@media (max-width: 1024px) {

    /* Tablet & Smaller Laptops */
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-content h1 {
        font-size: 56px;
    }
}

@media (max-width: 768px) {

    /* Mobile Devices */
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 100px;
        /* Space for fixed header */
        padding-bottom: 60px;
    }

    .hero-content h1 {
        font-size: 54px;
        /* Increased from 42px */
    }

    .hero-content p {
        margin: 0 auto 32px;
    }

    /* Stack Nav Links & Add simple mobile menu toggle logic if needed,
       but for now we'll just stack or scroll them */
    header .container {
        flex-direction: row;
        /* Keep header items in a row for hamburger */
        justify-content: space-between;
        /* Space out logo and hamburger */
        align-items: center;
        gap: 0;
        /* Remove gap */
    }

    .hamburger {
        display: block;
    }

    .nav-links {
        display: flex;
        position: absolute;
        right: 20px;
        top: 70px;
        /* Below header */
        width: 200px;
        background: rgba(15, 16, 18, 0.95);
        backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: center;
        border-radius: 12px;
        border: 1px solid var(--border-color);
        padding: 10px 0;
        /* Reduced from 20px */
        gap: 0;
        /* Ensure no flex gap */
        transform: translateY(-20px);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    }

    .nav-links.nav-active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-links a {
        opacity: 1;
        /* Reset logic */
        transform: none;
        font-size: 16px;
        margin: 0;
        /* Removed margin completely */
        width: 100%;
        text-align: center;
        padding: 8px 0;
        /* Good touch target, but no visual gap between items */
        border-radius: 4px;
        /* Optional hover effect radius */
    }

    .nav-links a:hover {
        background: rgba(255, 255, 255, 0.05);
    }

    .nav-links.nav-active a {
        transform: none;
    }

    /* Hamburger Toggle Animation */
    .toggle .line1 {
        transform: rotate(-45deg) translate(-5px, 6px);
        background-color: var(--google-red);
    }

    .toggle .line2 {
        opacity: 0;
    }

    .toggle .line3 {
        transform: rotate(45deg) translate(-5px, -6px);
        background-color: var(--google-blue);
    }

    /* Stack Services */
    .services-grid {
        grid-template-columns: 1fr;
    }

    /* About Section Mobile */
    .about-box {
        padding: 40px 24px;
    }

    .about-content h2 {
        font-size: 32px;
    }

    .about-content p {
        font-size: 16px;
    }

    /* Footer Mobile */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

/* Contact Popup Modal */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    z-index: 9999;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    justify-content: center;
    align-items: center;
}

.popup-overlay.active {
    display: flex;
    opacity: 1;
}

.popup-content {
    background: var(--bg-surface);
    padding: 40px;
    border-radius: 24px;
    width: 90%;
    max-width: 400px;
    text-align: center;
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.popup-overlay.active .popup-content {
    transform: scale(1);
}

.close-btn {
    position: absolute;
    top: 16px;
    right: 20px;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 32px;
    cursor: pointer;
    line-height: 1;
}

.close-btn:hover {
    color: var(--white);
}

.popup-content h3 {
    font-size: 28px;
    margin-bottom: 32px;
    color: var(--text-primary);
}

.btn-whatsapp {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: #25D366;
    color: white;
    padding: 16px 24px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    margin-bottom: 24px;
    transition: transform 0.2s;
}

.btn-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.contact-email-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: var(--text-primary);
    font-size: 16px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.contact-email-row a {
    color: var(--text-primary);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s;
}

.contact-email-row a:hover {
    border-color: var(--google-blue);
    color: var(--google-blue);
}