/* -------------------------------------------------------------
   SeafarerTax.com - Unified Maritime Design System
   Font: Inter (Universal everywhere)
   Palette: Deep Navy (#031B33), Ocean Cyan (#0EA5E9), Brass Amber (#F59E0B)
   ------------------------------------------------------------- */
:root {
    --navy-dark: #031B33;
    --navy-mid: #0B2948;
    --navy-light: #163B63;
    --ocean-blue: #0284C7;
    --cyan-accent: #0EA5E9;
    --cyan-glow: rgba(14, 165, 233, 0.25);
    --brass-gold: #F59E0B;
    --brass-hover: #D97706;
    --seafoam: #10B981;
    --text-primary: #0F172A;
    --text-muted: #64748B;
    --bg-light: #F8FAFC;
    --card-border: #E2E8F0;
    --font-base: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

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

body {
    font-family: var(--font-base);
    color: var(--text-primary);
    background-color: #FFFFFF;
    line-height: 1.65;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-base);
    font-weight: 700;
    color: var(--navy-dark);
    letter-spacing: -0.02em;
}

button, input, select, textarea {
    font-family: inherit;
}

/* Maritime Navbar */
.marine-navbar {
    background-color: var(--navy-dark);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    padding: 0.85rem 0;
}
.brand-icon-box {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #031B33;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(14, 165, 233, 0.35);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.15);
}
.brand-icon-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.brand-main {
    font-weight: 800;
    font-size: 1.35rem;
    letter-spacing: -0.01em;
    color: #FFFFFF;
    display: block;
    line-height: 1.1;
}
.brand-accent {
    color: var(--cyan-accent);
}
.brand-tag {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #94A3B8;
    display: block;
}
.marine-navbar .nav-link {
    font-weight: 500;
    color: #CBD5E1 !important;
    font-size: 0.95rem;
    padding: 0.5rem 0.9rem !important;
    transition: all 0.2s ease;
}
.marine-navbar .nav-link:hover {
    color: var(--cyan-accent) !important;
}
.btn-nautical-cta {
    background: linear-gradient(135deg, #10B981, #059669);
    color: #FFFFFF;
    font-weight: 600;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
    transition: all 0.25s ease;
    border: none;
}
.btn-nautical-cta:hover {
    background: linear-gradient(135deg, #059669, #047857);
    color: #FFFFFF;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(16, 185, 129, 0.4);
}

/* Dynamic Hero Carousel */
.hero-slider-wrap {
    position: relative;
    background: var(--navy-dark);
}
.carousel-marine-item {
    min-height: 600px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
}
.carousel-marine-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(3, 27, 51, 0.95) 0%, rgba(3, 27, 51, 0.82) 50%, rgba(3, 27, 51, 0.6) 100%);
}
.hero-content {
    position: relative;
    z-index: 2;
    padding: 4.5rem 0;
}
.hero-pill-badge {
    background: rgba(14, 165, 233, 0.15);
    border: 1px solid var(--cyan-accent);
    color: var(--cyan-accent);
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    margin-bottom: 1.25rem;
}
.hero-title {
    font-size: 3.25rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: #FFFFFF;
    margin-bottom: 1.25rem;
}
.hero-subtitle {
    font-size: 1.15rem;
    color: #CBD5E1;
    margin-bottom: 2rem;
    max-width: 650px;
    line-height: 1.6;
}
.carousel-indicators [data-bs-target] {
    width: 32px;
    height: 6px;
    border-radius: 4px;
    background-color: var(--cyan-accent);
    opacity: 0.5;
}
.carousel-indicators .active {
    opacity: 1;
    width: 48px;
}

/* CDC Scanner Interactive Section */
.cdc-scanner-card {
    background: #FFFFFF;
    border: 1px solid var(--card-border);
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(3, 27, 51, 0.08);
    overflow: hidden;
    position: relative;
}
.scanner-header {
    background: linear-gradient(135deg, var(--navy-dark), var(--navy-mid));
    color: #FFFFFF;
    padding: 2rem 2.5rem;
    border-bottom: 2px solid var(--ocean-blue);
}
.scanner-body {
    padding: 2.5rem;
}
.upload-drop-zone {
    border: 2px dashed #CBD5E1;
    background: #F8FAFC;
    border-radius: 14px;
    padding: 3rem 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.25s ease;
}
.upload-drop-zone:hover, .upload-drop-zone.drag-active {
    border-color: var(--ocean-blue);
    background: rgba(14, 165, 233, 0.04);
}
.drop-icon-box {
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    background: rgba(14, 165, 233, 0.1);
    color: var(--ocean-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
}

/* Enhanced Professional Pricing Section */
.pricing-section-wrap {
    background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
    padding: 5rem 0;
}
.pricing-card-box {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 20px;
    padding: 2.75rem 2.25rem;
    position: relative;
    box-shadow: 0 8px 30px rgba(15, 23, 42, 0.06);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
}
.pricing-card-box:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.1);
}
.pricing-card-box.featured-tier {
    border: 2px solid var(--ocean-blue);
    background: linear-gradient(180deg, #FFFFFF 0%, #F0F9FF 100%);
    box-shadow: 0 12px 40px rgba(2, 132, 199, 0.18);
}
.pricing-badge-pill {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--ocean-blue), #0369A1);
    color: #FFFFFF;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.4rem 1.25rem;
    border-radius: 50px;
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.3);
}
.pricing-icon-badge {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: rgba(14, 165, 233, 0.1);
    color: var(--ocean-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}
.featured-tier .pricing-icon-badge {
    background: rgba(245, 158, 11, 0.15);
    color: var(--brass-gold);
}
.pricing-figure {
    font-size: 3.25rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: var(--navy-dark);
    line-height: 1;
}
.pricing-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 1rem;
    font-size: 0.92rem;
    color: #334155;
}
.pricing-check-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #DCFCE7;
    color: #16A34A;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    flex-shrink: 0;
    margin-top: 2px;
}
.pricing-cross-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #F1F5F9;
    color: #94A3B8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    flex-shrink: 0;
    margin-top: 2px;
}

/* Article Cards & Knowledge Base Grid */
.article-card {
    background: #FFFFFF;
    border: 1px solid var(--card-border);
    border-radius: 14px;
    padding: 1.5rem;
    height: 100%;
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
}
.article-card:hover {
    transform: translateY(-5px);
    border-color: var(--ocean-blue);
    box-shadow: 0 12px 30px rgba(3, 27, 51, 0.08);
}
.article-img-wrap {
    height: 180px;
    border-radius: 10px;
    overflow: hidden;
    background: #0F172A;
}
.article-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.article-card:hover .article-thumb-img {
    transform: scale(1.04);
}
.article-tag {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--ocean-blue);
    background: rgba(14, 165, 233, 0.1);
    padding: 0.25rem 0.65rem;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 0.75rem;
}

/* CTA Banner with off-white headline */
.marine-cta-banner {
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy-mid) 100%);
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.cta-banner-heading {
    color: #F8FAFC !important; /* Clean off-white per user request */
    font-weight: 800;
    letter-spacing: -0.02em;
}

.marine-footer {
    background: #021020;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-links a {
    color: #94A3B8;
    text-decoration: none;
    transition: color 0.2s;
}
.footer-links a:hover {
    color: var(--cyan-accent);
}

/* Floating WhatsApp Widget */
.marine-floating-whatsapp {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1050;
}
.floating-btn-wrap {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 12px;
}
.whatsapp-label {
    background: #FFFFFF;
    padding: 8px 16px;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    border: 1px solid #E2E8F0;
    transition: transform 0.2s ease;
}
.floating-btn-wrap:hover .whatsapp-label {
    transform: translateX(-4px);
}
.pulse-dot {
    width: 10px;
    height: 10px;
    background: #10B981;
    border-radius: 50%;
    box-shadow: 0 0 0 rgba(16, 185, 129, 0.4);
    animation: pulse 1.8s infinite;
}
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}
.label-heading {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--navy-dark);
    line-height: 1.2;
}
.label-sub {
    font-size: 0.72rem;
    color: #64748B;
    line-height: 1.2;
}
.whatsapp-icon-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #25D366;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.floating-btn-wrap:hover .whatsapp-icon-circle {
    transform: scale(1.1);
}

@media (max-width: 991px) {
    .hero-title {
        font-size: 2.25rem;
    }
    .carousel-marine-item {
        min-height: 520px;
    }
}

/* Footer NRI Track Card Styling */
.footer-nritrack-card {
    background: rgba(15, 23, 42, 0.7);
    border-color: rgba(255, 255, 255, 0.12) !important;
    backdrop-filter: blur(8px);
    transition: all 0.25s ease;
}
.footer-nritrack-card:hover {
    border-color: rgba(255, 153, 51, 0.4) !important;
    background: rgba(15, 23, 42, 0.9);
    transform: translateY(-2px);
}
.btn-nritrack-footer {
    background: linear-gradient(135deg, rgba(255, 153, 51, 0.15), rgba(255, 153, 51, 0.08));
    border: 1px solid #FF9933;
    color: #FFB366;
    padding: 0.45rem 1rem;
    border-radius: 8px;
    font-size: 0.82rem;
    transition: all 0.2s ease;
}
.btn-nritrack-footer:hover {
    background: #FF9933;
    color: #0A192F;
    box-shadow: 0 4px 14px rgba(255, 153, 51, 0.35);
}
