@font-face {
    font-family: "trebuc";
    src: url("/assets/trebuc.tff") format("truetype");
    font-weight: normal;
    font-style: normal;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "trebuc", sans-serif;
}

body {
    background: white;
}

.font12 {
    font-size: 12px !important;
}

.font14 {
    font-size: 14px !important;
}

.font16 {
    font-size: 16px !important;
}

.font18 {
    font-size: 18px !important;
}

.font600 {
    font-weight: 600 !important;
}

body {
    background-color: #f1f9f9;
}
.top-bar {
    margin: 0;
    background: #30bfac;
    color: #fff;
    padding: 5px 70px;
    font-size: 14px;
}

.navbar-links {
    margin-top: 0;
    background-color: #000;
    padding: 7px 13px;
    border-radius: 0px 0px 7px 7px;
}

.navbar-links a {
    position: relative;
    color: white;
    margin: 0 20px;
    text-decoration: none;
    font-size: 14px;
}

.navbar-links a::before {
    content: "";
    position: absolute;
    bottom: -3px;
    left: 0;
    height: 2px;
    width: 0;
    background-color: #30bfac;
    /* transform: translateX(-50%); */
    transition: width 0.3s ease;
}

.navbar-links a:hover::before {
    width: 100%;
}

.navbar {
    justify-content: center !important;
}

.navbar > .container {
    margin: 0 110px;
}

.blue {
    color: #30bfac;
}

.background-blue {
    background-color: #30bfac;
}

.button-blue {
    background-color: #30bfac;
    color: white;
    border: none;
    padding: 5px 20px;
    border-radius: 35px;
    text-decoration: none;
}

.button-blue:hover {
    background-color: #28a79c;
    color: white;
    border: none;
    padding: 5px 20px;
    border-radius: 35px;
    text-decoration: none;
}

.top-bar a {
    color: #fff;
    margin-left: 10px;
}
.logo span {
    color: #30bfac;
}

/* Tablet adjustments */
@media (max-width: 992px) {
    .top-bar {
        padding: 5px 20px; /* reduce side padding */
        font-size: 13px;
    }

    .navbar > .container {
        margin: 0 30px; /* tighter margin */
    }

    .top-bar .d-flex {
        flex-wrap: wrap; /* allow phone/email & icons to wrap */
        justify-content: center;
        text-align: center;
        gap: 8px;
    }

    .top-bar span {
        display: block; /* stack contact info */
        margin: 2px 0;
    }
}

/* Mobile adjustments */
@media (max-width: 576px) {
    .top-bar {
        padding: 5px 10px;
        font-size: 12px;
    }

    .navbar > .container {
        margin: 0 15px;
    }

    .top-bar .d-flex {
        flex-direction: column;
        align-items: center;
    }

    .top-bar span {
        display: block;
        margin: 2px 0;
    }

    .top-bar a {
        margin-left: 6px;
        font-size: 14px;
    }

    .navbar-brand {
        font-size: 18px;
    }
}
header {
    background-size: cover;
    background-position: center;
    min-height: 50vh;
}

.header-container {
    margin: 0 15px;
    text-align: center;
}

.header-container h1 {
    font-size: 1.75rem;
    font-weight: 600 !important;
    line-height: 1.3;
}

.header-container p {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-top: 10px;
}

.header-container .btn {
    margin-top: 15px;
}

@media (min-width: 768px) {
    .header-container {
        margin: 0 30px;
        text-align: left;
    }

    .header-container h1 {
        font-size: 2.25rem;
    }

    .header-container p {
        font-size: 1.05rem;
    }

    header {
        min-height: 60vh;
    }
}

@media (min-width: 992px) {
    .header-container {
        margin: 0 50px;
    }

    .header-container h1 {
        font-size: 3rem;
    }

    .header-container p {
        font-size: 1.2rem;
    }

    header {
        min-height: 70vh;
    }
}

@media (min-width: 1200px) {
    header {
        min-height: 80vh;
    }

    .header-container h1 {
        font-size: 4rem;
    }

    .header-container p {
        font-size: 1.25rem;
    }
}

@media (max-width: 767px) {
    header {
        position: relative;
        background-position: center right;
        background-size: cover;
        min-height: 60vh;
        padding: 0;
    }

    header::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 1;
    }
    .header-container {
        position: relative;
        z-index: 2;
    }

    .header-container h1 {
        color: #fff !important;
    }

    .header-container p {
        color: #fff !important;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    header {
        background-position: center center;
        min-height: 65vh;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    header {
        background-position: center right;
        min-height: 70vh;
    }
}

@media (min-width: 1200px) {
    header {
        background-position: center;
        min-height: 80vh;
    }
}
.header-img img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.findTreat {
    font-size: 2rem;
    font-weight: 600;
    color: #111;
}

.findTreatText {
    max-width: 800px;
    line-height: 2;
}

.newsletter {
    background-color: #30bfac;
}
.newsletter button {
    background-color: #000;
    color: #fff;
}
.newsletter button:hover {
    background-color: #333;
}
.footer-logo span {
    color: #30bfac;
}
.footer-bottom {
    background-color: #333;
    color: #fff;
}
.footer-bottom span {
    color: #30bfac;
    font-weight: bold;
}

.filter-btns {
    margin: 20px 0;
}
.filter-btns .btn {
    border-radius: 25px;
    margin: 5px;
    border: 1px solid #111;
}
.filter-btns .btn.active {
    background-color: #30bfac;
    color: #fff;
    border-color: #30bfac;
}
.treatment-card {
    border: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    transition: transform 0.3s ease;
}
.treatment-card:hover {
    transform: translateY(-5px);
}
.treatment-card img {
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}
.btn-consult {
    background: #30bfac;
    color: #fff;
    width: 100%;
    border-radius: 8px;
}
.btn-consult:hover {
    background: #30bfac;
}

.work-section {
    padding: 60px 20px;
    background: #f9f9f9;
}
.work-section .heading {
    font-size: 32px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
}
.work-section .text-details {
    font-size: 16px;
    color: #555;
}
.work-section video {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.card img {
    border-top-left-radius: 12px;

    border-top-right-radius: 12px;
}
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.stepper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
}
.step {
    text-align: center;
    flex: 1;
    position: relative;
}
.circle {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    border: 2px solid #0d6efd;
    margin: 0 auto 5px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}
.circle.active {
    background: #fd7e14;
    border-color: #fd7e14;
}
.circle::after {
    content: "";
    position: absolute;
    top: 12px;
    left: 50%;
    height: 2px;
    width: 100%;
    background: #ccc;
    z-index: -1;
}
.step:last-child .circle::after {
    display: none;
}
.section-header {
    background: #e8f7f6;
    padding: 8px 12px;
    font-weight: bold;
}
.question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    border-bottom: 1px solid #eee;
}
.question:last-child {
    border-bottom: none;
}

.shadow-small {
    box-shadow: 0.25rem 0.25rem 0.5rem rgba(0, 0, 0, 0.075);
}

.shadow-large {
    box-shadow: 0.25rem 0.25rem 0.5rem rgba(0, 0, 0, 0.075) !important;
}

.shadow-large:hover {
    box-shadow: none;
    transform: none !important;
}

.shadow-small:hover {
    box-shadow: 0.125rem 0.25rem 0.5rem rgba(0, 0, 0, 0.075) !important;
    transform: none !important;
}

.transform {
    transform: none !important;
}

.shadow-none {
    box-shadow: none !important;
}

.button-blue:hover {
    background-color: #28a698;
}

footer {
    color: white;
    background-image: url("https://service.demowebsitelinks.com/pharmica/public/assets/Assets/footerBackground.jpeg");
    background-size: cover;
    background-position: center;
}

.nav-item.dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
}

.dropdown-menu {
    display: none;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.nav-item.dropdown:hover .dropdown-menu {
    display: block;
    opacity: 1;
}

.dropdown-item:hover {
    text-decoration: underline;
}

.partner-carousel {
    overflow: hidden;
    position: relative;
    width: 100%;
    /* border-top: 1px solid #eee;
    border-bottom: 1px solid #eee; */
    padding: 10px 0;
}

.partner-track {
    display: flex;
    width: calc(200%);
    animation: scroll 20s linear infinite;
}

.partner {
    flex: 0 0 auto;
    padding: 0 40px;
    font-size: 18px;
    font-weight: 500;
    color: #333;
}

@keyframes scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}
