/* ============================================
   IGCONFIDENCE - Contact Page Shared Layout Styles
   ============================================ */

/* --- CSS Variables --- */
:root {
    --primary-blue: #0A192F;
    --secondary-blue: #112240;
    --accent-yellow: #FFCC00;
    --text-white: #FFFFFF;
    --text-light-gray: #CCD6F6;
    --text-muted: #8892B0;
    --text-dark: #0A192F;
    --bg-light: #F7F9FC;
    --bg-white: #FFFFFF;
    --border-light: #EAECEF;
    --transition-speed: 0.3s;
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-white);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.5rem;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 4px;
    transition: all var(--transition-speed);
    cursor: pointer;
    border: none;
    gap: 8px;
    letter-spacing: 0.3px;
    white-space: nowrap;
}

.btn .arrow {
    font-size: 1rem;
    line-height: 1;
}

.btn-primary {
    background-color: var(--accent-yellow);
    color: var(--primary-blue);
}

.btn-primary:hover {
    background-color: #e6b800;
    transform: translateY(-2px);
}

/* ============================================
   HEADER / NAVBAR (Copied from Projects)
   ============================================ */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--text-white);
    padding: 1.2rem 5%;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 50;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.3s ease;
}

.navbar.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    margin-left: -25px;
}

.logo img {
    height: 60px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    display: block;
}

.nav-links {
    display: flex;
    margin-left: auto;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 0.9rem;
    position: relative;
    padding-bottom: 5px;
    transition: color var(--transition-speed);
}

.nav-links a:hover {
    color: var(--accent-yellow);
}

.nav-links a.active {
    color: var(--primary-blue);
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--accent-yellow);
}

.btn-cta {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: var(--accent-yellow);
    color: var(--text-dark);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    text-decoration: none;
    padding: 1rem 1.8rem;
    border-radius: 4px;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.btn-cta:hover {
    background-color: #e6b800;
    transform: translateY(-2px);
}

/* Mobile Menu Elements (Hidden on Desktop) */
.menu-toggle {
    display: none;
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    color: var(--text-dark);
    cursor: pointer;
}

/* ============================================
   HERO SECTION (Copied from Projects)
   ============================================ */
.hero {
    position: relative;
    width: 100%;
    min-height: 550px;
    display: flex;
    align-items: center;
    padding: 4rem 5%;
    overflow: hidden;
    background-color: var(--primary-blue);
}

/* Simulated powerlines background overlay */
.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(90deg, var(--primary-blue) 30%, rgba(10, 25, 47, 0.6) 100%),
        url('https://images.unsplash.com/photo-1473341304170-971dccb5ac1e?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    opacity: 0.6;
    z-index: 0;
}

.hero-container {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* --- Left Text Content --- */
.hero-text {
    max-width: 600px;
}

.breadcrumb {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.breadcrumb a {
    color: var(--text-muted);
    text-decoration: none;
}

.breadcrumb i {
    font-size: 0.7rem;
}

.breadcrumb .current {
    color: var(--accent-yellow);
    font-weight: 500;
    text-decoration: underline;
    text-decoration-color: var(--accent-yellow);
    text-underline-offset: 4px;
}

.main-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.15;
    color: var(--text-white);
    margin-bottom: 1.5rem;
}

.main-title .highlight {
    color: var(--accent-yellow);
}

.subtitle {
    font-size: 1.25rem;
    line-height: 1.6;
    color: var(--text-light-gray);
}

/* --- Center Engineer Image --- */
.engineer-img {
    position: absolute;
    bottom: -4rem;
    left: 58%;
    transform: translateX(-50%);
    height: 85%;
    object-fit: contain;
    z-index: 5;
    pointer-events: none;
    right: 300px;
}

/* --- Right Stats Panel --- */
.hero-stats {
    background-color: rgba(17, 34, 64, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-left: 2px solid var(--accent-yellow);
    border-radius: 8px;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    min-width: 280px;
}

.hero-stats .stat-item {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 1.5rem;
}

.hero-stats .stat-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border: 1px solid rgba(255, 204, 0, 0.4);
    border-radius: 8px;
    color: var(--accent-yellow);
    font-size: 1.2rem;
}

.stat-info h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 0.2rem;
}

.stat-info p {
    font-size: 0.8rem;
    color: var(--text-light-gray);
    line-height: 1.3;
}

/* ============================================
   CONTACT CONTENT SECTION
   ============================================ */
.contact-page-section {
    background: #ffffff;
    padding: 1.7rem 5% 1.95rem;
}

.contact-content-container {
    max-width: 1095px;
    margin: 0 auto;
}

.contact-section-heading {
    text-align: center;
    margin-bottom: 1.45rem;
}

.section-eyebrow {
    display: inline-block;
    color: #002e94;
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 1.8px;
    line-height: 1;
    margin-bottom: 0.68rem;
}

.contact-section-heading h2 {
    color: var(--primary-blue);
    font-family: var(--font-heading);
    font-size: 1.94rem;
    font-weight: 800;
    letter-spacing: -0.7px;
    line-height: 1.18;
    margin: 0;
}

.heading-rule {
    display: block;
    width: 38px;
    height: 3px;
    background: var(--accent-yellow);
    border-radius: 999px;
    margin: 0.58rem auto 0.72rem;
}

.contact-section-heading p {
    color: #263455;
    font-size: 0.88rem;
    font-weight: 500;
    line-height: 1.55;
    margin: 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    align-items: stretch;
    margin-top: 1.62rem;
}

.contact-info-card {
    background: #ffffff;
    border: 1px solid #dfe6ef;
    border-radius: 7px;
    box-shadow: 0 9px 24px rgba(10, 25, 47, 0.055);
}

.contact-info-card {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    padding: 1.5rem;
}

.contact-info-item {
    display: grid;
    grid-template-columns: 58px 1fr;
    column-gap: 1.08rem;
    align-items: flex-start;
    padding: 0 1.25rem;
    border-right: 1px solid #d9e0e9;
}

.contact-info-item:first-child {
    padding-left: 0;
}

.contact-info-item:last-child {
    padding-right: 0;
    border-right: none;
}

.contact-info-icon {
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #001a4b;
    color: var(--accent-yellow);
    border-radius: 50%;
    font-size: 1.5rem;
    box-shadow: 0 5px 13px rgba(0, 18, 61, 0.22);
}

.contact-info-item h3 {
    color: var(--primary-blue);
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.15;
    margin: 0 0 0.34rem;
}

.contact-info-item p {
    color: #071633;
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.55;
    margin: 0;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.location-map-card {
    position: relative;
    height: 229px;
    overflow: hidden;
    border-radius: 5px;
    border: 1px solid #dfe6ef;
    background: #edf2f4;
    box-shadow: 0 9px 24px rgba(10, 25, 47, 0.055);
}

.map-iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.map-info-panel {
    position: absolute;
    z-index: 3;
    left: 15px;
    top: 15px;
    width: 314px;
    height: 199px;
    display: grid;
    grid-template-columns: 56px 1fr;
    column-gap: 1rem;
    align-items: flex-start;
    padding: 1.65rem 1.45rem 1.45rem;
    background: #001a4b;
    color: var(--text-white);
    border-radius: 4px;
    box-shadow: 0 18px 34px rgba(0, 26, 75, 0.28);
}

.map-info-panel::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(circle at 85% 0%, rgba(255, 204, 0, 0.13), transparent 37%);
    pointer-events: none;
}

.map-pin-outline {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-yellow);
    border: 2px solid var(--accent-yellow);
    border-radius: 50%;
    font-size: 1.35rem;
}

.map-info-panel h3 {
    font-family: var(--font-heading);
    font-size: 1.28rem;
    font-weight: 800;
    line-height: 1;
    margin: 0 0 0.85rem;
}

.map-info-panel p {
    color: #ffffff;
    font-size: 0.96rem;
    font-weight: 500;
    line-height: 1.55;
    margin: 0 0 1.35rem;
}

.map-info-panel a {
    display: inline-flex;
    align-items: center;
    gap: 1.2rem;
    color: var(--accent-yellow);
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 800;
    line-height: 1;
}

/* ============================================
   FOOTER (Copied from Projects)
   ============================================ */
/* --- Main Footer Content --- */
.site-footer {
    background-color: var(--primary-blue);
    color: var(--text-white);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-main-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 5rem 4%;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1.5fr 1fr 1.5fr;
    gap: 3rem;
}

.footer-col-title {
    color: var(--text-white);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: 0.5px;
}

.footer-nav {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-nav a {
    color: var(--text-light-gray);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.footer-nav a:hover {
    color: var(--accent-yellow);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1.2rem;
}

.footer-logo .logo-icon {
    width: 28px;
    height: 28px;
}

.footer-logo .logo-text {
    display: flex;
    flex-direction: column;
}

.footer-logo .logo-title {
    color: var(--text-white);
    font-weight: 800;
    font-size: 1.2rem;
    line-height: 1.1;
}

.footer-logo .logo-subtitle {
    color: var(--accent-yellow);
    font-size: 0.85rem;
    font-weight: 600;
}

.footer-desc {
    color: var(--text-light-gray);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    max-width: 90%;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-circle {
    width: 36px;
    height: 36px;
    background-color: var(--text-white);
    color: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.social-circle i {
    font-size: 18px;
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.social-circle:hover {
    background-color: var(--accent-yellow);
}

.contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--text-light-gray);
    font-size: 0.95rem;
    line-height: 1.5;
}

.contact-list a {
    color: var(--text-light-gray);
    text-decoration: none;
    transition: color 0.2s ease;
}

.contact-list a:hover {
    color: var(--accent-yellow);
}

.contact-icon {
    width: 20px;
    height: 20px;
    color: var(--accent-yellow);
    flex-shrink: 0;
    margin-top: 2px;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}


.legal-links {
    display: flex;
    align-items: center;
    gap: 10px;
}

.legal-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.2s ease;
}

.legal-links a:hover {
    color: var(--text-white);
}

.separator {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Portrait layout */
@media screen and (orientation: portrait) {
    .main-title {
        font-size: 3.5rem;
    }

    .contact-content-container {
        max-width: 1040px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .engineer-img {
        left: 55%;
        height: 75%;
    }

    .hero-stats {
        padding: 2rem;
        min-width: 240px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem 2rem;
    }
}

/* Portrait layout refinements */
@media screen and (orientation: portrait) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem 2rem;
    }
}

/* Portrait compact layout */
@media screen and (orientation: portrait) {
    .hero {
        padding-top: 3rem;
        padding-bottom: 3rem;
        min-height: auto;
    }

    .hero-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 2rem;
    }

    .engineer-img {
        display: none;
    }

    .hero-stats {
        width: 100%;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
        border-left: none;
        border-top: 2px solid var(--accent-yellow);
    }

    .hero-stats .stat-item {
        flex: 1 1 45%;
        border-bottom: none;
        padding-bottom: 0;
    }

    .nav-links {
        gap: 1.5rem;
    }

    .contact-page-section {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .contact-info-card {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0;
        padding: 1.5rem;
    }

    .contact-info-item {
        padding: 1rem;
        border-bottom: 1px solid #d9e0e9;
        border-right: none;
    }

    .contact-info-item:nth-child(odd) {
        border-right: 1px solid #d9e0e9;
    }

    .contact-info-item:nth-child(3),
    .contact-info-item:nth-child(4) {
        border-bottom: none;
    }

    .location-map-card {
        height: 250px;
    }

    .map-info-panel {
        width: 300px;
    }

}

/* Portrait mobile layout */
@media screen and (orientation: portrait) {
    .hamburger {
        display: block;
        position: relative;
        width: 26px;
        height: 18px;
        cursor: pointer;
        align-self: center;
    }

    .hamburger span {
        position: absolute;
        left: 0;
        width: 100%;
        height: 3px;
        background-color: var(--text-dark);
        border-radius: 2px;
        transition: all 0.3s ease-in-out;
    }

    .hamburger span:nth-child(1) {
        top: 0;
    }

    .hamburger span:nth-child(2) {
        top: 7.5px;
    }

    .hamburger span:nth-child(3) {
        top: 15px;
    }

    #menu-toggle:checked~.hamburger span:nth-child(1) {
        top: 7.5px;
        transform: rotate(45deg);
    }

    #menu-toggle:checked~.hamburger span:nth-child(2) {
        opacity: 0;
    }

    #menu-toggle:checked~.hamburger span:nth-child(3) {
        top: 7.5px;
        transform: rotate(-45deg);
    }

    .btn-cta {
        display: none;
    }

    .nav-links {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--text-white);
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
        z-index: 100;
        gap: 0;
    }

    .nav-links a {
        padding: 0.6rem 5%;
        border-bottom: 1px solid #f3f4f6;
    }

    .nav-links a.active {
        border-bottom: 1px solid #f3f4f6;
        color: var(--accent-yellow);
        background-color: #fafafa;
    }

    #menu-toggle:checked~.nav-links {
        max-height: 340px;
    }

    .hero {
        padding: 6.2rem 5% 3rem 5%;
    }

    .main-title {
        font-size: 2.8rem;
    }

    .subtitle {
        font-size: 1.1rem;
    }

    .contact-section-heading h2 {
        font-size: 1.7rem;
    }

    .contact-section-heading p br {
        display: none;
    }

    .contact-info-card {
        grid-template-columns: 1fr;
        padding: 1.45rem 1.5rem;
    }

    .contact-info-item:first-child,
    .contact-info-item:last-child {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .contact-info-item,
    .contact-info-item:nth-child(odd) {
        align-items: center;
        border-right: none;
    }

    .contact-info-item:nth-child(3) {
        border-bottom: 1px solid #d9e0e9;
    }

    .contact-info-icon {
        flex-shrink: 0;
    }

    .contact-info-icon i {
        width: 1em;
        height: 1em;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        line-height: 1;
    }

    .contact-info-icon .fa-phone {
        transform: translate(1px, 1px);
    }

    .location-map-card {
        display: flex;
        flex-direction: column;
        height: auto;
        min-height: auto;
    }

    .map-iframe {
        position: relative;
        height: 220px;
        flex-shrink: 0;
        border-radius: 5px 5px 0 0;
    }

    .map-info-panel {
        position: relative;
        left: auto;
        right: auto;
        top: auto;
        width: 100%;
        height: auto;
        min-height: auto;
        border-radius: 0 0 5px 5px;
        box-shadow: none;
    }

    .hero-stats .stat-item {
        flex: 1 1 100%;
        padding-bottom: 1.5rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .hero-stats .stat-item:last-child {
        padding-bottom: 0;
    }


    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .footer-col:nth-child(1) {
        order: 1;
    }

    .footer-col:nth-child(4) {
        order: 2;
    }

    .footer-col:nth-child(2) {
        order: 3;
    }

    .footer-col:nth-child(3) {
        order: 4;
    }

}

/* Portrait narrow-content refinements */
@media screen and (orientation: portrait) {
    .navbar {
        padding: 0.8rem 4%;
    }

    .brand-name {
        font-size: 0.95rem;
    }

    .main-title {
        font-size: 2rem;
    }

    .subtitle {
        font-size: 1rem;
    }

    .contact-page-section {
        padding-left: 4%;
        padding-right: 4%;
    }

    .section-eyebrow {
        font-size: 0.76rem;
    }

    .contact-section-heading h2 {
        font-size: 1.45rem;
    }

    .contact-section-heading p {
        font-size: 0.84rem;
    }

    .contact-info-card {
        padding: 1.25rem;
    }

    .contact-info-item {
        grid-template-columns: 48px 1fr;
        column-gap: 0.9rem;
    }

    .contact-info-icon {
        width: 48px;
        height: 48px;
        font-size: 1.2rem;
    }

    .contact-info-item p {
        font-size: 0.82rem;
    }

    .map-info-panel {
        grid-template-columns: 1fr;
        gap: 0.9rem;
        text-align: left;
        padding: 1.35rem;
    }

    .map-pin-outline {
        width: 42px;
        height: 42px;
        font-size: 1.18rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }

    .hero-stats .stat-item {
        padding-bottom: 1.5rem;
    }

}

/* =========================================================
   ORIENTATION-FIRST RESPONSIVE SYSTEM
   Portrait = mobile layout. Landscape = desktop layout.
   Width is used only for fluid scaling/overflow protection.
   ========================================================= */
html {
    --page-gutter: clamp(1rem, 4vw, 5rem);
    --section-gap: clamp(2.5rem, 6vmin, 6rem);
}

*,
*::before,
*::after {
    min-width: 0;
}

img,
svg,
video,
canvas {
    max-width: 100%;
}

.hero-container,
.hero-content,
.hero-text,
.hero-visuals,
.about-container,
.about-details-grid,
.services-display-grid,
.projects-grid,
.contact-content-grid,
.certs-grid,
.footer-grid {
    min-width: 0;
}

.main-title,
.section-title,
.section-main-heading,
.hero-title,
.contact-title {
    overflow-wrap: anywhere;
}

@media screen and (orientation: landscape) {
    .navbar {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .hamburger {
        display: none !important;
    }

    .nav-links {
        display: flex;
        position: static;
        flex-direction: row;
        width: auto;
        max-height: none;
        overflow: visible;
        padding: 0;
        background: transparent;
        box-shadow: none;
    }

    .nav-links a {
        border-bottom: 0;
    }

    .btn-cta {
        display: flex;
    }
}

@media screen and (orientation: portrait) {
    .navbar {
        padding: 1rem 5%;
    }

    .hamburger {
        display: block;
    }

    .btn-cta {
        display: none;
    }

    .nav-links {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--text-white, #fff);
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
        z-index: 60;
        gap: 0;
    }

    .nav-links a {
        padding: 0.6rem 5%;
        border-bottom: 1px solid #f3f4f6;
    }

    .nav-links a.active {
        border-bottom: 1px solid #f3f4f6;
        color: var(--accent-yellow, #ffcc00);
        background-color: #fafafa;
    }

    #menu-toggle:checked~.nav-links {
        max-height: 340px;
    }


    .button-group .btn {
        width: 100%;
    }
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.whatsapp-float img {
    width: 56px;
    height: 56px;
    display: block;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.whatsapp-float .whatsapp-tooltip {
    position: absolute;
    bottom: 100%;
    right: 0;
    margin-bottom: 8px;
    background: #fff;
    color: #333;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 13px;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    opacity: 0;
    pointer-events: none;
    transform: translateY(4px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.whatsapp-float:hover .whatsapp-tooltip,
.whatsapp-float:focus .whatsapp-tooltip {
    opacity: 1;
    transform: translateY(0);
}

.whatsapp-float.whatsapp-hidden {
    opacity: 0;
    pointer-events: none;
    transform: scale(0.8);
}

@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 16px;
        right: 16px;
    }

    .whatsapp-float img {
        width: 48px;
        height: 48px;
    }
}