/* ===========================
   Homepage Styles
   =========================== */

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 100px;
}

@media (max-width: 900px) {.hero { padding-bottom: 4rem;}}

.hero-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 55%;
    height: 100%;
    background: var(--color-cream-dark);
    clip-path: polygon(15% 0, 100% 0, 100% 100%, 0 100%);
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--color-sage-light) 0%, transparent 70%);
    opacity: 0.3;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 600px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--color-sage-light);
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-sage-dark);
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s var(--ease-out-expo) forwards;
    opacity: 0;
}

.hero-badge-dot {
    width: 8px;
    height: 8px;
    background: var(--color-sage-dark);
    border-radius: 50%;
}

.hero-title {
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s var(--ease-out-expo) 0.1s forwards;
    opacity: 0;
}

.hero-title span {
    display: block;
    color: var(--color-terracotta);
}

.hero-text {
    font-size: 1.15rem;
    margin-bottom: 2.5rem;
    animation: fadeInUp 0.8s var(--ease-out-expo) 0.2s forwards;
    opacity: 0;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s var(--ease-out-expo) 0.3s forwards;
    opacity: 0;
}

.hero-image {
    position: relative;
    animation: fadeIn 1s var(--ease-out-expo) 0.4s forwards;
    opacity: 0;
}

.hero-image-main {
    width: 100%;
    max-width: 500px;
    aspect-ratio: 4/5;
    object-fit: cover;
    border-radius: 200px 200px 40px 40px;
    box-shadow: 0 40px 80px rgba(0,0,0,0.1);
}

.hero-image-float {
    position: absolute;
    bottom: 10%;
    left: -20%;
    background: var(--color-white);
    padding: 1.25rem 1.5rem;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 1rem;
    animation: float 4s ease-in-out infinite;
}

@media (max-width: 900px) {
	
	.hero-image-float {
		position: absolute;
		bottom: 10%;
		left: -20%;
		background: var(--color-white);
		padding: 0.5rem 0.5rem;
		border-radius: 20px;
		box-shadow: 0 20px 60px rgba(0,0,0,0.1);
		display: flex;
		align-items: center;
		gap: 0.25rem;
		animation: float 4s ease-in-out infinite;
	}
	
}






.hero-image-float-icon {
    width: 50px;
    height: 50px;
    background: var(--color-sage-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image-float-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--color-sage-dark);
}

.hero-image-float-text strong {
    display: block;
    font-size: 0.9rem;
    color: var(--color-charcoal);
}

.hero-image-float-text span {
    font-size: 0.8rem;
    color: var(--color-charcoal-light);
}

@media (max-width: 900px) {
    .hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-bg {
        width: 100%;
        height: 50%;
        bottom: 0;
        top: auto;
        clip-path: polygon(0 20%, 100% 0, 100% 100%, 0 100%);
    }

    .hero-image {
        order: -1;
    }

    .hero-image-main {
        max-width: 300px;
        margin: 0 auto;
    }

    .hero-image-float {
        /* left: 40%; */
        /* transform: translateX(-50%); */
        /* bottom: -10%; */
		left: 25%;
        transform: translateX(-50%);
        bottom: -5%;
    }
}

/* Opening Hours Sidebar */
.opening-hours-fixed {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    background: var(--color-white);
    padding: 1.5rem;
    border-radius: 20px 0 0 20px;
    box-shadow: -10px 10px 40px rgba(0,0,0,0.1);
    transition: transform 0.4s var(--ease-out-expo);
}

.opening-hours-fixed:hover {
    transform: translateY(-50%) translateX(-10px);
}

.opening-hours-fixed h4 {
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
    color: var(--color-charcoal);
}

.opening-hours-fixed ul {
    list-style: none;
    font-size: 0.8rem;
}

.opening-hours-fixed li {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.25rem 0;
    color: var(--color-charcoal-light);
}

.opening-hours-fixed .open-now {
    color: var(--color-sage-dark);
    font-weight: 500;
}

@media (max-width: 1200px) {
    .opening-hours-fixed {
        display: none;
    }
}

/* Philosophy Section */
.philosophy {
    padding: 8rem 0;
    position: relative;
}
@media (max-width: 900px) {.philosophy { padding: 4rem 0;}}



.philosophy-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.philosophy-images {
    position: relative;
    height: 600px;
}

.philosophy-img {
    position: absolute;
    border-radius: 30px;
    object-fit: cover;
    box-shadow: 0 30px 60px rgba(0,0,0,0.1);
}

.philosophy-img-1 {
    width: 60%;
    height: 80%;
    top: 0;
    left: 0;
}

/* .philosophy-img-2 { */
    /* width: 55%; */
    /* height: 50%; */
    /* bottom: 0; */
    /* right: 0; */
    /* border: 8px solid var(--color-cream); */
/* } */

.philosophy-img-2 {
    width: 55%;
    height: 50%;
	top: 10%;
    right: 0;
    border: 4px solid var(--color-cream);
}

.philosophy-img-3 {
    width: 45%;
    height: 60%;
    left: 45%;
    bottom: 0%;
    /* transform: translate(-50%, -50%); */
    transform: translate(-45%, 0%);
    border: 4px solid var(--color-cream);
    z-index: 4;
}




.philosophy-content {
    max-width: 520px;
}

.philosophy h2 {
    margin-bottom: 1.5rem;
}

.philosophy-text {
    margin-bottom: 2rem;
}

.philosophy-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.philosophy-feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.philosophy-feature-icon {
    width: 40px;
    height: 40px;
    background: var(--color-sage-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.philosophy-feature-icon svg {
    width: 20px;
    height: 20px;
    stroke: var(--color-sage-dark);
}

.philosophy-feature span {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-charcoal);
}

@media (max-width: 900px) {
    .philosophy-inner {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .philosophy-images {
        height: 400px;
    }

    .philosophy-features {
        grid-template-columns: 1fr;
    }
}

/* Services Section */
.services {
    padding: 8rem 0;
    background: var(--color-white);
    position: relative;
    overflow: hidden;
}
@media (max-width: 900px) {.services { padding: 4rem 0;}}



.services::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--color-cream-dark) 0%, transparent 70%);
    border-radius: 50%;
}

.services-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.services-header h2 {
    margin-bottom: 1rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--color-cream);
    border-radius: 30px;
    padding: 2.5rem;
    transition: all 0.5s var(--ease-out-expo);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--color-sage);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s var(--ease-out-expo);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.1);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: var(--color-sage-light);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.4s var(--ease-out-expo);
}

.service-card:hover .service-icon {
    background: var(--color-sage);
}

.service-icon svg {
    width: 32px;
    height: 32px;
    stroke: var(--color-sage-dark);
    transition: stroke 0.4s ease;
}

.service-card:hover .service-icon svg {
    stroke: var(--color-white);
}

.service-card h3 {
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
}

.service-card p {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-terracotta);
}

.service-link svg {
    width: 18px;
    height: 18px;
    stroke: var(--color-terracotta);
    transition: transform 0.3s var(--ease-out-expo);
}

.service-card:hover .service-link svg {
    transform: translateX(4px);
}

/* Team Section */
.team {
    padding: 8rem 0;
    background: linear-gradient(180deg, var(--color-cream) 0%, var(--color-cream-dark) 100%);
}

@media (max-width: 900px) {.team { padding: 4rem 0;}}


.team-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.team-header h2 {
    margin-bottom: 1rem;
}

.team-doctor {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 5rem;
    background: var(--color-white);
    border-radius: 40px;
    overflow: hidden;
}
@media (max-width: 900px) {.team-doctor {gap: 1rem;}}


.team-doctor-image {
    height: 100%;
    min-height: 500px;
}

.team-doctor-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-doctor-content {
    padding: 3rem;
}
@media (max-width: 900px) {
	.team-doctor-content {padding: 2rem;}	
}


.team-doctor-name {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    margin-bottom: 0.5rem;
}

.team-doctor-title {
    font-size: 1.1rem;
    color: var(--color-terracotta);
    margin-bottom: 1.5rem;
}

.team-doctor-bio {
    margin-bottom: 2rem;
}

.team-doctor-credentials {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.credential-tag {
    padding: 0.5rem 1rem;
    background: var(--color-sage-light);
    border-radius: 100px;
    font-size: 0.85rem;
    color: var(--color-sage-dark);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.team-card {
    background: var(--color-white);
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.4s var(--ease-out-expo);
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

.team-card-image {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

.team-card-content {
    padding: 1.5rem;
    text-align: center;
}

.team-card h4 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.team-card p {
    font-size: 0.9rem;
}

@media (max-width: 900px) {
    .team-doctor {
        grid-template-columns: 1fr;
    }

    .team-doctor-image {
        min-height: 300px;
    }
}

/* Fear Section */
.fear {
    padding: 8rem 0;
    background: var(--color-cream);
}
@media (max-width: 900px) {.fear { padding: 4rem 0;}}


.fear-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.fear-content h2 {
    margin-bottom: 1.5rem;
}

.fear-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin: 2rem 0;
}

.fear-feature {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--color-white);
    border-radius: 20px;
    transition: all 0.4s var(--ease-out-expo);
}

.fear-feature:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.fear-feature-icon {
    width: 50px;
    height: 50px;
    background: var(--color-terracotta);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.fear-feature-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--color-white);
}

.fear-feature h4 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.fear-feature p {
    font-size: 0.9rem;
}

.fear-image {
    position: relative;
}

.fear-image img {
    width: 100%;
    border-radius: 30px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.1);
}

@media (max-width: 900px) {
    .fear-inner {
        grid-template-columns: 1fr;
    }

    .fear-image {
        order: -1;
    }
}

/* Contact Section */
.contact {
    padding: 8rem 0;
    background: var(--color-charcoal);
    color: var(--color-white);
    position: relative;
    overflow: hidden;
}
@media (max-width: 900px) {.contact { padding: 4rem 0;}}


.contact::before {
    content: '';
    position: absolute;
    top: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--color-sage-dark) 0%, transparent 60%);
    opacity: 0.1;
}

.contact-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-content h2 {
    color: var(--color-white);
    margin-bottom: 1.5rem;
}

.contact-content p {
    color: rgba(255,255,255,0.7);
    margin-bottom: 2.5rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-item-icon {
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.1);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-item-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--color-sage-light);
}

.contact-item-text strong {
    display: block;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(255,255,255,0.5);
    margin-bottom: 0.25rem;
}

.contact-item-text a,
.contact-item-text span {
    font-size: 1.1rem;
    color: var(--color-white);
    transition: color 0.3s ease;
}

.contact-item-text a:hover {
    color: var(--color-sage-light);
}

.contact-hours {
    background: rgba(255,255,255,0.05);
    border-radius: 24px;
    padding: 2.5rem;
}

.contact-hours h3 {
    color: var(--color-white);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.hours-list {
    list-style: none;
}

.hours-list li {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.7);
}

.hours-list li:last-child {
    border-bottom: none;
}

.hours-list li span:first-child {
    font-weight: 500;
}

.contact-cta {
    margin-top: 2rem;
}

.contact-cta .btn-primary {
    width: 100%;
    justify-content: center;
}

@media (max-width: 900px) {
    .contact-inner {
        grid-template-columns: 1fr;
    }
}

/* Map Section */
.map {
    height: 400px;
    background: var(--color-cream-dark);
    /* position: relative; */
}

/* .map iframe { */
    /* width: 100%; */
    /* height: 100%; */
    /* border: none; */
    /* filter: grayscale(20%); */
/* } */
