/* =====================================================
   AKEELA DENTAL CARE
   PREMIUM CONTACT PAGE
===================================================== */

:root {
    --teal: #009DA5;
    --orange: #F3754B;
    --dark: #12383A;
    --text: #395355;
    --muted: #718486;
    --light: #F5FAF9;
    --white: #ffffff;
    --border: #DCEAE8;
    --shadow: 0 20px 60px rgba(18, 56, 58, .10);

    --font-heading: Arial, Helvetica, sans-serif;
}


/* =====================================================
   RESET
===================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: var(--dark);
    background: var(--white);
    overflow-x: hidden;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

button,
input,
select,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

img {
    max-width: 100%;
    display: block;
}

::selection {
    background: rgba(0, 157, 165, .18);
    color: var(--dark);
}


/* =====================================================
   COMMON
===================================================== */

.section-container {
    width: min(1180px, calc(100% - 48px));
    margin: auto;
}

.eyebrow {
    display: inline-block;
    color: var(--orange);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 18px;
}


/* =====================================================
   HEADER
===================================================== */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;

    background: rgba(255,255,255,.94);
    backdrop-filter: blur(18px);

    border-bottom: 1px solid rgba(16,43,45,.08);

    transition: .35s ease;
}

.header-inner {
    width: min(1440px, 94%);
    height: 88px;
    margin: auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}


/* BRAND */

.brand {
    display: flex;
    flex-direction: column;
    line-height: .9;
    min-width: 150px;
}

.brand-akeela {
    font-family: var(--font-heading);
    font-size: 25px;
    font-weight: 800;
    letter-spacing: 3px;
    color: var(--teal);
}

.brand-dental {
    margin-top: 6px;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--orange);
}


/* DESKTOP NAV */

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.desktop-nav a {
    position: relative;

    font-size: 13px;
    font-weight: 600;
    color: #385355;

    transition: .25s ease;
}

.desktop-nav a:hover,
.desktop-nav a.active {
    color: var(--orange);
}

.desktop-nav a::after {
    content: "";

    position: absolute;
    bottom: -9px;
    left: 0;

    width: 0;
    height: 2px;

    background: var(--orange);

    transition: .3s ease;
}

.desktop-nav a:hover::after,
.desktop-nav a.active::after {
    width: 100%;
}


/* HEADER ACTIONS */

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-call {
    display: flex;
    align-items: center;
    gap: 8px;

    font-size: 12px;
    font-weight: 700;
    color: var(--dark);
}

.call-icon {
    color: var(--teal);
}

.header-button,
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 13px;

    background: var(--orange);
    color: var(--white);

    padding: 15px 21px;
    border-radius: 100px;

    font-size: 12px;
    font-weight: 700;

    transition: .3s ease;
}

.header-button:hover,
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(243,117,75,.25);
}


/* MOBILE MENU BUTTON */

.menu-toggle {
    display: none;

    background: transparent;
    border: none;

    width: 34px;
    padding: 3px 0;
}

.menu-toggle span {
    display: block;

    height: 2px;
    width: 100%;

    background: var(--dark);

    margin: 6px 0;

    transition: .3s ease;
}


/* MOBILE MENU */

.mobile-menu {
    display: none;
}


/* =====================================================
   HERO
===================================================== */

.contact-hero {
    min-height: 720px;

    position: relative;

    display: flex;
    align-items: center;

    padding:
        150px
        max(24px, calc((100vw - 1180px) / 2))
        100px;

    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;

    background:
        url("https://images.unsplash.com/photo-1606811971618-4486d14f3f99?auto=format&fit=crop&w=2000&q=90")
        center / cover no-repeat;

    transform: scale(1.03);

    animation:
        heroZoom 12s ease-out forwards;
}

.hero-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(7,42,44,.94) 0%,
            rgba(7,42,44,.82) 38%,
            rgba(7,42,44,.30) 75%,
            rgba(7,42,44,.12) 100%
        );
}

.hero-content {
    position: relative;
    z-index: 2;

    max-width: 680px;

    color: var(--white);

    animation:
        heroContent .9s ease forwards;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 2px;

    margin-bottom: 25px;
}

.hero-badge span {
    width: 8px;
    height: 8px;

    border-radius: 50%;

    background: var(--orange);

    box-shadow:
        0 0 0 7px rgba(243,117,75,.16);
}

.hero-content h1 {
    font-size: clamp(48px, 6vw, 78px);

    line-height: .98;
    letter-spacing: -3px;

    margin-bottom: 28px;
}

.hero-content h1 em {
    color: var(--orange);
    font-style: normal;
}

.hero-content p {
    max-width: 550px;

    color: rgba(255,255,255,.82);

    font-size: 17px;
    line-height: 1.8;

    margin-bottom: 35px;
}

.hero-buttons {
    display: flex;
    gap: 13px;
    flex-wrap: wrap;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 22px;

    background: var(--orange);
    color: var(--white);

    padding: 17px 22px;
    border-radius: 8px;

    font-size: 13px;
    font-weight: 800;

    transition: .3s ease;
}

.btn-primary span {
    font-size: 18px;
}

.btn-primary:hover {
    background: var(--white);
    color: var(--dark);

    transform: translateY(-3px);

    box-shadow:
        0 15px 35px rgba(0,0,0,.18);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 17px 25px;

    border: 1px solid rgba(255,255,255,.55);
    border-radius: 8px;

    color: var(--white);

    font-size: 13px;
    font-weight: 700;

    transition: .3s ease;
}

.btn-outline:hover {
    background: var(--white);
    color: var(--dark);
}


/* HERO TRUST CARD */

.hero-trust-card {
    position: absolute;

    right: max(24px, calc((100vw - 1180px) / 2));
    bottom: 80px;

    width: 270px;

    padding: 25px;

    background: rgba(255,255,255,.94);

    backdrop-filter: blur(15px);

    border-radius: 14px;

    box-shadow:
        0 25px 60px rgba(0,0,0,.20);

    z-index: 3;

    animation:
        floatingCard 4s ease-in-out infinite;
}

.trust-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.trust-label {
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--muted);
}

.trust-top strong {
    color: var(--orange);
    font-size: 30px;
}

.trust-line {
    height: 1px;
    background: var(--border);
    margin: 18px 0;
}

.hero-trust-card p {
    color: var(--text);
    font-size: 13px;
    line-height: 1.7;
    margin-bottom: 15px;
}

.hero-trust-card a {
    color: var(--teal);
    font-size: 12px;
    font-weight: 800;
}


/* =====================================================
   CONTACT OPTIONS
===================================================== */

.contact-options {
    padding: 120px 0;

    background: var(--light);
}

.section-heading {
    max-width: 610px;
    margin-bottom: 55px;
}

.section-heading h2,
.location-header h2,
.appointment-form-area h2 {
    font-size: clamp(38px, 4vw, 55px);

    line-height: 1.05;
    letter-spacing: -2px;

    margin-bottom: 20px;
}

.section-heading h2 span,
.location-header h2 span,
.appointment-form-area h2 span {
    color: var(--teal);
}

.section-heading p {
    color: var(--muted);

    font-size: 16px;
    line-height: 1.8;
}

.contact-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 16px;
}

.contact-card {
    position: relative;

    padding: 28px;

    background: var(--white);

    border: 1px solid var(--border);

    border-radius: 15px;

    min-height: 300px;

    overflow: hidden;

    transition: .4s ease;
}

.contact-card::before {
    content: "";

    position: absolute;

    width: 110px;
    height: 110px;

    border-radius: 50%;

    right: -45px;
    bottom: -45px;

    background: rgba(0,157,165,.07);

    transition: .4s ease;
}

.contact-card:hover {
    transform: translateY(-8px);

    border-color:
        rgba(0,157,165,.4);

    box-shadow:
        var(--shadow);
}

.contact-card:hover::before {
    transform: scale(2);
}

.card-icon {
    width: 50px;
    height: 50px;

    display: grid;
    place-items: center;

    border-radius: 12px;

    background:
        rgba(0,157,165,.10);

    color: var(--teal);

    font-weight: 800;

    margin-bottom: 35px;

    position: relative;
    z-index: 2;
}

.whatsapp-icon {
    background:
        rgba(243,117,75,.10);

    color: var(--orange);
}

.card-content {
    position: relative;
    z-index: 2;
}

.card-content span {
    color: var(--muted);

    font-size: 9px;
    font-weight: 800;

    letter-spacing: 1.6px;
}

.card-content h3 {
    font-size: 19px;

    margin: 10px 0 14px;

    line-height: 1.3;

    word-break: break-word;
}

.card-content p {
    color: var(--muted);

    font-size: 13px;
    line-height: 1.7;

    margin-bottom: 22px;
}

.card-content strong {
    color: var(--orange);
    font-size: 12px;
}


/* =====================================================
   APPOINTMENT
===================================================== */

.appointment-section {
    width: min(1280px, calc(100% - 48px));

    margin: 120px auto;

    display: grid;

    grid-template-columns:
        1fr 1fr;

    min-height: 700px;

    border-radius: 22px;

    overflow: hidden;

    box-shadow: var(--shadow);
}

.appointment-image {
    position: relative;

    min-height: 650px;

    background:
        url("https://images.unsplash.com/photo-1609840114035-3c981b782dfe?auto=format&fit=crop&w=1200&q=90")
        center / cover no-repeat;
}

.image-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            180deg,
            rgba(18,56,58,.05),
            rgba(18,56,58,.82)
        );
}

.image-caption {
    position: absolute;

    bottom: 45px;
    left: 45px;

    color: var(--white);

    z-index: 2;
}

.image-caption span {
    font-size: 10px;

    font-weight: 800;

    letter-spacing: 2px;
}

.image-caption h3 {
    font-size: 31px;

    line-height: 1.15;

    margin-top: 14px;
}

.appointment-form-area {
    padding: 75px 65px;

    background: var(--white);
}

.form-intro {
    color: var(--muted);

    line-height: 1.7;

    font-size: 14px;

    margin-bottom: 35px;
}

.form-row {
    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 15px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;

    color: var(--dark);

    font-size: 11px;

    font-weight: 800;

    margin-bottom: 9px;
}

.form-group label span {
    color: var(--muted);
    font-weight: 400;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;

    border: 1px solid var(--border);

    background: #FAFCFC;

    border-radius: 8px;

    padding: 14px 15px;

    color: var(--dark);

    outline: none;

    transition: .25s ease;
}

.form-group input,
.form-group select {
    min-height: 50px;
}

.form-group textarea {
    min-height: 110px;
    resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #9BAAAA;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--teal);

    background: var(--white);

    box-shadow:
        0 0 0 4px rgba(0,157,165,.08);
}

.submit-btn {
    width: 100%;

    border: 0;

    background: var(--teal);

    color: var(--white);

    padding: 17px;

    border-radius: 8px;

    font-size: 13px;

    font-weight: 800;

    cursor: pointer;

    transition: .3s ease;
}

.submit-btn span {
    margin-left: 10px;
}

.submit-btn:hover {
    background: var(--orange);

    transform: translateY(-2px);

    box-shadow:
        0 12px 25px rgba(243,117,75,.18);
}

.form-note {
    color: var(--muted);

    font-size: 10px;

    line-height: 1.6;

    margin-top: 13px;

    text-align: center;
}


/* =====================================================
   LOCATION
===================================================== */

.location-section {
    padding: 110px 0 120px;

    background: var(--light);
}

.location-header {
    display: flex;

    justify-content: space-between;

    align-items: end;

    gap: 50px;

    margin-bottom: 50px;
}

.location-header > p {
    max-width: 410px;

    color: var(--muted);

    line-height: 1.8;

    font-size: 14px;
}

.location-layout {
    display: grid;

    grid-template-columns:
        1.5fr .7fr;

    gap: 20px;
}

.map-wrapper {
    min-height: 480px;

    overflow: hidden;

    border-radius: 18px;

    border: 1px solid var(--border);

    background: #ddd;
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;

    min-height: 480px;

    border: 0;

    filter: saturate(.85);
}

.location-info {
    background: var(--white);

    border-radius: 18px;

    padding: 40px;

    border: 1px solid var(--border);

    display: flex;
    flex-direction: column;
}

.location-block span {
    color: var(--muted);

    font-size: 9px;

    font-weight: 800;

    letter-spacing: 1.5px;
}

.location-block h3 {
    font-size: 21px;

    margin: 12px 0 10px;
}

.location-block p {
    color: var(--muted);

    font-size: 14px;

    line-height: 1.8;
}

.location-block a {
    display: block;

    color: var(--teal);

    font-size: 13px;

    font-weight: 700;

    margin-top: 12px;

    transition: .25s ease;
}

.location-block a:hover {
    color: var(--orange);
}

.location-divider {
    height: 1px;

    background: var(--border);

    margin: 35px 0;
}

.direction-btn {
    margin-top: auto;

    display: flex;

    justify-content: space-between;

    align-items: center;

    background: var(--dark);

    color: var(--white);

    padding: 16px 18px;

    border-radius: 8px;

    font-size: 12px;

    font-weight: 800;

    transition: .3s ease;
}

.direction-btn:hover {
    background: var(--orange);

    transform: translateY(-2px);
}


/* =====================================================
   FOOTER
===================================================== */

.footer {
    background: var(--dark);

    color: var(--white);

    padding: 78px 0 25px;
}

.footer-main {
    width: min(1180px, calc(100% - 48px));

    margin: auto;

    display: grid;

    grid-template-columns:
        1.35fr .8fr 1fr .8fr;

    gap: 45px;

    padding-bottom: 55px;

    border-bottom:
        1px solid rgba(255,255,255,.10);
}


/* FOOTER BRAND */

.footer-brand .brand {
    display: flex;

    flex-direction: column;

    line-height: .9;

    width: fit-content;

    min-width: auto;

    margin-bottom: 20px;
}

.footer-brand .brand-akeela {
    color: var(--teal);

    font-size: 24px;

    font-weight: 800;

    letter-spacing: 3px;
}

.footer-brand .brand-dental {
    color: var(--orange);

    margin-top: 6px;

    font-size: 9px;

    font-weight: 700;

    letter-spacing: 3px;
}

.footer-brand p {
    max-width: 320px;

    color:
        rgba(255,255,255,.62);

    font-size: 12px;

    line-height: 1.8;
}


/* FOOTER LINKS */

.footer-links {
    display: flex;

    flex-direction: column;

    gap: 10px;
}

.footer-links h4 {
    color: var(--orange);

    font-size: 12px;

    font-weight: 800;

    margin-bottom: 10px;

    letter-spacing: .5px;
}

.footer-links a {
    color:
        rgba(255,255,255,.62);

    font-size: 11px;

    line-height: 1.6;

    transition: .25s ease;
}

.footer-links a:hover {
    color: var(--white);

    transform: translateX(4px);
}

.footer-links p {
    color:
        rgba(255,255,255,.62);

    font-size: 11px;

    line-height: 1.6;
}


/* FOOTER BOTTOM */

.footer-bottom {
    width: min(1180px, calc(100% - 48px));

    margin: auto;

    padding-top: 20px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;
}

.footer-bottom span {
    color:
        rgba(255,255,255,.40);

    font-size: 9px;

    line-height: 1.5;
}


/* =====================================================
   REVEAL
===================================================== */

.reveal {
    opacity: 0;

    transform:
        translateY(35px);

    transition:
        opacity .8s ease,
        transform .8s ease;
}

.reveal.visible {
    opacity: 1;

    transform:
        translateY(0);
}


/* =====================================================
   ANIMATIONS
===================================================== */

@keyframes heroZoom {

    from {
        transform: scale(1.03);
    }

    to {
        transform: scale(1);
    }
}

@keyframes heroContent {

    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes floatingCard {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-9px);
    }
}


/* =====================================================
   TABLET
===================================================== */

@media (max-width: 1050px) {

    .desktop-nav {
        gap: 18px;
    }

    .header-call {
        display: none;
    }

    .contact-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .hero-trust-card {
        right: 35px;
    }

    .appointment-form-area {
        padding: 55px 40px;
    }

    .footer-main {
        grid-template-columns:
            1.2fr 1fr 1fr;
    }

}


/* =====================================================
   MOBILE NAVIGATION
===================================================== */

@media (max-width: 800px) {

    .header-inner {
        height: 76px;
    }

    .desktop-nav,
    .header-actions {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .mobile-menu {
        display: flex;

        max-height: 0;

        overflow: hidden;

        flex-direction: column;

        background:
            rgba(255,255,255,.98);

        transition:
            max-height .4s ease,
            padding .4s ease;
    }

    .mobile-menu.open {
        max-height: 500px;

        padding:
            15px
            24px
            25px;

        border-top:
            1px solid var(--border);
    }

    .mobile-menu a {
        padding: 14px 0;

        border-bottom:
            1px solid #edf2f1;

        font-size: 14px;

        font-weight: 700;

        color: var(--dark);

        transition: .25s ease;
    }

    .mobile-menu a:hover {
        color: var(--orange);
    }

    .mobile-menu a.active {
        color: var(--orange);
    }

    .mobile-book {
        margin-top: 15px;

        padding: 14px 18px !important;

        text-align: center;

        border-radius: 8px;

        background: var(--orange);

        color: var(--white) !important;

        border-bottom: 0 !important;
    }


    /* HERO */

    .contact-hero {
        min-height: 720px;

        padding-top: 130px;

        align-items: flex-start;
    }

    .hero-overlay {
        background:
            linear-gradient(
                180deg,
                rgba(7,42,44,.92),
                rgba(7,42,44,.68)
            );
    }

    .hero-content h1 {
        letter-spacing: -2px;
    }

    .hero-trust-card {
        left: 24px;
        right: 24px;

        bottom: 35px;

        width: auto;
    }


    /* LOCATION */

    .location-header {
        flex-direction: column;

        align-items: flex-start;
    }


    /* APPOINTMENT */

    .appointment-section {
        grid-template-columns: 1fr;
    }

    .appointment-image {
        min-height: 450px;
    }

    .location-layout {
        grid-template-columns: 1fr;
    }


    /* FOOTER */

    .footer-main {
        grid-template-columns:
            1fr 1fr;

        gap: 45px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

}


/* =====================================================
   SMALL MOBILE
===================================================== */

@media (max-width: 560px) {

    .section-container,
    .header-inner,
    .footer-main,
    .footer-bottom {
        width:
            min(100% - 32px, 1180px);
    }

    .contact-hero {
        padding-left: 16px;
        padding-right: 16px;
    }

    .hero-content h1 {
        font-size: 48px;
    }

    .hero-content p {
        font-size: 14px;
    }

    .hero-buttons {
        flex-direction: column;

        align-items: stretch;
    }

    .btn-primary,
    .btn-outline {
        justify-content: center;
    }


    /* CONTACT */

    .contact-options {
        padding: 80px 0;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-card {
        min-height: auto;
    }


    /* APPOINTMENT */

    .appointment-section {
        width: calc(100% - 32px);

        margin:
            70px auto;

        border-radius: 15px;
    }

    .appointment-form-area {
        padding: 45px 22px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .appointment-image {
        min-height: 350px;
    }

    .image-caption {
        left: 25px;
        bottom: 25px;
    }


    /* LOCATION */

    .location-section {
        padding: 80px 0;
    }

    .map-wrapper,
    .map-wrapper iframe {
        min-height: 350px;
    }

    .location-info {
        padding: 30px;
    }


    /* FOOTER */

    .footer {
        padding-top: 55px;
    }

    .footer-main {
        grid-template-columns: 1fr;

        gap: 35px;

        padding:
            55px 0
            40px;
    }

    .footer-brand {
        grid-column: auto;
    }

    .footer-bottom {
        flex-direction: column;

        align-items: flex-start;

        gap: 8px;
    }

}


/* =====================================================
   VERY SMALL DEVICES
===================================================== */

@media (max-width: 380px) {

    .hero-content h1 {
        font-size: 43px;
    }

    .section-heading h2,
    .appointment-form-area h2,
    .location-header h2 {
        font-size: 36px;
    }

    .hero-trust-card {
        padding: 20px;
    }

    .footer-brand .brand-akeela {
        font-size: 22px;
    }

}