/* Base Styles and reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

body {
    background-color: #ffffff;
    overflow-x: hidden;
}

/* Reusable Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

/* --- Typography Common Styles --- */
.section-title {
    font-size: 26px;
    font-weight: 900;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 8px;
    letter-spacing: 0.5px;
}

/* small blue underline */
.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    height: 3px;
    background-color: #007BFF;
    width: 60px;
}

.left-align {
    text-align: left;
}

.left-align::after {
    left: 0;
}

.center-align {
    text-align: center;
}

.center-align::after {
    left: 50%;
    transform: translateX(-50%);
}

.light-text {
    color: #ffffff;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
}

.dark-text {
    color: #000000;
}

.section-subtitle {
    font-size: 13px;
    font-weight: 500;
    line-height: 1.8;
    margin-bottom: 40px;
    text-align: center;
}

.btn {
    display: inline-block;
    padding: 12px 20px;
    border-radius: 6px;
    border: none;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    letter-spacing: 0.5px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}


.blue-btn {
    background-color: #007BFF;
    color: #ffffff;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.12);
}

.blue-btn:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.14);
}

/* HERO SECTION  */
.hero-section {
    position: relative;
    width: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('img/home_assets/workstations.jpeg') no-repeat center center/cover;
    min-height: 700px;
    display: flex;
    flex-direction: column;
    padding-bottom: 150px;
}

/* Navbar */
header {
    width: 100%;
    padding: 20px 0;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1000;
    transition: background-color 0.3s ease, padding 0.3s ease;
}

/* Added JS sticky class */
header.sticky {
    position: fixed;
    background-color: rgba(0, 0, 0, 0.9);
    padding: 10px 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
}

.logo-area {
    display: flex;
    align-items: center;
}

.logo-img {
    width: 160px;
    height: auto;
    filter: brightness(0) invert(1);
}

header.sticky .logo-img {
    filter: brightness(0) invert(1);
}

nav ul {
    list-style: none;
    display: flex;
    gap: 45px;
}

nav a {
    text-decoration: none;
    color: #ffffff;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Ensure Bootstrap .nav-link matches site font */
.nav-link, nav a {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
}

/* Stronger selector to override Bootstrap and inline variations across pages */
header#main-nav .nav-link,
header#main-nav nav a {
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 600 !important;
    font-size: 11px !important;
    letter-spacing: 0.5px !important;
    color: inherit !important;
}

/* Make nav links white and responsive with subtle hover */
header#main-nav .nav-link,
header#main-nav nav a {
    color: #ffffff !important;
    transition: color 160ms ease, transform 160ms ease;
}
header#main-nav .nav-link:hover,
header#main-nav nav a:hover {
    color: #cfe8ff !important;
    transform: translateY(-3px);
}

header#main-nav .nav-link.active,
header#main-nav nav a.active {
    color: #90c8ff !important;
    font-weight: 700 !important;
    border-bottom: 2px solid #90c8ff;
    padding-bottom: 2px;
}

/* Mobile collapsed navbar background and spacing for readability */
@media (max-width: 992px) {
    header#main-nav .navbar-collapse {
        background: rgba(0,0,0,0.92);
        padding: 12px 16px;
        border-radius: 8px;
    }
    header#main-nav .nav-link {
        color: #ffffff !important;
        padding: 8px 0;
    }
}

/* Footer links contrast and hover */
.footer-col a {
    color: #ffffff;
    transition: color 160ms ease, transform 160ms ease;
}
.footer-col a:hover {
    color: #d6e9ff;
    transform: translateY(-2px);
}

nav a:hover {
    color: #007BFF;
}

/* Hero Text */
.hero-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin: 40px auto 0;
    max-width: 900px;
    padding: 0 20px;
}

.hero-content h1 {
    color: #ffffff;
    font-size: 42px;
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: 1px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin-bottom: 25px;
}

.subheadline {
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.5;
    margin-bottom: 40px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.button-group {
    display: flex;
    gap: 20px;
}

/* Ensure hero CTA contrasts with the dark hero background */
.hero-section .button-group .btn {
    background-color: #007BFF;
    color: #ffffff;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.12);
}
.hero-section .button-group .btn:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.14);
}

.button-group .btn {
    min-width: 170px;
}

/* OVERLAPPING FEATURES SECTION */
.features-section {
    background-color: #ffffff;
    position: relative;
    padding: 80px 0;
}

.cards-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: 20px;
    /* place features ~20px below hero CTAs */
    margin-top: 20px;
    position: relative;
    z-index: 10;
    padding: 50px 20px;
}

.card {
    background-color: #ffffff;
    border: 1.5px solid #6c757d;
    border-radius: 8px;
    width: 300px;
    padding: 35px 25px;
    text-align: center;
    box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.08);
    background-clip: padding-box;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.12);
}

.card i {
    color: #007BFF;
    font-size: 30px;
    margin-bottom: 20px;
}

.card h3 {
    color: #007BFF;
    font-size: 11px;
    font-weight: 800;
    margin-bottom: 15px;
}

.card p {
    color: #333333;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.7;
}

/*  ABOUT US SECTION */
.about-section {
    position: relative;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.3) 100%), url('img/home_assets/old-couple.jpeg') no-repeat center center/cover;
    padding: 80px 0;
    background-attachment: fixed;
}

.about-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.about-text {
    color: #ffffff;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.8;
    margin-bottom: 25px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

.read-more-btn {
    font-size: 10px;
    padding: 8px 25px;
    border-radius: 20px;
}

/* WHAT SETS US APART  */
.sets-us-apart-section {
    background-color: #ffffff;
    padding: 80px 0;
}

.image-grid {
    display: flex;
    justify-content: space-between;
    gap: 2%;
    margin-top: 40px;
}

.grid-item {
    width: 32%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.3);
    height: 220px;
    transition: transform 0.3s ease;
}

.grid-item:hover {
    transform: scale(1.02);
}

.grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* WHY CHOOSE US SECTION */
.why-choose-us-section {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('img/home_assets/chairs-workstations.jpeg') no-repeat center center/cover;
    padding: 80px 0 140px 0;
    background-attachment: fixed;
}

/* WHAT WE OFFER CARDS */
.offer-cards-section {
    background-color: #ffffff;
    padding: 80px 0;
}

.offer-cards {
    margin-top: 0;
    position: relative;
    z-index: 10;
}

.offer-card {
    padding: 0;
    overflow: hidden;
    text-align: center;
    border: 1.5px solid #6c757d;
    border-radius: 8px;
}

.offer-img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-bottom: 1.5px solid #6c757d;
}

.offer-card h3.offer-title {
    color: #007BFF;
    font-size: 11px;
    font-weight: 800;
    margin: 15px 0 10px;
}

.offer-card p {
    color: #333333;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.7;
    margin-bottom: 20px;
    padding: 0 15px;
}

/* TESTIMONIALS SECTION*/
.testimonials-section {
    padding: 60px 0;
    background-color: #ffffff;
}

.testimonials-container {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.testimonials-left {
    flex: 1;
    display: flex;
    justify-content: center;
}

.word-cloud-img {
    width: 100%;
    max-width: 400px;
    height: 420px;
    object-fit: cover;
    border-radius: 10px;
}

.testimonials-right {
    flex: 1.5;
    max-height: 550px;
    overflow-y: auto;
    padding-right: 20px;
}

.testimonials-title {
    font-size: 30px;
    margin-bottom: 40px;
}

/* Custom Scrollbar for Testimonials */
.testimonials-right::-webkit-scrollbar {
    width: 6px;
}

.testimonials-right::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.testimonials-right::-webkit-scrollbar-thumb {
    background: #007BFF;
    border-radius: 4px;
}

.testimonials-right::-webkit-scrollbar-thumb:hover {
    background: #0056b3;
}

.testimonial {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.testimonial:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 5px;
}

.testimonial-header strong {
    font-size: 12px;
    color: #000;
    font-weight: 800;
}

.stars {
    color: #f39c12;
    font-size: 14px;
    letter-spacing: 2px;
}

.testimonial-text {
    font-size: 10px;
    color: #333;
    line-height: 1.6;
    font-weight: 500;
}

/* CONTACT US SECTION*/
.contact-section {
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('img/home_assets/WhatsApp Image 2026-02-21 at 1.39.39 PM (8).jpeg') no-repeat center center/cover;
    padding: 80px 0;
    color: #fff;
}

.contact-container {
    display: flex;
    gap: 40px;
    margin-top: 30px;
}

.contact-left {
    flex: 1;
}

.contact-left p {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.8;
}

.contact-right {
    flex: 1;
    background-color: transparent;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-group label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 5px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid transparent;
    border-radius: 4px;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    background-color: #f9f9f9;
    transition: border-color 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #007BFF;
    background-color: #ffffff;
    box-shadow: 0 0 8px rgba(0, 123, 255, 0.3);
}

.form-group textarea {
    resize: vertical;
}

.white-submit-btn {
    background-color: #ffffff;
    color: #000000;
    align-self: flex-start;
    padding: 10px 30px;
    border-radius: 6px;
    font-weight: 800;
}

.white-submit-btn:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

/* Modern contact card + enhanced form styles */
.contact-right .contact-card {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(6px);
    border-radius: 16px;
    padding: 26px;
    box-shadow: 0 8px 30px rgba(2,6,23,0.45);
    border: 1px solid rgba(255,255,255,0.06);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.form-group label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: rgba(255,255,255,0.9);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 12px;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    background-color: rgba(255,255,255,0.96);
    color: #0b0b0b;
    transition: transform 0.15s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #9aa4b2;
    font-weight: 500;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 6px 18px rgba(59,130,246,0.12);
    transform: translateY(-2px);
    background-color: #ffffff;
}

.submit-btn {
    background: linear-gradient(90deg,#0066ff 0%, #007bff 50%, #005ecc 100%);
    color: #fff;
    padding: 12px 22px;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(3,102,214,0.18);
    font-weight: 900;
    letter-spacing: 0.6px;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 26px rgba(3,102,214,0.22);
}

.form-status {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #e6ffed;
}

@media (max-width: 900px) {
    .contact-right .contact-card {
        padding: 20px;
        margin-top: 10px;
    }
}

/* FOOTER */
footer {
    background-color: #ffffff;
    padding: 30px 0;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-left {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    width: 250px;
    margin-bottom: 5px;
    filter: none;
}

.tagline {
    font-size: 11px;
    font-style: italic;
    color: #cccccc;
    margin-top: 4px;
}

.footer-right {
    text-align: right;
}

.follow-us {
    font-size: 10px;
    font-weight: 700;
    margin-bottom: 10px;
}

.social-links {
    display: flex;
    flex-direction: row;
    gap: 12px;
    align-items: center;
    margin-top: 10px;
}

.social-links a {
    text-decoration: none;
    color: inherit;
    font-size: 11px;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.social-links a i {
    font-size: 20px;
}

/* ANIMATIONS and EFFECTS */
.fade-in {
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.fade-in.visible {
    opacity: 1;
}

.slide-up {
    transform: translateY(30px);
    transition: transform 0.8s ease-out, opacity 0.8s ease-out;
    opacity: 0;
}

.slide-up.visible {
    transform: translateY(0);
    opacity: 1;
}

/* MEDIA QUERIES FOR MOBILE/TABLET */
@media (max-width: 900px) {
    .hero-section {
        min-height: auto;
        padding-bottom: 60px;
    }

    .nav-container {
        flex-direction: column;
        gap: 15px;
        padding: 0 20px;
    }

    nav ul {
        gap: 20px;
    }

    .hero-content {
        margin-top: 0;
        padding: 140px 16px 40px;
    }

    .hero-content h1 {
        font-size: 30px;
    }

    .subheadline {
        font-size: 12px;
        word-break: break-word;
        overflow-wrap: break-word;
        white-space: normal;
    }

    .button-group {
        flex-direction: column;
        align-items: center;
        gap: 14px;
        width: 100%;
    }

    .button-group .btn {
        width: 80%;
        min-width: unset;
    }

    .cards-container {
        flex-direction: column;
        align-items: center;
        margin-top: -80px;
    }

    .card {
        width: 100%;
        max-width: 350px;
    }

    .image-grid {
        flex-direction: column;
        gap: 20px;
    }

    .grid-item {
        width: 100%;
    }

    .offer-cards {
        margin-top: -60px;
    }

    .testimonials-container {
        flex-direction: column;
        align-items: center;
    }

    .testimonials-left {
        margin-bottom: 30px;
    }

    .contact-container {
        flex-direction: column;
    }

    .footer-container {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    .footer-right {
        text-align: center;
    }

    .social-links {
        align-items: center;
    }
}

/* =========================================
   GLOBAL & SHARED PAGE STYLES
   ========================================= */
.page-hero {
    position: relative;
    background-size: cover;
    background-position: center;
    padding: 150px 20px 100px;
    text-align: center;
    color: white;
}
.page-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}
.page-hero .hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}
.page-hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    font-weight: 800;
}
.page-hero p {
    font-size: 1.2rem;
    font-weight: 500;
    line-height: 1.5;
}

/* Sub-titles and Headings */
.orange-subtitle {
    color: #ff9900;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 5px;
    display: block;
}
.section-main-title {
    font-size: 2.5rem;
    font-weight: 800;
    text-transform: uppercase;
    color: #222;
    margin-bottom: 20px;
    line-height: 1.1;
}
.split-section {
    padding: 80px 20px;
    display: flex;
    align-items: center;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
}
.split-section.reverse {
    flex-direction: row-reverse;
}
.split-text {
    flex: 1;
}
.split-text p {
    color: #555;
    font-size: 14px;
    line-height: 1.8;
    font-weight: 500;
}
.split-visual {
    flex: 1;
    display: flex;
    gap: 15px;
    justify-content: center;
}

/* =========================================
   SERVICES PAGE STYLES
   ========================================= */
.services-hero {
    background-image: url('img/services_assets/services_1_headset_hero.jpeg');
}

/* Image Grids for Services */
.grid-3-imgs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.grid-3-imgs img:first-child {
    grid-column: 1 / -1;
}
.grid-2-imgs {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}
.split-visual img {
    width: 100%;
    border-radius: 15px;
    object-fit: cover;
    max-height: 260px;
}
.grid-3-imgs img,
.grid-2-imgs img {
    max-height: 145px;
}

/* Team Section */
.team-section {
    padding: 80px 20px;
    background: #f9f9f9;
    text-align: center;
}
.team-title {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 50px;
    text-transform: uppercase;
}
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}
.team-card {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    overflow: hidden;
    padding-bottom: 30px;
}
.team-card-img {
    height: 200px;
    width: 100%;
    object-fit: cover;
}
.team-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 4px solid #fff;
    margin-top: -40px;
    position: relative;
    z-index: 2;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.team-name {
    margin-top: 15px;
    font-size: 1.2rem;
    font-weight: 800;
    text-transform: uppercase;
}
.team-role {
    color: #666;
    font-size: 0.8rem;
    margin-bottom: 15px;
    text-transform: uppercase;
    font-weight: 600;
}
.team-quote {
    font-style: italic;
    color: #888;
    font-size: 0.85rem;
    padding: 0 20px;
}

/* =========================================
   BRANCHES PAGE STYLES
   ========================================= */
.branches-hero {
    background-image: url('img/branches_assets/branches_1_guy_on_a_call.jpeg');
}
.secret-success-section {
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
    padding: 60px 20px;
}
.secret-success-section h2 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 25px;
}
.secret-success-section p {
    color: #444;
    line-height: 1.8;
    margin-bottom: 20px;
}
.wide-feature-img {
    width: 100%;
    max-width: 1200px;
    border-radius: 20px;
    margin: 0 auto 60px;
    display: block;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

/* =========================================
   BRANCHES BOTTOM GRIDS (NUCLEAR FIX)
   ========================================= */
.branches-bottom-area {
    max-width: 1200px;
    margin: 0 auto 80px;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Force Grids to perfectly align heights and widths */
.branches-grid-top {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 25px !important;
    margin-bottom: 25px !important;
    align-items: stretch !important; /* Forces row to be exactly same height */
}

.branches-grid-bottom {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 25px !important;
    align-items: stretch !important; /* Forces row to be exactly same height */
}

/* The Container Wrapper (This makes the shapes identical) */
.grid-card {
    border-radius: 15px !important;
    overflow: hidden !important; /* THIS KILLS THE CORNERS PROPERLY */
    height: 100% !important; /* Forces to match grid height */
    min-height: 380px !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08) !important;
    background-color: #ffffff !important;
    display: flex !important;
    flex-direction: column !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}

/* KILLS ALL WHITE SPACE AROUND THE IMAGE */
.grid-card.image-card {
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
}

/* FORCES THE IMAGE TO FILL THE ENTIRE CONTAINER */
.grid-card.image-card img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important; /* Stretches safely to edges */
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    border-radius: 0 !important; /* The wrapper handles the corners */
}

/* Images when used directly in the grid (no wrapper) */
.branches-grid-top > .grid-img,
.branches-grid-bottom > .grid-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    border-radius: 15px !important;
    box-shadow: none !important;
}

/* Ensure each grid child (image or text card) matches the same min-height */
.branches-grid-top > *,
.branches-grid-bottom > * {
    min-height: 380px !important;
}

/* Text Card Styling */
.grid-card.text-card {
    border: 1.5px solid #007BFF !important;
    padding: 40px 30px !important;
    justify-content: center !important;
}

.grid-card.text-card ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.grid-card.text-card ul li {
    margin-bottom: 18px !important;
    font-weight: 600 !important;
    font-size: 1.05rem !important;
    position: relative !important;
    padding-left: 20px !important;
    color: #007BFF !important;
    line-height: 1.4 !important;
}

.grid-card.text-card ul li::before {
    content: '-' !important;
    position: absolute !important;
    left: 0 !important;
    color: #007BFF !important;
    font-weight: bold !important;
}

.grid-card.text-card p {
    font-size: 1.1rem !important;
    line-height: 1.7 !important;
    font-weight: 600 !important;
    text-align: center !important;
    color: #007BFF !important;
    margin: 0 !important;
}

/* Mobile Fix */
@media (max-width: 900px) {
    .branches-grid-top, 
    .branches-grid-bottom {
        grid-template-columns: 1fr !important;
    }
    .grid-card { min-height: auto !important; }
    .grid-img { height: 300px !important; }
}

/* Footer bottom inner flex row */
.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Modern footer styles */
footer {
    background-color: #000000;
    padding: 40px 0 20px;
    color: #ffffff;
}
.footer-container {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr;
    gap: 30px;
    align-items: start;
}
.footer-col h4 {
    margin-bottom: 12px;
    color: #ffffff;
    font-size: 14px;
}
.footer-col ul {
    list-style: none;
    padding: 0;
}
.footer-col ul li {
    margin-bottom: 8px;
}
.footer-col a { color: #ddd; text-decoration: none; }
.footer-col .social-links a { margin-right: 10px; color: #ddd; }
.footer-logo { width: 200px; filter: brightness(0) invert(1); }
.footer-desc { font-size: 13px; margin-top: 10px; color: #ddd; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.06); padding: 12px 0; margin-top: 20px; color: #cfcfcf; }

@media (max-width: 900px) {
    .footer-container { grid-template-columns: 1fr; text-align: center; }
}