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

/* GLOBAL STYLES */
html, body {
    width: 100%;
    font-family: "Roboto Condensed", sans-serif;
    background-color: #fff;
    color: #333;
    overflow-x: hidden;
}

/* MEDIA ELEMENTS */
img, video {
    max-width: 100%;
    height: auto;
}

/* LINKS */
a {
    text-decoration: none;
    color: inherit;
}

/* LISTS */
ul {
    list-style: none;
}

/* CONTAINER */
.container {
    width: min(90%, 82.5rem);
    margin-inline: auto;
}

/* HEADER SECTION */
.header-section {
    width: 100%;
    background: #fff;
    transition: all 0.3s ease;
    box-shadow: 1px 2px 5px rgba(0, 0, 0, 0.1);
}

.header-section.fixed {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header {
    display: flex;
    flex-direction: column;
} 

.hamburger-menu {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

.header-contact {
    border-bottom: 1px solid #dee2e6;
}

.header-section.fixed .header-contact {
    display: none;
}

.header-contact .container {
    display: flex;
    justify-content: space-between;
    padding: 0.625rem 0;
}

.left-contact,
.right-contact,
.header-socials {
    display: flex;
    gap: 0.9375rem;
}

.header-phone,
.header-email,
.header-socials a {
    color: #848e9f;
    font-size: 0.875rem;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 0;
}

.logo a {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 3rem;
    color: #13c5dd;
    text-transform: uppercase;
}

.menus {
    display: flex;
    gap: 1.875rem;
}

.menus a {
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.6875rem;
    color: #1d2a4d;
}

.menus a:hover,
.menus a.active {
    color: #13c5dd;
}

.menus li {
    position: relative;
}

.menus .dropdown {
    display: none;
    position: absolute;
    top: 1.5625rem;
    left: 0;
    margin-top: 2.125rem;
    margin-right: 0.625rem;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    overflow: hidden;
    text-transform: capitalize;
    width: 9.875rem;
}

.dropdown.show {
    display: block;
}

.dropdown li {
    padding: 0.3125rem 1.25rem;
}

.dropdown li:hover {
    background-color: #f0f0f0;
    color: #333;
}

.dropdown li.active {
    background-color: #13c5dd;
    color: #fff;
}

.dropdown li a {
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5rem;
    color: #333;
    width: 100%;
}

.navbar.fixed {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: min(90%, 82.5rem);
    background-color: #fff;
    z-index: 999;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.navbar.fixed::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: -1;
}

/* Pricing Section */
.pricing-section {
    position: relative;
    padding: 6.25rem 0 0;
    overflow: hidden;
}

.section-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h5 {
    display: inline-block;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.5rem;
    text-transform: uppercase;
    color: #13c5dd;
    margin-bottom: 0.5rem;
    border-bottom: 5px solid rgb(222, 226, 230);
}

.section-header h2 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 4.1875rem;
    color: #1d2a4d;
    max-width: 37.5rem;
}

/* Slider viewport */
.pricing-section .container {
    overflow: hidden;
}

/* Wrapper = slider track */
.pricing-wrapper {
    display: flex;
    gap: 3rem;
    transition: transform 0.5s ease;
    will-change: transform;
    transform: translateY(2.5rem);
    z-index: 3;
}

/* Cards */
.pricing-card {
    flex: 0 0 auto;
    width: 20rem;
    background: #f1f8ff;
    border-radius: 0.625rem;
    overflow: hidden;
    text-align: center;
}

/* Header */
.pricing-header {
    position: relative;
}

.pricing-header img {
    width: 100%;
    height: 14.375rem;
    object-fit: cover;
}

/* Overlay */
.pricing-overlay {
    position: absolute;
    inset: 0;
    background: rgba(29, 42, 77, 0.8);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fff;
}

.pricing-overlay h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.625rem;
}

/* Price */
.price {
    display: flex;
    align-items: flex-end;
    gap: 0.25rem;
}

.price .currency {
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

.price .amount {
    font-size: 3.5rem;
    font-weight: 700;
}

.price .duration {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

/* Body */
.pricing-body {
    padding: 2.5rem 1.875rem;
}

.pricing-body ul {
    list-style: none;
    padding: 0;
    margin-bottom: 1.875rem;
}

.pricing-body li {
    color: #848e9f;
    margin-bottom: 0.75rem;
}

/* Button */
.btn-apply {
    display: inline-block;
    padding: 1.25rem 3.125rem;
    background: #13c5dd;
    color: #fff;
    border-radius: 1.875rem;
    font-weight: 600;
    text-decoration: none;
}

/* Arrows */
.pricing-arrows {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 3.125rem;
    position: relative;
    z-index: 4;
}

.pricing-arrows button {
    width: 2.8125rem;
    height: 2.8125rem;
    border-radius: 50%;
    border: none;
    background: #fff;
    color: #13c5dd;
    cursor: pointer;
}

/* Appointment Section */
.appointment-section {
    background-color: #13c5dd;
    padding: 6.25rem 0;
    margin-top: 6.25rem;
}

.appointment-content {
    display: flex;
    gap: 3.75rem;
}

.appointment-text {
    color: #fff;
    max-width: 39rem;
    padding: 0 1.5rem;
}

.appointment-text h5 {
    display: inline-block;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.5rem;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    border-bottom: 5px solid #dee2e6;
}

.appointment-text h2 {
    color: #1d2a4d;
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 4.1875rem;
    margin-bottom: 1.25rem;
}

.appointment-text p {
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5rem;
    margin-bottom: 3.5rem;
}

.appointment-text .btns .btn {
    background-color: #1d2a4d;
    color: #fff;
    padding: 1.25rem 3.3125rem;
    margin-inline: 0.5rem;
    margin-top: 2.5rem;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.5rem;
    border-radius: 3.25rem;
    text-transform: capitalize;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.appointment-text .btns .btn.outline {
    background-color: transparent;
    color: #1d2a4d;
    border: 1px solid #1d2a4d;
}

.appointment-text .btns .btn.outline:hover {
    background-color: #1d2a4d;
    color: #fff;
}
 
.appointment-form {
    background-color: #fff;
    padding: 3rem;
    border-radius: 8px;
    max-width: 33rem;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.appointment-form h2 {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 3rem;
    color: #1d2a4d;
    margin-bottom: 1.5rem;
    text-align: center;
}

.appointment-form .form-group {
    margin-bottom: 1rem;
}

.form-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-row input,
.form-row select {
    background-color: #eff5f9;
    color: #848e9f;
    width: 100%;
}

.appointment-form .form-group select,
.appointment-form .form-group input {
    padding: 1rem 1.25rem;
    border: none;
    border-radius: 8px;
    font-size: 0.875rem;
    outline: none;
}

.appointment-form .form-group select:focus,
.appointment-form .form-group input:focus {
    border: 5px solid rgb(196, 240, 246);
}

.appointment-form .submit-btn {
    padding: 0.875rem 0;
    border: none;
    background-color: #13c5dd;
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    border-radius: 6px;
    transition: background-color 0.3s ease;
    width: 100%;
}

.appointment-form .submit-btn:hover {
    color: #1d2a4d;
    box-shadow: 0 4px 8px rgba(29, 42, 77, 0.4);
}

/* Doctors Section */
.doctors-section {
    position: relative;
    padding: 6.25rem 0;
    background: #ffffff;
}

.doctors-content {
    position: relative;
}

.doctors-slider {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.doctors-wrapper {
    display: flex;
    gap: 2.5rem;
    transition: transform 0.5s ease;
    will-change: transform;
}

.doctor-card {
    flex: 0 0 calc(50% - 1.25rem); /* 2 cards desktop */
    display: flex;
    background: #eff5f9;
    border-radius: 0.5rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.doctor-image {
    flex: 0 0 16.25rem;
    width: 16.25rem;
    overflow: hidden;
}

.doctor-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.doctor-info {
    flex: 1;
    padding: 1.875rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.25rem;
    background: #eff5f9;
}

.doctor-text h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1d2a4d;
}

.doctor-text span {
    display: block;
    font-style: italic;
    color: #13c5dd;
    margin-bottom: 0.75rem;
}

.doctor-text p {
    color: #848e9f;
    line-height: 1.5rem;
}

.doctor-socials {
    display: flex;
    gap: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid #ced4da;
}

.doctor-socials a {
    width: 3.125rem;
    height: 3.125rem;
    background: #13c5dd;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    transition: background 0.3s ease;
}

.doctor-socials a:hover {
    background: #1d2a4d;
}

.doctor-arrow {
    position: absolute;
    top: 50%;
    width: 3.125rem;
    height: 3.125rem;
    background: #13c5dd;
    color: #ffffff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transform: translateY(-50%);
    z-index: 10;
    transition: background 0.3s ease;
    margin-inline: 3rem;
}

.doctor-arrow:hover {
    background: #1d2a4d;
}

.doctor-arrow.left {
    left: -1.5rem;
}

.doctor-arrow.right {
    right: -1.5rem;
}

/* Footer Section */
.footer-section {
    background-color: #1d2a4d;
    color: #fff;
}

.footer {
    padding-top: 6.25rem;
    display: flex;
    flex-direction: column;
    gap: 5rem;
}

.footer-links {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2.5rem;
}

.footer-links > div {
    flex: 1 1 15rem;
    min-width: 13.75rem;
}

.footer-links h2 {
    display: inline-block;
    color: #13c5dd;
    font-weight: 700;
    font-size: 1.5rem;
    line-height: 1.875rem;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    border-bottom: 5px solid rgb(53, 79, 142);
}

.footer-links p {
    display: block;
    color: #eff5f9;
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.5rem;
    margin-bottom: 1.5rem;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links ul li {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    margin-bottom: 0.625rem;
}

.footer-links ul li i {
    color: #13c5dd;
    font-size: 0.875rem;
}

.footer-links ul li a {
    color: #fff;
    text-decoration: none;
}

.footer-links ul li a:hover {
    color: #13c5dd;
}

.get-in-touch .location,
.get-in-touch .envelope,
.get-in-touch .phone {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: #fff;
}

.get-in-touch i {
    color: #13c5dd;
}

.newsletter .subscribe-form {
    display: flex;
    width: 100%;
    max-width: 25rem;
    margin: 1rem 0 1.25rem;
}

/* INPUT */
.newsletter .subscribe-form input {
    flex: 1;
    padding: 0.875rem 1rem;
    border: 1px solid #ced4da;
    border-right: none;
    border-radius: 5px 0 0 5px;
    font-size: 0.875rem;
    outline: none;
}

/* BUTTON */
.newsletter .subscribe-form button {
    border: 1px solid #13c5dd;
    background-color: #13c5dd;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
    border-radius: 0 5px 5px 0;
    transition: background-color 0.3s ease;
}

.newsletter .subscribe-form button:hover {
    background-color: #10a7bc;
}

/* FOLLOW TITLE */
.newsletter .follow-title {
    margin-top: 0.625rem;
    margin-bottom: 0.875rem;
}

.footer-socials {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-socials a {
    width: 1.875rem;
    height: 1.875rem;
    background-color: #13c5dd;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.footer-socials a:hover {
    color: #1d2a4d;
}

.footer-content {
    width: 100%;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 1.5625rem 0;
    margin-top: 3.75rem;
}

.footer-content .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
}

.footer-content span {
    color: #13c5dd;
    text-decoration: none;
}


/* RESPONSIVE DESIGN */

@media (min-width: 769px) {
    .pricing-card {
        flex: 0 0 calc((100% - 6rem) / 3);
    }
}

/* Tablets + Mobiles */
@media (max-width: 768px) {
    .header-section,
    .header-section.fixed {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 999;
        box-shadow: none;
    }

    .navbar.fixed {
        position: fixed;
        top: 0;
        left: 0;
        transform: none;
        width: 100%;
        box-shadow: none;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }

    .header-contact {
        display: none;
    }

    .navbar {
        position: relative;
        padding: 0.625rem;
        flex-wrap: wrap; 
        margin-block: 0.625rem;
    }

    /* Show hamburger */
    .hamburger-menu {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 3.75rem;
        height: 2.8125rem;
        border: 1px solid #dee2e6;
        border-radius: 8px;
        background: #fff;
        cursor: pointer;
        position: absolute; 
        top: 8px;
        right: 0;
        z-index: 1000;
        transition: border-width 0.2s ease, padding 0.2s ease, box-shadow 0.2s ease;
    }

    .hamburger-menu i {
        font-size: 1.5rem;
        color: #7c7979;
    }

    .hamburger-menu.active {
        border: 3px solid #7c7979; 
        padding: 6px;
    }

    .menus {
        position: relative; 
        flex-basis: 100%;
        width: 100%;
        background: #fff;
        flex-direction: column;
        display: none;
        padding: 0;
        margin-top: 1.25rem;
    }

    .menus.show {
        display: flex;
        top: 100%;
        width: 100%;
    }

    /* Dropdown inside mobile menu */
    .menus .dropdown {
        position: static; 
        display: none;    
        border: 1px solid #b9b9b9;
        border-radius: 5px;
        margin: 8px 0 0 0;
        width: 100%;
        box-shadow: none;
    }

    .menus .has-dropdown.active .dropdown,
    .menus .dropdown.show {
        display: block;
    }

    .menus .dropdown li a {
        padding: 0.625rem 1.25rem;
        font-size: 0.875rem;
    }

    /* Pricing Section */
    .pricing-section {
        padding: 4rem 1rem;
    }

    .section-header {
        margin-top: 2.5rem;
    }

    .section-header h5 {
        font-size: 1rem;
    }

    .section-header h2 {
        font-size: 2.2rem;
        line-height: 2.8rem;
        max-width: 100%;
        padding: 0 1rem;
    }

    .pricing-wrapper {
        transform: translateY(0);
    }

    .pricing-card {
        flex: 0 0 100%;
        max-width: 22rem;
    }

    /* Appointment Section */
    .appointment-section {
        padding: 3rem 1rem;
        margin-top: 3rem;
    }

    .appointment-content {
        flex-direction: column;
        gap: 3rem;
    }

    .appointment-text {
        max-width: 100%;
        padding: 0;
        text-align: left;
    }

    .appointment-text h2 {
        font-size: 2.2rem;
        line-height: 2.8rem;
        margin-bottom: 1.5rem;
    }

    .appointment-text p {
        margin-bottom: 2rem;
    }

    .appointment-text .btns {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .appointment-text .btns .btn {
        margin: 0;
        width: fit-content;
        padding: 1rem 2.5rem;
    }

    .appointment-form {
        padding: 2rem 1.5rem;
        max-width: 100%;
    }

    .appointment-form h2 {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }

    .form-row {
        flex-direction: column;
        gap: 1rem;
    }

    /* Doctors Section */
    .doctors-section {
        padding: 2rem 0;
    }

    .doctors-slider {
        overflow: hidden; 
        width: 100%;
        position: relative;
    }

    .doctors-wrapper {
        display: flex;
        gap: 0; 
        width: 100%;
        transition: transform 0.5s ease;
    }

    .doctor-card {
        flex: 0 0 100%; 
        width: 100%;
        max-width: 100%;
        flex-direction: column;
        background: transparent; 
        padding: 0 1rem; 
        box-sizing: border-box;
    }

    .doctor-image, 
    .doctor-info {
        background: #eff5f9;
        width: 100%;
    }

    .doctor-image {
        height: 18.75rem;
        flex: none;
    }

    .doctor-info {
        padding: 2rem;
        text-align: center;
    }

    .doctor-socials {
        justify-content: center;
    }

    .doctor-arrow {
        width: 2.5rem;
        height: 2.5rem;
        z-index: 10;
        margin: 0;
    }

    .doctor-arrow.left { left: 5px; }
    .doctor-arrow.right { right: 5px; }

    /* Footer Section */
    .footer {
        padding-top: 4rem;
        gap: 3rem;
    }

    .footer-links {
        flex-direction: column;
        gap: 2.5rem;
        padding: 0 1.25rem;
    }

    .footer-links > div {
        flex: 1 1 100%;
        min-width: 100%;
    }

    .footer-links h2 {
        font-size: 1.25rem;
        margin-bottom: 1.25rem;
    }

    .newsletter .subscribe-form {
        max-width: 100%;
    }

    .footer-content {
        margin-top: 2rem;
        padding: 1.5rem 1.25rem;
    }

    .footer-content .container {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .footer-socials {
        justify-content: flex-start;
    }
}