/* =======  GMC HERO BANNER SECTION STYLES ========= */
.gmc-hero-section {
    padding: 75px 0 75px 0;
    background: var(--primary-green-bg);
    font-family: var(--body-font);
    overflow: hidden;
}

.hero-content-wrapper {
    max-width: 570px;
}

.hero-title {
    font-size: 56px;
    font-weight: 700;
    color: var(--dark);
    line-height: 1.1;
    margin-bottom: 20px;
    font-family: var(--headerfont);
    letter-spacing: -0.8px;
}

.hero-title .highlight-green {
    color: var(--primary-green);
}

.hero-desc {
    font-size: 18px;
    color: var(--text-muted);
    line-height: 1.80;
    margin-bottom: 48px;
    font-weight: 400;
}

/* Hero Action Buttons */
.hero-btn-group {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

/* Primary Green Pill Button */
.btn-primary-pill {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background-color: var(--primary-green);
    color: var(--white);
    padding: 8px 10px 8px 24px;
    border-radius: var(--btn-radius);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 6px 18px var(--primary-green-glow);
}

.btn-primary-pill:hover {
    background-color: var(--btn-bg-hover);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px var(--btn-hover-glow);
}

.btn-primary-pill .badge-icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background-color: var(--white);
    color: var(--primary-green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: transform 0.3s ease, color 0.3s ease;
}

.btn-primary-pill:hover .badge-icon {
    color: var(--btn-bg-hover);
    transform: scale(1.06);
}

/* Outline Green Pill Button */
.btn-outline-pill {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background-color: var(--white);
    color: var(--primary-green);
    border: 1.5px solid var(--primary-green);
    padding: 7px 8px 7px 22px;
    border-radius: var(--btn-radius);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.btn-outline-pill:hover {
    background-color: var(--primary-green-light);
    color: var(--primary-green);
    transform: translateY(-2px);
    border-color: var(--primary-green);
}

.btn-outline-pill .badge-icon-green {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background-color: var(--primary-green);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: transform 0.3s ease;
}

.btn-outline-pill:hover .badge-icon-green {
    transform: translateX(3px);
}

/* Hero Photo Grid Collage */
.hero-photo-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hero-photo-grid .grid-top-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.hero-photo-grid .photo-item {
    overflow: hidden;
    border: 2px solid var(--primary-green);
    box-shadow: 0 8px 24px rgba(0, 132, 61, 0.08);
}

.hero-photo-grid .photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

/* .hero-photo-grid .top-left img,
.hero-photo-grid .top-right img {
    height: 220px;
} */

/* .hero-photo-grid .bottom-full img {
    height: 260px;
} */

.hero-photo-grid .photo-item:hover img {
    transform: scale(1.04);
}

@media (max-width: 991px) {
    .gmc-hero-section {
        padding: 50px 0;
    }

    .hero-title {
        font-size: 38px;
    }

    .hero-content-wrapper {
        margin-bottom: 30px;
    }
}

/* ABOUT GENERATIONS MEDICAL CENTER SECTION STYLES  */
.gmc-about-section {
    padding: 75px 0;
    background-color: var(--white);
    font-family: var(--body-font);
}

.about-outer-box {
    border: 4px solid var(--primary-green);
    padding: 30px 30px;
    background-color: var(--white);
    box-shadow: 0 10px 30px rgba(0, 132, 61, 0.05);
    border-radius: 5px;
}

/* Left Photo Collage Grid */
.about-photo-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.about-photo-grid .grid-top-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.about-photo-grid .photo-item {
    overflow: hidden;
    border: 2px solid var(--primary-green);
}

.about-photo-grid .photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

/* .about-photo-grid .top-left img,
.about-photo-grid .top-right img,
.about-photo-grid .bottom-full img {
    min-height: 300px;
} */

.about-photo-grid .photo-item:hover img {
    transform: scale(1.04);
}

/* Right Content Column */
.about-content-wrapper h2.main-title {
    font-size: 44px;
    color: var(--dark);
    line-height: 1.24;
    margin-bottom: 30px;
    font-family: var(--headerfont);
    letter-spacing: -0.6px;
}

.about-content-wrapper h2.main-title {
    font-weight: 700;
}

.about-content-wrapper h2.main-title span {
    font-weight: 700;
}

.about-content-wrapper h2.main-title .highlight-green {
    color: var(--primary-green);
}

.about-content-wrapper .about-desc {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.80;
    font-weight: 400;
    margin-bottom: 20px;
}


/* Action Bar (Learn More Button + Vertical Line + Phone Box) */
.about-action-bar {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-top: 40px;
    flex-wrap: wrap;
    justify-content: space-between;
}

.about-action-bar .action-divider {
    display: none;
}

.phone-contact-box {
    display: flex;
    align-items: center;
    gap: 12px;
}

.phone-contact-box:hover .phone-info .phone-number {
    color: var(--accent-orange);
}

.phone-contact-box:hover .phone-icon-circle {
    background-color: var(--accent-orange);
}

.phone-contact-box .phone-icon-circle {
    position: relative;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--primary-green);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    line-height: normal;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 12px rgba(10, 114, 61, 0.3);
    cursor: pointer;
    flex-shrink: 0;
}

/* Continuous smooth pulse ring animation (same as hours-icon) */
.phone-contact-box .phone-icon-circle::after {
    content: "";
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    border: 2px solid var(--primary-green);
    opacity: 0.8;
    animation: phoneIconPulse 2.4s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
    pointer-events: none;
    transition: border-color 0.3s ease;
}

/* Phone icon rotation & tick animation */
.phone-contact-box .phone-icon-circle i {
    display: inline-block;
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    animation: phoneTick 6s ease-in-out infinite alternate;
}

/* Smooth hover state (same as hours-icon) */
/* .phone-contact-box:hover .phone-icon-circle,
.phone-contact-box .phone-icon-circle:hover {
    transform: scale(1.14) rotate(12deg);
    background-color: var(--accent-orange);
    box-shadow: 0 6px 16px rgba(230, 92, 0, 0.5);
} */

.phone-contact-box:hover .phone-icon-circle::after {
    border-color: var(--accent-orange);
}

.phone-contact-box:hover .phone-icon-circle i {
    transform: rotate(360deg);
}

/* Continuous pulse animation keyframes */
@keyframes phoneIconPulse {
    0% {
        transform: scale(0.95);
        opacity: 0.9;
        box-shadow: 0 0 0 0 rgba(10, 114, 61, 0.5);
    }
    70% {
        transform: scale(1.35);
        opacity: 0;
        box-shadow: 0 0 0 8px rgba(10, 114, 61, 0);
    }
    100% {
        transform: scale(1.35);
        opacity: 0;
        box-shadow: 0 0 0 0 rgba(10, 114, 61, 0);
    }
}

/* Periodic tick movement keyframes */
@keyframes phoneTick {
    0%, 80% {
        transform: rotate(0deg);
    }
    85% {
        transform: rotate(15deg);
    }
    90% {
        transform: rotate(-10deg);
    }
    95% {
        transform: rotate(5deg);
    }
    100% {
        transform: rotate(0deg);
    }
}

.phone-contact-box .phone-info {
    display: flex;
    flex-direction: column;
}

.phone-contact-box .phone-label {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 500;
}

.phone-contact-box .phone-number {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.phone-contact-box .phone-number:hover {
    color: var(--primary-green);
}

/*  OUR SERVICES SECTION STYLES (CSS GRID)  */
.gmc-services-section {
    padding: 75px 0;
    background-color: var(--primary-green-bg);
    font-family: var(--body-font);
}

.section-header-center {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 50px auto;
}
.gmc-why-choose-section .section-header-center{
    max-width: 900px;
}
.common-title {
    font-size: 44px;
    font-weight: 700;
    color: var(--dark);
    line-height: 1.25;
    margin-bottom: 12px;
    font-family: var(--headerfont);
    letter-spacing: -0.5px;
}

.section-subdesc {
    font-size: 18px;
    color: var(--text-muted);
    font-weight: 400;
}

/* Services 3-Column Responsive CSS Grid */
.services-grid-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* Service Image + Green Content Card */
.service-card {
    border: 4px solid var(--primary-green);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    background-color: transparent;
    border-radius: 5px;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    position: relative;
}

.service-card:hover {
    box-shadow: 0 12px 30px rgba(0, 132, 61, 0.15);
}

.service-card .service-img {
    overflow: hidden;
    min-height: 250px;
}

.service-card .service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    overflow: hidden;
    display: block;
    transition: transform 0.4s ease;
    min-height: 250px;
}

.service-card:hover .service-img img {
    transform: scale(1.05);
}

.service-card .service-content {
    background-color: #00843d9e;
    padding: 20px;
    width: 100%;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
    position: absolute;
    top: 50%;
    left: 0;
    bottom: 0;
}
.service-card .service-content:hover{
    background-color: var(--primary-green);
    transition: all 0.3s ease;
}
.service-card:last-child{
    height: 250px;
}
.service-card .service-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--white);
    font-family: var(--headerfont);
    margin: 0;
    line-height: 1.3;
}

.service-card .service-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--white);
    color: var(--primary-green);
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.service-card .service-btn i {
    transition: transform 0.3s ease;
}

.service-card .service-btn:hover {
    background-color: var(--accent-orange);
    color: var(--white);
}

.service-card .service-btn:hover i {
    transform: translateX(3px);
}

/* Service CTA Card (6th card) */
.service-cta-card {
    border: 4px solid var(--primary-green);
    background-color: var(--white);
    padding: 35px 28px;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
}

.service-cta-card .cta-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--dark);
    line-height: 1.40;
    margin-bottom: 14px;
    font-family: var(--headerfont);
}

.service-cta-card .cta-desc {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 14px;
}

.service-cta-card .sub-title {
    text-transform: capitalize;
    font-size: 16px;
    position: relative;
    margin-bottom: 30px;
}

.service-cta-card .sub-title::before {
    position: absolute;
    content: "";
    width: 80px;
    height: 3px;
    background-color: #D1E6D6;
    border-radius: var(--btn-radius);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

/* Responsive Grid Breakpoints */
@media (max-width: 991px) {
    .services-grid-wrapper {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .service-card .service-img img{
        height: auto;
    }
}

@media (max-width: 575px) {
    .services-grid-wrapper {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .service-card .service-title{
        min-height: auto;
    }
}

/* ==========================================================================
   OUR TEAM SECTION STYLES
   ========================================================================== */
.gmc-team-section {
    padding: 75px 0;
    background-color: var(--white);
    font-family: var(--body-font);
}

.team-section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 45px;
    flex-wrap: wrap;
    gap: 20px;
}

.team-section-header .header-left {
    max-width: 600px;
}

/* Team Card Design */
.team-card {
    border: 2px solid var(--primary-green);
    background-color: var(--white);
    border-radius: 3px;
    display: flex;
    overflow: hidden;
    height: 100%;
    align-items: stretch;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
    padding: 8px;
}

.team-card .doctor-photo {
    width: 42%;
    min-height: 220px;
    flex-shrink: 0;
    background-color: #ebf0f1;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: hidden;
}

.team-card .doctor-photo img {
    width: 100%;
    height: 100%;
    border-radius: 3px;
    min-height: 220px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.team-card:hover .doctor-photo img {
    transform: scale(1.04);
}

.team-card .doctor-info {
    width: 58%;
    padding: 20px 25px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.team-card .doctor-name {
    font-size: 22px;
    font-weight: 700;
    color: var(--dark);
    font-family: var(--headerfont);
    margin-bottom: 10px;
    opacity: .9;
}

.team-card .doctor-spec {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-green);
    margin-bottom: 20px;
}

.team-card .doctor-bio {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.70;
    margin: 0;
}

/* Owl Carousel Custom Controls Positioned in Top Right Header */
.team-carousel {
    position: relative;
}

.team-carousel .owl-nav {
    position: absolute;
    top: -70px;
    right: 5px;
    display: flex;
    align-items: baseline;
    gap: 40px;
    margin: 0;
    z-index: 10;
}

.team-carousel .owl-nav button.owl-prev,
.team-carousel .owl-nav button.owl-next {
    width: 30px;
    height: 30px;
    border-radius: 0;
    background: transparent !important;
    color: #333333 !important;
    font-size: 22px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}
.team-carousel .owl-nav button.owl-next {
    align-items: baseline;
}
.team-carousel .owl-nav button.owl-prev:hover,
.team-carousel .owl-nav button.owl-next:hover {
    color: var(--primary-green) !important;
}

.team-carousel .owl-dots {
    position: absolute;
    top: -58px;
    right: 40px;
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    z-index: 10;
}

.team-carousel .owl-dots .owl-dot span {
    width: 6px;
    height: 6px;
    background: #999999;
    border-radius: 50%;
    display: block;
    transition: all 0.3s ease;
}

.team-carousel .owl-dots .owl-dot.active span {
    background: #231f20;
    width: 7px;
    height: 7px;
}


.gmc-why-choose-section {
    padding: 75px 0;
    background-color: var(--primary-green-bg);
    font-family: var(--body-font);
}

.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    border: 2px solid var(--primary-green);
    background-color: var(--white);
    border-radius: 3px;
    padding: 28px 24px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.feature-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 132, 61, 0.1);
}

.feature-card .feature-icon {
    font-size: 34px;
    color: #68c399;
    line-height: 1;
    flex-shrink: 0;
}

.feature-card .feature-info {
    display: flex;
    flex-direction: column;
}

.feature-card .feature-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--dark);
    font-family: var(--headerfont);
    margin-bottom: 10px;
}

.feature-card .feature-desc {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.60;
    margin: 0;
    font-weight: 400;
}
.about-content-col.mobileOnly-contnt{
    display: none;
}
@media (max-width: 1499px) {
    .service-card .service-img{
        min-height: auto;
    }
}
@media(max-width:1100px){
    .service-card .service-title {
    font-size: 18px;
}

}
@media (max-width: 1199px) {

    .about-outer-box .row.g-4.g-lg-5{
    --bs-gutter-x: 1.2rem;
    }
    .about-outer-box{
        padding: 24px 20px;
    }
    .team-card .doctor-photo{
        background-color: transparent;
    }
    .team-card .doctor-photo img{
     height: auto;
    }
    .team-card .doctor-photo,
    .team-card .doctor-info{
        width: 100%;
    }
    .team-card .doctor-info {
        padding: 20px 10px;
    }
    .team-card{
        flex-direction: column;
    }
    .team-card .doctor-photo{
        min-height: auto;
    }
    .services-grid-wrapper,
    .why-choose-grid{
        gap: 20px;
    }
    .section-header-center{
        margin-bottom: 40px !important;
    }
    .sub-title, .hero-subtitle{
        font-size: 12px;
    }
    .hero-desc,
    .section-subdesc,
    .registration-info-content .section-desc{
        font-size: 16px;
    }
    .hero-title{
        font-size: 46px !important;
    }
    .about-content-wrapper h2.main-title,
    .common-title,
    .registration-info-content .section-title{
    font-size: 32px !important;
    line-height: 1.30 !important;
    }
}
@media (max-width: 991px) {

.hero-title {
    font-size: 34px !important;
}
.about-content-wrapper h2.main-title, 
.common-title, 
.registration-info-content .section-title{
    font-size: 26px !important;
}

    .about-content-col.mobileOnly-contnt,
    .about-content-col.mobileOnly-contnt .sub-title,
.about-content-col.mobileOnly-contnt .main-title{
    display: block;
}
.about-content-col.mobileOnly-contnt .main-title{
    margin-bottom: 7px;
}
.about-action-bar{
    margin-top: 28px;
}
.about-content-col .sub-title,
.about-content-col .main-title{
  display: none;
}
    .about-photo-grid,
    .about-photo-grid .grid-top-row{
        gap: 10px;
    }
    .hero-photo-grid .top-left img, 
    .hero-photo-grid .top-right img,
    .hero-photo-grid .bottom-full img,
    .about-photo-grid .top-left img, 
    .about-photo-grid .top-right img, 
    .about-photo-grid .bottom-full img{
        height: auto;
        max-height: auto;
        min-height: auto;
    }
    .about-outer-box{
        padding: 20px 20px;
    }
    .hero-content-wrapper{
        max-width: 100%;
    }
    .hero-desc{
        margin-bottom: 28px;
    }
    .service-card .service-img{
        height: auto;
    }
    .services-grid-wrapper{
        gap: 20px;
    }
    .why-choose-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .section-subdesc{
    margin-bottom: 20px;
}

}
@media (max-width: 767px) {
    .team-section-header{
        margin-bottom: 30px;
    }
    /* .service-card .service-content{
        gap: 20px;
    } */
    .section-header-center {
        margin-bottom: 30px !important;
    }
    .service-card .service-img{
        height: auto;
    }
    .service-card .service-content,
    .service-cta-card,
    .feature-card{
        padding: 16px 20px;
    }
   .service-card .service-content {
    justify-content: space-around;
    padding: 16px;
}
   .team-carousel .owl-nav {
    gap: 50px;
    top: -42px;
    right: 12px;
}
    .team-carousel .owl-dots{
        top: -30px;
    }
    .service-cta-card .cta-title{
        font-size: 18px;
    }
    .service-card .service-title,
   .team-card .doctor-name,
   .feature-card .feature-title {
font-size: 18px;
    }
.hero-desc,
.about-content-wrapper .about-desc,
.hero-desc, .section-subdesc, 
.registration-info-content .section-desc,
.service-cta-card .cta-desc,
.team-card .doctor-bio,
.feature-card .feature-desc{
   font-size: 14px;
   font-weight: 500;
   line-height: 1.70;
}
        .service-card .service-title{
            font-size: 16px;
        }
}
@media (max-width: 576px) {
.feature-card {
        padding: 16px 16px;
    }
    .service-card .service-img{
     height: auto;
    }
    .gmc-btn-orange .badge-icon, 
    .about-learn-btn .badge-arrow{
    width: 28px;
    height: 28px;
    }

    .about-outer-box {
        padding: 20px 16px;
    }
    .phone-contact-box .phone-number{
        font-size: 14px;
    }
    .phone-contact-box .phone-icon-circle{
    width: 44px;
    height: 44px;   
    }
    .about-action-bar .action-divider{
        display: none;
    }
    .why-choose-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}
@media (max-width: 499px) {
    .hero-btn-group .gmc-btn,
    .about-action-bar .gmc-btn.primary-green-color{
         width: 100%;
         justify-content: space-between;
    } 
    .about-action-bar .phone-contact-box{
        width: 100%;
    }
}

@media (min-width: 1199px) and (max-width: 1499px) {
    .team-card .doctor-info{
    padding: 4px 18px;
    padding-right: 10px;
    }
}

