/* =========================================
   GLOBAL VARIABLES
   ========================================= */
:root {
    --brand-navy: #003049;
    --brand-red: #d32f2f;
    --brand-yellow: #ffcc00;
}

/* =========================================
   CONTACT HERO
   ========================================= */
.contact-hero {
    position: relative;
    width: 100%;
    height: 50vh; 
    min-height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: url('image_1fc417.png') no-repeat center center/cover;
    background-attachment: fixed;
    color: #ffffff;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(0, 48, 73, 0.98) 0%, rgba(0, 48, 73, 0.88) 100%);
    z-index: 1;
}

.hero-bg-pattern {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-image: radial-gradient(rgba(255, 204, 0, 0.2) 3px, transparent 3px);
    background-size: 40px 40px;
    z-index: 2;
}

.contact-hero .container {
    position: relative;
    z-index: 3;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 10px 24px;
    border-radius: 50px;
    margin-bottom: 25px;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-badge i {
    color: var(--brand-red);
    font-size: 1.2rem;
}

.hero-title {
    font-family: 'Poppins', sans-serif;
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.1;
    letter-spacing: -1px;
}

.hero-title .highlight {
    color: var(--brand-yellow);
}

.hero-subtitle {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.hero-content {
    animation: fadeInUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
    .contact-hero {
        height: 45vh;
        min-height: 380px;
    }
    .hero-title {
        font-size: 3rem;
    }
    .hero-subtitle {
        font-size: 1.1rem;
    }
}

/* =========================================
   CORPORATE RIBBON DESIGN
   ========================================= */
.info-ribbon {
    width: 100%;
    background-color: var(--brand-navy);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 10;
}

.ribbon-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    width: 100%;
}

.ribbon-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 25px 10px;
    text-decoration: none;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.ribbon-item:last-child {
    border-right: none;
}

.ribbon-item:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.ribbon-icon i {
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.3);
    transition: 0.3s ease;
}

.ribbon-item:hover .ribbon-icon i {
    color: var(--brand-yellow);
    transform: scale(1.1);
}

.ribbon-text {
    display: flex;
    flex-direction: column;
}

.ribbon-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 1px;
    margin-bottom: 2px;
}

.ribbon-value {
    font-size: 0.95rem;
    font-weight: 600;
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
}

.ribbon-item.highlight-box {
    background-color: var(--brand-red);
}

.ribbon-item.highlight-box .ribbon-icon i {
    color: #ffffff;
}

.ribbon-item.highlight-box .ribbon-label {
    color: rgba(255, 255, 255, 0.8);
}

.highlight-box:hover {
    background-color: #b71c1c;
}

@media (max-width: 1200px) {
    .ribbon-grid { grid-template-columns: repeat(3, 1fr); }
    .ribbon-item:nth-child(4), .ribbon-item:nth-child(5) {
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }
    .ribbon-item:nth-child(5) {
        grid-column: span 2;
        background-color: var(--brand-red); 
    }
}

@media (max-width: 991px) {
    .ribbon-grid { grid-template-columns: repeat(2, 1fr); }
    .ribbon-item {
        flex-direction: column; 
        justify-content: center;
        text-align: center;
        padding: 20px 5px; 
        gap: 10px;
        border-right: 1px solid rgba(255, 255, 255, 0.1);
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        height: auto; min-height: 110px; 
    }
    .ribbon-item:nth-child(2n) { border-right: none; }
    .ribbon-value { font-size: 0.85rem; word-break: break-word; }
    .ribbon-item:nth-child(5) {
        grid-column: span 2; 
        flex-direction: row; 
        text-align: left;
        justify-content: center;
        padding: 15px; border-bottom: none; 
    }
    .ribbon-item:nth-child(5) .ribbon-text { text-align: left; }
}

@media (max-width: 768px) {
    .ribbon-grid { display: flex; flex-direction: column; }
    .ribbon-item {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        padding: 20px; padding-left: 30px;
        justify-content: flex-start; flex-direction: row; text-align: left;
    }
    .ribbon-item:last-child {
        border-bottom: none; justify-content: center; padding: 25px;
    }
}

@media (max-width: 370px) {
    .ribbon-value { font-size: 0.75rem; }
    .ribbon-item:nth-child(5) { gap: 10px; }
    .ribbon-item:nth-child(5) .ribbon-label { display: none; }
}

/* =========================================
   CENTRAL ANCHOR LINE
   ========================================= */
.brand-separator {
    position: relative;
    width: 100%;
    height: 10px;
    background: transparent;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: -5px;
    margin-bottom: -5px;
}

.brand-separator::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, rgba(0, 48, 73, 0) 0%, var(--brand-red) 50%, rgba(0, 48, 73, 0) 100%);
    opacity: 0.8;
}

.brand-separator::after {
    content: '';
    position: relative;
    width: 12px;
    height: 12px;
    background-color: var(--brand-yellow);
    transform: rotate(45deg);
    border: 3px solid var(--brand-navy);
    box-shadow: 0 0 10px rgba(211, 47, 47, 0.8);
    z-index: 2;
}

/* =========================================
   LOCATION SECTION HEADER
   ========================================= */
.location-section-header {
    text-align: center;
    padding: 60px 20px 40px;
    background-color: #f8f9fa; /* Matches the grid background below */
}

.loc-title {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    color: var(--brand-navy);
    font-weight: 800;
    margin-bottom: 10px;
    letter-spacing: -0.5px;
}

.loc-title .highlight {
    color: var(--brand-red);
}

.loc-subtitle {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto 20px;
}

.loc-divider {
    width: 60px;
    height: 4px;
    background: var(--brand-yellow);
    margin: 0 auto;
    border-radius: 2px;
}

@media (max-width: 768px) {
    .loc-title { font-size: 2rem; }
}

/* =========================================
   4-COLUMN OFFICE LOCATIONS GRID
   ========================================= */
.locations-grid-section {
    background-color: #f8f9fa; 
    padding: 0 0 80px 0;
    font-family: 'Poppins', sans-serif;
}

.grid-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.office-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

/* Card Design */
.location-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.location-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 48, 73, 0.1); 
    border-color: rgba(211, 47, 47, 0.2);
}

/* Row 1: Office Type */
.card-row-1 { margin-bottom: 15px; }
.office-type {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.office-type.head-office {
    background-color: rgba(255, 204, 0, 0.2);
    color: #b38f00;
    border: 1px solid rgba(255, 204, 0, 0.5);
}
.office-type.regional {
    background-color: rgba(0, 48, 73, 0.1);
    color: var(--brand-navy);
}
.office-type.branch {
    background-color: rgba(211, 47, 47, 0.1);
    color: var(--brand-red);
}

/* Row 2: State, Area */
.card-row-2 h3 {
    font-size: 1.3rem;
    color: var(--brand-navy);
    font-weight: 700;
    margin: 0 0 15px 0;
    line-height: 1.3;
}

/* Row 3: Address */
.card-row-3 { flex-grow: 1; }
.card-row-3 p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
    margin: 0 0 20px 0;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}
.card-row-3 i {
    color: var(--brand-red);
    margin-top: 3px;
}

/* Row 4: Mobile Number */
.card-row-4 {
    margin-bottom: 20px;
    padding-top: 15px;
    border-top: 1px dashed #e0e0e0;
}
.card-row-4 a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--brand-navy);
    text-decoration: none;
    transition: color 0.2s;
}
.card-row-4 a:hover {
    color: var(--brand-red);
}
.card-row-4 i {
    color: var(--brand-yellow);
    font-size: 1.2rem;
}

/* Row 5: Action Buttons */
.card-row-5 {
    display: grid;
    grid-template-columns: 2fr 1fr; 
    gap: 10px;
}

.btn-map, .btn-share {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 10px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    font-family: inherit;
}

.btn-map {
    background-color: var(--brand-navy);
    color: #ffffff;
}
.btn-map:hover {
    background-color: var(--brand-red);
    color: #ffffff;
}

.btn-share {
    background-color: transparent;
    color: #555;
    border: 1px solid #ccc;
}
.btn-share:hover {
    background-color: #eee;
    color: var(--brand-navy);
    border-color: #bbb;
}

/* Grid Responsive */
@media (max-width: 1100px) {
    .office-cards-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .office-cards-grid { grid-template-columns: 1fr; }
    .card-row-5 { grid-template-columns: 1fr 1fr; }
}

/* =========================================
   PROFILE EVALUATION SECTION
   ========================================= */
.eval-section {
    position: relative;
    width: 100%;
    padding: 100px 0;
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, rgba(0, 48, 73, 0.92) 0%, rgba(0, 48, 73, 0.80) 100%),
                url('https://images.unsplash.com/photo-1541339907198-e08756dedf3f?auto=format&fit=crop&q=80&w=1600');
    background-size: cover;
    background-position: center center;
    background-attachment: fixed; 
    background-repeat: no-repeat;
}

.eval-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr; 
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.eval-content h2 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.eval-content .highlight {
    color: var(--brand-yellow); 
    position: relative;
    display: inline-block;
}

.eval-content .highlight::after {
    content: '';
    position: absolute;
    bottom: 5px; left: 0;
    width: 100%; height: 8px;
    background: rgba(211, 47, 47, 0.7); 
    z-index: -1;
    transform: rotate(-2deg);
}

.eval-content p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 35px;
    max-width: 550px;
    line-height: 1.7;
    font-weight: 400;
}

.eval-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.benefit-pill {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    cursor: default;
}

.benefit-pill i {
    color: var(--brand-yellow);
    font-size: 1.1rem;
}

.benefit-pill:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.4);
}

.eval-form-card {
    background: rgba(255, 255, 255, 0.08); 
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.4);
    border: 1px solid rgba(255, 255, 255, 0.15);
    position: relative;
    overflow: hidden;
    color: #fff; 
}

.eval-form-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 6px;
    background: var(--brand-red);
}

.hero-material-form { display: flex; flex-direction: column; gap: 18px; }
.hero-form-row { display: flex; gap: 15px; }
.glass-input-group { position: relative; width: 100%; }

.g-input, .g-select {
    width: 100%; 
    padding: 14px 15px 14px 40px;
    background: rgba(0, 0, 0, 0.2); 
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px; 
    outline: none; transition: 0.3s;
    font-size: 0.95rem; color: #fff;
    -webkit-appearance: none; appearance: none;
    box-sizing: border-box;
}

.g-input::placeholder { color: rgba(255, 255, 255, 0.6); }

.g-icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: rgba(255, 255, 255, 0.6); font-size: 1.1rem; pointer-events: none; transition: 0.3s; }
.arrow-icon { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: rgba(255, 255, 255, 0.6); pointer-events: none; }

.g-input:focus, .g-select:focus { background: rgba(0, 0, 0, 0.4); border-color: var(--brand-yellow); }
.g-input:focus ~ .g-icon { color: var(--brand-yellow); }

.g-select option {
    background-color: var(--brand-navy);
    color: #fff;
    font-size: 0.95rem;
}

.btn-glass-submit {
    margin-top: 10px; background: var(--brand-yellow); color: var(--brand-navy); 
    padding: 16px; border: none; border-radius: 10px;
    font-weight: 700; cursor: pointer; transition: 0.3s;
    display: flex; align-items: center; justify-content: center; gap: 8px;
    text-transform: uppercase; font-size: 0.95rem; width: 100%;
    letter-spacing: 1px;
}

.btn-glass-submit:hover { 
    background: #e6b800; 
    transform: translateY(-2px); 
    box-shadow: 0 10px 20px rgba(255, 204, 0, 0.2); 
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 992px) {
    .eval-section { padding: 60px 0; background-attachment: scroll; }
    .eval-container { grid-template-columns: 1fr; gap: 40px; }
    .eval-content { text-align: center; }
    .eval-content h2 { font-size: 2.2rem; }
    .eval-content p { margin-left: auto; margin-right: auto; }
    .eval-benefits { justify-content: center; }
}

@media (max-width: 768px) {
    .eval-benefits {
        display: grid; grid-template-columns: 1fr 1fr; gap: 10px; 
        width: 100%; justify-content: stretch; 
    }
    .benefit-pill {
        width: 100%; justify-content: center; text-align: center;
        padding: 12px 5px; font-size: 0.8rem; white-space: nowrap; 
    }
    @media (max-width: 380px) {
        .benefit-pill { flex-direction: column; gap: 5px; white-space: normal; font-size: 0.75rem; }
    }
}

/* =========================================
   OUR NETWORKS SECTION
   ========================================= */
.networks-section {
    padding: 60px 20px 80px;
    background-color: #ffffff; /* Clean white background */
    font-family: 'Poppins', sans-serif;
}

.networks-section .container {
    max-width: 1200px;
    margin: 0 auto;
}

.networks-header {
    text-align: center;
    margin-bottom: 50px;
}

/* 4-Column Grid */
.networks-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* Individual City Card */
.network-item {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    padding: 20px 15px;
    text-align: center;
    font-weight: 700;
    color: var(--brand-navy);
    font-size: 1.1rem;
    border-radius: 8px;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.02);
}

/* Hover Effect: Red border and text with subtle shadow lift */
.network-item:hover {
    transform: translateY(-3px);
    border-color: var(--brand-red);
    color: var(--brand-red);
    box-shadow: 0 8px 20px rgba(211, 47, 47, 0.1);
}

/* =========================================
   RESPONSIVE NETWORKS GRID
   ========================================= */

/* Tablets */
@media (max-width: 992px) {
    .networks-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Mobile Devices */
@media (max-width: 768px) {
    .networks-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    .network-item {
        font-size: 1rem;
        padding: 15px 10px;
    }
}

/* Very Small Phones */
@media (max-width: 400px) {
    .networks-grid {
        grid-template-columns: 1fr;
    }
}