/* ==========================================================================
   GLOBAL STYLE LAYOUT
   ========================================================================== */
html {
    scroll-behavior: smooth;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    line-height: 1.6;
}
body {
    margin: 0;
    padding: 0;
    background-color: #ffffff;
    width: 100%;
    -webkit-font-smoothing: antialiased;
}
.container {
    width: 90%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 10px 0;
    box-sizing: border-box;
}

/* ANTI-SCRAPING SECURE DIRECTIONAL OVERRIDES FOR EMBEDDED MAIL MASKS */
.secure-email {
    direction: rtl;
    unicode-bidi: bidi-override;
    display: inline-block;
}

/* ==========================================================================
   FIXED NAVIGATION HEADER & RESPONSIVE PHONE BUTTON MENU
   ========================================================================== */
.site-header {
    background-color: #1a2a3a;
    color: #fff;
    padding: 15px 5%;
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
    box-sizing: border-box;
}
.logo {
    font-size: 24px;
    font-weight: bold;
    letter-spacing: 0.5px;
}
.menu-toggle {
    display: none;
}
.hamburger-label {
    display: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
}
.hamburger-label span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: #fff;
    border-radius: 3px;
    transition: all 0.3s ease;
}
.nav-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
}
.nav-menu li {
    margin-left: 25px;
}
.nav-menu a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    font-size: 15px;
    transition: color 0.2s ease;
}
.nav-menu a:hover {
    color: #00bcd4;
}

/* BRAND ACCENT BUTTON STYLING FOR THE PHONE CALLOUT LINK */
.header-phone-btn {
    background-color: #00bcd4;
    padding: 8px 16px;
    border-radius: 4px;
    color: #ffffff !important;
    white-space: nowrap;
    box-shadow: 0 2px 5px rgba(0,0,0,0.15);
    transition: background-color 0.2s ease, transform 0.2s ease !important;
}
.header-phone-btn:hover {
    background-color: #0097a7;
    transform: translateY(-1px);
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 768px) {
    .hamburger-label {
        display: flex;
    }
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #1a2a3a;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-in-out;
        box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    }
    .nav-menu ul {
        flex-direction: column;
        width: 100%;
        padding: 5px 0;
        align-items: stretch;
    }
    .nav-menu li {
        margin: 0;
        text-align: center;
    }
    .nav-menu a {
        display: block;
        padding: 14px 0;
        border-bottom: 1px solid rgba(255,255,255,0.05);
    }
    .nav-menu li:last-child a {
        border-bottom: none;
    }
    
    .header-phone-li {
        padding: 10px 20px;
    }
    .header-phone-btn {
        display: block;
        padding: 12px 0;
        border-radius: 5px;
    }

    .menu-toggle:checked ~ .nav-menu {
        max-height: 400px;
    }
    .menu-toggle:checked ~ .hamburger-label span:nth-child(1) {
        transform: translateY(7.5px) rotate(45deg);
    }
    .menu-toggle:checked ~ .hamburger-label span:nth-child(2) {
        opacity: 0;
    }
    .menu-toggle:checked ~ .hamburger-label span:nth-child(3) {
        transform: translateY(-7.5px) rotate(-45deg);
    }
    .hero-section {
        min-height: 380px;
    }
    .hero-content p {
        display: none;
    }
    .content-section {
        padding: 45px 0;
    }
}

/* ==========================================================================
   HOME HERO BANNER LAYOUT
   ========================================================================== */
.hero-section {
    position: relative;
    width: 100%;
    min-height: 460px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(26, 42, 58, 0.85);
    z-index: 2;
}
.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    width: 100%;
    color: #fff;
    padding: 60px 0;
}
.hero-content h1 {
    font-size: calc(24px + 1.4vw);
    margin-top: 0;
    margin-bottom: 10px;
    line-height: 1.25;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}
.hero-content h2 {
    font-size: calc(15px + 0.6vw);
    color: #00bcd4;
    margin-bottom: 20px;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6);
}
.hero-content p {
    max-width: 800px;
    margin: 0 auto 25px auto;
    font-size: calc(14px + 0.3vw);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
}
.btn {
    display: inline-block;
    background-color: #00bcd4;
    color: #fff;
    padding: 12px 30px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    font-size: 15px;
    transition: background-color 0.2s ease, transform 0.2s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}
.btn:hover {
    background-color: #0097a7;
    transform: translateY(-1px);
}

/* ==========================================================================
   CONTENT BLOCKS SECTIONS
   ========================================================================== */
.content-section {
    display: flow-root;
    padding: 70px 0;
    background-color: #ffffff;
    width: 100%;
}
.bg-light {
    background-color: #f8fafc;
}
h2 {
    font-size: 28px;
    color: #1a2a3a;
    border-bottom: 3px solid #00bcd4;
    padding-bottom: 10px;
    margin-top: 0;
    margin-bottom: 25px;
}

/* ==========================================================================
   FLEX GRID DESIGN
   ========================================================================== */
.services-grid, .contact-grid {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 25px;
}
.service-box, .contact-info {
    flex: 1;
    min-width: 290px;
    background: #fff;
    padding: 25px;
    border-radius: 6px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    border: 1px solid #e2e8f0;
    box-sizing: border-box;
}
.service-box h3 {
    margin-top: 0;
    color: #1a2a3a;
    font-size: 20px;
    border-left: 4px solid #00bcd4;
    padding-left: 10px;
}
ul {
    padding-left: 20px;
}
li {
    margin-bottom: 12px;
}
/* ==========================================================================
   CONTACT CARD INTERFACES
   ========================================================================== */
.alert-text {
    color: #d32f2f;
    font-size: 16px;
    background-color: #ffebee;
    padding: 12px;
    border-left: 5px solid #d32f2f;
    border-radius: 4px;
    margin-bottom: 25px;
}
.contact-info h3 {
    margin-top: 0;
    color: #1a2a3a;
    font-size: 18px;
    margin-bottom: 10px;
}
.contact-info p {
    margin-bottom: 20px;
}
.contact-methods a {
    color: #00bcd4;
    text-decoration: none;
    font-weight: bold;
}
.contact-methods a:hover {
    text-decoration: underline;
}
.platforms-list {
    font-size: 14px;
    color: #64748b;
    background: #f1f5f9;
    padding: 10px;
    border-radius: 5px;
}

/* ==========================================================================
   NATIVE CONTACT FORM STRUCTURE
   ========================================================================== */
.contact-form-container {
    flex: 1.4;
    min-width: 290px;
    max-width: 100%;
    background: #fff;
    padding: 30px;
    border-radius: 6px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    border: 1px solid #e2e8f0;
    box-sizing: border-box;
}
.contact-form-container h3 {
    margin-top: 0;
    color: #1a2a3a;
    font-size: 22px;
    margin-bottom: 20px;
}
.form-group {
    margin-bottom: 16px;
}
.form-group label {
    display: block;
    font-weight: bold;
    font-size: 13px;
    margin-bottom: 6px;
    color: #475569;
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #cbd5e1;
    border-radius: 5px;
    font-size: 14px;
    box-sizing: border-box;
    font-family: inherit;
    transition: border-color 0.2s ease;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #00bcd4;
}
.submit-btn {
    width: 100%;
    background-color: #00bcd4;
    color: #fff;
    border: none;
    padding: 12px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}
.submit-btn:hover {
    background-color: #0097a7;
}

/* ==========================================================================
   FOOTER COMPONENT WITH COMPACT SEO TAG CLOUD
   ========================================================================== */
.site-footer {
    display: block;
    width: 100%;
    background-color: #1a2a3a;
    color: #ffffff;
    text-align: center;
    padding: 40px 0 30px 0;
    font-size: 14px;
    border-top: 4px solid #00bcd4;
    box-sizing: border-box;
}
.footer-seo-links {
    margin-bottom: 20px;
}
.footer-seo-links .service-label {
    font-weight: bold;
    color: #94a3b8;
    margin: 0 0 10px 0;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.location-tags {
    color: rgba(255, 255, 255, 0.2);
    font-size: 14px;
    word-spacing: 2px;
    line-height: 2;
}
.location-tags a {
    color: #e2e8f0;
    text-decoration: none;
    transition: color 0.2s ease;
    display: inline-block;
    padding: 2px 5px;
}
.location-tags a:hover {
    color: #00bcd4;
    text-decoration: underline;
}
.footer-divider {
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin: 20px auto;
    width: 60%;
}
.copyright-text {
    font-size: 12.5px;
    color: #cbd5e1;
    margin: 0;
}
/* NEW CONTACT SEO BOX STYLING */
.contact-seo-box {
    flex: 1.4;
    min-width: 290px;
    background: #f8fafc;
    padding: 30px;
    border-radius: 6px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.02);
    border: 1px solid #e2e8f0;
    box-sizing: border-box;
}
.contact-seo-box h3 {
    margin-top: 0;
    color: #1a2a3a;
    font-size: 20px;
    margin-bottom: 15px;
}
.seo-location-list {
    list-style-type: none;
    padding-left: 0;
}
.seo-location-list li {
    margin-bottom: 14px;
    font-size: 14.5px;
    padding-left: 20px;
    position: relative;
}
.seo-location-list li::before {
    content: "-";
    position: absolute;
    left: 0;
    top: 0;
}
.seo-footer-text {
    font-size: 13.5px;
    color: #64748b;
    font-style: italic;
    margin-top: 20px;
    border-top: 1px dashed #cbd5e1;
    padding-top: 15px;
}

/* ==========================================================================
   DYNAMIC TEAM BLOCKS & TEXT SILHOUETTE AVATARS
   ========================================================================== */
.team-grid {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 30px;
}
.team-card {
    flex: 1;
    min-width: 220px;
    max-width: calc(25% - 15px);
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 25px 15px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.02);
    box-sizing: border-box;
}
.team-card h3 {
    margin: 15px 0 2px 0;
    color: #1a2a3a;
    font-size: 18px;
}
.role-tag {
    margin: 0;
    font-size: 13.5px;
    color: #00bcd4;
    font-weight: 600;
}

/* PURE CSS VECTOR AVATAR BUILDER ENGINES */
.avatar-silhouette {
    width: 90px;
    height: 90px;
    background-color: #1e293b;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}
.male-shape {
    border-radius: 50%;
}
.male-shape::before {
    content: "";
    position: absolute;
    top: 15px;
    left: 27px;
    width: 36px;
    height: 36px;
    background-color: #f8fafc;
    border-radius: 50%;
}
.male-shape::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 15px;
    width: 60px;
    height: 45px;
    background-color: #f8fafc;
    border-radius: 50% 50% 0 0;
}

.female-shape {
    border-radius: 50%;
}
.female-shape::before {
    content: "";
    position: absolute;
    top: 18px;
    left: 29px;
    width: 32px;
    height: 32px;
    background-color: #f8fafc;
    border-radius: 50%;
}
.female-shape::after {
    content: "";
    position: absolute;
    bottom: -15px;
    left: 17px;
    width: 56px;
    height: 50px;
    background-color: #f8fafc;
    border-radius: 45% 45% 0 0;
}

/* RESPONSIVE LAYOUT FOR SMALL SCREENS */
@media (max-width: 768px) {
    .team-card {
        max-width: calc(50% - 10px);
        min-width: 140px;
    }
}
@media (max-width: 480px) {
    .team-card {
        max-width: 100%;
    }
}

/* ==========================================================================
   GEOGRAPHIC CATCHMENT HOME BUTTON OVERRIDES
   ========================================================================== */
.location-grid-home {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 15px;
    margin-top: 30px;
}
.location-grid-home .btn-secondary {
    display: block;
    background-color: #ffffff !important; /* Pristine solid white card base */
    color: #1a2a3a !important;        /* Deep luxury corporate charcoal text */
    border: 1px solid #e2e8f0 !important; /* Subtle outer layout accent boundary */
    padding: 16px 20px !important;
    border-radius: 6px !important;
    font-weight: 600 !important;
    font-size: 14.5px !important;
    text-decoration: none !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02) !important;
    transition: all 0.2s ease-in-out !important;
}
.location-grid-home .btn-secondary:hover {
    background-color: #1a2a3a !important; /* Flips background to dark on hover */
    color: #00bcd4 !important;        /* Swaps text instantly to bright cyan */
    border-color: #1a2a3a !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 12px rgba(26, 42, 58, 0.15) !important;
}
