/* --- GLOBAL SYSTEM CONFIGURATIONS --- */
:root {
    --bg-main: #060b16;
    --bg-surface: #0b1325;
    --text-primary: #ffffff;
    --text-secondary: #94a3b8;
    --accent-cyan: #00f2fe;
    --accent-blue: #4facfe;
    --accent-orange: #f97316;
    --border-color: rgba(255, 255, 255, 0.06);
    --gradient-primary: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-blue) 100%);
    --max-width: 1200px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

/* --- BACKGROUND CANVAS --- */
#particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    pointer-events: none;
    z-index: 1;
    display: block;
}

main {
    position: relative;
    z-index: 2;
    background: transparent;
}

/* --- HEADER & NAVIGATION BAR --- */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(6, 11, 22, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
}

header::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--gradient-primary);
    opacity: 0.3;
}

.navbar {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.company-logo {
    height: 40px;
    width: 40px;
    object-fit: cover;
    border-radius: 50%;
    border: 1px solid rgba(0, 242, 254, 0.3);
}

.logo-text {
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: #ffffff;
    text-shadow: 0 0 10px rgba(0, 242, 254, 0.4);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.nav-links a:hover, 
.nav-links a.active {
    color: var(--accent-cyan);
}

/* --- BUTTON LAYOUT PACKAGES --- */
.btn-cta {
    background: var(--gradient-primary);
    color: #03060d !important;
    text-decoration: none;
    padding: 12px 26px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    display: inline-block;
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 242, 254, 0.4);
}

.btn-secondary {
    border: 1px solid var(--border-color);
    color: var(--text-primary) !important;
    text-decoration: none;
    padding: 12px 26px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-secondary:hover {
    border-color: var(--accent-cyan);
    background: rgba(0, 242, 254, 0.08);
    transform: translateY(-2px);
}

/* --- HERO SECTION --- */
.hero-section {
    background: linear-gradient(
        to bottom, 
        rgba(6, 11, 22, 0.82) 0%, 
        rgba(6, 11, 22, 0.92) 100%
    ), url('../assets/homebg.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    padding: 180px 20px 60px 20px;
    text-align: center;
    position: relative;
    border-bottom: 1px solid var(--border-color);
}

.hero-container {
    max-width: 850px;
    margin: 0 auto;
}

.hero-company-name {
    color: var(--accent-cyan);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 10px;
    text-transform: uppercase;
    display: block;
}

.hero-tagline {
    color: var(--accent-orange);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 0.85rem;
    margin-bottom: 20px;
    display: inline-block;
}

.hero-container h1 {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
    color: #ffffff;
}

.hero-container h1 span {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-container p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    font-weight: 400;
    line-height: 1.7;
    margin-bottom: 35px;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* --- SECTIONS & CORE GRID --- */
section {
    padding: 80px 20px;
}

.services-section {
    padding-top: 50px;
}

.section-title-wrapper {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px auto;
}

.section-title-wrapper h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #ffffff;
}

.accent-line {
    width: 50px;
    height: 3px;
    background: var(--gradient-primary);
    margin: 0 auto 16px auto;
    border-radius: 2px;
}

.section-title-wrapper p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
}

.services-grid-twin {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.service-list-col {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    padding: 35px;
    border-radius: 16px;
    transition: all 0.3s ease;
    height: 100%;
}

.service-list-col:hover {
    border-color: rgba(0, 242, 254, 0.35);
    box-shadow: 0 10px 30px rgba(6, 11, 22, 0.5);
}

.col-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.col-header h2 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #ffffff;
}

.accent-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.accent-list li {
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
}

.icon-arrow {
    color: var(--accent-cyan);
    font-weight: bold;
}

/* --- VECTOR ICON ENGINE --- */
.feature-vector-icon {
    font-size: 1.5rem !important;
    color: var(--accent-cyan) !important;
    text-shadow: 0 0 10px rgba(0, 242, 254, 0.4);
    display: inline-block;
    transition: transform 0.3s ease, color 0.3s ease;
}

.service-list-col:hover .feature-vector-icon {
    color: #ffffff !important;
    transform: scale(1.1);
}

/* --- ABOUT US SECTION --- */
.value-section {
    background-color: rgba(11, 19, 37, 0.3);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.value-container {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
}

.value-text h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #ffffff;
}

.about-narrative {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 25px;
}

.value-points-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.v-point h4 {
    font-size: 1.05rem;
    color: var(--accent-cyan);
    font-weight: 600;
    margin-bottom: 4px;
}

.v-point p {
    font-size: 0.92rem;
    color: var(--text-secondary);
}

.value-highlight-box {
    background: rgba(11, 19, 37, 0.8);
    border: 1px solid var(--border-color);
    padding: 35px 30px;
    border-radius: 16px;
    text-align: center;
}

.value-highlight-box h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    font-weight: 600;
    color: #ffffff;
}

.value-highlight-box p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-size: 0.92rem;
}

/* --- WHY CHOOSE WE33RAS SECTION --- */
.why-choose-section {
    padding: 80px 20px;
    background: rgba(11, 19, 37, 0.2);
}

.why-grid {
    max-width: var(--max-width);
    margin: 0 auto 40px auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.why-card {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    padding: 30px 25px;
    border-radius: 16px;
    transition: all 0.3s ease;
}

.why-card:hover {
    border-color: var(--accent-cyan);
    transform: translateY(-4px);
}

.why-icon {
    font-size: 2rem;
    color: var(--accent-cyan);
    margin-bottom: 16px;
}

.why-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #ffffff;
}

.why-card p {
    color: var(--text-secondary);
    font-size: 0.93rem;
    line-height: 1.6;
}

.why-card-wide {
    grid-column: span 3;
    text-align: center;
}

.why-closing-box {
    max-width: 900px;
    margin: 0 auto;
    background: rgba(6, 11, 22, 0.8);
    border: 1px solid var(--border-color);
    padding: 35px;
    border-radius: 16px;
    text-align: center;
}

.why-closing-box p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

/* --- ANIMATED STATS COUNTER SECTION --- */
.stats-counter-section {
    background: linear-gradient(rgba(6, 11, 22, 0.90), rgba(6, 11, 22, 0.90)), url('../assets/homebg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 70px 20px;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.stats-4col-container {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-counter-card {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.counter-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1;
    margin-bottom: 12px;
    font-family: system-ui, sans-serif;
}

.counter-icon-box {
    margin-bottom: 12px;
}

.white-icon {
    font-size: 2rem;
    color: var(--accent-orange);
}

.counter-label {
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

/* --- PROCESS PIPELINE SECTION --- */
.process-section {
    padding: 80px 20px;
}

.process-pipeline {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.process-step {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 140px;
}

.process-card {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 25px 12px;
    text-align: center;
    width: 100%;
    transition: all 0.3s ease;
}

.process-card:hover {
    border-color: var(--accent-orange);
    transform: translateY(-3px);
}

.white-vector-box {
    width: 50px;
    height: 50px;
    border: 1px solid #ffffff;
    border-radius: 8px;
    margin: 0 auto 15px auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.white-vector {
    color: #ffffff !important;
    font-size: 1.3rem;
}

.process-card h4 {
    color: var(--accent-orange);
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.process-card p {
    color: var(--text-secondary);
    font-size: 0.8rem;
    line-height: 1.4;
}

.step-arrow {
    color: var(--accent-orange);
    font-size: 1.2rem;
}

/* --- FOOTER GRID SYSTEM --- */
.footer-section {
    background-color: #03060d;
    border-top: 1px solid var(--border-color);
    padding: 70px 20px 30px 20px;
    position: relative;
    z-index: 2;
    width: 100%;
}

.footer-container {
    max-width: var(--max-width);
    margin: 0 auto 40px auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.2fr;
    gap: 40px;
    text-align: left;
}

.footer-brand-column h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 4px;
}

.brand-tagline {
    color: var(--accent-cyan);
    font-size: 0.85rem;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: 1px;
}

.footer-description {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.6;
}

.footer-links-column h4,
.footer-contact-column h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
}

.footer-links-column ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links-column a,
.footer-email-link {
    color: var(--accent-cyan) !important;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease, padding-left 0.3s ease;
    display: inline-block;
}

.footer-links-column a:hover,
.footer-email-link:hover {
    color: #ffffff !important;
    padding-left: 4px;
}

.footer-contact-column p {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.7;
    margin-bottom: 12px;
}

.footer-contact-column strong {
    color: #ffffff;
}

.footer-bottom-bar {
    max-width: var(--max-width);
    margin: 0 auto;
    padding-top: 25px;
    border-top: 1px solid var(--border-color);
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.85rem;
}

/* --- MOBILE HAMBURGER & BREAKPOINTS --- */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.menu-toggle .bar {
    width: 100%;
    height: 2px;
    background-color: var(--text-primary);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (max-width: 992px) {
    .menu-toggle { 
        display: flex; 
        position: relative;
        z-index: 1010 !important; 
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background-color: rgba(11, 19, 37, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        padding: 120px 30px;
        display: flex;
        flex-direction: column;
        gap: 30px;
        transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1005; 
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    }
    
    .nav-menu.active { right: 0; }
    
    .menu-toggle.active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .menu-toggle.active .bar:nth-child(2) { opacity: 0; }
    .menu-toggle.active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
    
    .nav-links { flex-direction: column; gap: 20px; }
    .hero-container h1 { font-size: 2.2rem; }
    
    .services-grid-twin, 
    .value-container, 
    .footer-container { grid-template-columns: 1fr; gap: 30px; }
    
    .why-grid { grid-template-columns: repeat(2, 1fr); }
    .why-card-wide { grid-column: span 2; }
    .stats-4col-container { grid-template-columns: repeat(2, 1fr); gap: 40px; }
    .process-pipeline { flex-direction: column; gap: 20px; }
    .process-step { width: 100%; }
    .step-arrow { transform: rotate(90deg); margin: 0 auto; }
}

@media (max-width: 576px) {
    .why-grid { grid-template-columns: 1fr; }
    .why-card-wide { grid-column: span 1; }
    .stats-4col-container { grid-template-columns: 1fr; }
}