/* ------------------------------------------------------------------- */
/*  0. VARIABLES & RESET                                               */
/* ------------------------------------------------------------------- */
:root {
    /* Color Palette - Modern Industrial */
    --color-bg-dark: #0b0d10;         /* Deepest Black-Blue */
    --color-bg-card: #15191f;         /* Dark Slate */
    --color-bg-card-hover: #1c2129;   /* Lighter Slate */
    
    --color-primary: #00d289;         /* Vibrant Tech Green */
    --color-primary-dark: #00a86b;    /* Darker Green */
    --color-primary-glow: rgba(0, 210, 137, 0.25);
    
    --color-secondary: #3b82f6;       /* Tech Blue (Accents) */
    
    --color-text-main: #f3f4f6;       /* Off-White */
    --color-text-muted: #9ca3af;      /* Cool Gray */
    --color-text-dark: #111827;       /* Dark Text for light bgs if any */
    
    --color-border: rgba(255, 255, 255, 0.08);
    --color-border-hover: rgba(255, 255, 255, 0.15);

    /* Gradients */
    --gradient-hero: linear-gradient(180deg, rgba(11, 13, 16, 0.7) 0%, #0b0d10 100%);
    --gradient-surface: linear-gradient(145deg, rgba(255,255,255,0.03) 0%, transparent 100%);
    
    /* Spacing & Layout */
    --container-width: 1280px;
    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 16px;
    
    /* Typography */
    --font-heading: 'Manrope', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Shadows */
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 25px var(--color-primary-glow);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.6;
    color: var(--color-text-main);
    background-color: var(--color-bg-dark);
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    overflow-x: hidden;
}

/* ------------------------------------------------------------------- */
/*  1. TYPOGRAPHY & UTILITIES                                          */
/* ------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: #ffffff;
    font-weight: 700;
    line-height: 1.2;
}

h1 { font-size: 3.5rem; letter-spacing: -0.02em; }
h2 { font-size: 2.5rem; letter-spacing: -0.01em; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.25rem; }

p {
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}

ul { list-style: none; }

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

.highlight {
    color: var(--color-primary);
    position: relative;
    display: inline-block;
}

.section-tag {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-primary);
    margin-bottom: 1rem;
    background: rgba(0, 210, 137, 0.1);
    padding: 4px 12px;
    border-radius: 100px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 12px 28px;
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: 1px solid transparent;
}

.btn-primary {
    background: var(--color-primary);
    color: #000;
    border-color: var(--color-primary);
}

.btn-primary:hover {
    background: var(--color-primary-dark);
    border-color: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--color-primary-glow);
}

.btn-secondary {
    background: transparent;
    color: var(--color-text-main);
    border-color: rgba(255,255,255,0.2);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.05);
    border-color: var(--color-text-main);
}

.full-width {
    width: 100%;
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--color-primary);
    font-weight: 600;
    font-size: 1rem;
}

.link-arrow::after {
    content: '→';
    transition: transform 0.2s ease;
}

.link-arrow:hover::after {
    transform: translateX(4px);
}

/* ------------------------------------------------------------------- */
/*  2. NAVIGATION                                                      */
/* ------------------------------------------------------------------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.3s ease;
    background: rgba(11, 13, 16, 0.8);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.navbar.scrolled {
    padding: 15px 0;
    background: rgba(11, 13, 16, 0.95);
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.02em;
}

.logo span {
    color: var(--color-primary);
}

.nav-links {
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-text-muted);
}

.nav-links a:hover, .nav-links a.active {
    color: #fff;
}

.btn-nav {
    padding: 8px 20px;
    border: 1px solid var(--color-primary);
    color: var(--color-primary) !important;
    border-radius: var(--border-radius-sm);
    font-weight: 600;
}

.btn-nav:hover {
    background: var(--color-primary);
    color: #000 !important;
}

.mobile-toggle {
    display: none;
    font-size: 1.8rem;
    color: #fff;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}

/* ------------------------------------------------------------------- */
/*  3. HERO SECTION                                                    */
/* ------------------------------------------------------------------- */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    background-image: url('../img/modern bridge.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: var(--gradient-hero);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-top: 80px;
}

.hero-text-wrapper {
    max-width: 800px;
}

.hero-label {
    display: block;
    color: var(--color-primary);
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero p {
    font-size: 1.25rem;
    max-width: 600px;
    margin-bottom: 2.5rem;
    color: #d1d5db;
}

.hero-cta {
    display: flex;
    gap: 1rem;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0.7;
}

.scroll-indicator span {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.scroll-indicator .line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, #fff, transparent);
}

/* ------------------------------------------------------------------- */
/*  4. SECTIONS COMMON                                                 */
/* ------------------------------------------------------------------- */
section {
    padding: 100px 0;
    position: relative;
}

.section-header {
    margin-bottom: 60px;
    max-width: 700px;
}

.section-header h2 {
    font-size: 3rem;
}

/* ------------------------------------------------------------------- */
/*  5. ABOUT SECTION                                                   */
/* ------------------------------------------------------------------- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-content .lead {
    font-size: 1.25rem;
    color: var(--color-text-main);
    margin-bottom: 1.5rem;
    border-left: 2px solid var(--color-primary);
    padding-left: 20px;
}

.about-visual {
    position: relative;
    height: 500px;
}

.visual-card {
    position: absolute;
    top: 0;
    right: 0;
    width: 90%;
    height: 90%;
    background: var(--color-bg-card);
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--color-border);
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.visual-card ion-icon {
    font-size: 10rem;
    color: rgba(255,255,255,0.03);
}

.visual-card-backdrop {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 90%;
    height: 90%;
    border: 2px solid var(--color-primary);
    border-radius: var(--border-radius-lg);
    z-index: 1;
    opacity: 0.3;
}

/* ------------------------------------------------------------------- */
/*  7. SERVICES SECTION                                                */
/* ------------------------------------------------------------------- */
.services-section {
    background: #0f1115;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--color-bg-card);
    padding: 40px;
    border-radius: var(--border-radius-md);
    border: 1px solid var(--color-border);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    background: var(--color-bg-card-hover);
    border-color: var(--color-primary);
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.card-icon {
    width: 50px;
    height: 50px;
    background: rgba(0, 210, 137, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--color-primary);
    font-size: 1.5rem;
}

.service-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.service-card p {
    margin-bottom: 0;
    font-size: 1rem;
}

/* ------------------------------------------------------------------- */
/*  7. CONTACT SECTION                                                 */
/* ------------------------------------------------------------------- */
.contact-section {
    background: #08090b;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.info-list {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.icon-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.info-item h4 {
    margin-bottom: 0.25rem;
    color: #fff;
}

.info-item p, .info-item a {
    color: var(--color-text-muted);
    font-size: 1rem;
    margin: 0;
}

.info-item a:hover {
    color: var(--color-primary);
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--color-bg-card);
    padding: 40px;
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--color-border);
}

.contact-form h3 {
    margin-bottom: 30px;
    font-size: 1.75rem;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.875rem;
    color: var(--color-text-main);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    background: rgba(0,0,0,0.3);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-sm);
    padding: 12px 16px;
    color: #fff;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
}

.company-data-mini {
    margin-top: 20px;
    text-align: center;
    color: var(--color-text-muted);
    opacity: 0.6;
    font-size: 0.8rem;
    border-top: 1px solid var(--color-border);
    padding-top: 20px;
}

/* ------------------------------------------------------------------- */
/*  7.5 APPS QUICK ACCESS                                              */
/* ------------------------------------------------------------------- */
.apps-quick-access {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: 2rem 0;
    border-bottom: 2px solid var(--color-primary);
}

.apps-quick-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.app-quick-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-md);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.app-quick-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent 0%, rgba(255, 255, 255, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.app-quick-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.app-quick-card:hover::before {
    opacity: 1;
}

.app-quick-card.app-blue:hover {
    border-color: #3b82f6;
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
}

.app-quick-card.app-green:hover {
    border-color: #10b981;
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.3);
}

.app-quick-card.app-purple:hover {
    border-color: #a855f7;
    box-shadow: 0 8px 20px rgba(168, 85, 247, 0.3);
}

.app-quick-card.app-orange:hover {
    border-color: #f97316;
    box-shadow: 0 8px 20px rgba(249, 115, 22, 0.3);
}

.app-quick-card.app-cyan:hover {
    border-color: #06b6d4;
    box-shadow: 0 8px 20px rgba(6, 182, 212, 0.3);
}

.app-quick-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--border-radius-md);
    flex-shrink: 0;
}

.app-blue .app-quick-icon {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
}

.app-green .app-quick-icon {
    background: linear-gradient(135deg, #059669 0%, #10b981 100%);
}

.app-purple .app-quick-icon {
    background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
}

.app-orange .app-quick-icon {
    background: linear-gradient(135deg, #c2410c 0%, #f97316 100%);
}

.app-quick-icon ion-icon {
    font-size: 24px;
    color: white;
}

.app-quick-content {
    flex: 1;
}

.app-quick-content h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-text-main);
    margin-bottom: 0.25rem;
}

.app-quick-content p {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    margin: 0;
}

.app-quick-arrow {
    font-size: 20px;
    color: var(--color-text-muted);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.app-quick-card:hover .app-quick-arrow {
    color: var(--color-primary);
    transform: translateX(4px);
}

/* ------------------------------------------------------------------- */
/*  7.6 APPLICATION CARDS (Full Section)                               */
/* ------------------------------------------------------------------- */
.applications-section {
    background: #f8f9fa;
}

.applications-section .section-header p {
    max-width: 700px;
    margin: 1rem auto 0;
    color: #666;
}

.applications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    max-width: 1200px;
    margin: 0 auto;
    gap: 30px;
}

.app-card {
    color: white;
    border: none;
}

.app-card .card-icon {
    background: rgba(255, 255, 255, 0.2);
}

.app-card .card-icon ion-icon {
    color: white;
}

.app-card h3 {
    color: white;
}

.app-card p {
    color: rgba(255, 255, 255, 0.9);
}

.app-card .link-arrow {
    color: white;
    margin-top: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
}

.app-card-blue {
    background: linear-gradient(135deg, #1e40af 0%, #0ea5e9 100%);
}

.app-card-green {
    background: linear-gradient(135deg, #059669 0%, #10b981 100%);
}

.app-card-purple {
    background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
}

.app-card-orange {
    background: linear-gradient(135deg, #c2410c 0%, #f97316 100%);
}

.app-card-cyan {
    background: linear-gradient(135deg, #0e7490 0%, #06b6d4 100%);
}

/* ------------------------------------------------------------------- */
/*  8. FOOTER                                                          */
/* ------------------------------------------------------------------- */
footer {
    padding: 60px 0 30px;
    background: #050607;
    border-top: 1px solid var(--color-border);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--color-border);
}

.footer-brand p {
    font-size: 0.875rem;
    margin-top: 10px;
    margin-bottom: 0;
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--color-primary);
}

.socials a {
    color: var(--color-text-main);
    font-size: 1.5rem;
    transition: color 0.2s;
}

.socials a:hover {
    color: var(--color-primary);
}

.footer-bottom {
    padding-top: 30px;
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.875rem;
    opacity: 0.5;
}

/* ------------------------------------------------------------------- */
/*  11. RESPONSIVE                                                     */
/* ------------------------------------------------------------------- */
@media (max-width: 1024px) {
    h1 { font-size: 3.5rem; }
    h2 { font-size: 2.25rem; }
}

@media (max-width: 900px) {
    .about-grid,
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .about-visual {
        height: 350px;
    }
}

@media (max-width: 768px) {
    h1 { font-size: 2.75rem; }
    
    .nav-links, .btn-nav {
        display: none;
    }
    
    .mobile-toggle {
        display: block;
    }
    
    /* Mobile Menu Active State */
    .navbar.active .nav-links {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--color-bg-card);
        padding: 30px;
        border-bottom: 1px solid var(--color-border);
        box-shadow: 0 10px 20px rgba(0,0,0,0.5);
    }
    
    .navbar.active .nav-links a {
        font-size: 1.25rem;
    }

    .hero-cta {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-cta .btn {
        width: 100%;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 15px;
    }
}
