/* =============================================
   OPTIMUS TECH — GLOBAL STYLES
   ============================================= */

:root {
    --ot-navy: #0a0f2c;
    --ot-navy-mid: #111936;
    --ot-blue: #2563eb;
    --ot-blue-light: #3b82f6;
    --ot-blue-glow: rgba(37, 99, 235, 0.15);
    --ot-text: #e2e8f0;
    --ot-muted: #94a3b8;
    --ot-card-bg: #141b3c;
    --ot-border: rgba(255,255,255,0.07);
    --ot-radius: 12px;
    --ot-transition: 0.25s ease;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--ot-navy);
    color: var(--ot-text);
    padding-top: 72px;
    margin: 0;
}

/* =============================================
   NAVBAR
   ============================================= */
.ot-navbar {
    background: rgba(10, 15, 44, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--ot-border);
    padding: 0.85rem 0;
}

.ot-brand {
    font-size: 1.4rem;
    font-weight: 800;
    color: #fff !important;
    text-decoration: none;
    letter-spacing: -0.3px;
}

.ot-brand i { color: var(--ot-blue); }

.ot-nav-link {
    color: var(--ot-muted) !important;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 0.85rem !important;
    border-radius: 8px;
    transition: color var(--ot-transition), background var(--ot-transition);
}

.ot-nav-link:hover, .ot-nav-link.active {
    color: #fff !important;
    background: var(--ot-blue-glow);
}

.navbar-toggler { border-color: var(--ot-border); }
.navbar-toggler-icon { filter: invert(1); }

/* =============================================
   BUTTONS
   ============================================= */
.ot-btn-primary {
    background: var(--ot-blue);
    color: #fff !important;
    border: none;
    padding: 0.55rem 1.3rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: background var(--ot-transition), transform var(--ot-transition), box-shadow var(--ot-transition);
    display: inline-block;
}

.ot-btn-primary:hover {
    background: var(--ot-blue-light);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(37,99,235,0.4);
}

.ot-btn-outline {
    background: transparent;
    color: #fff !important;
    border: 2px solid rgba(255,255,255,0.4);
    padding: 0.7rem 1.8rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: border-color var(--ot-transition), background var(--ot-transition);
    display: inline-block;
}

.ot-btn-outline:hover {
    border-color: #fff;
    background: rgba(255,255,255,0.08);
}

/* =============================================
   HERO
   ============================================= */
.ot-hero {
    min-height: calc(100vh - 72px);
    background:
        linear-gradient(135deg, rgba(10,15,44,0.92) 0%, rgba(10,15,44,0.75) 100%),
        url('https://images.unsplash.com/photo-1518770660439-4636190af475?w=1600&q=80') center/cover no-repeat;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.ot-hero::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 120px;
    background: linear-gradient(to bottom, transparent, var(--ot-navy));
}

.ot-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--ot-blue-glow);
    border: 1px solid rgba(37,99,235,0.3);
    color: var(--ot-blue-light);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.ot-hero h1 {
    font-size: clamp(2.4rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.15;
    color: #fff;
    margin-bottom: 1.25rem;
}

.ot-hero h1 span { color: var(--ot-blue-light); }

.ot-hero p {
    font-size: 1.15rem;
    color: var(--ot-muted);
    max-width: 540px;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.ot-hero-stats {
    display: flex;
    gap: 2.5rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.ot-stat-num {
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}

.ot-stat-label {
    font-size: 0.8rem;
    color: var(--ot-muted);
    margin-top: 0.2rem;
}

/* =============================================
   SECTION COMMONS
   ============================================= */
.ot-section { padding: 5rem 0; }
.ot-section-alt { background: var(--ot-navy-mid); }

.ot-section-label {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--ot-blue-light);
    margin-bottom: 0.75rem;
}

.ot-section-title {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.ot-section-sub {
    color: var(--ot-muted);
    font-size: 1.05rem;
    max-width: 560px;
    line-height: 1.7;
}

/* =============================================
   SERVICE CARDS
   ============================================= */
.ot-card {
    background: var(--ot-card-bg);
    border: 1px solid var(--ot-border);
    border-radius: var(--ot-radius);
    padding: 2rem;
    height: 100%;
    transition: transform var(--ot-transition), border-color var(--ot-transition), box-shadow var(--ot-transition);
}

.ot-card:hover {
    transform: translateY(-4px);
    border-color: rgba(37,99,235,0.4);
    box-shadow: 0 12px 40px rgba(37,99,235,0.12);
}

.ot-card-icon {
    width: 56px;
    height: 56px;
    background: var(--ot-blue-glow);
    border: 1px solid rgba(37,99,235,0.25);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--ot-blue-light);
    margin-bottom: 1.25rem;
}

.ot-card h5 {
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.6rem;
}

.ot-card p {
    color: var(--ot-muted);
    font-size: 0.92rem;
    line-height: 1.65;
    margin: 0;
}

/* =============================================
   WHY US / FEATURE LIST
   ============================================= */
.ot-feature {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.75rem;
}

.ot-feature-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    background: var(--ot-blue-glow);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ot-blue-light);
    font-size: 1.1rem;
}

.ot-feature h6 { font-weight: 700; color: #fff; margin-bottom: 0.25rem; }
.ot-feature p { color: var(--ot-muted); font-size: 0.9rem; margin: 0; line-height: 1.6; }

/* =============================================
   CTA BANNER
   ============================================= */
.ot-cta {
    background: linear-gradient(135deg, #1d3a8a 0%, var(--ot-blue) 100%);
    border-radius: var(--ot-radius);
    padding: 3.5rem 2rem;
    text-align: center;
}

.ot-cta h2 { font-weight: 800; color: #fff; margin-bottom: 0.75rem; }
.ot-cta p { color: rgba(255,255,255,0.8); margin-bottom: 1.75rem; }

/* =============================================
   ABOUT PAGE
   ============================================= */
.ot-about-img {
    border-radius: var(--ot-radius);
    width: 100%;
    height: 420px;
    object-fit: cover;
    border: 1px solid var(--ot-border);
}

.ot-value-card {
    background: var(--ot-card-bg);
    border: 1px solid var(--ot-border);
    border-radius: var(--ot-radius);
    padding: 1.5rem;
    text-align: center;
    height: 100%;
}

.ot-value-card i { font-size: 2rem; color: var(--ot-blue-light); margin-bottom: 1rem; }
.ot-value-card h6 { font-weight: 700; color: #fff; }
.ot-value-card p { color: var(--ot-muted); font-size: 0.88rem; margin: 0; }

/* =============================================
   PAGE HERO (inner pages)
   ============================================= */
.ot-page-hero {
    padding: 4rem 0 3rem;
    background: linear-gradient(135deg, var(--ot-navy-mid) 0%, var(--ot-navy) 100%);
    border-bottom: 1px solid var(--ot-border);
    text-align: center;
}

.ot-page-hero h1 { font-weight: 800; color: #fff; margin-bottom: 0.5rem; }
.ot-page-hero p { color: var(--ot-muted); max-width: 500px; margin: 0 auto; }

/* =============================================
   FORMS
   ============================================= */
.ot-form-card {
    background: var(--ot-card-bg);
    border: 1px solid var(--ot-border);
    border-radius: var(--ot-radius);
    padding: 2.5rem;
}

.ot-form-card label {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--ot-text);
    margin-bottom: 0.4rem;
}

.ot-form-card .form-control,
.ot-form-card .form-select {
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--ot-border);
    color: #fff;
    border-radius: 8px;
    padding: 0.65rem 0.9rem;
    font-size: 0.95rem;
    transition: border-color var(--ot-transition), box-shadow var(--ot-transition);
}

.ot-form-card .form-control:focus,
.ot-form-card .form-select:focus {
    background: rgba(255,255,255,0.06);
    border-color: var(--ot-blue);
    box-shadow: 0 0 0 3px rgba(37,99,235,0.2);
    color: #fff;
    outline: none;
}

.ot-form-card .form-control::placeholder { color: var(--ot-muted); }
.ot-form-card .form-select option { background: var(--ot-navy-mid); color: #fff; }

.ot-form-card .form-check-input {
    background-color: rgba(255,255,255,0.08);
    border-color: var(--ot-border);
}

.ot-form-card .form-check-input:checked {
    background-color: var(--ot-blue);
    border-color: var(--ot-blue);
}

.ot-form-card .text-danger { font-size: 0.8rem; }

.ot-submit-btn {
    background: var(--ot-blue);
    color: #fff;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1rem;
    width: 100%;
    transition: background var(--ot-transition), box-shadow var(--ot-transition);
    cursor: pointer;
}

.ot-submit-btn:hover {
    background: var(--ot-blue-light);
    box-shadow: 0 6px 20px rgba(37,99,235,0.4);
}

/* =============================================
   CONTACT INFO CARD
   ============================================= */
.ot-contact-info {
    background: var(--ot-card-bg);
    border: 1px solid var(--ot-border);
    border-radius: var(--ot-radius);
    padding: 2rem;
    height: 100%;
}

.ot-contact-info h5 { font-weight: 700; color: #fff; margin-bottom: 1.5rem; }

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

.ot-contact-item i {
    width: 40px;
    height: 40px;
    min-width: 40px;
    background: var(--ot-blue-glow);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ot-blue-light);
    font-size: 1rem;
}

.ot-contact-item span { font-size: 0.75rem; color: var(--ot-muted); display: block; }
.ot-contact-item strong { color: #fff; font-size: 0.92rem; }

/* =============================================
   STRIPE PAYMENT SECTION
   ============================================= */
.ot-stripe-section {
    background: rgba(37,99,235,0.06);
    border: 1px solid rgba(37,99,235,0.2);
    border-radius: var(--ot-radius);
    padding: 1.5rem;
    margin-top: 1rem;
}

.ot-stripe-section label { color: var(--ot-text); }

#card-element {
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--ot-border);
    border-radius: 8px;
    padding: 0.75rem 0.9rem;
    color: #fff;
}

#card-errors {
    color: #f87171;
    font-size: 0.82rem;
    margin-top: 0.4rem;
}

/* =============================================
   ALERTS
   ============================================= */
.ot-alert-success {
    background: rgba(34,197,94,0.1);
    border: 1px solid rgba(34,197,94,0.3);
    color: #86efac;
    border-radius: 8px;
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
}

.ot-alert-error {
    background: rgba(239,68,68,0.1);
    border: 1px solid rgba(239,68,68,0.3);
    color: #fca5a5;
    border-radius: 8px;
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
}

/* =============================================
   FOOTER
   ============================================= */
.ot-footer {
    background: var(--ot-navy-mid);
    border-top: 1px solid var(--ot-border);
    padding: 4rem 0 2rem;
    margin-top: 0;
}

.ot-footer-heading {
    font-weight: 700;
    color: #fff;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.ot-footer-links { margin: 0; padding: 0; }
.ot-footer-links li, .ot-footer-links a {
    color: var(--ot-muted);
    font-size: 0.88rem;
    text-decoration: none;
    margin-bottom: 0.5rem;
    display: block;
    transition: color var(--ot-transition);
}
.ot-footer-links a:hover { color: #fff; }

.ot-footer-divider {
    border-color: var(--ot-border);
    margin: 2rem 0 1.5rem;
}

.ot-social { display: flex; gap: 0.75rem; }
.ot-social a {
    width: 36px;
    height: 36px;
    background: var(--ot-blue-glow);
    border: 1px solid rgba(37,99,235,0.2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ot-muted);
    font-size: 0.85rem;
    text-decoration: none;
    transition: color var(--ot-transition), background var(--ot-transition);
}
.ot-social a:hover { color: #fff; background: var(--ot-blue); }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 768px) {
    .ot-hero { min-height: 85vh; text-align: center; }
    .ot-hero p { margin: 0 auto 2rem; }
    .ot-hero-stats { justify-content: center; gap: 1.5rem; }
    .ot-form-card { padding: 1.5rem; }
    .ot-section { padding: 3.5rem 0; }
}
