﻿/* ============================================
   INDIANAPOLIS BLUEPRINTS & SERVICES
   Dark Modern Theme - Inspired by GadgetAR
   ============================================ */

/* CSS Variables - Easy to customize */
:root {
    /* Primary Colors */
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-tertiary: #1a1a25;
    --bg-card: #16161f;
    /* Accent Colors - Blueprint Blue */
    --accent-primary: #00b4d8;
    --accent-secondary: #0077b6;
    --accent-glow: rgba(0, 180, 216, 0.3);
    --accent-gradient: linear-gradient(135deg, #00b4d8 0%, #0077b6 100%);
    /* Text Colors */
    --text-primary: #ffffff;
    --text-secondary: #a0a0b0;
    --text-muted: #6b6b7b;
    /* Status Colors */
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --info: #3b82f6;
    /* Borders & Effects */
    --border-color: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(0, 180, 216, 0.3);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 30px rgba(0, 180, 216, 0.2);
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Space Grotesk', var(--font-primary);
    /* Spacing */
    --section-padding: 100px 0;
    --container-width: 1200px;
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 50px;
}

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap');

/* ============================================
   BASE STYLES
   ============================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* Selection */
::selection {
    background: var(--accent-primary);
    color: var(--bg-primary);
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--accent-secondary);
    border-radius: 4px;
}

    ::-webkit-scrollbar-thumb:hover {
        background: var(--accent-primary);
    }

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

h4 {
    font-size: 1.25rem;
}

p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

a {
    color: var(--accent-primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

    a:hover {
        color: var(--text-primary);
    }

/* ============================================
   LAYOUT & CONTAINERS
   ============================================ */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: var(--section-padding);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

    .section-header h2 {
        margin-bottom: 1rem;
    }

    .section-header p {
        max-width: 600px;
        margin: 0 auto;
        font-size: 1.1rem;
    }

/* Accent Label */
.accent-label {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--accent-primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all var(--transition-base);
    background: transparent;
}

    .navbar.scrolled {
        background: rgba(10, 10, 15, 0.95);
        backdrop-filter: blur(20px);
        border-bottom: 1px solid var(--border-color);
        padding: 15px 0;
    }

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

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

    .navbar-brand:hover {
        color: var(--text-primary);
    }

    .navbar-brand .logo-icon {
        width: 40px;
        height: 40px;
        background: var(--accent-gradient);
        border-radius: var(--radius-sm);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.25rem;
    }

.navbar-nav {
    display: flex;
    align-items: center;
    gap: 40px;
    list-style: none;
}

    .navbar-nav a {
        color: var(--text-secondary);
        font-weight: 500;
        font-size: 0.95rem;
        transition: color var(--transition-fast);
        position: relative;
    }

        .navbar-nav a:hover,
        .navbar-nav a.active {
            color: var(--text-primary);
        }

        .navbar-nav a::after {
            content: '';
            position: absolute;
            bottom: -8px;
            left: 0;
            width: 0;
            height: 2px;
            background: var(--accent-primary);
            transition: width var(--transition-base);
        }

        .navbar-nav a:hover::after,
        .navbar-nav a.active::after {
            width: 100%;
        }

.navbar-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Mobile Menu Toggle */
.navbar-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

    .navbar-toggle span {
        display: block;
        width: 25px;
        height: 2px;
        background: var(--text-primary);
        transition: all var(--transition-base);
    }

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    font-family: var(--font-primary);
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: var(--radius-full);
    border: none;
    cursor: pointer;
    transition: all var(--transition-base);
    text-decoration: none;
}

.btn-primary {
    background: var(--accent-gradient);
    color: var(--bg-primary);
    box-shadow: var(--shadow-glow);
}

    .btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 0 40px rgba(0, 180, 216, 0.4);
        color: var(--bg-primary);
    }

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

    .btn-secondary:hover {
        border-color: var(--accent-primary);
        background: rgba(0, 180, 216, 0.1);
        color: var(--text-primary);
    }

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

    .btn-outline:hover {
        background: var(--accent-primary);
        color: var(--bg-primary);
    }

.btn-sm {
    padding: 10px 20px;
    font-size: 0.875rem;
}

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

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    overflow: hidden;
}

    .hero::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: radial-gradient(ellipse at 20% 20%, rgba(0, 180, 216, 0.15) 0%, transparent 50%), radial-gradient(ellipse at 80% 80%, rgba(0, 119, 182, 0.1) 0%, transparent 50%);
        pointer-events: none;
    }

    /* Blueprint Grid Background */
    .hero::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-image: linear-gradient(rgba(0, 180, 216, 0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 180, 216, 0.03) 1px, transparent 1px);
        background-size: 50px 50px;
        pointer-events: none;
        opacity: 0.5;
    }

    .hero .container {
        position: relative;
        z-index: 1;
    }

.hero-content {
    max-width: 700px;
}

    .hero-content h1 {
        margin-bottom: 1.5rem;
    }

        .hero-content h1 .highlight {
            background: var(--accent-gradient);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

    .hero-content p {
        font-size: 1.25rem;
        margin-bottom: 2rem;
        color: var(--text-secondary);
    }

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 48px;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
}

.hero-stat h3 {
    font-size: 2.5rem;
    color: var(--accent-primary);
    margin-bottom: 0.25rem;
}

.hero-stat p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
}

/* Floating Elements */
.hero-visual {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 45%;
    height: 70%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blueprint-float {
    position: relative;
    width: 400px;
    height: 400px;
}

.blueprint-card {
    position: absolute;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px;
    animation: float 6s ease-in-out infinite;
}

    .blueprint-card:nth-child(1) {
        top: 0;
        left: 0;
        animation-delay: 0s;
    }

    .blueprint-card:nth-child(2) {
        top: 30%;
        right: 0;
        animation-delay: -2s;
    }

    .blueprint-card:nth-child(3) {
        bottom: 0;
        left: 20%;
        animation-delay: -4s;
    }

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 40px;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

    .service-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 3px;
        background: var(--accent-gradient);
        transform: scaleX(0);
        transition: transform var(--transition-base);
    }

    .service-card:hover {
        border-color: var(--border-hover);
        transform: translateY(-5px);
        box-shadow: var(--shadow-lg);
    }

        .service-card:hover::before {
            transform: scaleX(1);
        }

.service-icon {
    width: 60px;
    height: 60px;
    background: rgba(0, 180, 216, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    font-size: 1.5rem;
    color: var(--accent-primary);
}

.service-card h4 {
    margin-bottom: 12px;
    color: var(--text-primary);
}

.service-card p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-primary);
    font-weight: 500;
    font-size: 0.9rem;
}

    .service-link:hover {
        gap: 12px;
    }

/* ============================================
   FEATURES / WHY CHOOSE US
   ============================================ */
.features {
    background: var(--bg-secondary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.feature-item {
    text-align: center;
    padding: 30px;
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 2rem;
    transition: all var(--transition-base);
}

.feature-item:hover .feature-icon {
    background: rgba(0, 180, 216, 0.1);
    border-color: var(--accent-primary);
    transform: scale(1.1);
}

.feature-item h4 {
    margin-bottom: 12px;
}

.feature-item p {
    font-size: 0.95rem;
}

/* ============================================
   SERVICE AREA
   ============================================ */
.service-area-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-top: 40px;
}

.area-tag {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    padding: 12px 24px;
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    color: var(--text-secondary);
    transition: all var(--transition-base);
}

    .area-tag:hover {
        border-color: var(--accent-primary);
        color: var(--accent-primary);
    }

/* ============================================
   CTA SECTION
   ============================================ */
.cta {
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

    .cta::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 600px;
        height: 600px;
        background: radial-gradient(circle, rgba(0, 180, 216, 0.1) 0%, transparent 70%);
        pointer-events: none;
    }

.cta-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

    .cta-content h2 {
        margin-bottom: 1rem;
    }

    .cta-content p {
        max-width: 500px;
        margin: 0 auto 2rem;
        font-size: 1.1rem;
    }

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand p {
    margin-top: 20px;
    font-size: 0.95rem;
    max-width: 300px;
}

.footer-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.footer-links {
    list-style: none;
}

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

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

        .footer-links a:hover {
            color: var(--accent-primary);
        }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
    font-size: 0.9rem;
    color: var(--text-muted);
}

.footer-social {
    display: flex;
    gap: 16px;
}

    .footer-social a {
        width: 40px;
        height: 40px;
        background: var(--bg-tertiary);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--text-secondary);
        transition: all var(--transition-base);
    }

        .footer-social a:hover {
            background: var(--accent-primary);
            color: var(--bg-primary);
        }

/* ============================================
   FORMS
   ============================================ */
.form-group {
    margin-bottom: 24px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-primary);
    font-size: 0.9rem;
}

.form-control {
    width: 100%;
    padding: 14px 18px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: all var(--transition-fast);
}

    .form-control:focus {
        outline: none;
        border-color: var(--accent-primary);
        box-shadow: 0 0 0 3px var(--accent-glow);
    }

    .form-control::placeholder {
        color: var(--text-muted);
    }

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

/* ============================================
   CARDS (General)
   ============================================ */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 30px;
    transition: all var(--transition-base);
}

    .card:hover {
        border-color: var(--border-hover);
    }

/* ============================================
   PORTAL STYLES
   ============================================ */
.portal-layout {
    display: flex;
    min-height: 100vh;
    padding-top: 80px;
}

/* Sidebar */
.portal-sidebar {
    width: 280px;
    background: var(--bg-secondary);
    border-right: 1px solid var(--border-color);
    padding: 30px 20px;
    position: fixed;
    top: 80px;
    left: 0;
    bottom: 0;
    overflow-y: auto;
}

.portal-nav {
    list-style: none;
}

.portal-nav-item {
    margin-bottom: 8px;
}

.portal-nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    color: var(--text-secondary);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    font-weight: 500;
}

    .portal-nav-link:hover {
        background: var(--bg-tertiary);
        color: var(--text-primary);
    }

    .portal-nav-link.active {
        background: rgba(0, 180, 216, 0.1);
        color: var(--accent-primary);
        border-left: 3px solid var(--accent-primary);
    }

.portal-nav-icon {
    width: 20px;
    text-align: center;
}

/* Portal Main Content */
.portal-main {
    flex: 1;
    margin-left: 280px;
    padding: 30px 40px;
}

.portal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.portal-title {
    font-size: 1.75rem;
    font-weight: 600;
}

/* Dashboard Cards */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.dashboard-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px;
    transition: all var(--transition-base);
}

    .dashboard-card:hover {
        border-color: var(--border-hover);
        transform: translateY(-2px);
    }

.dashboard-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
}

.dashboard-card-icon {
    width: 48px;
    height: 48px;
    background: rgba(0, 180, 216, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--accent-primary);
}

.dashboard-card-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    font-family: var(--font-display);
}

.dashboard-card-label {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Status Badges */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-success {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
}

.badge-warning {
    background: rgba(245, 158, 11, 0.1);
    color: var(--warning);
}

.badge-danger {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger);
}

.badge-info {
    background: rgba(59, 130, 246, 0.1);
    color: var(--info);
}

/* Tables */
.table-container {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.table {
    width: 100%;
    border-collapse: collapse;
}

    .table th,
    .table td {
        padding: 16px 20px;
        text-align: left;
        border-bottom: 1px solid var(--border-color);
    }

    .table th {
        background: var(--bg-tertiary);
        font-weight: 600;
        font-size: 0.85rem;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        color: var(--text-muted);
    }

    .table tr:last-child td {
        border-bottom: none;
    }

    .table tr:hover td {
        background: rgba(255, 255, 255, 0.02);
    }

/* ============================================
   UTILITIES
   ============================================ */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.text-primary {
    color: var(--text-primary) !important;
}

.text-secondary {
    color: var(--text-secondary) !important;
}

.text-muted {
    color: var(--text-muted) !important;
}

.text-accent {
    color: var(--accent-primary) !important;
}

.bg-primary {
    background-color: var(--bg-primary) !important;
}

.bg-secondary {
    background-color: var(--bg-secondary) !important;
}

.bg-card {
    background-color: var(--bg-card) !important;
}

.mb-0 {
    margin-bottom: 0 !important;
}

.mb-1 {
    margin-bottom: 0.5rem !important;
}

.mb-2 {
    margin-bottom: 1rem !important;
}

.mb-3 {
    margin-bottom: 1.5rem !important;
}

.mb-4 {
    margin-bottom: 2rem !important;
}

.mb-5 {
    margin-bottom: 3rem !important;
}

.mt-0 {
    margin-top: 0 !important;
}

.mt-1 {
    margin-top: 0.5rem !important;
}

.mt-2 {
    margin-top: 1rem !important;
}

.mt-3 {
    margin-top: 1.5rem !important;
}

.mt-4 {
    margin-top: 2rem !important;
}

.mt-5 {
    margin-top: 3rem !important;
}

.py-1 {
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
}

.py-2 {
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
}

.py-3 {
    padding-top: 1.5rem !important;
    padding-bottom: 1.5rem !important;
}

.d-flex {
    display: flex !important;
}

.d-block {
    display: block !important;
}

.d-none {
    display: none !important;
}

.align-center {
    align-items: center !important;
}

.justify-center {
    justify-content: center !important;
}

.justify-between {
    justify-content: space-between !important;
}

.gap-1 {
    gap: 0.5rem !important;
}

.gap-2 {
    gap: 1rem !important;
}

.gap-3 {
    gap: 1.5rem !important;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.animate-fadeInUp {
    animation: fadeInUp 0.6s ease forwards;
}

.animate-fadeIn {
    animation: fadeIn 0.6s ease forwards;
}

.animate-slideInLeft {
    animation: slideInLeft 0.6s ease forwards;
}

/* Staggered Animation Delays */
.delay-1 {
    animation-delay: 0.1s;
}

.delay-2 {
    animation-delay: 0.2s;
}

.delay-3 {
    animation-delay: 0.3s;
}

.delay-4 {
    animation-delay: 0.4s;
}

.delay-5 {
    animation-delay: 0.5s;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .hero-visual {
        display: none;
    }

    .hero-content {
        max-width: 100%;
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .portal-sidebar {
        transform: translateX(-100%);
        z-index: 1001;
    }

        .portal-sidebar.open {
            transform: translateX(0);
        }

    .portal-main {
        margin-left: 0;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px 0;
    }

    .navbar-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-secondary);
        flex-direction: column;
        padding: 20px;
        gap: 20px;
        border-bottom: 1px solid var(--border-color);
    }

        .navbar-nav.open {
            display: flex;
        }

    .navbar-toggle {
        display: flex;
    }

    .hero-stats {
        flex-direction: column;
        gap: 24px;
        align-items: center;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .portal-main {
        padding: 20px;
    }

    .dashboard-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .btn {
        padding: 12px 24px;
        width: 100%;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .service-card {
        padding: 30px;
    }
}

/* ============================================
   IDENTITY OVERRIDES (ASP.NET Identity Pages)
   ============================================ */
.identity-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.identity-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 40px;
    width: 100%;
    max-width: 450px;
}

    .identity-card h2 {
        text-align: center;
        margin-bottom: 30px;
    }

/* Override default ASP.NET validation styles */
.text-danger {
    color: var(--danger) !important;
    font-size: 0.85rem;
    margin-top: 4px;
}

.validation-summary-errors ul {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid var(--danger);
    border-radius: var(--radius-md);
    padding: 16px 16px 16px 40px;
    margin-bottom: 24px;
    color: var(--danger);
}

/* Logo Styles */
.logo-img {
    height: 100px;
    width: auto;
    max-width: 250px;
}

.navbar.scrolled .logo-img {
    height: 40px;
}

/* Footer logo */
.footer .logo-img {
    height: 65px;
    margin-bottom: 16px;
}

/* ============================================
   ALTERNATE CLASS NAMES (Layout compatibility)
   ============================================ */

/* Site Header wrapper */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border-color);
}

    .site-header .navbar {
        position: relative;
        background: transparent;
    }

/* Logo class (alternate for navbar-brand) */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

    /* Hide the problematic image, use text logo instead */
    .logo img {
        display: none;
    }

    /* Modern text-based logo */
    .logo::before {
        content: '📐';
        font-size: 1.75rem;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 45px;
        height: 45px;
        background: var(--accent-gradient);
        border-radius: var(--radius-sm);
    }

    .logo::after {
        content: 'Indianapolis Blueprints';
        font-family: var(--font-display);
        font-size: 1.35rem;
        font-weight: 700;
        color: var(--text-primary);
        letter-spacing: -0.5px;
    }

    .logo:hover::after {
        color: var(--accent-primary);
    }

/* Nav Menu (alternate for navbar-nav) */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
    margin: 0;
    padding: 0;
}

    .nav-menu li {
        list-style: none;
    }

    .nav-menu a {
        color: var(--text-secondary);
        font-weight: 500;
        font-size: 0.95rem;
        text-decoration: none;
        padding: 8px 0;
        transition: color var(--transition-fast);
        position: relative;
    }

        .nav-menu a:hover,
        .nav-menu a.active {
            color: var(--text-primary);
        }

        .nav-menu a::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 0;
            height: 2px;
            background: var(--accent-primary);
            transition: width var(--transition-base);
        }

        .nav-menu a:hover::after,
        .nav-menu a.active::after {
            width: 100%;
        }

/* Phone link in nav */
.nav-phone {
    background: var(--accent-gradient);
    color: var(--bg-primary) !important;
    padding: 10px 20px !important;
    border-radius: var(--radius-full);
    font-weight: 600 !important;
    box-shadow: var(--shadow-glow);
}

    .nav-phone:hover {
        transform: translateY(-2px);
        box-shadow: 0 0 40px rgba(0, 180, 216, 0.4);
    }

    .nav-phone::after {
        display: none !important;
    }

/* Mobile Menu Toggle (alternate for navbar-toggle) */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

    .mobile-menu-toggle span {
        display: block;
        width: 25px;
        height: 2px;
        background: var(--text-primary);
        transition: all var(--transition-base);
    }

/* Skip Link */
.skip-link {
    position: absolute;
    top: -100px;
    left: 0;
    background: var(--accent-primary);
    color: var(--bg-primary);
    padding: 12px 24px;
    z-index: 10000;
    transition: top var(--transition-fast);
    text-decoration: none;
    font-weight: 600;
}

    .skip-link:focus {
        top: 0;
    }

/* Mobile responsive for alternate classes */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-secondary);
        flex-direction: column;
        padding: 20px;
        gap: 0;
        border-bottom: 1px solid var(--border-color);
    }

        .nav-menu.active {
            display: flex;
        }

        .nav-menu li {
            width: 100%;
        }

        .nav-menu a {
            display: block;
            padding: 16px;
            text-align: center;
        }

    .nav-phone {
        margin-top: 10px;
    }
}

/* ============================================
   PROFESSIONAL NAVBAR WITH GLASS EFFECT
   ============================================ */

/* Remove any conflicting text-based logo rules */
.navbar-brand::before,
.navbar-brand::after,
.logo::before,
.logo::after {
    content: none !important;
    display: none !important;
}

/* Navbar with transparent glass effect */
.navbar,
.site-header .navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0 !important;
    transition: all 0.3s ease;
    background: rgba(10, 10, 15, 0.7) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

    /* When scrolled - slightly more opaque */
    .navbar.scrolled,
    .site-header .navbar.scrolled {
        background: rgba(10, 10, 15, 0.85) !important;
        backdrop-filter: blur(25px) !important;
        -webkit-backdrop-filter: blur(25px) !important;
        padding: 12px 0 !important;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
    }

/* Logo sizing - BIGGER AND BETTER */
.navbar-brand img,
.logo img {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: 65px !important;
    width: auto !important;
    max-width: 300px !important;
    object-fit: contain !important;
    transition: all 0.3s ease !important;
}

/* When scrolled - slightly smaller but still prominent */
.navbar.scrolled .navbar-brand img,
.navbar.scrolled .logo img {
    height: 50px !important;
}

/* Navbar brand container */
.navbar-brand {
    display: flex !important;
    align-items: center !important;
    transition: all 0.3s ease !important;
}

/* Navbar container */
.navbar .container {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}

/* Navigation links - professional styling */
.navbar-nav {
    display: flex !important;
    align-items: center !important;
    gap: 40px !important;
    list-style: none !important;
}

    .navbar-nav a {
        color: rgba(255, 255, 255, 0.85) !important;
        font-weight: 500 !important;
        font-size: 0.95rem !important;
        transition: all 0.2s ease !important;
        position: relative !important;
        padding: 8px 0 !important;
    }

        .navbar-nav a:hover,
        .navbar-nav a.active {
            color: #ffffff !important;
        }

        /* Smooth underline effect */
        .navbar-nav a::after {
            content: '' !important;
            position: absolute !important;
            bottom: 0 !important;
            left: 0 !important;
            width: 0 !important;
            height: 2px !important;
            background: #00b4d8 !important;
            transition: width 0.3s ease !important;
        }

        .navbar-nav a:hover::after,
        .navbar-nav a.active::after {
            width: 100% !important;
        }

/* Phone button - premium look */
.nav-phone {
    background: linear-gradient(135deg, #00b4d8 0%, #0077b6 100%) !important;
    color: #0a0a0f !important;
    padding: 12px 24px !important;
    border-radius: 50px !important;
    font-weight: 600 !important;
    box-shadow: 0 0 30px rgba(0, 180, 216, 0.3) !important;
    transition: all 0.3s ease !important;
}

    .nav-phone:hover {
        transform: translateY(-2px) !important;
        box-shadow: 0 0 40px rgba(0, 180, 216, 0.5) !important;
        color: #0a0a0f !important;
    }

    .nav-phone::after {
        display: none !important;
    }

/* Mobile responsive */
@media (max-width: 768px) {
    .navbar,
    .site-header .navbar {
        background: rgba(10, 10, 15, 0.95) !important;
        padding: 12px 0 !important;
    }

    .navbar-brand img,
    .logo img {
        height: 50px !important;
    }

    .navbar.scrolled .navbar-brand img {
        height: 45px !important;
    }

    .navbar-nav {
        background: rgba(18, 18, 26, 0.98) !important;
        backdrop-filter: blur(20px) !important;
        -webkit-backdrop-filter: blur(20px) !important;
    }
}
