/* ==========================================================================
   assets/css/style.css
   Corporate Color System & Component Definitions (7figures.pk & EvoSphere Mix)
   ========================================================================== */

:root {
    /* Exact 7figures.pk Dark Fluid Space Canvas & Branding Accent Blue Palette */
    --color-bg-deep: #070b14;
    --color-bg-card: #0d1424;
    --color-bg-nav-glass: rgba(255, 255, 255, 0.98);
    
    /* Logo / Screenshot Alignment Colors */
    --color-brand-blue: #2563eb; 
    --color-brand-blue-hover: #1d4ed8;
    --color-brand-blue-alpha: rgba(37, 99, 235, 0.08);
    
    /* Typography Elements Layout */
    --color-text-white: #ffffff;
    --color-text-silver: #b0b7c3;
    --color-text-dark-menu: #0f172a;
    --color-text-dark-muted: #64748b;
    
    --font-stack: 'Plus Jakarta Sans', sans-serif;
    --transition-standard: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    --radius-pill: 100px;
    --radius-card: 16px;
    --container-width: 1200px;
}

/* Base Level Styles & Clean System Resets */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-stack);
    background-color: var(--color-bg-deep);
    color: var(--color-text-white);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-standard);
}

ul {
    list-style: none;
}

/* Base Structural Grid & Layout Utilities */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.grid {
    display: grid;
    gap: 30px;
}

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

.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.flex { display: flex; }
.items-end { align-items: flex-end; }
.text-center { text-align: center; }

/* Global Typography Elements Layout */
.section-badge {
    display: inline-block;
    color: var(--color-brand-blue);
    text-transform: uppercase;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.section-title {
    font-size: 2.6rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.section-desc {
    color: var(--color-text-silver);
    max-width: 580px;
    margin: 0 auto 50px auto;
}

/* Premium Precision Structural Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 14px 28px;
    border-radius: var(--radius-pill);
    transition: var(--transition-standard);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--color-brand-blue);
    color: var(--color-text-white);
}

.btn-primary:hover {
    background-color: var(--color-brand-blue-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.35);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--color-text-white);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--color-brand-blue);
    border: 2px solid var(--color-brand-blue);
}

.btn-outline:hover {
    background: var(--color-brand-blue);
    color: var(--color-text-white);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1rem;
}

.btn-block { width: 100%; }

/* ==========================================================================
   Header Navbar Component Style (Matching Uploaded Screenshot Pattern)
   ========================================================================== */
.site-header {
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 48px);
    max-width: var(--container-width);
    z-index: 1000;
    transition: var(--transition-standard);
    background: var(--color-bg-nav-glass);
    padding: 12px 24px;
    border-radius: var(--radius-pill);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* Smooth Transformation on Scroll Actions */
.site-header.scrolled {
    top: 0;
    width: 100%;
    max-width: 100%;
    border-radius: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Branding Alignment Typography Matrix */
.logo {
    font-size: 1.6rem;
    font-weight: 800;
    color: #111111; /* Clean High Contrast Dark Color */
    letter-spacing: -0.5px;
}

.logo-accent {
    color: var(--color-brand-blue);
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-link {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--color-text-dark-menu);
    padding: 6px 0;
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-link:hover, .nav-link.active {
    color: var(--color-brand-blue);
}

/* Professional Nested Sub-Menus Layout Rules */
.dropdown { position: relative; }

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(12px);
    background: #ffffff;
    border-radius: 12px;
    min-width: 220px;
    padding: 10px 0;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: var(--transition-standard);
}

.dropdown-menu a {
    display: block;
    padding: 10px 20px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-text-dark-menu);
}

.dropdown-menu a:hover {
    background-color: var(--color-brand-blue-alpha);
    color: var(--color-brand-blue);
}

@media (min-width: 993px) {
    .dropdown:hover .dropdown-menu {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateX(-50%) translateY(0);
    }
}

.dropdown-icon { transition: var(--transition-standard); color: var(--color-text-dark-menu); }
.dropdown:hover .dropdown-icon { transform: rotate(180deg); color: var(--color-brand-blue); }

.mobile-toggle { display: none; }

/* ==========================================================================
   Fluid Background Mesh Animation System (7figures.pk Inspired Layout)
   ========================================================================== */
.hero-section {
    position: relative;
    padding: 220px 0 140px 0;
    overflow: hidden;
}

.animated-mesh-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: -1;
    background: radial-gradient(circle at 50% 50%, #0c1322 0%, var(--color-bg-deep) 100%);
}

.mesh-node {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.22;
    animation: floatNode 18s infinite alternate ease-in-out;
}

.node-1 { width: 450px; height: 450px; background: var(--color-brand-blue); top: -10%; right: 5%; }
.node-2 { width: 350px; height: 350px; background: #3b82f6; bottom: -5%; left: 10%; animation-delay: -4s; }
.node-3 { width: 280px; height: 280px; background: #1d4ed8; top: 40%; left: 45%; animation-delay: -8s; }

@keyframes floatNode {
    0% { transform: translateY(0) scale(1); }
    100% { transform: translateY(40px) scale(1.15); }
}

.grid-overlay-lines {
    position: absolute;
    width: 100%; height: 100%;
    top: 0; left: 0;
    background-image: linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
    background-size: 50px 50px;
}

/* Hero Content & Abstract UI Component Display */
.hero-content {
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
}

.badge-tag {
    display: inline-block;
    padding: 6px 18px;
    background: rgba(37, 99, 235, 0.12);
    border: 1px solid rgba(37, 99, 235, 0.25);
    color: #5182f6;
    border-radius: var(--radius-pill);
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 24px;
    letter-spacing: 1.5px;
}

.hero-title {
    font-size: 4.2rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1.5px;
    margin-bottom: 28px;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--color-text-silver);
    margin-bottom: 40px;
    max-width: 680px;
    margin-left: auto; margin-right: auto;
}

.hero-actions { display: flex; justify-content: center; gap: 16px; margin-bottom: 60px;}

/* Interactive Abstract Wireframe Window Dashboard */
.hero-interactive-dashboard {
    max-width: 900px;
    margin: 0 auto;
    background: rgba(13, 20, 36, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 16px;
    backdrop-filter: blur(8px);
}

.wireframe-header {
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding-bottom: 12px;
    margin-bottom: 20px;
}

.wireframe-header .dot {
    width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.2);
}

.wireframe-address-bar {
    background: rgba(0,0,0,0.2);
    padding: 4px 16px; border-radius: 6px;
    font-size: 0.75rem; color: var(--color-text-silver);
    margin-left: 12px; width: 100%; max-width: 320px;
}

.wireframe-body-visual {
    height: 180px; background: rgba(0,0,0,0.15);
    border-radius: 6px; position: relative;
    padding: 30px; display: flex; flex-direction: column; gap: 16px;
    overflow: hidden;
}

.visual-bar {
    height: 12px; background: rgba(37, 99, 235, 0.2); border-radius: 4px;
}
.bar-75 { width: 75%; background: var(--color-brand-blue); }
.bar-90 { width: 90%; }
.bar-60 { width: 60%; }

.animated-pulse-line {
    position: absolute; top: 0; left: -100%; width: 50%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.05), transparent);
    animation: speedPulse 3s infinite linear;
}

@keyframes speedPulse {
    0% { left: -100%; }
    100% { left: 200%; }
}

/* ==========================================================================
   Services Grid Elements Layout
   ========================================================================== */
.services-preview-section {
    padding: 100px 0;
    background: var(--color-bg-card);
}

.service-card {
    background: var(--color-bg-deep);
    border: 1px solid rgba(255, 255, 255, 0.04);
    padding: 40px;
    border-radius: var(--radius-card);
    transition: var(--transition-standard);
}

.service-card:hover {
    transform: translateY(-6px);
    border-color: rgba(37, 99, 235, 0.3);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

.card-icon-wrapper {
    width: 52px; height: 52px;
    background: rgba(37, 99, 235, 0.1);
    color: var(--color-brand-blue);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 24px;
}

.service-card h3 { font-size: 1.35rem; margin-bottom: 12px; font-weight: 700; }
.service-card p { color: var(--color-text-silver); font-size: 0.95rem; margin-bottom: 20px; }
.card-link { font-weight: 700; color: var(--color-brand-blue); font-size: 0.9rem; }
.card-link span { transition: var(--transition-standard); display: inline-block; }
.service-card:hover .card-link span { transform: translateX(5px); }

/* ==========================================================================
   Abstract Spinning Orbit Atom Component (About Section Canvas Visual)
   ========================================================================== */
.about-preview-section { padding: 120px 0; }
.about-visual-canvas {
    display: flex; justify-content: center; align-items: center; height: 350px;
    position: relative;
}

.abstract-spinning-atom-wrapper {
    position: relative; width: 240px; height: 240px;
}

.atom-orbit {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    border: 2px solid rgba(37, 99, 235, 0.15);
    border-radius: 50%;
}

.orbit-x {
    transform: rotateX(75deg) rotateY(15deg);
    animation: rotateOrbitX 8s infinite linear;
    border-top-color: var(--color-brand-blue);
}

.orbit-y {
    transform: rotateX(15deg) rotateY(75deg);
    animation: rotateOrbitY 8s infinite linear;
    border-right-color: var(--color-brand-blue);
}

.atom-core {
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 24px; height: 24px;
    background: var(--color-brand-blue);
    border-radius: 50%;
    box-shadow: 0 0 20px var(--color-brand-blue);
}

@keyframes rotateOrbitX {
    0% { transform: rotateX(75deg) rotateY(15deg) rotateZ(0deg); }
    100% { transform: rotateX(75deg) rotateY(15deg) rotateZ(360deg); }
}

@keyframes rotateOrbitY {
    0% { transform: rotateX(15deg) rotateY(75deg) rotateZ(0deg); }
    100% { transform: rotateX(15deg) rotateY(75deg) rotateZ(360deg); }
}

.counter-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 20px; margin-top: 36px;
    border-top: 1px solid rgba(255,255,255,0.08); padding-top: 28px;
}
.counter-num { font-size: 2.2rem; font-weight: 800; color: #ffffff; }
.counter-label { color: var(--color-text-silver); font-size: 0.9rem; }

/* ==========================================================================
   Additional Structural Page Blocks
   ========================================================================== */
.features-section { padding: 100px 0; background: var(--color-bg-card); }
.feature-box {
    background: var(--color-bg-deep); padding: 30px; border-radius: 8px;
    border-top: 3px solid var(--color-brand-blue);
}
.feature-num { display: block; color: var(--color-brand-blue); font-weight: 700; margin-bottom: 8px; }
.feature-box h3 { font-size: 1.2rem; margin-bottom: 8px; }
.feature-box p { color: var(--color-text-silver); font-size: 0.9rem; }

.portfolio-preview-section { padding: 120px 0; }
.portfolio-header { margin-bottom: 44px; }
.portfolio-img-container {
    position: relative; height: 360px; border-radius: var(--radius-card); overflow: hidden;
}
.portfolio-gradient-canvas { width: 100%; height: 100%; transition: var(--transition-standard); }
.asset-alpha { background: linear-gradient(135deg, #1e3a8a, #0d1424); }
.asset-beta { background: linear-gradient(135deg, #0f172a, #2563eb); }
.portfolio-overlay {
    position: absolute; bottom: 0; left: 0; width: 100%; padding: 32px;
    background: linear-gradient(to top, rgba(7,11,20,1), transparent);
}
.portfolio-card:hover .portfolio-gradient-canvas { transform: scale(1.03); }

.testimonials-section { padding: 100px 0; background: var(--color-bg-card); }
.testimonial-card { background: var(--color-bg-deep); padding: 32px; border-radius: 12px; }
.stars { color: #f59e0b; margin-bottom: 16px; }
.testimonial-quote { color: var(--color-text-silver); font-style: italic; margin-bottom: 20px; font-size: 0.95rem; }

.cta-section { padding: 60px 0; }
.cta-container {
    background: linear-gradient(135deg, var(--color-brand-blue), #1d4ed8);
    border-radius: var(--radius-card); padding: 70px 30px; text-align: center;
}
.cta-inner-content h2 { font-size: 2.5rem; font-weight: 800; margin-bottom: 12px; }
.cta-inner-content p { max-width: 550px; margin: 0 auto 32px auto; color: rgba(255,255,255,0.9); }
.cta-inner-content .btn-primary { background: #ffffff; color: var(--color-brand-blue); }

.contact-preview-section { padding: 120px 0; }
.preview-form { background: var(--color-bg-card); padding: 36px; border-radius: 12px; }
.form-group { margin-bottom: 16px; }
.form-control {
    width: 100%; background: var(--color-bg-deep); border: 1px solid rgba(255,255,255,0.08);
    padding: 14px; border-radius: 6px; color: #ffffff; font-family: var(--font-stack); outline: none;
}
.form-control:focus { border-color: var(--color-brand-blue); }
.mb-4 { margin-bottom: 24px; }
.contact-quick-info li { margin-bottom: 12px; }
.contact-quick-info strong { display: block; color: var(--color-brand-blue); font-size: 0.8rem; }

/* ==========================================================================
   Premium Footer System Style (Matching Uploaded Dark Layout Blueprint)
   ========================================================================== */
.site-footer {
    background-color: #070b14; /* Deep Premium Dark Alignment Match */
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 80px 0 0 0;
}

.footer-main-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 50px;
}

.footer-logo {
    font-size: 2rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 20px;
    display: inline-block;
}

.footer-tagline {
    color: var(--color-text-silver);
    font-size: 0.95rem;
    margin-bottom: 24px;
    max-width: 360px;
}

/* System Circular Icons Configuration Matrix */
.social-links {
    display: flex;
    gap: 12px;
}

.social-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    transition: var(--transition-standard);
}

/* Precise Hex Brand Palette Color Match Settings */
.social-icon.icon-fb { background-color: #3b5998; }
.social-icon.icon-ig { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.social-icon.icon-yt { background-color: #ff0000; }
.social-icon.icon-in { background-color: #0077b5; }
.social-icon.icon-tt { background-color: #000000; border: 1px solid rgba(255,255,255,0.1); }

.social-icon:hover {
    transform: translateY(-3px);
    filter: brightness(1.15);
}

.footer-col h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 24px;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--color-text-silver);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: #ffffff;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 30px 0;
    text-align: center;
}

.footer-bottom-flex {
    color: var(--color-text-silver);
    font-size: 0.9rem;
}