/* ========== Google Fonts ========== */

@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@200;300;400;500;600;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;600;700&display=swap');


/* ========== Scrollbar ========== */

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    width: 12px;
    border-left: 0 solid white;
    border-right: 0 solid white;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(30deg, #eee 40%, #0b0a0a 60%);
    width: 0;
    height: 25%;
    transition: .5s ease;
    cursor: pointer;
}


/* ========== Template Colors ========== */

:root {
    --primary-color: #233a78;
    --secondary-color: #3c63cd;
    --primary-text-color: #2f2e2e;
    --secondary-text-color: #4f4f4f;
    --primary-white: #eee;
    --primary-black: #0b0a0a;
    --primary-blue: #233a78;
    --primary-maroon: #78233a;
    --primary-green: #3a7823;
    --primary-red: #cb342b;
    --secondary-white: #e9eff5;
    --secondary-black: #1c1b1b;
    --secondary-blue: #3c63cd;
    --secondary-maroon: #892b45;
    --secondary-green: #4a8933;
    --secondary-red: #d3463e;
    --white: #fff;
    --black: #000;
    --red: #ff0000;
    --green: #00ff00;
    --blue: #0000ff;
    
    /*Socialmedia App Icon Colors*/
    --linkedin: #0077b5;
    --twitter: #1da1f2;
    --twitter-x: #000;
    --instagram: #d62976;
    --facebook: #1877f2;
    --pinterest: #e60023;
    --threads: #000;
    --youtube: #ff0000;
    --google-plus: #db4a39;
    
    /*Gradient Colors*/
    --gradient-1: linear-gradient(225deg, #233a78 0%, #3c63cd 100%);
    --gradient-2: linear-gradient(225deg, #233a78 0%, #3c63cd 100%);
}


/* ========== General ========== */

body {
    font-family: 'Raleway', sans-serif;
    overflow-x: hidden;
}

span {
    font-weight: 400;
}

a {
    text-decoration: none;
}

/*Headings*/
.heading {
    font-size: 48px;
    color: var(--white);
    font-weight: 500;
    margin-bottom: 25px;
}

.subheading {
    font-size: 18px;
    color: var(--primary-text-color);
    font-weight: 400;
    margin-bottom: 25px;
    font-family: 'Open Sans', sans-serif;
}

.text {
    font-size: 16px;
    font-weight: 400;
    color: var(--white);
    margin-bottom: 25px;
    font-family: 'Open Sans', sans-serif;

}

/*Social Icons*/
.social-icons ul {
    margin-bottom: 0px;
    transition: transform 0.5s;
}

.social-icons ul li {
    font-size: 15px;
    display: inline-block;
    margin-right: 5px;
    margin-left: 5px;
}

.social-icons ul li a {
    overflow: hidden;
    border-radius: 50%;
    display: block;
    color: var(--primary-white);
    height: 40px;
    line-height: 40px;
    width: 40px;
    border: 1px solid transparent;
    text-align: center;
    border-color: var(--primary-white);
}

/*Socialmedia Icons Hover*/
.linked-in-hover:hover {
    color: var(--linkedin);
    transition: all 0.5s ease;
    background-color: var(--white);
    border-color: var(--linkedin);
    transform: translateY(-8px);
}

.twitter-x-hover:hover {
    color: var(--twitter-x);
    transition: all 0.5s ease;
    background-color: var(--white);
    border-color: var(--twitter-x);
    transform: translateY(-8px);
}

.instagram-hover:hover {
    color: var(--instagram);
    transition: all 0.5s ease;
    background-color: var(--white);
    border-color: var(--instagram);
    transform: translateY(-8px);
}

.facebook-hover:hover {
    color: var(--facebook);
    transition: all 0.5s ease;
    background-color: var(--white);
    border-color: var(--facebook);
    transform: translateY(-8px);
}

/*Button*/
.btn {
    z-index: 2;
    letter-spacing: .5px;
    border-radius: 0;
    font-weight: 500;
    overflow: hidden;
    position: absolute;
    line-height: inherit;
    display: inline-block;
    color: var(--white);
    border: 2px solid transparent;
    text-transform: capitalize;
    transition: all .5s ease !important;
}

.btn.button {
    font-size: 15px !important;
    font-weight: 500;
    color: var(--white);
    padding: 10px 30px !important;
    line-height: 1.8em !important;
    cursor: pointer;
    display: inline-block;
    position: relative;
    transition: 0.5s;
    font-family: 'Raleway', sans-serif;
}

.btn.btn-rounded {
    border-radius: 50px;
}

.btn.black-btn {
    background: var(--secondary-black);
    border-color: var(--primary-white);
    color: var(--primary-white);
    font-weight: 600;
}

.btn.black-btn-hvr:hover {
    background-color: var(--primary-white);
    border-color: var(--primary-black);
    color: var(--primary-black);
    font-weight: 600;
}

.btn.black-btn i {
    margin-right: 5px;
    font-size: 16px;
}

.btn.white-btn {
    background: var(--primary-white);
    border-color: var(--primary-black);
    color: var(--primary-black);
    font-weight: 600;
}

.btn.white-btn-hvr:hover {
    background-color: var(--secondary-black);
    border-color: var(--primary-white);
    color: var(--primary-white);
    font-weight: 600;
}

.btn.white-btn i {
    margin-right: 2px;
    font-size: 13px;
}

.btn.white-btn-cta {
    background: var(--primary-white);
    border-color: var(--primary-white);
    color: var(--primary-red);
    font-weight: 600;
}

.btn.white-btn-cta:hover {
    background: transparent;
    border-color: var(--primary-white);
    color: var(--primary-white);
    font-weight: 600;
}

.btn.white-btn-cta i {
    margin-right: 5px;
    font-size: 15px;
}

.btn.blue-btn-mtt {
    background: var(--primary-blue);
    border-color: var(--primary-white);
    color: var(--primary-white);
    font-weight: 600;
}

.btn.blue-btn-mtt:hover {
    background: var(--primary-black);
    border-color: var(--primary-white);
    color: var(--primary-white);
    font-weight: 600;
}

.btn.white-btn-ftr {
    background: transparent;
    border-color: var(--secondary-blue);
    color: var(--secondary-blue);
    font-weight: 600;
    margin-top: 10px;
    margin-bottom: 0px;
}

.btn.white-btn-ftr-hvr:hover {
    background-color: transparent;
    border-color: var(--primary-white);
    color: var(--primary-white);
    font-weight: 600;
}

.btn.white-btn-ftr i {
    margin-right: 5px;
    font-size: 15px;
}


/* ========== Loader ========== */

.loader {
    bottom: 0;
    height: 100%;
    left: 0;
    position: fixed;
    right: 0;
    top: 0;
    width: 100%;
    z-index: 111111;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background: var(--white);
}

.loader-spinner {
    width: 75px;
    height: 75px;
    margin: 0;
    background: transparent;
    border-top: 4px solid var(--primary-color); /* change this color to see changes in the first loading circle*/
    border-right: 4px solid transparent;
    border-radius: 50%;
    animation: 1s spin linear infinite;
}

@-webkit-keyframes spin {
    from {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    to {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes spin {
    from {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    to {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}


/* ========== Navbar ========== */

/* nav top default */
.navbar.navbar-top-default {
    position: absolute;
    top: 0;
    z-index: 99;
    overflow: hidden;
    height: 90px;
    width: 100%;
    -webkit-transition: all .1s ease;
    -moz-transition: all .1s ease;
    -ms-transition: all .1s ease;
    -o-transition: all .1s ease;
    transition: all .1s ease;
    background: linear-gradient(to bottom, rgba(238, 238, 238, 0.9), rgba(238, 238, 238, 0));
}

.header-appear .navbar-top-default {
    height: 90px;
    position: fixed;
    z-index: 999;
    background-color: var(--primary-white);
    -webkit-animation-name: animationFade;
    -o-animation-name: animationFade;
    animation-name: animationFade;
    -webkit-animation-duration: 1s;
    -o-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-fill-mode: both;
    -o-animation-fill-mode: both;
    animation-fill-mode: both;
    -webkit-box-shadow: 0 10px 10px -10px rgba(0, 0, 0, 0.35);
    box-shadow: 0 10px 10px -10px rgba(0, 0, 0, 0.35);
}

@keyframes animationFade {
    from {
        opacity: 0;
        -webkit-transform: translate3d(0, -100%, 0);
        transform: translate3d(0, -100%, 0);
    }

    to {
        opacity: 1;
        -webkit-transform: none;
        -o-transform: none;
        transform: none;
    }
}

.navbar .navbar-nav .nav-link {
    font-size: 16px;
    color: var(--primary-text-color);
    font-weight: 600;
    padding: 6px 6px;
    margin-left: 45px;
    transition: .5s ease;
    transition: all .6s ease;
    border: 2px solid transparent;
    display: block;
    font-family: 'Raleway', sans-serif;
}

.navbar .navbar-nav {
    margin-left: auto;
}

.navbar .navbar-nav .nav-link.non-active {
    color: var(--primary-text-color) !important;
}

.navbar .navbar-nav .nav-link.active {
    color: var(--red);
    transition: all .6s ease;
}

.navbar .navbar-nav .nav-link:hover {
    color: var(--secondary-text-color);
    cursor: pointer;
    transition: all .6s ease;
}

.navbar .navbar-nav .nav-link:last-child {
    margin-right: 0;
}

.navbar .navbar-nav .nav-link:after {
    content: '';
    display: block;
    margin: auto;
    height: 3px;
    width: 0px;
    background: transparent;
    transition: width .5s ease, background-color .5s ease;
}

.navbar .navbar-nav .nav-link:hover:after {
    width: 100%;
    background: var(--secondary-text-color);
}

.navbar .navbar-nav .button {
    margin-left: 30px;
}

.navbar-brand img { /*********** Main Logo **********/
    width: 300px;
    height: auto;
}

/* -- Nav Bar Media Query -- */
@media (max-width: 767px) {
    .navbar-brand img {
        width: 150px;
    }
    
    .navbar .navbar-brand {
        padding-top: 1px !important;
        padding-left: 20px;
        margin-top: -10px !important;
    }

    .navbar.navbar-top-default {
        height: 60px !important;
        padding: 0 !important;
    }
}

/*side menu button*/
.sidemenu_btn {
    width: 36px;
    padding: 6px;
    right: 40px;
    top: 20px;
    z-index: 999;
    margin-top: 12px;
    margin-left: 16px;
    cursor: pointer;
    position: absolute;
    display: inline-block;
    transition: all .3s linear;
}

.sidemenu_btn span {
    height: 2px;
    width: 100%;
    background: var(--secondary-text-color);
    display: block;
    margin: auto;
    transition: .5s ease;
}

.sidemenu_btn:hover span:first-child,
.sidemenu_btn:hover span:last-child {
    width: 70%;
    background-color: var(--secondary-text-color);
}

.sidemenu_btn:hover span:nth-child(2) {
    background-color: var(--secondary-text-color);
}

.sidemenu_btn span:nth-child(2) {
    margin: 4px 0;
}


/* ========== Side Menu CSS ========== */

.side-menu {
    top: 0;
    right: 0;
    width: 30%;
    height: 100%;
    z-index: 9999;
    position: fixed;
    overflow: hidden;
    transform: translate3d(100%, 0, 0);
    transition: transform 0.5s ease;
    background: none;
}

.side-menu-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.side-menu.side-menu-active {
    transform: translate3d(0, 0, 0);
}

.inner-wrapper {
    position: relative;
    z-index: 2;
    height: 100%;
    padding: 4rem 3rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    text-align: left;
}

.side-menu-layout {
    margin-top: 80px;
    display: flex;
    justify-content: space-between;
    gap: 40px;
}

.side-nav {
    width: 50%;
    padding-left: 150px;
}

.side-menu .side-nav .navbar-nav .nav-link {
    color: var(--primary-white) !important;
    transition: color 0.3s ease-in-out;
    position: relative;
    display: inline-block;
    font-size: 40px;
    font-weight: 100;
}

.side-menu .side-nav .navbar-nav .nav-item {
    margin: 10px 0;
}

.side-menu .side-nav .navbar-nav .nav-link:hover,
.side-menu .side-nav .navbar-nav .nav-link:focus,
.side-menu .side-nav .navbar-nav .nav-link.active {
    color: var(--primary-white) !important;
}

.side-menu .side-nav .navbar-nav .nav-link::after {
    content: "";
    display: block;
    height: 2px;
    width: 0;
    background: var(--primary-white);
    transition: width 0.3s ease-in-out;
    position: absolute;
    left: 0;
    bottom: -2px;
}

.side-menu .side-nav .navbar-nav .nav-link:hover::after {
    width: 100%;
}

.side-menu-right {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
}

.side-menu-contact {
    color: white;
    font-size: 16px;
}

.side-menu-contact p {
    margin-bottom: 50px;
    display: flex;
    align-items: center;
}

.side-menu-contact a {
    margin-right: 8px;
    font-size: 30px;
    font-weight: 100;
    text-decoration: none;
    color: var(--primary-white);
    line-height: 1.3;
    transition: transform 0.5s;
}

.side-menu-contact a:hover {
    font-weight: 200;
    color: var(--secondary-white);
    transform: translateX(8px);
}

/* Social Media Icons */
.social-icons {
    margin-top: 20px;
    text-align: left;
}

.social-icons ul {
    padding: 0;
    list-style: none;
    display: flex;
    gap: 15px;
}

/* Copyright Text */
.copywrite {
    text-align: left;
    margin-top: 15px;
    font-size: 14px;
    color: white;
}

/* ========== Close Button ========== */

.btn-close {
    height: 33px;
    width: 33px;
    top: 30px;
    right: 25px;
    cursor: pointer;
    position: absolute;
    display: inline-block;
}

.btn-close::before,
.btn-close::after {
    top: 5px;
    left: 16px;
    height: 24px;
    width: 2px;
    content: '';
    background: white;
    position: absolute;
}

.btn-close:before {
    transform: rotate(45deg);
}

.btn-close:after {
    transform: rotate(-45deg);
}

.btn-close:hover {
    transform: scale(0.9);
    transition: all .5s ease;
}

.side-nav .navbar-nav .nav-item {
    opacity: 0;
    display: block;
    margin: 15px 0;
    padding: 0 !important;
    transition: all 0.8s ease 500ms;
    transform: translateY(30px);
}

.side-nav .navbar-nav .nav-item:first-child {
    transition-delay: .1s;
}

.side-nav .navbar-nav .nav-item:nth-child(2) {
    transition-delay: .2s;
}

.side-nav .navbar-nav .nav-item:nth-child(3) {
    transition-delay: .3s;
}

.side-nav .navbar-nav .nav-item:nth-child(4) {
    transition-delay: .4s;
}

.side-nav .navbar-nav .nav-item:nth-child(5) {
    transition-delay: .5s;
}

.side-nav .navbar-nav .nav-item:nth-child(6) {
    transition-delay: .6s;
}

.side-nav .navbar-nav .nav-item:nth-child(7) {
    transition-delay: .7s;
}

.side-nav .navbar-nav .nav-item:nth-child(8) {
    transition-delay: .8s;
}

.side-nav .navbar-nav .nav-item:nth-child(9) {
    transition-delay: .9s;
}

.side-menu.side-menu-active .side-nav .navbar-nav .nav-item {
    transform: translateY(0);
    opacity: 1;
    
}

/* -- Side Menu Media Query -- */
@media (max-width: 1200px) {
    .sidemenu_btn {
        right: 13px;
    }
}

@media (min-width: 993px) { 
    .side-menu {
        width: 100% !important;
    }
}

@media (max-width: 992px) {
    .sidemenu_btn {
        right: 18px;
    }

    .side-menu {
        width: 55%;
    }

    .side-menu-layout {
        flex-direction: column;
        align-items: center;
    }

    .side-nav {
        width: 100%;
        padding-left: 0;
    }

    .side-menu-right {
        width: 100%;
        text-align: left;
    }

    .social-icons {
        text-align: left;
    }

    .copywrite {
        text-align: left;
        margin-top: 10px;
    }
}

@media (max-width: 767px) {
    .sidemenu_btn {
        right: 15px;
        margin-top: 0px;
    }

    .side-menu {
        width: 100%;
    }
    
    .side-nav {
        padding-left: 100px;
    }
    
    .side-menu .side-nav .navbar-nav .nav-link {
        font-size: 22px;
        font-weight: 100;
    }
    
    .side-menu .side-nav .navbar-nav .nav-item {
        margin: 1px 0;
    }
    
    .side-menu-contact p {
        margin-bottom: 30px;
        display: flex;
        align-items: center;
    }
    
    .side-menu-contact a {
        font-size: 20px;
        line-height: 1.8;
    }
    
}

@media (max-width: 370px) {
    .sidemenu_btn {
        right: 10px;
    }
}



/* ========== Banner CSS ========== */

.banner {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.banner-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.banner .banner-caption {
    position: relative;
    z-index: 2;
    text-align: center;
}

.banner .banner-caption .heading {
    font-size: 75px;
    color: white;
    margin-top: 120px;
    margin-bottom: 5px;
}

.banner .banner-caption .text {
    color: white;
    font-size: 30px;
    margin-bottom: 50px;
}

.button-center {
    display: flex;
    justify-content: center;
    gap: 15px;
}

/* -- Banner Section Media Query -- */
@media (max-width: 1200px) {
    .banner {
        background-size: contain;
        margin-top: 5.7rem;
        height: 94vh;
    }

    .banner .banner-caption {
        text-align: center;
        position: relative;
        top: 22rem;
    }
}

@media (max-width: 992px) {
    .banner .banner-caption {
        top: 10rem;
    }
}

@media (max-width: 767px) {
    .banner {
        height: 60vh;
        margin-top: 3.7rem;
    }

    .banner .banner-caption .heading {
        font-size: 50px;
        margin-top: 0px;
    }

    .banner .banner-caption {
        position: relative;
        top: 1rem;
    }

    .banner .banner-caption .text {
        font-size: 25px;
    }
    
    .btn.button {
        font-size: 14px !important;
        padding: 7px 20px !important;
        line-height: 1.5em !important;
    }

    .btn.white-btn i {
        font-size: 12px;
    }

}


/* ========== Meet The Team Section ========== */

.meet-the-team-section .text-row {
    height: 80vh;
    padding-top: 60px;
    padding-bottom: 60px;
    background-image: url("../images/meet-the-team.jpg");
    background-size: cover;
    background-repeat: no-repeat;
}

.meet-the-team-section .text-row .subheading {
    padding-top: 140px;
    font-size: 82px;
    color: var(--primary-white);
}

/* -- Meet The Team Section Media Query -- */
@media (max-width: 992px) {
    
}

@media (max-width: 767px) {
    .meet-the-team-section .text-row {
        height: 30vh;
        padding-top: 60px;
        padding-bottom: 60px;
        background-size: cover;
        background-repeat: no-repeat;
    }
    
    .meet-the-team-section .text-row .subheading {
        padding-top: 5px;
        font-size: 32px;
    }
}



/* ========== Counter Section ========== */

.counter-section .num_counter {
    background-color: var(--white);
    padding-top: 30px;
    padding-bottom: 30px;
}

.counter-section .num_counter .subheading {
    font-size: 36px;
    margin-bottom: 15px;
    color: var(--primary-red);
    font-weight: 500;
}

.counter-section .num_counter .counter .text {
    text-transform: uppercase;
    margin-bottom: 0;
    color: var(--primary-blue);
    font-weight: 600;

}

/* -- Counter Section Media Query -- */
@media (max-width: 992px) {
    .counter-section .counter {
        margin-top: 5px;
        margin-bottom: 5px;
    }
}

@media (max-width: 767px) {
    .counter-section .text-row .heading {
        font-size: 35px;
    }
    .counter-section .num_counter .subheading {
        font-size: 20px;
        margin-bottom: 5px;
        color: var(--primary-red);
    }
    .counter-section .num_counter .counter .text {
        font-size: 14px;        
    }
}



/* ========== CTA Section ========== */

.cta-section .text-row {
    padding-top: 80px;
    padding-bottom: 80px;
    background-color: var(--primary-red);
}

.cta-section .text-row .subheading {
    font-size: 32px;
    font-style: italic;
    color: var(--primary-white);
}

/* -- Counter Section Media Query -- */
@media (max-width: 767px) {
    .cta-section .text-row {
        padding: 30px 0;
    }
    .cta-section .text-row .subheading {
        font-size: 24px;
    }
}


/* ========== Conditions We Treat Section ========== */

.treatment-section {
    padding-top: 80px;
    padding-bottom: 80px;
}

.treatment-section .heading-col .heading {
    color: var(--primary-text-color);
}

.treatment-section .heading-col .text {
    color: var(--secondary-text-color);
    margin-bottom: 70px;
    padding-left: 240px;
    padding-right: 240px;
}

/*Gallery*/
.treatment-section .port {
    text-align: center;
    margin: 0 auto;
    max-width: 600px;
}

.nav-pills .nav-link.active,
.nav-pills .show > .nav-link {
    background-color: var(--primary-color);
    font-size: 14px;
    color: var(--white) !important;
    cursor: pointer;
}

.treatment-section .nav-pills .nav-link {
    margin-left: 10px;
    border: 1px solid var(--primary-white);
    cursor: pointer;
    font-weight: 600;
    color: var(--secondary-black);
    padding: .5rem 2rem;
    border-radius: 0px;
    font-family: 'Open Sans', sans-serif;
}

.treatment-section .da-thumbs {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.treatment-section .da-thumbs li {
    margin: 1px;
    width: 24% !important;
    position: relative;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.treatment-section .da-thumbs > li {
    display: block;
    position: relative;
}

.treatment-section .da-thumbs > li {
    overflow: hidden;
}

.treatment-section .da-thumbs > li .overlay h4 {
    color: var(--white);
    font-size: 22px;
}

.treatment-section .da-thumbs > li .overlay {
    position: absolute;
    background: rgba(35, 58, 120, 0.8);
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    top: 100%;
    z-index: 2;
}

.treatment-section .da-thumbs > li .overlay .text-icon {
    display: block;
}

.treatment-section .da-thumbs > li .overlay .treatment-icon {
    border-radius: 50%;
    display: inline-block;
    color: var(--white);
    margin-bottom: 10px;
    font-size: 40px;
}

/* -- Treatment Section Media Query -- */
@media (max-width: 992px) {
    .treatment-section .heading-col .text {
        padding-left: 0px;
        padding-right: 0px;
    }

    .treatment-section .nav-pills .nav-link {
        margin-bottom: 10px;
        padding: .3rem .6rem;
    }

    .treatment-section .da-thumbs li {
        width: 50%;
        margin-bottom: 50px;
    }

    .treatment-section .da-thumbs li img {
        width: 100%;
    }
}

@media (max-width: 767px) {
    .treatment-section .heading-col .heading {
        font-size: 35px;
    }

    .treatment-section .da-thumbs li {
        width: 100% !important;
    }
}


/* ========== Footer Section ========== */
.footer {
    background: url(../images/ad-noise.png) var(--primary-black);
    color: white;
    padding: 20px 0;
}

/* Top Navigation Bar */
.footer-top-nav {
    background-color: var(--secondary-black);
    padding: 10px 0;
    text-align: center;
}

.footer-top-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-top-nav ul li {
    display: inline;
    margin: 0 15px;
}

.footer-top-nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 14px;
}

.footer-top-nav ul li a:hover {
    text-decoration: underline;
}

/* Footer Container */
.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: auto;
    padding: 30px 0;
}

/* Adjust individual column widths */
.footer-logo {
    flex-basis: 27%; /* Logo section width */
    min-width: 200px;
}

.footer-column {
    flex-basis: 20%; /* Default column width */
    min-width: 150px;
}

/* Specific widths for individual columns */
.footer-column:nth-child(2) { /* Expertise */
    flex-basis: 20%;
}

.footer-column:nth-child(3) { /* Our Doctors */
    flex-basis: 20%;
}

.footer-column.contact { /* Contact */
    flex-basis: 33%;
}

.footer-logo img {
    max-width: 100%;
}

.footer .social-icons {
    display: flex;
    gap: 20px; /* Space between icons */
}

.footer .social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px; /* Icon size */
    height: 40px;
    border: 1px solid var(--primary-white); /* Default transparent border */
    border-radius: 50%; /* Circular shape */
    transition: all 0.3s ease-in-out;
}

.footer .social-icons a i {
    font-size: 20px;
    color: white; /* Default icon color */
    transition: all 0.3s ease-in-out;
}

.footer .social-icons a:hover {
    transform: translateY(-8px); /* Lift effect */
    border-color:  var(--primary-blue); /* Change border color */
}

.footer .social-icons a:hover i {
    color:  var(--primary-blue); /* Change icon color */
}

.footer .button-center {
    margin-top: 30px;
}

.footer .button-center h4 {
    font-size: 18px;  /* Match other h4 titles */
    font-weight: 700;
    margin-bottom: 8px; /* Space between title and button */
    color: var(--primary-white);
}

.footer-column h4 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    margin-bottom: 5px;
}

.footer-column ul li a {
    color: var(--primary-white);
    text-decoration: none;
    font-size: 13px;
    padding-left: 10px;
    display: inline-block;
    transition: transform 0.3s ease-in-out;
}

.footer-column ul li a:hover {
    color: var(--primary-blue);
    font-weight: 600;
    transform: translateX(8px);
}

.contact p {
    display: flex;
    align-items: center;
    gap: 10px; /* Space between icon and text */
    margin-bottom: 10px;
    font-size: 14px;
    color: var(--primary-white); /* Softer text color */
    background: rgba(255, 255, 255, 0.05); /* Light background effect */
    padding: 8px 12px;
    border-radius: 5px; /* Rounded corners */
    transition: background 0.3s ease-in-out;
    text-align: left;
}

.contact p i {
    font-size: 16px;
    color: var(--primary-white);
    padding-top: 20px;
    padding-bottom: 20px;
    padding-left: 10px;
    padding-right: 20px;
}

.contact p a,
.contact p span {  /* Target text elements */
    color: var(--primary-white); /* Text color */
    text-decoration: none;
    transition: transform 0.3s ease-in-out, color 0.3s ease-in-out;
    display: inline-block; /* Needed for transform */
}

.contact p:hover a,
.contact p:hover span {
    transform: translateX(5px); /* Move text only */
    color:  var(--primary-blue); /* Optional color change */
}


/* Horizontal Divider */
.footer-divider {
    border: 0;
    height: 1px;
    background-color: #444;
    margin: 20px 0;
}

/* Footer Bottom Section */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: auto;
    padding: 10px 0;
}

.copyright {
    font-size: 14px;
    color: #aaa;
}

.footer-links {
    list-style: none;
    display: flex;
    gap: 15px;
}

.footer-links li {
    display: inline;
}

.footer-links li a {
    color: #aaa;
    text-decoration: none;
    font-size: 14px;
}

.footer-links li a:hover {
    text-decoration: underline;
}

/* -- Footer Section Media Query -- */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
    }
    .social-icons {
        display: flex;
        justify-content: center;
    }

    .footer-columns-wrapper {
        display: flex;
        justify-content: flex-start;
        flex-wrap: wrap;
        padding-left: 20px;
        gap: 25px;
    }

    .footer-columns-wrapper .footer-column {
        flex: 1;
        min-width: 45%;
        text-align: left;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        margin-top: 10px;
    }
    
    .footer .button-center {
        display: flex;
        flex-direction: column; /* Stack h4 and button */
        align-items: center; /* Align center */
        text-align: center;
        gap: 1px; /* Reduce space between elements */
        margin-bottom: 30px;
    }
}

/* Keep the four-column layout in PC view */
@media (min-width: 769px) {
    .footer-container {
        display: flex;
        justify-content: space-between;
    }

    .footer-columns-wrapper {
        display: contents; /* This prevents unwanted wrapping in PC view */
    }

    .footer-column {
        flex-basis: 20%;
    }
    
    .footer .button-center {
        display: flex;
        justify-content: flex-start; /* Moves button to the left */
    }
    
    .footer .button-center {
        display: flex;
        flex-direction: column; /* Stack h4 and button */
        align-items: flex-start; /* Align left */
        gap: 4px; /* Reduce space between elements */
    }
}
