@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&display=swap');

:root {
    --color-brown: #8B4513;
    --color-gold: #A97825;
    --color-light: #F8F8F8;
    --color-white: #FFFFFF;
    --color-text: #4A4A4A;
    --color-text-light: #666666;
    
    --font-primary: 'Montserrat', 'Arial', sans-serif;
    
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.15);
    --shadow-sticky: 0 2px 10px rgba(0,0,0,0.1);
    
    --transition-fast: 0.15s ease-in-out;
    --transition-normal: 0.2s ease-out;
    --transition-slow: 0.3s ease-out;
    
    --header-height: 90px;
    --header-height-mobile: 70px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    color: var(--color-text);
    background-color: var(--color-white);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

ul, ol {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

input, textarea, select {
    font-family: inherit;
    font-size: 1rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

h1 {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-brown);
}

h2 {
    font-size: 2.25rem;
    font-weight: 600;
    line-height: 1.3;
    color: var(--color-brown);
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-brown);
}

h4 {
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--color-gold);
}

p {
    margin-bottom: 1rem;
}

.btn {
    display: inline-block;
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    border-radius: 6px;
    transition: all var(--transition-fast);
    cursor: pointer;
}

.btn-primary {
    background-color: var(--color-gold);
    color: var(--color-white);
    border: 2px solid var(--color-gold);
}

.btn-primary:hover {
    background-color: var(--color-brown);
    border-color: var(--color-brown);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-primary:active {
    transform: scale(0.98);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-brown);
    border: 2px solid var(--color-brown);
}

.btn-secondary:hover {
    background-color: var(--color-brown);
    color: var(--color-white);
}

.btn-outline {
    background-color: transparent;
    color: var(--color-gold);
    border: 2px solid var(--color-gold);
}

.btn-outline:hover {
    background-color: var(--color-gold);
    color: var(--color-white);
}

.text-center {
    text-align: center;
}

.text-gold {
    color: var(--color-gold);
}

.bg-light {
    background-color: var(--color-light);
}

.bg-brown {
    background-color: var(--color-brown);
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background-color: var(--color-white);
    z-index: 1000;
    transition: box-shadow var(--transition-normal), transform var(--transition-normal);
}

.header.sticky {
    box-shadow: var(--shadow-sticky);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 60px;
    width: auto;
}

.nav-desktop {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-desktop a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-text);
    position: relative;
    padding: 8px 0;
}

.nav-desktop a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--color-gold);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform var(--transition-normal);
}

.nav-desktop a:hover,
.nav-desktop a.active {
    color: var(--color-gold);
}

.nav-desktop a:hover::after,
.nav-desktop a.active::after {
    transform: scaleX(1);
    transform-origin: left;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.phone-number {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-brown);
}

.phone-number:hover {
    color: var(--color-gold);
}

.btn-appointment {
    padding: 10px 20px;
    font-size: 0.9rem;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--color-brown);
    transition: all var(--transition-fast);
    transform-origin: center;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.mobile-actions {
    display: none;
    align-items: center;
    gap: 15px;
}

.mobile-actions .phone-icon {
    width: 24px;
    height: 24px;
    fill: var(--color-brown);
}

/* Mobile Navigation Overlay */
.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
}

.nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

.nav-overlay .nav-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.nav-overlay .nav-links a {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--color-white);
    transition: color var(--transition-fast);
}

.nav-overlay .nav-links a:hover,
.nav-overlay .nav-links a.active {
    color: var(--color-gold);
}

.nav-overlay .contact-info {
    position: absolute;
    bottom: 40px;
    text-align: center;
    color: var(--color-white);
}

.nav-overlay .contact-info p {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

.nav-overlay .social-links {
    display: flex;
    gap: 20px;
    margin-top: 20px;
    justify-content: center;
}

.nav-overlay .social-links a {
    color: var(--color-white);
    font-size: 1.5rem;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: var(--header-height);
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(139, 69, 19, 0.7) 0%, rgba(74, 74, 74, 0.5) 100%);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    padding: 40px 20px;
    color: var(--color-white);
}

.hero-content h1 {
    color: var(--color-white);
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-content .btn {
    margin: 0 10px;
}

/* About Section */
.about-section {
    background-color: var(--color-white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image img {
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.about-content h2 {
    margin-bottom: 1.5rem;
}

.about-content p {
    color: var(--color-text-light);
    margin-bottom: 1.5rem;
}

.about-content .btn {
    margin-top: 1rem;
}

/* Services Section */
.services-section {
    background-color: var(--color-light);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
}

.section-header p {
    color: var(--color-text-light);
    font-size: 1.1rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.service-card {
    background-color: var(--color-white);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    cursor: pointer;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.service-card img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 50%;
    margin: 0 auto 20px;
}

.service-card h3 {
    margin-bottom: 10px;
    font-size: 1.25rem;
}

.service-card p {
    color: var(--color-text-light);
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.service-card .learn-more {
    color: var(--color-gold);
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.service-card .learn-more:hover {
    color: var(--color-brown);
}

.service-card .learn-more::after {
    content: '→';
    transition: transform var(--transition-fast);
}

.service-card:hover .learn-more::after {
    transform: translateX(5px);
}

/* Why Choose Us Section */
.why-choose-section {
    background-color: var(--color-white);
}

.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-top: 50px;
}

.why-choose-item {
    text-align: center;
    padding: 30px 20px;
}

.why-choose-item .icon {
    width: 70px;
    height: 70px;
    background-color: var(--color-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--color-gold);
    font-size: 2rem;
}

.why-choose-item h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.why-choose-item p {
    color: var(--color-text-light);
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* Testimonials Section */
.testimonials-section {
    position: relative;
    background-color: var(--color-brown);
    color: var(--color-white);
    overflow: hidden;
}

.testimonials-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.1;
    background-image: url('../images/testimonials-bg.png');
    background-size: cover;
    background-position: center;
    animation: subtle-pulse 10s infinite alternate linear;
}

@keyframes subtle-pulse {
    0% { opacity: 0.08; }
    100% { opacity: 0.12; }
}

.testimonials-section h2 {
    color: var(--color-white);
    position: relative;
    z-index: 1;
}

.testimonials-wrapper {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-carousel {
    position: relative;
    overflow: hidden;
}

.testimonial-track {
    display: flex;
    transition: transform 0.5s ease-out;
}

.testimonial-slide {
    min-width: 100%;
    padding: 0 20px;
}

.testimonial-content {
    text-align: center;
}

.testimonial-quote {
    font-size: 1.5rem;
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 2rem;
    position: relative;
}

.testimonial-quote::before {
    content: '"';
    font-size: 4rem;
    color: var(--color-gold);
    opacity: 0.5;
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
}

.testimonial-author {
    font-weight: 600;
    font-size: 1.1rem;
}

.testimonial-author span {
    color: var(--color-gold);
}

.carousel-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 40px;
}

.carousel-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid var(--color-white);
    color: var(--color-white);
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.carousel-btn:hover {
    background-color: var(--color-white);
    color: var(--color-brown);
}

.carousel-dots {
    display: flex;
    gap: 10px;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.carousel-dot.active {
    background-color: var(--color-gold);
    transform: scale(1.2);
}

/* CTA Section */
.cta-section {
    background-color: var(--color-light);
}

.cta-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.cta-block {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    min-height: 350px;
    display: flex;
    align-items: flex-end;
}

.cta-block img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.cta-block:hover img {
    transform: scale(1.05);
}

.cta-block-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.2) 100%);
}

.cta-block-content {
    position: relative;
    z-index: 1;
    padding: 40px;
    color: var(--color-white);
}

.cta-block-content h3 {
    color: var(--color-white);
    font-size: 1.75rem;
    margin-bottom: 15px;
}

.cta-block-content .btn {
    margin-top: 15px;
}

/* Footer */
.footer {
    background-color: var(--color-brown);
    color: var(--color-light);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    color: var(--color-gold);
    font-size: 1.1rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-section p,
.footer-section li {
    font-size: 0.95rem;
    line-height: 1.8;
    opacity: 0.9;
}

.footer-section a {
    transition: color var(--transition-fast);
}

.footer-section a:hover {
    color: var(--color-gold);
}

.footer-logo img {
    height: 50px;
    margin-bottom: 15px;
}

.footer-about p {
    margin-bottom: 15px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    font-size: 1.2rem;
    transition: all var(--transition-fast);
}

.footer-social a:hover {
    background-color: var(--color-gold);
}

.footer-hours ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.9rem;
    opacity: 0.8;
    margin: 0;
}

.footer-bottom .legal-links {
    margin-top: 10px;
}

.footer-bottom .legal-links a {
    margin: 0 15px;
    font-size: 0.85rem;
    opacity: 0.7;
}

.footer-bottom .legal-links a:hover {
    opacity: 1;
    color: var(--color-gold);
}

/* Page Hero */
.page-hero {
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: var(--header-height);
    overflow: hidden;
}

.page-hero img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.page-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(139, 69, 19, 0.8) 0%, rgba(74, 74, 74, 0.6) 100%);
    z-index: 0;
}

.page-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    padding: 40px 20px;
    color: var(--color-white);
}

.page-hero-content h1 {
    color: var(--color-white);
    margin-bottom: 1rem;
}

.page-hero-content p {
    font-size: 1.2rem;
    opacity: 0.95;
}

/* Meet the Doctors */
.doctors-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.doctor-card {
    background-color: var(--color-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-normal);
}

.doctor-card:hover {
    transform: translateY(-10px);
}

.doctor-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.doctor-info {
    padding: 25px;
    text-align: center;
}

.doctor-info h3 {
    margin-bottom: 5px;
}

.doctor-info h4 {
    margin-bottom: 15px;
}

.doctor-info p {
    color: var(--color-text-light);
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* Philosophy Section */
.philosophy-section {
    background-color: var(--color-light);
}

.philosophy-list {
    max-width: 800px;
    margin: 0 auto;
}

.philosophy-item {
    display: flex;
    gap: 20px;
    padding: 25px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.philosophy-item:last-child {
    border-bottom: none;
}

.philosophy-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background-color: var(--color-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    font-size: 1.5rem;
}

.philosophy-content h3 {
    margin-bottom: 8px;
    font-size: 1.25rem;
}

.philosophy-content p {
    color: var(--color-text-light);
    margin-bottom: 0;
}

/* Locations Section */
.locations-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.location-card {
    background-color: var(--color-white);
    border-radius: 12px;
    padding: 30px;
    box-shadow: var(--shadow-md);
}

.location-card h3 {
    margin-bottom: 20px;
}

.location-card p {
    margin-bottom: 10px;
    color: var(--color-text-light);
}

.location-card .map-container {
    margin-top: 20px;
    border-radius: 8px;
    overflow: hidden;
}

.location-card iframe {
    width: 100%;
    height: 250px;
    border: none;
}

.location-card.coming-soon {
    background-color: var(--color-light);
    border: 2px dashed var(--color-gold);
}

/* Timeline Section */
.timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 24px;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: var(--color-gold);
}

.timeline-item {
    position: relative;
    padding-left: 70px;
    padding-bottom: 40px;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-number {
    position: absolute;
    left: 0;
    top: 0;
    width: 50px;
    height: 50px;
    background-color: var(--color-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    font-weight: 700;
    font-size: 1.2rem;
}

.timeline-content h3 {
    margin-bottom: 10px;
}

.timeline-content p {
    color: var(--color-text-light);
    margin-bottom: 0;
}

/* Forms Section */
.forms-section {
    background-color: var(--color-light);
}

.forms-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.form-card {
    background-color: var(--color-white);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

.form-card:hover {
    box-shadow: var(--shadow-md);
}

.form-card h3 {
    margin-bottom: 15px;
}

.form-card p {
    color: var(--color-text-light);
    margin-bottom: 20px;
}

.form-card .btn {
    width: 100%;
}

/* Insurance Section */
.insurance-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.insurance-item {
    background-color: var(--color-white);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.insurance-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.insurance-logo {
    padding: 8px 16px;
    background-color: var(--color-light);
    border-radius: 6px;
    font-weight: 600;
    color: var(--color-text);
    font-size: 0.9rem;
}

/* FAQ Accordion */
.faq-section {
    background-color: var(--color-light);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--color-white);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.faq-question {
    width: 100%;
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-brown);
    text-align: left;
    cursor: pointer;
    transition: background-color var(--transition-fast);
}

.faq-question:hover {
    background-color: var(--color-light);
}

.faq-icon {
    font-size: 1.5rem;
    transition: transform var(--transition-fast);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-normal);
}

.faq-answer-content {
    padding: 0 25px 20px;
    color: var(--color-text-light);
    line-height: 1.7;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

/* Contact Form */
.contact-form-section {
    background-color: var(--color-white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-form {
    background-color: var(--color-light);
    padding: 40px;
    border-radius: 12px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--color-text);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid transparent;
    border-radius: 8px;
    background-color: var(--color-white);
    transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--color-gold);
    box-shadow: 0 0 0 3px rgba(169, 120, 37, 0.4);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #999;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.contact-form .btn {
    width: 100%;
    padding: 16px;
    font-size: 1.1rem;
}

.contact-form .btn.loading {
    opacity: 0.7;
    pointer-events: none;
}

.form-message {
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: none;
}

.form-message.success {
    display: block;
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    display: block;
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Contact Info */
.contact-info-section h2 {
    margin-bottom: 30px;
}

.contact-details {
    margin-bottom: 30px;
}

.contact-detail-item {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.contact-detail-icon {
    width: 50px;
    height: 50px;
    background-color: var(--color-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-gold);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.contact-detail-content h4 {
    color: var(--color-brown);
    margin-bottom: 5px;
}

.contact-detail-content p {
    color: var(--color-text-light);
    margin-bottom: 0;
}

.contact-map {
    border-radius: 12px;
    overflow: hidden;
    height: 300px;
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--color-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
    z-index: 100;
    box-shadow: var(--shadow-md);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--color-brown);
    transform: translateY(-3px);
}

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
    padding: 20px;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    background-color: var(--color-white);
    border-radius: 16px;
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    transform: translateY(20px);
    transition: transform var(--transition-normal);
}

.modal-overlay.active .modal {
    transform: translateY(0);
}

.modal-header {
    padding: 25px 30px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    font-size: 1.5rem;
    margin-bottom: 0;
}

.modal-close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--color-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--color-text);
    transition: all var(--transition-fast);
}

.modal-close:hover {
    background-color: var(--color-brown);
    color: var(--color-white);
}

.modal-body {
    padding: 25px 30px 30px;
}

/* Scroll Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-delay-1 {
    transition-delay: 0.1s;
}

.fade-in-delay-2 {
    transition-delay: 0.2s;
}

.fade-in-delay-3 {
    transition-delay: 0.3s;
}

.fade-in-delay-4 {
    transition-delay: 0.4s;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .fade-in {
        opacity: 1;
        transform: none;
    }
}

/* Responsive Styles */
@media (max-width: 1024px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .nav-desktop {
        display: none;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .mobile-actions {
        display: flex;
    }
    
    .header-actions {
        display: none;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .why-choose-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .doctors-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .locations-grid {
        grid-template-columns: 1fr;
    }
    
    .insurance-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: var(--header-height-mobile);
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .hero {
        min-height: 80vh;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-image {
        order: -1;
    }
    
    .about-image img {
        height: 300px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .why-choose-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-block {
        min-height: 280px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-logo {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .footer-links ul {
        align-items: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .doctors-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .forms-grid {
        grid-template-columns: 1fr;
    }
    
    .insurance-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonial-quote {
        font-size: 1.2rem;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
    }
    
    .page-hero {
        min-height: 300px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.75rem;
    }
    
    .hero-content .btn {
        display: block;
        width: 100%;
        margin: 10px 0;
    }
    
    .cta-block-content {
        padding: 25px;
    }
    
    .cta-block-content h3 {
        font-size: 1.4rem;
    }
    
    .philosophy-item {
        flex-direction: column;
        text-align: center;
    }
    
    .philosophy-icon {
        margin: 0 auto;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}
