/* =========================================
   ROOT VARIABLES - ADL Branding
========================================= */
:root {
    --primary: #0B1220;
    --primary-light: #1a2a44;
    --primary-dark: #060a12;
    --accent: #3b82f6;
    --accent-hover: #2563eb;
    --text-primary: #1a1a2e;
    --text-secondary: #4a4a6a;
    --text-light: #ffffff;
    --background: #ffffff;
    --background-light: #f8f9fc;
    --card-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

/* =========================================
   GENERAL STYLES
========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-primary);
    background: var(--background);
    line-height: 1.6;
    padding-top: 0;
    overflow-x: hidden;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--accent-hover);
    text-decoration: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* =========================================
   CAROUSEL - RESPONSIVE FIXES
========================================= */
.carousel-inner {
    width: 100%;
    aspect-ratio: 43 / 24;
    max-height: 550px;
}

.carousel-item {
    height: 100%;
}

.carousel-item img,
.carousel-item picture img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #0B1220;
}

/* Mobile Carousel - Square */
@media (max-width: 768px) {
    .carousel-inner {
        aspect-ratio: 1 / 1 !important;
        max-height: 100vw !important;
        width: 100% !important;
    }
    
    .carousel-item {
        height: 100% !important;
    }
    
    .carousel-item img,
    .carousel-item picture img {
        object-fit: contain !important;
        background: #0B1220;
        height: 100% !important;
        width: 100% !important;
    }
    
    .carousel-indicators {
        bottom: 10px;
    }
    
    .carousel-indicators button {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        margin: 0 4px;
    }
    
    .carousel-control-prev,
    .carousel-control-next {
        width: 10%;
        opacity: 0.5;
    }
    
    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        width: 20px;
        height: 20px;
    }

    /* Mobile CTA Buttons */
    .carousel-item .btn {
        padding: 10px 20px !important;
        font-size: 0.85rem !important;
        width: 80% !important;
        display: block !important;
        text-align: center !important;
        margin: 0 auto !important;
    }
    
    .carousel-item > div > div:last-child {
        bottom: 8% !important;
        width: 100% !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .carousel-inner {
        aspect-ratio: 1 / 1 !important;
        max-height: 100vw !important;
    }
}

/* =========================================
   PROBLEMS WE SOLVE GRID (responsive)
========================================= */
.problems-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.problems-grid > div {
    min-width: 0;
}

@media (max-width: 991px) {
    .problems-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .problems-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   PROCESS STEPS GRID (responsive)
========================================= */
.process-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 10px;
}

.process-grid > div {
    min-width: 0;
}

@media (max-width: 991px) {
    .process-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 576px) {
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* =========================================
   NAVBAR
========================================= */
.navbar {
    background: var(--background);
    padding: 16px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    min-height: 70px;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-brand {
    color: var(--primary);
    font-weight: 700;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.navbar-brand:hover {
    color: var(--primary);
}

.brand-text {
    color: var(--primary);
}

.navbar-toggler {
    display: none;
    background: none;
    border: none;
    color: var(--primary);
    font-size: 1.5rem;
    cursor: pointer;
}

.navbar-collapse {
    display: flex;
    align-items: center;
}

.navbar-nav {
    display: flex;
    list-style: none;
    gap: 8px;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-item {
    list-style: none;
}

.nav-link {
    color: var(--text-secondary);
    padding: 8px 16px;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    border-radius: 6px;
}

.nav-link:hover {
    color: var(--primary);
    background: rgba(11, 18, 32, 0.05);
}

.nav-link.active {
    color: var(--primary);
    background: rgba(11, 18, 32, 0.06);
    font-weight: 600;
}

.navbar .btn-primary {
    background: var(--accent);
    border: none;
    color: var(--text-light);
    padding: 8px 20px;
    font-weight: 600;
    border-radius: 50px;
    font-size: 0.9rem;
    transition: var(--transition);
}

.navbar .btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
}

/* =========================================
   RESPONSIVE NAVBAR
========================================= */
@media (max-width: 992px) {
    .navbar-toggler {
        display: block;
    }
    
    .navbar-collapse {
        display: none;
        flex-direction: column;
        width: 100%;
        padding: 20px 0;
    }
    
    .navbar-collapse.show {
        display: flex;
    }
    
    .navbar-nav {
        flex-direction: column;
        width: 100%;
        gap: 4px;
    }
    
    .nav-link {
        display: block;
        padding: 10px 16px;
        width: 100%;
    }
    
    .navbar .btn-primary {
        display: block;
        text-align: center;
        margin-top: 8px;
        width: 100%;
    }
}

/* =========================================
   HERO SECTION
========================================= */
.hero-section {
    padding: 140px 0 80px;
    background: linear-gradient(135deg, #f8f9fc 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 150%;
    background: radial-gradient(ellipse, rgba(59, 130, 246, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--primary);
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
    max-width: 540px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.hero-buttons .btn {
    padding: 14px 36px;
    font-weight: 600;
    border-radius: 50px;
    font-size: 1rem;
}

.hero-buttons .btn-primary {
    background: var(--primary);
    border: none;
    color: var(--text-light);
}

.hero-buttons .btn-primary:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
}

.hero-buttons .btn-outline-secondary {
    background: transparent;
    border: 2px solid #d1d5db;
    color: var(--text-secondary);
}

.hero-buttons .btn-outline-secondary:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--text-light);
    transform: translateY(-2px);
}

/* =========================================
   HERO DASHBOARD
========================================= */
.hero-dashboard {
    display: flex;
    justify-content: center;
    align-items: center;
}

.dashboard-card {
    background: var(--primary);
    border-radius: 16px;
    padding: 32px;
    color: var(--text-light);
    width: 100%;
    max-width: 420px;
    box-shadow: 0 20px 60px rgba(11, 18, 32, 0.25);
    position: relative;
    overflow: hidden;
}

.dashboard-card::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 80%;
    height: 200%;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, transparent 60%);
    pointer-events: none;
}

.dashboard-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 16px;
    margin-bottom: 20px;
}

.dashboard-title {
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    opacity: 0.6;
    text-transform: uppercase;
}

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.stat-item {
    text-align: center;
}

.stat-label {
    display: block;
    font-size: 0.75rem;
    opacity: 0.5;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.stat-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
}

.dashboard-ai {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.ai-indicator {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* =========================================
   CAPABILITY STRIP
========================================= */
.capability-section {
    padding: 20px 0;
    background: var(--background-light);
    border-top: 1px solid rgba(0, 0, 0, 0.04);
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.capability-strip {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px 32px;
}

.capability-item {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 4px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.capability-item i {
    color: var(--accent);
    font-size: 1rem;
}

/* =========================================
   SECTION HEADERS
========================================= */
.section-header {
    margin-bottom: 48px;
    text-align: center;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

.section-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.7;
}

/* =========================================
   PROBLEM SECTION
========================================= */
.problem-section {
    padding: 80px 0;
    background: var(--background-light);
}

.problem-section .btn-link {
    color: var(--accent);
    font-weight: 600;
    font-size: 1rem;
}

/* =========================================
   PROBLEMS GRID
========================================= */
.problems-section {
    padding: 80px 0;
}

.problem-card {
    background: var(--background);
    padding: 32px 28px;
    border-radius: var(--border-radius);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: var(--transition);
    height: 100%;
}

.problem-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--card-shadow);
    border-color: transparent;
}

.problem-icon {
    width: 48px;
    height: 48px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.problem-icon i {
    color: var(--accent);
    font-size: 1.25rem;
}

.problem-title {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--primary);
}

.problem-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* =========================================
   SOLUTIONS SECTION
========================================= */
.solutions-section {
    padding: 80px 0;
    background: var(--background-light);
}

.solution-card {
    background: var(--background);
    padding: 32px 28px;
    border-radius: var(--border-radius);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: var(--transition);
    height: 100%;
}

.solution-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--card-shadow);
    border-color: transparent;
}

.solution-icon {
    width: 48px;
    height: 48px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.solution-icon i {
    color: var(--accent);
    font-size: 1.25rem;
}

.solution-title {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--primary);
}

.solution-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 16px;
}

.solution-link {
    font-weight: 600;
    color: var(--accent);
    font-size: 0.9rem;
}

.solution-link:hover {
    color: var(--accent-hover);
}

/* =========================================
   PRODUCTS SECTION
========================================= */
.products-section {
    padding: 80px 0;
}

.product-card {
    background: var(--background);
    padding: 32px 28px;
    border-radius: var(--border-radius);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: var(--transition);
    height: 100%;
    text-align: center;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--card-shadow);
    border-color: transparent;
}

.product-image {
    margin-bottom: 16px;
}

.product-image img {
    max-height: 60px;
    width: auto;
}

.product-title {
    font-weight: 700;
    font-size: 1.15rem;
    margin-bottom: 8px;
    color: var(--primary);
}

.product-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 16px;
}

/* =========================================
   CTA SECTION
========================================= */
.cta-section {
    padding: 80px 0;
    background: var(--primary);
}

.cta-box {
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
}

.cta-box h2 {
    color: var(--text-light);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.cta-box p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.15rem;
    margin-bottom: 32px;
}

.cta-box .btn-primary {
    background: var(--text-light);
    border: none;
    color: var(--primary);
    padding: 14px 40px;
    font-weight: 700;
    border-radius: 50px;
    font-size: 1rem;
}

.cta-box .btn-primary:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
}

/* =========================================
   PAGE SECTION - For About, Solutions, Products, Contact, etc.
========================================= */
.page-section {
    padding: 150px 0 80px;
    min-height: 60vh;
}

.page-section h1 {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 30px;
    letter-spacing: -0.02em;
}

.page-section h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    margin-top: 40px;
    margin-bottom: 15px;
}

.page-section h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary);
    margin-top: 30px;
    margin-bottom: 10px;
}

.page-section p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.page-section ul, .page-section ol {
    margin: 20px 0;
    padding-left: 25px;
}

.page-section ul li, .page-section ol li {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.page-section .btn-primary {
    display: inline-block;
    background: var(--primary);
    color: var(--text-light);
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    margin-top: 10px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.page-section .btn-primary:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    color: var(--text-light);
}

.page-section .btn-outline-primary {
    display: inline-block;
    background: transparent;
    color: var(--primary);
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    margin-top: 10px;
    transition: var(--transition);
    border: 2px solid var(--primary);
    cursor: pointer;
}

.page-section .btn-outline-primary:hover {
    background: var(--primary);
    color: var(--text-light);
    transform: translateY(-2px);
}

/* =========================================
   LANDING SECTION
========================================= */
.landing-section {
    padding: 150px 0 80px;
    min-height: 60vh;
}

.landing-section h1 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 30px;
}

.landing-section p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

/* =========================================
   FOOTER
========================================= */
.footer {
    background: var(--primary-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 60px 0 0;
    margin-top: 0;
}

.footer .container {
    display: block;
}

.footer .row {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.footer .col-lg-4 {
    flex: 2;
    min-width: 250px;
}

.footer .col-lg-2 {
    flex: 1;
    min-width: 150px;
}

.footer-heading {
    color: var(--text-light);
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 16px;
}

.footer-text {
    font-size: 0.95rem;
    margin-bottom: 16px;
}

.footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer ul li {
    margin-bottom: 8px;
}

.footer ul li a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer ul li a:hover {
    color: var(--text-light);
}

.footer ul li i {
    width: 20px;
    color: var(--accent);
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.05);
    margin: 40px 0 20px;
}

.footer-copyright {
    font-size: 0.85rem;
    margin-bottom: 0;
}

/* =========================================
   RESPONSIVE
========================================= */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.05rem;
    }
    
    .hero-buttons .btn {
        padding: 12px 28px;
        font-size: 0.95rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .cta-box h2 {
        font-size: 2rem;
    }

    .page-section {
        padding: 130px 0 60px;
    }

    .page-section h1 {
        font-size: 2.2rem;
    }
    
    .page-section h2 {
        font-size: 1.5rem;
    }

    .landing-section {
        padding: 130px 0 60px;
    }

    .landing-section h1 {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-buttons .btn {
        display: block;
        width: 100%;
        text-align: center;
    }
    
    .capability-strip {
        gap: 8px 16px;
    }
    
    .capability-item {
        font-size: 0.75rem;
    }
    
    .dashboard-card {
        padding: 24px;
        margin-top: 32px;
    }
    
    .footer .row {
        flex-direction: column;
        gap: 20px;
    }
    
    .footer .col-lg-4,
    .footer .col-lg-2 {
        flex: 1;
        width: 100%;
    }

    .page-section {
        padding: 110px 0 60px;
    }

    .page-section h1 {
        font-size: 1.8rem;
    }
    
    .page-section h2 {
        font-size: 1.3rem;
    }

    .landing-section {
        padding: 110px 0 60px;
    }

    .landing-section h1 {
        font-size: 1.8rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.75rem;
    }
    
    .section-header h2 {
        font-size: 1.5rem;
    }
    
    .cta-box h2 {
        font-size: 1.5rem;
    }

    .page-section {
        padding: 100px 0 40px;
    }

    .page-section h1 {
        font-size: 1.5rem;
    }
    
    .page-section h2 {
        font-size: 1.1rem;
    }

    .landing-section {
        padding: 100px 0 40px;
    }

    .landing-section h1 {
        font-size: 1.5rem;
    }
}