@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

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

/* Disable body scroll */
.no-scroll {
    overflow: hidden;
    height: 100vh;
}


html {
    scroll-behavior: smooth;
}

body {
    font-family: "Poppins";
    background-color: #f3f3f3;
    overflow-x: hidden;
}

header {
    background-color: #F9F9F9;
    /* height: 123px; */
    height: auto;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 999;
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.04);
}

.container {
    max-width: 1450px;
    margin: 0 auto;
    padding: 0 15px;
    height: 100%;
}


.hdr-wrpr {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    padding: 15px;
}

/* Nav Collapse */
.nav-collapse {
    display: flex;
    align-items: center;
    gap: 160px;
}

.nav-collapse ul {
    list-style: none;
    display: flex;
    gap: 80px;
    margin: 0;
    padding: 0;
}

.nav-links {
    position: relative;
    text-decoration: none;
    text-wrap: nowrap;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: #7BC043;
    transition: width 0.3s ease;
}

.nav-links.active {
    color: #7BC043;
}

.nav-links:hover::after {
    width: 100%;
}
.nav-links:hover {
    color:  #7BC043;
}

/* Button */
.primary-btn {
    background-color: #7BC043;
    color: white;
    text-decoration: none;
    padding: 12px 20px;
    font-weight: bold;
    border-radius: 5px;
    text-wrap: nowrap;
}

.primary-btn:hover{
    background-color: black
}

/* Hamburger Toggler */
.nav-toggler {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
}

.nav-toggler span {
    height: 3px;
    width: 25px;
    background: #333;
    display: block;
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Responsive Styling */
@media (max-width: 1024px) {
    .nav-collapse {
        position: absolute;
        top: 123px;
        right: 0;
        background-color: #F9F9F9;
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        display: none;
        padding: 20px 40px;
    }

    .nav-collapse.active {
        display: flex;
    }

    .nav-collapse ul {
        flex-direction: column;
        width: 100%;
        gap: 15px;
    }

    .nav-btn {
        margin-top: 20px;
    }

    .nav-toggler {
        display: flex;
    }

    /* Hamburger animation */
    .nav-toggler.open span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav-toggler.open span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggler.open span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }
}



.services-sec {
    padding: 80px 0;
    background-color: #f8f8f8;
}

.title {
    text-align: center;
    margin-bottom: 40px;
}

.sub-heading{
    margin-top: 50px;
}

.main-heading .highlight {
    color: #65b741;
}

.services-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
}

.col-33 {
    width: 30%;
    background: #ffffff;
    padding: 24px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease;
}

.col-33:hover {
    transform: translateY(-10px);
}

/* NEW: Horizontal layout for icon and title */
.service-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.service-icon {
    background-color: #e8f5e9;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0;
}

.service-icon img {
    width: 24px;
    height: 24px;
}

.service-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}

.service-desc {
    font-size: 15px;
    color: #252525;
    margin-bottom: 15px;
}

.read-more {
    color: #000;
    text-decoration: none;
    font-weight: 500;
}

/* .primary-btn {
    background-color: #65b741;
    color: #fff;
    padding: 14px 28px;
    border-radius: 30px;
    display: inline-block;
    font-weight: 500;
    text-decoration: none;
    margin-top: 40px;
} */

.btn-wrapper {
    margin-top: 40px;
    text-align: center;
}

/* Responsive */
@media (max-width: 991px) {
    .col-33 {
        width: 45%;
    }
}

@media (max-width: 767px) {
    .col-33 {
        width: 100%;
    }

    .service-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .service-title {
        margin-top: 8px;
    }
}



/* Hill Family Medicine Section */

.hfm {
    background-color: #f9f9f9;
    padding: 60px 0;
}

.hfm-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hfm-text {
    flex: 1;
    min-width: 300px;
    margin-top: -70px;
}

.hfm-text h2 {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 20px;
}

.hfm-text .highlight {
    color: #65b741;
}

.hfm-text p {
    font-size: 16px;
    color: #555;
    margin-bottom: 16px;
}

.primary-btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: #65b741;
    color: #fff;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    text-wrap: nowrap;


}

.hfm-image {
    flex: 1;
    text-align: center;
    min-width: 250px;
}

.hfm-image img {
    width: 300px;
    height: 300px;
    object-fit: cover;
    border-radius: 50%;
    background-color: #c6ecb7;
    padding: 10px;
}

.hfm-features {
    margin-top: 60px;
    background-color: #65b741;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    padding: 30px 20px;
    border-radius: 12px;
    color: #fff;
    text-align: center;
}

.hfm-features .feature-item {
    flex: 1;
    min-width: 150px;
    padding: 10px;
    position: relative;
}

/* Add white vertical line (divider) to all except the last item */
.hfm-features .feature-item:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 25%;
    right: 0;
    height: 50%;
    width: 1px;
    background-color: rgba(255, 255, 255, 0.5);
}

.hfm-features .feature-item img {
    margin-bottom: 10px;
}

.hfm-features .feature-item p {
    font-size: 15px;
    font-weight: 500;
}

/* Responsive */
@media (max-width: 768px) {

    .hfm-features .feature-item::after {
        display: none;
    }

    .hfm-content {
        flex-direction: column;
        text-align: center;
    }

    .hfm-image img {
        width: 220px;
        height: 220px;
    }

    .hfm-features {
        flex-direction: column;
        gap: 20px;
    }

    .hfm-features .feature-item {
        border-bottom: 1px solid rgba(255, 255, 255, 0.3);
        padding-bottom: 20px;
    }

    .hfm-features .feature-item:last-child {
        border-bottom: none;
    }
}


/* Partner Section */
.patnr-sec {
    margin-top: 65px;
}

/* Responsive */
@media (max-width: 768px) {

    .nav-logo img {
        max-width: 150px;
        max-height: 150px;
    }

    .hero-row {
        flex-direction: column;
        text-align: center;
    }

    .col-50 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .circle-img {
        left: -72px;
        bottom: -20px;
        width: 50%;
    }

    .main-img {
        max-width: 90%;
    }
}

/* Footer Section */

.footer {
    background: #f9f9f9;
    padding: 40px 20px;
    font-family: sans-serif;
}

.footer-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
    max-width: 1300px;
    margin: 0 auto;
}

.footer-box {
    color: #333;
}

.col-20 {
    flex: 1 1 20%;
    min-width: 200px;
}

.footer-box h4 {
    color: #5cbe4a;
    margin-bottom: 12px;
    font-size: 16px;
    font-weight: 600;
}

.footer-box p,
.footer-box li,
.footer-box a {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
    text-decoration: none;
}

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

.footer-box ul li {
    margin-bottom: 8px;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.newsletter-form input {
    padding: 10px;
    flex: 1 1 70%;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.newsletter-form button {
    background-color: #5cbe4a;
    color: white;
    border: none;
    padding: 10px 12px;
    border-radius: 4px;
    cursor: pointer;
    flex: 1 1 25%;
}
.f-button:hover{
    background-color: black;
}

.f-button{
   background-color: #5cbe4a;
    color: white;
    text-align: center;
    /* width: 100%; */
    /* display: inline-block; */
    border: none;
    padding: 10px 12px;
    border-radius: 4px;
    cursor: pointer;
    flex: 1 1 25%;
}

.social-icons {
    display: flex;
    gap: 12px;
    margin-top: 10px;
}

.social-icons a {
    font-size: 18px;
    color: #000;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: #5cbe4a;
}
.footer-box ul li a:hover{
    color:  #5cbe4a;
}
.footer-3 :hover{
color:  #5cbe4a;

}
.footer-3 :hover{
    color: #5cbe4a;
}


.footer-bottom {
    text-align: center;
    padding-top: 20px;
    font-size: 13px;
    color: #888;
}

/* Responsive */
@media (max-width: 991px) {
    .col-20 {
        flex: 1 1 45%;
    }
}

@media (max-width: 576px) {
    .col-20 {
        flex: 1 1 100%;
        text-align: center;
    }

    .footer{
        margin-top: -40px;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form input,
    .newsletter-form button {
        width: 100%;
    }

    .social-icons {
        justify-content: center;
    }
}

@media (max-width: 576px) {
  h1 {
    font-size: 22px;
  }

  h2 {
    font-size: 20px;
  }

  h4 {
    font-size: 16px;
  }

  p {
    font-size: 13px;
  }
}

