/* 
   DuoVitals - Premium Styles
   v1.1.0 (Dark Mode Supported)
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
    /* Brand Colors */
    --primary: #0d6efd;
    --primary-dark: #0a58ca;
    --secondary: #0dcaf0;
    --accent: #20c997;

    /* Theme Variables (Default Light) */
    --bg-body: #f8fafc;
    --bg-surface: #ffffff;
    --text-main: #0f172a;
    --text-muted: #64748b;
    --glass-bg: rgba(255, 255, 255, 0.65);
    --glass-border: rgba(255, 255, 255, 0.4);
    --card-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
    --footer-bg: #eff6ff;
    /* Light Blue Tint for Footer */

    /* Gradients */
    --gradient-hero: linear-gradient(135deg, var(--bg-body) 0%, #e0e7ff 100%);
    --gradient-text: linear-gradient(120deg, #0d6efd 0%, #0dcaf0 100%);

    /* Spacing & Radius */
    --container-width: 1200px;
    --radius-sm: 0.375rem;
    --radius-md: 0.75rem;
    --radius-lg: 1.5rem;
}

[data-theme="dark"] {
    /* Dark Theme Overrides */
    --bg-body: #020617;
    /* Slate 950 */
    --bg-surface: #0f172a;
    /* Slate 900 */
    --text-main: #f8fafc;
    /* Slate 50 */
    --text-muted: #94a3b8;
    /* Slate 400 */

    --glass-bg: rgba(15, 23, 42, 0.6);
    --glass-border: rgba(255, 255, 255, 0.1);
    --card-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.4);
    --footer-bg: #1e293b;
    /* Slate 800 for Footer */

    --gradient-hero: linear-gradient(135deg, #020617 0%, #1e1b4b 100%);
}

/* Common Transition for Theme Switch */
body,
.glass-card,
.header,
.btn {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-body);
    /* Var */
    color: var(--text-main);
    /* Var */
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    line-height: 1.2;
    font-weight: 700;
    color: var(--text-main);
    /* Var */
}

.text-gradient {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Utility Components */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--card-shadow);
}

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

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

/* Glassmorphism Card */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--card-shadow);
    border-radius: var(--radius-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Premium Card with Gradient Border */
.glass-card-premium {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    position: relative;
    border-radius: var(--radius-lg);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    isolation: isolate;
}

.glass-card-premium::before {
    content: "";
    position: absolute;
    inset: -1px;
    z-index: -1;
    border-radius: inherit;
    background: var(--gradient-text);
    opacity: 0.15;
    transition: opacity 0.4s ease;
}

.glass-card-premium:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -15px rgba(13, 110, 253, 0.2);
}

.glass-card-premium:hover::before {
    opacity: 0.6;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.header.scrolled {
    padding: 0.75rem 0;
    background: var(--glass-bg);
    border-bottom: 1px solid var(--glass-border);
    backdrop-filter: blur(12px);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.05em;
    color: var(--text-main);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-muted);
    /* Var */
    font-size: 0.95rem;
}

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

.nav-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

/* Theme Toggle Button */
.theme-toggle {
    background: transparent;
    border: 1px solid var(--glass-border);
    color: var(--text-main);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
}

.theme-toggle:hover {
    background: var(--glass-border);
}


/* Hero Section */
.hero {
    padding: 180px 0 100px;
    background: var(--gradient-hero);
    /* Var */
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.badge-pill {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(13, 110, 253, 0.1);
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 2rem;
    border: 1px solid rgba(13, 110, 253, 0.2);
}

.hero h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
    color: var(--text-main);
}

.hero-text {
    font-size: 1.25rem;
    color: var(--text-muted);
    /* Var */
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    padding-top: 1rem;
    padding-bottom: 0;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-num {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-main);
    /* Var */
    line-height: 1;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
    /* Var */
    font-weight: 500;
}

/* Features Section */
.section {
    padding: 100px 0;
}

.section-header {
    margin-bottom: 4rem;
    text-align: center;
}

.section-subtitle {
    max-width: 600px;
    margin: 1rem auto 0;
    color: var(--text-muted);
    /* Var */
    font-size: 1.1rem;
}

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

.feature-card {
    padding: 2.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--card-shadow);
}

.icon-box {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    color: white;
    /* Restoring white icon color */
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease;
}

.icon-box:hover {
    transform: translateY(-5px);
}

/* Vision & Mission Card Hover */
.vision-mission-card {
    transition: all 0.3s ease;
}

.vision-mission-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px -8px rgba(13, 110, 253, 0.15);
    border-color: rgba(13, 110, 253, 0.25) !important;
    background: rgba(240, 245, 255, 0.98) !important;
}


/* Icon Gradients (Solid, Vibrant) */
.bg-blue {
    background: linear-gradient(135deg, #0d6efd, #0a58ca);
    box-shadow: 0 10px 20px -5px rgba(13, 110, 253, 0.4);
    border: none;
}

.bg-teal {
    background: linear-gradient(135deg, #0dcaf0, #0aa2c0);
    box-shadow: 0 10px 20px -5px rgba(13, 202, 240, 0.4);
    border: none;
}

.bg-purple {
    background: linear-gradient(135deg, #6f42c1, #59359a);
    box-shadow: 0 10px 20px -5px rgba(111, 66, 193, 0.4);
    border: none;
}

.bg-orange {
    background: linear-gradient(135deg, #fd7e14, #ca6510);
    box-shadow: 0 10px 20px -5px rgba(253, 126, 20, 0.4);
    border: none;
}

.bg-red {
    background: linear-gradient(135deg, #dc3545, #b02a37);
    box-shadow: 0 10px 20px -5px rgba(220, 53, 69, 0.4);
    border: none;
}

.bg-indigo {
    background: linear-gradient(135deg, #6610f2, #520dc2);
    box-shadow: 0 10px 20px -5px rgba(102, 16, 242, 0.4);
    border: none;
}

/* Ensure icons inside don't get the gradient text clip */
.bg-blue i,
.bg-teal i,
.bg-purple i,
.bg-orange i,
.bg-red i,
.bg-indigo i {
    background: none;
    -webkit-background-clip: border-box;
    -webkit-text-fill-color: white;
    color: white;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Security Section */
/* Security Section */
.bg-gradient-light {
    background: transparent;
    /* Removed specific gradient for global theme consistency */
}

/* Global Grid Restoration */
.row {
    display: flex;
    flex-wrap: wrap;
    margin-right: calc(-.5 * var(--bs-gutter-x, 1.5rem));
    margin-left: calc(-.5 * var(--bs-gutter-x, 1.5rem));
}

.row>* {
    flex-shrink: 0;
    width: 100%;
    max-width: 100%;
    padding-right: calc(.5 * var(--bs-gutter-x, 1.5rem));
    padding-left: calc(.5 * var(--bs-gutter-x, 1.5rem));
    margin-top: var(--bs-gutter-y);
}

.gx-5 {
    --bs-gutter-x: 3rem;
}

@media (min-width: 992px) {
    .col-lg-3 {
        flex: 0 0 auto;
        width: 25%;
    }

    .col-lg-4 {
        flex: 0 0 auto;
        width: 33.33333333%;
    }

    .col-lg-5 {
        flex: 0 0 auto;
        width: 41.66666667%;
    }

    .col-lg-6 {
        flex: 0 0 auto;
        width: 50%;
    }

    .col-lg-7 {
        flex: 0 0 auto;
        width: 58.33333333%;
    }

    .col-lg-8 {
        flex: 0 0 auto;
        width: 66.66666667%;
    }
}

.col-lg-6 {
    /* Legacy fallback removal */
    min-width: 0;
}

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

.security-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.security-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.security-item i {
    font-size: 2rem;
    background: white;
    padding: 10px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.security-item h4 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.security-item p {
    font-size: 0.85rem;
    color: var(--gray);
}

.security-visual {
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.5);
    margin-left: 2rem;
    /* Add spacing for the badge */
}

/* Highlight Box Theme (Simplified Gradient Schema) */
.highlight-box {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    /* Gradient Border Trick */
    border: double 2px transparent;
    background-image: linear-gradient(var(--glass-bg), var(--glass-bg)),
        linear-gradient(120deg, #0d6efd 0%, #0dcaf0 100%);
    background-origin: border-box;
    background-clip: padding-box, border-box;

    box-shadow: -20px 20px 60px -15px rgba(13, 202, 240, 0.2);
    /* Cyan/Blue shadow tint */
    border-radius: 12px;
    position: relative;
    padding: 3rem 2.5rem;
    padding-right: 5rem;
    margin-top: 2rem;
}

/* Ensure check items are visible and aligned */
.check-item {
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.05rem;
    color: var(--text-main);
    margin-bottom: 0.5rem;
    /* Slight spacing */
}

/* Icons with "Simplified" Gradient Schema */
.check-item i {
    font-size: 1.25rem;
    background: -webkit-linear-gradient(120deg, #0d6efd 0%, #0dcaf0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.security-icon-large {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: inline-block;
}

/* 100 Secure Badge */
.audit-badge {
    position: absolute;
    top: -40px;
    right: -40px;
    background: #0d6efd;
    /* Brand Blue */
    color: white;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(13, 110, 253, 0.4);
    z-index: 10;
    /* Removed animation to match static clean look, or kept subtle if preferred */
    animation: none;
}

.audit-badge .score {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
}

.audit-badge .label {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 1px;
}

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

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

    100% {
        transform: translateY(0px);
    }
}

.checklist {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 1rem;
}

.check-item {
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.1rem;
}

/* Colors for Icons */
.text-success {
    color: var(--accent);
}

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

.text-warning {
    color: #fd7e14;
}

.text-danger {
    color: #dc3545;
}

/* Pricing Section */
.justify-content-center {
    justify-content: center;
}

.col-lg-4 {
    flex: 1;
    min-width: 300px;
    max-width: 100%;
}

.pricing-card {
    padding: 3rem 2rem;
    text-align: center;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.pricing-card {
    padding: 3rem 2rem;
    text-align: center;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    background-clip: padding-box;
    border-radius: var(--radius-lg);
}

.pricing-card::before {
    content: "";
    position: absolute;
    inset: -2px;
    z-index: -1;
    border-radius: inherit;
    background: linear-gradient(135deg, #0d6efd, #0dcaf0);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.pricing-card:hover {
    transform: translateY(-8px) scale(1.02);
    background: var(--bg-surface);
    box-shadow: 0 20px 40px -5px rgba(13, 110, 253, 0.15);
}

.pricing-card:hover::before {
    opacity: 1;
}

/* Ensure inner content stays above the pseudo-element background */
.pricing-card>* {
    z-index: 2;
}

.pricing-card:hover .btn {
    background: white;
    color: var(--primary);
    border-color: white;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.pricing-card:hover h3,
.pricing-card:hover p,
.pricing-card:hover .price,
.pricing-card:hover .currency,
.pricing-card:hover .amount,
.pricing-card:hover .period,
.pricing-card:hover .pricing-features li {
    color: white;
    border-color: rgba(255, 255, 255, 0.2);
}

.pricing-card:hover .pricing-features li i {
    color: #a5f3fc !important;
    /* Cyan tint for checks */
}

.price {
    margin: 2rem 0;
    color: var(--text-main);
}

.currency {
    font-size: 1.5rem;
    vertical-align: top;
}

.amount {
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -2px;
}

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

.pricing-features {
    text-align: left;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.pricing-features li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.w-100 {
    width: 100%;
}

/* Footer (Theme Based) */
.footer {
    background: var(--footer-bg);
    /* Var */
    border-top: 1px solid var(--glass-border);
    color: var(--text-main);
    padding: 80px 0 30px;
    margin-top: 50px;
}

.footer .logo {
    color: var(--text-main);
}

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

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-col h5 {
    color: var(--text-main);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

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

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

.footer-contact li {
    color: var(--text-muted);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-bottom {
    border-top: 1px solid var(--glass-border);
    padding-top: 2rem;
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* Security Badge (Screenshot Match) */
.badge-pill-security {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    background: rgba(13, 110, 253, 0.1);
    /* Light Blue BG */
    color: #0d6efd;
    /* Blue Text */
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 2rem;
    border: 1px solid rgba(13, 110, 253, 0.2);
}

/* Ensure dark mode visibility for this specific badge */
[data-theme="dark"] .badge-pill-security {
    background: rgba(13, 110, 253, 0.15);
    color: #3b82f6;
    border: 1px solid rgba(13, 110, 253, 0.3);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .nav-links,
    .nav-actions {
        display: none;
    }

    /* Show only logo and maybe a menu icon (not implemented) on mobile */
    .nav {
        justify-content: center;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }

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

    .row {
        gap: 2rem;
    }

    .col-lg-6,
    .col-lg-4 {
        flex: auto;
        width: 100%;
    }

    .audit-badge {
        right: 0;
        top: -20px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-contact li {
        justify-content: center;
    }
}

/* --- Sub-page Premium Styles --- */

/* Page Hero (Shorter version of main hero) */
.page-hero {
    padding: 160px 0 100px;
    background: var(--gradient-hero);
    text-align: center;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--glass-border);
}

.page-hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
}

.page-hero .hero-text {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* Glass Inputs */
.glass-input {
    width: 100%;
    padding: 1rem 1.25rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--glass-border);
    background: var(--glass-bg);
    color: var(--text-main);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.glass-input:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--bg-surface);
    box-shadow: 0 0 0 4px rgba(13, 110, 253, 0.1);
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-group {
    margin-bottom: 1.5rem;
}

/* Contact Info Box */
.contact-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.contact-icon {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    box-shadow: var(--card-shadow);
    flex-shrink: 0;
}

/* Timeline / Story Styles for About Page */
.story-timeline {
    position: relative;
    padding-left: 2.5rem;
}

.story-timeline::before {
    content: "";
    position: absolute;
    left: 8px;
    /* Centered with the 20px dot (10px - 2px width / 2) */
    top: 10px;
    bottom: 10px;
    width: 3px;
    background: linear-gradient(to bottom, var(--primary), var(--secondary), transparent);
    border-radius: 10px;
    opacity: 0.3;
}

.story-item {
    position: relative;
    margin-bottom: 4rem;
}

.story-item::before {
    content: "";
    position: absolute;
    left: -2.35rem;
    /* center on the 3px line */
    top: 6px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: white;
    border: 4px solid var(--primary);
    box-shadow: 0 0 15px rgba(13, 110, 253, 0.3);
    z-index: 2;
}

[data-theme="dark"] .story-item::before {
    background: var(--bg-surface);
}

.story-item:last-child {
    margin-bottom: 0;
}

.story-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.story-item p {
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Timeline Component */
.timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline::before {
    content: "";
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--primary), var(--secondary), var(--accent));
    opacity: 0.3;
    border-radius: 10px;
}

.timeline-item {
    position: relative;
    padding-left: 80px;
    margin-bottom: 3rem;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-marker {
    position: absolute;
    left: 18px;
    top: 6px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 4px solid var(--bg-main);
    box-shadow: 0 0 20px rgba(13, 110, 253, 0.4);
    z-index: 2;
}

[data-theme="dark"] .timeline-marker {
    border-color: var(--bg-surface);
}

.timeline-content h4 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--text-main);
    font-weight: 700;
}

.timeline-content p {
    font-size: 1rem;
    line-height: 1.7;
    margin: 0;
}

/* Sub-Pages Specific Styles */
.page-hero {
    padding: 180px 0 120px;
    min-height: 60vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    text-align: center;
}

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

.page-hero h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
}

.page-hero .hero-text {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 2rem;
}

/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-main);
    font-size: 0.95rem;
}

.glass-input {
    width: 100%;
    padding: 0.875rem 1.25rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    color: var(--text-main);
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

.glass-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.1);
}

.glass-input::placeholder {
    color: var(--text-muted);
    opacity: 0.6;
}

/* Dark mode input adjustments */
[data-theme="dark"] .glass-input {
    background: rgba(255, 255, 255, 0.05);
}

/* Utility Classes */
.text-center {
    text-align: center;
}

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

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

.fw-semibold {
    font-weight: 600;
}

.fw-bold {
    font-weight: 700;
}

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

.mb-1 {
    margin-bottom: 0.25rem;
}

.mb-2 {
    margin-bottom: 0.5rem;
}

.mb-3 {
    margin-bottom: 1rem;
}

.mb-4 {
    margin-bottom: 1.5rem;
}

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

.mt-2 {
    margin-top: 0.5rem;
}

.mt-3 {
    margin-top: 1rem;
}

.mt-4 {
    margin-top: 1.5rem;
}

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

.p-4 {
    padding: 1.5rem;
}

.p-5 {
    padding: 2.5rem;
}

.ps-5 {
    padding-left: 3rem;
}

.gap-2 {
    gap: 0.5rem;
}

.gap-3 {
    gap: 1rem;
}

.gap-4 {
    gap: 1.5rem;
}

.d-flex {
    display: flex;
}

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

.align-items-start {
    align-items: flex-start;
}

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

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

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

.flex-shrink-0 {
    flex-shrink: 0;
}

.flex-wrap {
    flex-wrap: wrap;
}

.w-100 {
    width: 100%;
}

.h-100 {
    height: 100%;
}

.small {
    font-size: 0.875rem;
}

.lead {
    font-size: 1.15rem;
    font-weight: 400;
}

.display-1 {
    font-size: 6rem;
    font-weight: 700;
    line-height: 1;
}

.display-3 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1;
}

.display-4 {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

/* Grid System */
.row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -0.75rem;
    margin-left: -0.75rem;
}

.row>* {
    flex-shrink: 0;
    width: 100%;
    max-width: 100%;
    padding-right: 0.75rem;
    padding-left: 0.75rem;
}

.g-4 {
    margin-bottom: 1.5rem;
}

.g-4>* {
    margin-bottom: 1.5rem;
}

.gx-5 {
    column-gap: 3rem;
}

.col-12 {
    flex: 0 0 auto;
    width: 100%;
}

@media (min-width: 768px) {
    .col-md-6 {
        flex: 0 0 auto;
        width: 50%;
    }
}

@media (min-width: 992px) {
    .col-lg-3 {
        flex: 0 0 auto;
        width: 25%;
    }

    .col-lg-4 {
        flex: 0 0 auto;
        width: 33.333%;
    }

    .col-lg-5 {
        flex: 0 0 auto;
        width: 41.666%;
    }

    .col-lg-6 {
        flex: 0 0 auto;
        width: 50%;
    }

    .col-lg-7 {
        flex: 0 0 auto;
        width: 58.333%;
    }

    .col-lg-8 {
        flex: 0 0 auto;
        width: 66.666%;
    }

    .col-lg-10 {
        flex: 0 0 auto;
        width: 83.333%;
    }

    .col-lg-12 {
        flex: 0 0 auto;
        width: 100%;
    }
}

/* Responsive Typography */
@media (max-width: 768px) {
    .page-hero h1 {
        font-size: 2.5rem;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .display-3 {
        font-size: 2.5rem;
    }
}

/* Tablet Grid Support for Contact Page Layout */
@media (min-width: 768px) {
    .col-md-5 {
        flex: 0 0 auto;
        width: 41.66666667%;
    }

    .col-md-7 {
        flex: 0 0 auto;
        width: 58.33333333%;
    }
}