/* Custom Reset & Base Typography */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    overflow-x: hidden; /* Prevents unwanted horizontal scrolling on mobile */
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: #F8FAFC;
    color: #0F172A;
    line-height: 1.6;
    -webkit-text-size-adjust: 100%;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-center {
    text-align: center;
}

.sub-heading {
    color: #D32F2F;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 8px;
}

/* Utility Top Bar */
.top-utility {
    background-color: #06101E;
    color: #94A3B8;
    font-size: 13px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.utility-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.utility-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.status-indicator {
    width: 8px;
    height: 8px;
    background-color: #22C55E;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}

.utility-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.utility-right a {
    color: #FFFFFF;
    text-decoration: none;
    font-weight: 600;
}

.utility-right a:hover {
    color: #D32F2F;
}

/* Navbar */
.navbar {
    background-color: #FFFFFF;
    padding: 14px 0;
    border-bottom: 1px solid #E2E8F0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.site-logo {
    height: 60px;
    width: auto;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-menu a {
    color: #1E293B;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: color 0.2s;
}

.nav-menu a:hover, .nav-menu a.active {
    color: #D32F2F;
}

.btn-nav {
    background-color: #D32F2F;
    color: #FFFFFF !important;
    padding: 10px 18px;
    border-radius: 6px;
    font-weight: 700 !important;
    white-space: nowrap;
}

.btn-nav:hover {
    background-color: #B71C1C !important;
}

/* Hero Section */
.hero-section {
    padding: 60px 0;
}

.hero-grid {
    display: flex;
    align-items: center;
    gap: 48px;
}

.hero-text {
    flex: 1.2;
}

.pill-tag {
    display: inline-block;
    background-color: #FEE2E2;
    color: #D32F2F;
    font-size: 12px;
    font-weight: 800;
    padding: 6px 14px;
    border-radius: 30px;
    margin-bottom: 16px;
}

.hero-text h1 {
    font-size: clamp(28px, 5vw, 48px);
    font-weight: 800;
    color: #0B192C;
    line-height: 1.2;
    margin-bottom: 18px;
}

.hero-text p {
    font-size: 17px;
    color: #475569;
    margin-bottom: 28px;
}

.hero-cta-group {
    display: flex;
    gap: 14px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.btn-primary-lg, .btn-secondary-lg {
    display: inline-block;
    text-align: center;
    font-weight: 700;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 15px;
}

.btn-primary-lg {
    background-color: #D32F2F;
    color: #FFFFFF;
    box-shadow: 0 8px 20px rgba(211, 47, 47, 0.25);
}

.btn-secondary-lg {
    background-color: #FFFFFF;
    color: #0B192C;
    border: 1px solid #CBD5E1;
}

.guarantee-bar {
    display: flex;
    gap: 16px;
    font-size: 13px;
    font-weight: 700;
    color: #1E293B;
    flex-wrap: wrap;
}

.hero-visual {
    flex: 1;
    width: 100%;
}

.image-frame {
    position: relative;
}

.hero-img {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.experience-badge {
    position: absolute;
    bottom: -15px;
    left: -15px;
    background-color: #0B192C;
    color: #FFFFFF;
    padding: 16px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.experience-badge .number {
    font-size: 24px;
    font-weight: 800;
    color: #D32F2F;
    display: block;
    line-height: 1;
}

.experience-badge .label {
    font-size: 11px;
    color: #94A3B8;
}

/* Trust Metrics */
.trust-metrics {
    background-color: #0B192C;
    color: #FFFFFF;
    padding: 40px 0;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    text-align: center;
    gap: 24px;
}

.metric-card h3 {
    font-size: 32px;
    color: #D32F2F;
    font-weight: 800;
}

.metric-card p {
    color: #94A3B8;
    font-size: 14px;
}

/* Common Section Layout */
.section {
    padding: 70px 0;
}

.section-header {
    max-width: 650px;
    margin: 0 auto 40px auto;
}

.section-header h2 {
    font-size: clamp(26px, 4vw, 36px);
    color: #0B192C;
    margin-bottom: 12px;
}

.section-header p {
    color: #64748B;
    font-size: 16px;
}

/* About Section */
.about-grid {
    display: flex;
    gap: 48px;
    align-items: center;
}

.about-content {
    flex: 1;
}

.about-content h2 {
    font-size: clamp(26px, 4vw, 36px);
    color: #0B192C;
    margin-bottom: 16px;
}

.about-content p {
    color: #475569;
    margin-bottom: 20px;
}

.bullet-list {
    list-style: none;
}

.bullet-list li {
    padding: 8px 0;
    color: #1E293B;
    font-weight: 600;
    position: relative;
    padding-left: 28px;
    font-size: 15px;
}

.bullet-list li::before {
    content: "✓";
    color: #D32F2F;
    position: absolute;
    left: 0;
    font-weight: 800;
}

.about-cards {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
}

.feature-box {
    background-color: #FFFFFF;
    padding: 24px;
    border-radius: 12px;
    border: 1px solid #E2E8F0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.feature-box .icon {
    font-size: 32px;
    margin-bottom: 12px;
}

.feature-box h4 {
    font-size: 18px;
    color: #0B192C;
    margin-bottom: 8px;
}

.feature-box p {
    color: #64748B;
    font-size: 14px;
}

/* Equipment Section */
.equipment-section {
    background-color: #FFFFFF;
    border-top: 1px solid #E2E8F0;
    border-bottom: 1px solid #E2E8F0;
}

.equipment-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.eq-item {
    background-color: #F8FAFC;
    padding: 24px;
    border-radius: 12px;
    border: 1px solid #E2E8F0;
}

.eq-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.eq-icon {
    font-size: 28px;
}

.eq-status {
    background-color: #E2E8F0;
    color: #0F172A;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
}

.eq-item h3 {
    font-size: 18px;
    color: #0B192C;
    margin-bottom: 8px;
}

.eq-item p {
    color: #64748B;
    font-size: 14px;
}

/* Services Section */
.services-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.service-box {
    background-color: #FFFFFF;
    padding: 32px 24px;
    border-radius: 12px;
    border: 1px solid #E2E8F0;
    position: relative;
}

.s-number {
    font-size: 32px;
    font-weight: 800;
    color: #F1F5F9;
    position: absolute;
    top: 16px;
    right: 20px;
}

.service-box h3 {
    font-size: 18px;
    color: #0B192C;
    margin-bottom: 12px;
}

.service-box p {
    color: #64748B;
    font-size: 14px;
}

/* Onboarding Section */
.onboarding-portal-section {
    background-color: #0B192C;
    color: #FFFFFF;
}

.portal-grid {
    display: flex;
    gap: 48px;
    align-items: flex-start;
}

.portal-info {
    flex: 1;
    width: 100%;
}

.portal-info h2 {
    font-size: clamp(26px, 4vw, 36px);
    margin-bottom: 16px;
}

.portal-info p {
    color: #94A3B8;
    margin-bottom: 24px;
    font-size: 16px;
}

.requirements-box {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 24px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.requirements-box h4 {
    margin-bottom: 14px;
    color: #FFFFFF;
    font-size: 16px;
}

.checklist {
    list-style: none;
}

.checklist li {
    padding: 6px 0;
    color: #CBD5E1;
    font-size: 14px;
}

.checklist li span {
    color: #D32F2F;
    font-weight: bold;
    margin-right: 6px;
}

.portal-form-wrapper {
    flex: 1.2;
    width: 100%;
    background-color: #FFFFFF;
    color: #0F172A;
    padding: 32px 24px;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.form-header h3 {
    font-size: 22px;
    color: #0B192C;
}

.form-header p {
    color: #64748B;
    font-size: 14px;
    margin-bottom: 20px;
}

.form-row {
    display: flex;
    gap: 16px;
}

.form-group {
    flex: 1;
    margin-bottom: 16px;
    width: 100%;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 6px;
    color: #334155;
}

.form-group input, .form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #CBD5E1;
    border-radius: 6px;
    font-size: 14px;
    font-family: inherit;
    background-color: #FFFFFF;
}

.upload-section {
    margin: 16px 0;
    padding: 16px;
    background-color: #F8FAFC;
    border-radius: 8px;
    border: 1px dashed #CBD5E1;
}

.upload-label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #0B192C;
}

.file-upload-group {
    margin-bottom: 10px;
}

.file-custom-btn {
    display: block;
    width: 100%;
    text-align: center;
    background-color: #E2E8F0;
    color: #0F172A;
    padding: 10px 14px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.file-input {
    display: none;
}

.btn-submit {
    width: 100%;
    background-color: #D32F2F;
    color: #FFFFFF;
    border: none;
    padding: 14px;
    border-radius: 8px;
    font-weight: 800;
    font-size: 16px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(211, 47, 47, 0.25);
}

.btn-submit:hover {
    background-color: #B71C1C;
}

/* Footer Section */
.footer {
    background-color: #06101E;
    color: #94A3B8;
    padding: 60px 0 24px 0;
}

.footer-top-grid {
    display: grid;
    grid-template-columns: 2fr 1.5fr 1fr;
    gap: 36px;
    padding-bottom: 36px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo {
    height: 50px;
    margin-bottom: 16px;
}

.footer-dept h4, .footer-nav h4 {
    color: #FFFFFF;
    font-size: 16px;
    margin-bottom: 14px;
}

.footer-dept p {
    font-size: 14px;
    margin-bottom: 8px;
}

.footer-nav ul {
    list-style: none;
}

.footer-nav li {
    margin-bottom: 8px;
}

.footer-nav a {
    color: #94A3B8;
    text-decoration: none;
    font-size: 14px;
}

.footer-nav a:hover {
    color: #D32F2F;
}

.footer-bottom {
    padding-top: 24px;
    text-align: center;
    font-size: 13px;
}


/* ===================================================
   RESPONSIVE MOBILE / TABLET FIXES
   =================================================== */

@media (max-width: 991px) {
    .utility-container {
        flex-direction: column;
        text-align: center;
    }

    .utility-right {
        gap: 12px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav-container {
        flex-direction: column;
        gap: 12px;
    }

    .site-logo {
        height: 50px;
    }

    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px 16px;
    }

    .hero-grid, 
    .about-grid, 
    .portal-grid {
        flex-direction: column;
        gap: 36px;
    }

    .hero-text, 
    .hero-visual, 
    .about-content, 
    .about-cards, 
    .portal-info, 
    .portal-form-wrapper {
        width: 100%;
        text-align: center;
    }

    .hero-cta-group {
        justify-content: center;
    }

    .btn-primary-lg, 
    .btn-secondary-lg {
        width: 100%;
    }

    .guarantee-bar {
        justify-content: center;
    }

    .bullet-list li {
        text-align: left;
    }

    .experience-badge {
        position: relative;
        bottom: 0;
        left: 0;
        margin-top: 16px;
        display: inline-block;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .footer-top-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 28px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .top-utility {
        font-size: 11px;
    }

    .utility-right a {
        margin-left: 0;
    }

    .section {
        padding: 50px 0;
    }

    .portal-form-wrapper {
        padding: 20px 16px;
    }
}