/* Core Styling Matrix Reset & Variables Setup */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

body {
    background-color: #fcfdfe;
    color: #2c3e50;
    line-height: 1.6;
}

.main-red-text {
    color: #cc0000 !important;
}

.bg-red-btn {
    background-color: #cc0000 !important;
    color: #ffffff !important;
}

/* Header UI Elements */
header {
    position: sticky;
    top: 0;
    background: #ffffff;
    padding: 16px 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
    z-index: 1000;
}

.logo-area {
    font-size: 24px;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
}

nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

nav a {
    text-decoration: none;
    color: #475569;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: color 0.2s ease;
}

nav a:hover,
nav a.active {
    color: #cc0000;
}

/* Dropdown Submenu UI */
.dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    min-width: 200px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    border-radius: 6px;
    padding: 8px 0;
    margin-top: 10px;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu a {
    padding: 10px 20px;
    display: block;
    font-size: 14px;
    color: #334155;
}

.dropdown-menu a:hover {
    background: #f1f5f9;
    color: #cc0000;
}

.nav-contact-btn {
    padding: 9px 24px;
    border-radius: 50px;
    box-shadow: 0 4px 10px rgba(204, 0, 0, 0.15);
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
}

/* Hero Display Settings */
.hero-banner {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    padding: 60px 8%;
    align-items: center;
    gap: 40px;
    background: #f4f7fc;
    min-height: 500px;
}

.hero-info h1 {
    font-size: 50px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-info p {
    font-size: 16px;
    color: #64748b;
    margin-bottom: 30px;
}

.hero-actions {
    display: flex;
    gap: 15px;
}

.action-btn-filled {
    padding: 12px 28px;
    border-radius: 30px;
    border: none;
    font-weight: 600;
    font-size: 15px;
    box-shadow: 0 4px 12px rgba(204, 0, 0, 0.25);
    cursor: pointer;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.action-btn-filled:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.action-btn-outlined {
    border: 1px solid #cbd5e1;
    background: transparent;
    padding: 12px 28px;
    border-radius: 30px;
    color: #475569;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.action-btn-outlined:hover {
    background: #f1f5f9;
}

.hero-visual img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    aspect-ratio: 4/3;
    object-fit: cover;
}

/* Grid System Configurations */
.section-headline {
    text-align: center;
    padding: 50px 20px 25px;
    clear: both;
}

.section-headline h2 {
    font-size: 34px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 10px;
}

.section-headline p {
    color: #64748b;
    font-size: 15px;
}

.cards-layout-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto 50px;
    padding: 0 20px;
}

.portal-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    border: 1px solid #e2e8f0;
    transition: transform 0.25s ease;
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.portal-card:hover {
    transform: translateY(-4px);
}

.card-img-wrapper {
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-placeholder-bg {
    background-color: #f1f5f9;
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: 1px solid #e2e8f0;
    min-height: 220px;
}

.placeholder-text {
    font-size: 14px;
    color: #64748b;
    font-weight: 700;
    text-align: center;
    padding: 20px;
}

.horizontal-card {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    max-width: 1100px;
    margin: 0 auto;
}

.horizontal-img-wrapper {
    width: 400px;
    max-width: 100%;
    height: auto;
    min-height: 260px;
}

.card-content-block {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-content-block h3 {
    font-size: 20px;
    color: #0f172a;
    margin-bottom: 10px;
}

.card-content-block p {
    font-size: 14px;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 20px;
}

.card-btn {
    margin-top: auto;
    width: fit-content;
    font-size: 14px;
    padding: 10px 22px;
}

/* Accordion Stack Lists */
.accordion-wrapper {
    max-width: 1200px;
    margin: 40px auto 70px;
    padding: 0 20px;
}

.accordion-title {
    font-size: 18px;
    font-weight: 700;
    color: #475569;
    margin-bottom: 15px;
}

.accordion-bar {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: #1e293b;
    cursor: pointer;
    border-bottom: none;
    transition: background 0.2s ease;
}

.accordion-bar:hover {
    background: #f8fafc;
}

.accordion-bar:last-child {
    border-bottom: 1px solid #e2e8f0;
}

.accordion-bar i {
    color: #94a3b8;
}

/* ================================================================= */
/* ====== COMPREHENSIVE EXACT REPLICATED CONTACT SHEET STYLING ====== */
/* ================================================================= */
.contact-hero-banner {
    width: 100%;
    min-height: 280px;
    background-image: linear-gradient(rgba(15, 23, 42, 0.75), rgba(15, 23, 42, 0.85)), url('https://images.unsplash.com/photo-1497366216548-37526070297c?auto=format&fit=crop&w=1200&q=80');
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 40px 20px;
}

.contact-hero-overlay h1 {
    font-size: 42px;
    color: #ffffff;
    font-weight: 800;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

.contact-hero-overlay p {
    font-size: 18px;
    color: #cbd5e1;
    max-width: 650px;
    margin: 0 auto;
    font-weight: 400;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    max-width: 1200px;
    margin: -40px auto 60px;
    padding: 0 20px;
    position: relative;
    z-index: 10;
}

.contact-card-box {
    background: #ffffff;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
}

.contact-card-box h3 {
    font-size: 26px;
    margin-bottom: 30px;
    color: #0f172a;
    font-weight: 700;
}

.meta-info-row {
    display: flex;
    gap: 20px;
    margin-bottom: 28px;
    align-items: flex-start;
}

.meta-info-row .icon-circle {
    width: 46px;
    height: 46px;
    background: #fff5f5;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.meta-info-row i {
    color: #cc0000;
    font-size: 18px;
}

.meta-info-row strong {
    font-size: 16px;
    color: #0f172a;
    display: block;
    margin-bottom: 4px;
}

.meta-info-row p {
    font-size: 14px;
    color: #475569;
    line-height: 1.6;
}

.form-input-element {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    margin-bottom: 18px;
    outline: none;
    background: #ffffff;
    font-size: 14px;
    transition: border-color 0.2s ease;
}

.form-input-element:focus {
    border-color: #cc0000;
}

.form-submit-btn {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(204, 0, 0, 0.2);
}

/* Deep Dive Detail Modules */
.detailed-view-panel {
    background: #ffffff;
    max-width: 950px;
    margin: 30px auto 60px;
    padding: 45px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.03);
    border: 1px solid #e2e8f0;
}

.deep-dive-body h3 {
    font-size: 22px;
    color: #0f172a;
    margin: 35px 0 15px;
    border-left: 4px solid #cc0000;
    padding-left: 14px;
    font-weight: 700;
}

.deep-dive-body p {
    font-size: 16px;
    color: #475569;
    line-height: 1.8;
    margin-bottom: 22px;
}

.deep-dive-body blockquote {
    background: #fff5f5;
    border-left: 4px solid #cc0000;
    padding: 22px;
    margin: 30px 0;
    font-style: italic;
    color: #b30000;
    font-size: 16px;
    border-radius: 0 8px 8px 0;
}

.deep-dive-body ul {
    margin: 15px 0 30px 25px;
}

.deep-dive-body ul li {
    margin-bottom: 12px;
    font-size: 15px;
    color: #475569;
}

.back-btn {
    float: left;
    padding: 8px 18px;
    font-size: 13px;
    margin-bottom: 25px;
    border-radius: 6px;
}

.directory-table {
    width: 100%;
    border-collapse: collapse;
    margin: 25px 0 15px;
}

.directory-table th,
.directory-table td {
    border: 1px solid #e2e8f0;
    padding: 16px 20px;
    font-size: 15px;
    text-align: left;
}

.directory-table th {
    background: #f8fafc;
    color: #0f172a;
    font-weight: 700;
    width: 30%;
}

.directory-table td {
    color: #475569;
}

/* Standardized Footer Matrix */
footer {
    background: #fdfcf9;
    border-top: 1px solid #e2e8f0;
    padding: 60px 8% 25px;
}

.footer-columns-container {
    display: grid;
    grid-template-columns: 1.4fr repeat(4, 1fr);
    gap: 40px;
    max-width: 1300px;
    margin: 0 auto;
}

.col-block h4 {
    font-size: 16px;
    color: #0f172a;
    margin-bottom: 20px;
}

.col-block p {
    font-size: 14px;
    color: #64748b;
}

.col-block ul {
    list-style: none;
}

.col-block ul li {
    margin-bottom: 10px;
    font-size: 14px;
}

.col-block ul li a {
    text-decoration: none;
    color: #64748b;
    cursor: pointer;
}

.col-block ul li a:hover {
    color: #cc0000;
}

.copyright-tagline {
    text-align: center;
    border-top: 1px solid #e2e8f0;
    margin-top: 40px;
    padding-top: 20px;
    font-size: 13px;
    color: #94a3b8;
}

/* Active State Switchers */
.tab-view {
    display: none;
}

.tab-view.active-view {
    display: block;
}

/* Responsive Media Controls */
@media (max-width: 900px) {

    .hero-banner,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        margin-top: 20px;
    }

    .footer-columns-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .horizontal-card img {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .detailed-view-panel {
        margin: 15px;
        padding: 24px;
    }

    .directory-table th,
    .directory-table td {
        display: block;
        width: 100%;
    }

    .directory-table th {
        border-bottom: none;
    }
}

@media (max-width: 500px) {
    .footer-columns-container {
        grid-template-columns: 1fr;
    }

    header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    nav {
        flex-wrap: wrap;
        justify-content: center;
    }
}