/* Section Separators */
.section-separator {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem 0;
    background: #000000;
}

/* Footer Styles */
.site-footer {
    background: #000000;
    color: white;
    padding: 3rem 0 1rem 0;
    margin-top: 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section {
    display: flex;
    flex-direction: column;
}

.footer-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
}

.footer-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #8B4B9C;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-description {
    color: #bdc3c7;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.footer-social {
    display: flex;
    gap: 0.8rem;
}

.footer-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: bold;
    color: white;
    transition: all 0.3s ease;
}

.footer-social-link.facebook {
    background: #1877F2;
}

.footer-social-link.google {
    background: #DB4437;
}

.footer-social-link.yelp {
    background: #FF1A1A;
}

.footer-social-link.instagram {
    background: #E4405F;
}

.footer-social-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.footer-social-link svg {
    width: 16px;
    height: 16px;
    transition: all 0.3s ease;
}

.footer-social-link:hover svg {
    transform: scale(1.1);
}

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

.footer-links li {
    margin-bottom: 0.6rem;
}

.footer-link {
    color: #bdc3c7;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #8B4B9C;
}

.footer-contact p {
    margin-bottom: 0.5rem;
    color: #bdc3c7;
    font-size: 0.9rem;
    line-height: 1.4;
}

.footer-address {
    font-weight: 500;
}

.footer-phone {
    color: #8B4B9C !important;
    font-weight: 600;
}

.footer-email {
    color: #8B4B9C !important;
}

.footer-bottom {
    border-top: 1px solid #34495e;
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-copyright {
    color: #95a5a6;
    font-size: 0.85rem;
    margin: 0;
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
}

.footer-legal-link {
    color: #95a5a6;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

.footer-legal-link:hover {
    color: #8B4B9C;
}

.toothbrush-row {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 100%;
    padding: 0 1rem;
}

.separator-image {
    width: 48px;
    height: 48px;
    opacity: 0.6;
    transition: all 0.3s ease;
}

.separator-image:hover {
    opacity: 1;
    transform: scale(1.1);
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Smooth scrolling and animation base */
html {
    scroll-behavior: smooth;
}

/* Animation keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInFromBottom {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes mobileIntroFadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes mobileIntroSlideUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes mobileIntroScale {
    0% {
        opacity: 0;
        transform: scale(0.95);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Animation utility classes */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

.animate-fade-in {
    animation: fadeInUp 0.8s ease-out forwards;
}

.animate-slide-left {
    animation: fadeInLeft 0.8s ease-out forwards;
}

.animate-slide-right {
    animation: fadeInRight 0.8s ease-out forwards;
}

.animate-scale-in {
    animation: scaleIn 0.6s ease-out forwards;
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

.animate-pulse {
    animation: pulse 2s ease-in-out infinite;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    background-color: white;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    min-width: 320px; /* Prevent body from getting too small */
}

body.loaded {
    opacity: 1;
}

/* Enhanced transitions for specific interactive elements */
button, .nav-link, .dropdown-link, .social-icon, .service-btn, .submit-btn, .leave-review-btn {
    transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
}

/* Smooth page transitions */
.section-title, .section-subtitle {
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Enhanced button animations */
.book-btn, .service-btn, .submit-btn, .leave-review-btn, .learn-more-btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.book-btn::before, .service-btn::before, .submit-btn::before, .leave-review-btn::before, .learn-more-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.book-btn:hover::before, .service-btn:hover::before, .submit-btn:hover::before, .leave-review-btn:hover::before, .learn-more-btn:hover::before {
    left: 100%;
}

/* Header Styles */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: #ffffff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

/* Navigation Left */
.nav-left {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-family: 'Playfair Display', serif;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #8B4B9C;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #8B4B9C;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Dropdown Arrow Styling */
.dropdown-arrow {
    font-size: 0.7rem;
    margin-left: 0.3rem;
    transition: transform 0.3s ease;
    display: inline-block;
}

.nav-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

/* Professional Dropdown Navigation Styles */
.nav-dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    position: absolute;
    top: calc(100% + 5px);
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    min-width: 280px;
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.12),
        0 12px 24px rgba(0, 0, 0, 0.08),
        0 0 0 1px rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1001;
    padding: 8px;
    overflow: hidden;
}

/* Subtle arrow pointing up */
.dropdown-content::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid rgba(255, 255, 255, 0.98);
    filter: drop-shadow(0 -2px 4px rgba(0, 0, 0, 0.05));
}

.nav-dropdown:hover .dropdown-content,
.dropdown-content:hover {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-link {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    color: #2c3e50;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    border-radius: 12px;
    margin: 2px 0;
    overflow: hidden;
}

.dropdown-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(139, 75, 156, 0.08), rgba(139, 75, 156, 0.04));
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 12px;
}

.dropdown-link:hover::before {
    opacity: 1;
}

.dropdown-link:hover {
    color: #8B4B9C;
    transform: translateX(4px);
}

.dropdown-link:focus {
    outline: 2px solid #8B4B9C;
    outline-offset: 2px;
    background: rgba(139, 75, 156, 0.1);
}

/* Subtle accent line on hover */
.dropdown-link::after {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #8B4B9C, #6A3A7A);
    transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border-radius: 1px;
}

.dropdown-link:hover::after {
    width: 4px;
}

/* Navigation Center - Logo */
.nav-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

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

.logo-image {
    height: 80px;
    width: auto;
}

.mobile-logo-text {
    display: none;
    font-family: 'Playfair Display', serif;
    font-weight: 300;
    font-size: 1.6rem;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
    text-decoration: none;
    transition: color 0.3s ease;
}

.mobile-logo-text:hover {
    color: #8B4B9C;
}

.mobile-phone-btn {
    display: none;
    background: none;
    color: #000;
    border: none;
    padding: 0.8rem;
    border-radius: 0;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    width: auto;
    height: auto;
    align-items: center;
    justify-content: center;
}

.mobile-phone-btn:hover {
    color: #8B4B9C;
    transform: translateY(-2px);
}

/* Navigation Right */
.nav-right {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.book-btn {
    background: #000;
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 25px;
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.book-btn:hover {
    background: #8B4B9C;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139, 75, 156, 0.3);
}

.contact-info {
    text-align: right;
}

.address {
    font-family: 'Playfair Display', serif;
    font-size: 0.8rem;
    color: #666;
    margin-bottom: -0.8rem;
    line-height: 1.0;
    text-align: left;
    margin-left: 0;
    font-weight: 400;
    margin-top: 0;
}

.social-phone {
    display: flex;
    align-items: center;
    gap: 0;
    margin-top: -0.8rem;
}

.social-icons {
    margin-right: 1rem;
}

.social-icons {
    display: flex;
    gap: 0.5rem;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    text-decoration: none;
    font-size: 0.7rem;
    font-weight: bold;
    color: white;
    transition: all 0.3s ease;
}

.social-icon.facebook {
    background: #1877F2;
}

.social-icon.google {
    background: #DB4437;
}

.social-icon.yelp {
    background: #FF1A1A;
}

.social-icon.instagram {
    background: #E4405F;
}

.social-icon:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.social-icon svg {
    width: 16px;
    height: 16px;
    transition: all 0.3s ease;
}

.social-icon:hover svg {
    transform: scale(1.1);
}

/* Floating Sidebar Styles */
.floating-sidebar {
    position: fixed;
    left: 0;
    top: 75%;
    transform: translateY(-50%);
    z-index: 999;
    background: #8B4B9C;
    border-radius: 0 12px 12px 0;
    box-shadow: 0 4px 20px rgba(139, 75, 156, 0.3);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: none;
    width: 40px;
}

.floating-sidebar.visible {
    opacity: 1;
    visibility: visible;
}

.sidebar-social-icons {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem 0.5rem;
}

.sidebar-social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: bold;
    color: white;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.sidebar-social-icon svg {
    width: 16px;
    height: 16px;
    transition: all 0.3s ease;
}

.sidebar-social-icon.facebook {
    background: #8B4B9C;
    color: white;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 1.2rem;
}

.sidebar-social-icon.instagram {
    background: #8B4B9C;
    color: white;
}

.sidebar-social-icon.instagram svg {
    width: 18px;
    height: 18px;
}

.sidebar-social-icon.twitter {
    background: #8B4B9C;
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
}

.sidebar-social-icon.youtube {
    background: #8B4B9C;
    color: white;
}

.sidebar-social-icon.youtube svg {
    width: 18px;
    height: 18px;
}

.sidebar-social-icon:hover {
    transform: translateX(4px) scale(1.05);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.3);
}

.phone {
    font-family: 'Playfair Display', serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: #8B4B9C;
    margin: 0;
    line-height: 1.2;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 1.5px;
    background: #333;
    transition: 0.3s;
}

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

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

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

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    backdrop-filter: blur(10px);
    display: none;
}

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

.mobile-menu-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
}

.mobile-menu-bg-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.mobile-menu-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
}

.mobile-menu-content {
    position: relative;
    z-index: 10;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 2rem;
    padding-top: 10rem;
}

.mobile-menu-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem;
    z-index: 11;
}

.mobile-menu-close {
    color: white;
    font-size: 1.8rem;
    font-weight: 300;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.mobile-menu-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.mobile-menu-logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 300;
    color: white;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
}

.mobile-menu-phone {
    color: white;
    font-size: 1.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.mobile-menu-phone:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.mobile-menu-items {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.8rem;
    text-align: center;
    justify-content: flex-start;
}

.mobile-menu-item {
    color: white;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-size: 1.4rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
}

.mobile-menu-item:hover,
.mobile-menu-item.active {
    color: #AECAD8;
    transform: translateX(5px);
}

.mobile-menu-item.active {
    font-weight: 600;
}

.mobile-menu-book-btn {
    background: #AECAD8;
    color: white;
    border: none;
    padding: 1rem 3rem;
    border-radius: 50px;
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
    box-shadow: 0 4px 15px rgba(174, 202, 216, 0.3);
}

.mobile-menu-book-btn:hover {
    background: #9BB5C7;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(174, 202, 216, 0.4);
}

/* Hero Section */
.hero-section {
    height: 100vh;
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 0;
}

.hero-video-container {
    width: 100%;
    height: 100vh;
    border-radius: 0;
    box-shadow: none;
    position: relative;
    overflow: hidden;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    min-height: 400px; /* Ensure video doesn't get too small */
}

.hero-video-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    z-index: 1;
}



/* Thumbnail/Preview Mode - Maintain desktop layout for smaller screens */
@media (max-width: 1024px) and (min-width: 769px) {
    .container {
        min-width: 768px; /* Ensure minimum readable width */
        padding: 0 1.5rem;
    }
    
    .section-title {
        font-size: 2.8rem; /* Scale down proportionally */
    }
    
    .about-content,
    .dentist-content,
    .contact-content {
        min-width: 500px;
        gap: 3rem;
    }
    
    .services-grid {
        min-width: 500px;
        gap: 1.5rem;
    }
    
    .hero-video {
        min-height: 350px;
    }
    
    .navbar {
        padding: 0.8rem 1.5rem;
    }
    
    .logo-image {
        height: 60px; /* Scale logo proportionally */
    }
    
    .nav-link {
        font-size: 0.9rem;
    }
    
    .book-btn {
        padding: 0.7rem 1.5rem;
        font-size: 1.1rem;
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .navbar {
        padding: 1rem 1.5rem;
    }
    
    .nav-right {
        gap: 1.5rem;
    }
    
    .contact-info {
        display: none;
    }
}

@media (max-width: 768px) {
    .nav-left {
        display: none;
    }
    
    .nav-dropdown {
        display: none;
    }
    
    .nav-center {
        position: static;
        transform: none;
        order: 2;
    }
    
    .nav-right {
        order: 3;
        gap: 1rem;
    }
    
    .mobile-menu-toggle {
        display: flex;
        order: 1;
    }
    
    .mobile-menu-overlay {
        display: block;
    }
    
    .navbar {
        flex-wrap: wrap;
        justify-content: space-between;
    }
    
    .logo-image {
        display: none;
    }
    
    .mobile-logo-text {
        display: block;
        font-size: 1.45rem;
        letter-spacing: 0.5px;
    }
    
    .book-btn {
        display: none;
    }
    
    .mobile-phone-btn {
        display: flex;
    }
    
    .hero-section {
        padding: 0;
        height: 75vh;
        margin-bottom: 2rem;
        position: relative;
        overflow: hidden;
    }
    
    .hero-video-container {
        width: 100%;
        height: 100%;
        border-radius: 0;
        animation: mobileIntroScale 1.2s ease-out 0.5s both;
    }
    
    /* Mobile intro overlay - hidden on desktop */
.mobile-intro-overlay {
    display: none !important;
}

@media (max-width: 768px) {
    .mobile-intro-overlay {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(135deg, rgba(139, 75, 156, 0.9) 0%, rgba(106, 58, 122, 0.8) 100%);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        z-index: 10;
        animation: mobileIntroFadeIn 0.8s ease-out;
    }
    
    .mobile-intro-content {
        text-align: center;
        color: white;
        padding: 2rem;
        max-width: 90%;
    }
    
    .mobile-intro-title {
        font-family: 'Playfair Display', serif;
        font-size: 2.5rem;
        font-weight: 700;
        margin-bottom: 1rem;
        animation: mobileIntroSlideUp 1s ease-out 0.3s both;
        letter-spacing: 1px;
    }
    
    .mobile-intro-subtitle {
        font-family: 'Inter', sans-serif;
        font-size: 1.1rem;
        font-weight: 400;
        margin-bottom: 2rem;
        animation: mobileIntroSlideUp 1s ease-out 0.5s both;
        line-height: 1.5;
    }
    
    .mobile-intro-cta {
        background: white;
        color: #8B4B9C;
        padding: 1rem 2rem;
        border-radius: 25px;
        text-decoration: none;
        font-family: 'Inter', sans-serif;
        font-weight: 600;
        font-size: 1rem;
        transition: all 0.3s ease;
        animation: mobileIntroSlideUp 1s ease-out 0.7s both;
        display: inline-block;
    }
    
    .mobile-intro-cta:hover {
        background: #f8f9fa;
        transform: translateY(-2px);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    }
    
    /* Hide intro overlay after animation */
    .mobile-intro-overlay.hidden {
        opacity: 0;
        visibility: hidden;
        transition: all 0.8s ease-out;
    }
}
    
    /* Show floating sidebar on mobile */
    .floating-sidebar {
        display: block;
    }
}

@media (max-width: 480px) {
    .navbar {
        padding: 0.8rem 1rem;
    }
    
    .mobile-logo-text {
        font-size: 1.3rem;
        letter-spacing: 0.3px;
    }
    
    .mobile-phone-btn {
        font-size: 1.4rem;
    }
    
    .hero-section {
        margin-bottom: 1.5rem;
    }
    
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus styles for accessibility */
.nav-link:focus,
.book-btn:focus,
.cta-button:focus,
.social-icon:focus {
    outline: 2px solid #8B4B9C;
    outline-offset: 2px;
}

/* Loading animation for hero image - Desktop only */
@media (min-width: 769px) {
    .hero-section {
        animation: fadeInUp 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }

    .hero-video-container {
        animation: scaleIn 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.3s both;
    }
    
    /* Ensure mobile intro overlay is hidden on desktop */
    .mobile-intro-overlay {
        display: none !important;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes heroVideoFloat {
    0%, 100% {
        transform: translateY(0px) scale(1);
    }
    50% {
        transform: translateY(-5px) scale(1.02);
    }
}

/* Hero video hover animation - Desktop only */
@media (min-width: 769px) {
    .hero-video-container:hover .hero-video {
        animation: heroVideoFloat 3s ease-in-out infinite;
    }
}

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    min-width: 320px; /* Prevent container from getting too small */
}

/* Section Headers */
.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 300;
    color: #2c3e50;
    margin-bottom: 1rem;
    text-align: center;
    position: relative;
    letter-spacing: 1px;
    line-height: 1.2;
    min-height: 1.2em; /* Prevent title from collapsing */
}

.section-subtitle {
    font-size: 1.1rem;
    color: #666;
    text-align: center;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

/* About Us Section */
.about-section {
    padding: 3rem 0 4rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
    overflow: visible;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23f0f0f0" opacity="0.3"/><circle cx="75" cy="75" r="1" fill="%23f0f0f0" opacity="0.3"/><circle cx="50" cy="10" r="0.5" fill="%23f0f0f0" opacity="0.2"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.1;
    z-index: 1;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    position: relative;
    z-index: 2;
    min-width: 600px; /* Prevent grid from collapsing too much */
}

.about-text {
    animation: fadeInLeft 1s ease-out 0.2s both;
}

.about-right {
    animation: fadeInRight 1s ease-out 0.4s both;
}

.about-stats {
    animation: slideInFromBottom 1s ease-out 0.6s both;
}

.about-right {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 4rem;
}

.about-text {
    animation: slideInLeft 0.8s ease-out;
}

.about-description p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 1.5rem;
}

/* Welcome text visibility control */
.desktop-welcome-text {
    display: block;
}

.mobile-welcome-text {
    display: none;
}

.about-stats {
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    position: relative;
    z-index: 2;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    flex: 1;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.stat-item h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    color: #8B4B9C;
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: #666;
    font-weight: 500;
    font-size: 0.8rem;
}

.about-image {
    position: relative;
    animation: slideInRight 0.8s ease-out;
    margin-top: 2rem;
}

.about-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    min-height: 300px; /* Prevent image from getting too small */
    max-width: 100%; /* Ensure it doesn't overflow */
}

.about-img:hover {
    transform: scale(1.02);
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 2rem;
    border-radius: 0 0 16px 16px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.about-image:hover .image-overlay {
    transform: translateY(0);
}

.overlay-content h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

/* Team Section */
.team-section {
    padding: 6rem 0;
    background: white;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
}

.team-single {
    display: flex;
    justify-content: center;
    max-width: 500px;
    margin: 0 auto;
}

.team-member {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: fadeInUp 0.6s ease-out;
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.member-photo {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.member-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.team-member:hover .member-img {
    transform: scale(1.1);
}

.member-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(139, 75, 156, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.team-member:hover .member-overlay {
    opacity: 1;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border: 2px solid white;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: white;
    color: #8B4B9C;
}

.member-info {
    padding: 2rem;
}

.member-info h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.member-title {
    color: #8B4B9C;
    font-weight: 600;
    margin-bottom: 1rem;
}

.member-bio {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.member-specialties {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.specialty {
    background: rgba(139, 75, 156, 0.1);
    color: #8B4B9C;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Services Section */
.services-section {
    padding: 2rem 0 6rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    min-width: 600px; /* Prevent grid from collapsing too much */
}

.service-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform, box-shadow;
}

.service-card.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.service-card.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

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

.service-image {
    overflow: hidden;
    border-radius: 12px;
}

.service-img {
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

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


.service-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.service-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 180px; /* Prevent service images from getting too small */
}

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

.service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover .service-overlay {
    opacity: 1;
}

.service-overlay h4 {
    color: white;
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    text-align: center;
}

.service-content {
    padding: 2rem;
}

.service-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.service-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.service-features {
    list-style: none;
    margin-bottom: 2rem;
}

.service-features li {
    padding: 0.5rem 0;
    color: #555;
    position: relative;
    padding-left: 1.5rem;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #8B4B9C;
    font-weight: bold;
}

.service-btn {
    display: inline-block;
    background: #8B4B9C;
    color: white;
    text-decoration: none;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.service-btn:hover {
    background: #6A3A7A;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(139, 75, 156, 0.3);
}

/* Services CTA Section */
.services-cta {
    text-align: center;
    margin-top: 3rem;
}

.explore-services-btn {
    display: inline-block;
    color: #8B4B9C;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    font-weight: 500;
    border-bottom: 2px solid #8B4B9C;
    padding-bottom: 2px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.explore-services-btn:hover {
    color: #6A3A7A;
    border-bottom-color: #6A3A7A;
    transform: translateY(-1px);
}

/* Learn More Button */
.welcome-cta {
    margin-top: 2rem;
    text-align: center;
}

.learn-more-btn {
    display: inline-block;
    background: #8B4B9C;
    color: white;
    text-decoration: none;
    padding: 0.8rem 2rem;
    border-radius: 25px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
}

.learn-more-btn:hover {
    background: #6A3A7A;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(139, 75, 156, 0.3);
}

/* Dentist Section */
.dentist-section {
    padding: 3rem 0 6rem 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.dentist-intro-title {
    font-family: 'Inter', sans-serif;
    font-size: 1.8rem;
    font-weight: 400;
    color: #888;
    font-style: italic;
}

.dentist-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    min-width: 600px; /* Prevent grid from collapsing too much */
}

.dentist-image {
    animation: fadeInLeft 1s ease-out 0.2s both;
}

.dentist-info {
    animation: fadeInRight 1s ease-out 0.4s both;
}

.dentist-photo {
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.dentist-photo:hover {
    transform: scale(1.05) rotate(1deg);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.dentist-image {
    position: relative;
    text-align: center;
}

.dentist-photo {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    min-height: 300px; /* Prevent dentist photo from getting too small */
    object-fit: cover;
}

.dentist-photo:hover {
    transform: scale(1.02);
}

.dentist-info {
    padding: 2rem 0;
}

.dentist-bio {
    margin-top: 2rem;
}

.dentist-name {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.dentist-specialty {
    color: #8B4B9C;
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.dentist-description {
    color: #555;
    line-height: 1.8;
}

.dentist-description p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.dentist-description p:last-child {
    margin-bottom: 0;
}

/* Benefits Section */
.benefits-section {
    padding: 6rem 0;
    background: white;
}

.benefits-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.benefit-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    padding: 1.5rem;
    background: rgba(248, 249, 250, 0.8);
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-item:hover {
    transform: translateX(10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
    flex-shrink: 0;
}

.icon-circle {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #8B4B9C, #6A3A7A);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    box-shadow: 0 4px 15px rgba(139, 75, 156, 0.3);
}

.benefit-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.benefit-content p {
    color: #666;
    line-height: 1.6;
}

.tech-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.tech-item {
    background: linear-gradient(135deg, #8B4B9C, #6A3A7A);
    color: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s ease;
}

.tech-item:hover {
    transform: translateY(-5px);
}

.tech-item h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.tech-item p {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Reviews Carousel Section */
.reviews-carousel-section {
    padding: 4rem 0 3rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    overflow: hidden;
    position: relative;
    margin-top: -4rem;
    z-index: 10;
}

.reviews-section-header {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    z-index: 11;
}

.reviews-section-header::before {
    content: '';
    position: absolute;
    top: -2rem;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #8B4B9C, #6A3A7A);
    border-radius: 2px;
}

.reviews-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.reviews-track {
    display: flex;
    gap: 1.5rem;
    animation: scroll 30s linear infinite;
    width: calc(320px * 12); /* 12 cards total for seamless loop */
}

.reviews-track:hover {
    animation-play-state: paused;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-320px * 6 - 1.5rem * 6)); /* Move by 6 cards + gaps */
    }
}

.reviews-carousel .review-card {
    flex: 0 0 320px;
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: none; /* Override the fadeInUp animation */
    border: 1px solid #e8eaed;
    position: relative;
}

.reviews-carousel .review-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15), 0 2px 6px rgba(0, 0, 0, 0.1);
}

/* Google-style review header */
.reviews-carousel .review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.8rem;
}

.reviews-carousel .reviewer-info h4 {
    font-family: 'Inter', sans-serif;
    color: #1a1a1a;
    margin-bottom: 0.2rem;
    font-size: 0.9rem;
    font-weight: 500;
}

.reviews-carousel .stars {
    color: #fbbc04;
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
}

.reviews-carousel .review-date {
    color: #5f6368;
    font-size: 0.75rem;
    font-weight: 400;
}

.reviews-carousel .review-text {
    color: #3c4043;
    line-height: 1.5;
    margin-bottom: 0.8rem;
    font-size: 0.85rem;
    font-style: normal;
}

.reviews-carousel .review-source {
    color: #5f6368;
    font-weight: 400;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.reviews-carousel .review-source::before {
    content: "G";
    background: #4285f4;
    color: white;
    width: 16px;
    height: 16px;
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: bold;
}

/* Reviews CTA Section */
.reviews-cta {
    text-align: center;
    margin-top: 1.5rem;
    position: relative;
    z-index: 11;
}

.reviews-cta-text {
    color: #888;
    font-size: 0.95rem;
    margin-bottom: 0.8rem;
    font-weight: 400;
}

.leave-review-btn {
    display: inline-block;
    background: transparent;
    color: #8B4B9C;
    text-decoration: none;
    padding: 0.6rem 1.5rem;
    border: 2px solid #8B4B9C;
    border-radius: 25px;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.leave-review-btn:hover {
    background: #8B4B9C;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(139, 75, 156, 0.2);
}

/* Reviews Section */
.reviews-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.review-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: fadeInUp 0.6s ease-out;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.reviewer-info h4 {
    font-family: 'Playfair Display', serif;
    color: #2c3e50;
    margin-bottom: 0.3rem;
}

.stars {
    color: #ffc107;
    font-size: 1.1rem;
}

.review-date {
    color: #999;
    font-size: 0.9rem;
}

.review-text {
    color: #555;
    line-height: 1.6;
    margin-bottom: 1rem;
    font-style: italic;
}

.review-source {
    color: #8B4B9C;
    font-weight: 600;
    font-size: 0.9rem;
}

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

.reviews-cta p {
    color: #666;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.cta-button {
    display: inline-block;
    background: #000;
    color: white;
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: #8B4B9C;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(139, 75, 156, 0.3);
}

/* Contact Section */
.contact-section {
    padding: 3rem 0 6rem 0;
    background: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    min-width: 600px; /* Prevent grid from collapsing too much */
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Contact Section Header */
.contact-section-header {
    text-align: center;
    margin-bottom: 3rem;
}

/* Office Location Container */
.office-location-container {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin: 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: fit-content;
}

.office-location-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

/* Contact Information Card */
.contact-info-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.contact-card-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
    text-align: center;
    margin-bottom: 1.5rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(248, 249, 250, 0.8);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.contact-method:hover {
    background: rgba(139, 75, 156, 0.1);
    transform: translateX(5px);
}

.contact-method-icon {
    font-size: 1.5rem;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #8B4B9C;
    border-radius: 50%;
    color: white;
    flex-shrink: 0;
}

.contact-method-content h4 {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.3rem;
}

.contact-method-content p {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: #666;
    margin: 0;
}

/* Hours Card */
.hours-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hours-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.hours-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
    text-align: center;
    margin-bottom: 1.5rem;
}

.hours-grid {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.hours-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 1rem;
    background: rgba(248, 249, 250, 0.8);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.hours-item:hover {
    background: rgba(139, 75, 156, 0.1);
    transform: translateX(5px);
}

.day-name {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: #2c3e50;
}

.day-hours {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
}

.day-hours.closed {
    color: #dc3545;
    font-weight: 600;
}

.locations-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
    text-align: center;
    margin-bottom: 1.5rem;
}

/* Map Container */
.map-container {
    position: relative;
    margin: 1rem 0 1.5rem 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.google-map {
    width: 100%;
    height: 200px;
    border: none;
    border-radius: 12px;
}

/* Location Details */
.location-details {
    margin-bottom: 1.5rem;
}

.location-title {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.3rem;
    text-align: left;
}

.location-address {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 0;
    line-height: 1.4;
    text-align: left;
}

/* Contact Information Section */
.contact-info-section {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.5rem 0;
}

.contact-icon {
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

.contact-text {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: #2c3e50;
    font-weight: 500;
}

/* Availability Section */
.availability-section {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.availability-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.3rem 0;
    border-bottom: 1px solid #f0f0f0;
}

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

.day-label {
    font-family: 'Playfair Display', serif;
    font-size: 0.9rem;
    font-weight: 700;
    color: #2c3e50;
    width: 18px;
}

.day-hours {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    color: #555;
    font-weight: 400;
}

.map-address {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 2rem;
    text-align: center;
}

.map-address h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: white;
}

.map-address p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    line-height: 1.4;
}


.contact-form-container {
    background: rgba(248, 249, 250, 0.5);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    flex: 1;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 1rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #8B4B9C;
    box-shadow: 0 0 0 3px rgba(139, 75, 156, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 90px;
}

.submit-btn {
    background: #8B4B9C;
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.submit-btn:hover {
    background: #6A3A7A;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(139, 75, 156, 0.3);
}

/* Professional Placeholder Backgrounds */
.service-placeholder {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 1.2rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.about-placeholder {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Service-specific backgrounds */
.general-dentistry-bg {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.general-dentistry-bg::before {
    content: "🦷 General Care";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    text-align: center;
}

.cosmetic-dentistry-bg {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.cosmetic-dentistry-bg::before {
    content: "✨ Cosmetic";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    text-align: center;
}

.orthodontics-bg {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.orthodontics-bg::before {
    content: "🦷 Orthodontics";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    text-align: center;
}

.emergency-care-bg {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.emergency-care-bg::before {
    content: "🚨 Emergency";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    text-align: center;
}

.dental-technology-bg {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
    position: relative;
}

.dental-technology-bg::before {
    content: "🔬 Advanced Technology";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    text-align: center;
    color: #333;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8);
}

/* Add subtle patterns to make them look more professional */
.service-placeholder::after,
.about-placeholder::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
    opacity: 0.3;
}

/* Animations */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Staggered animations for grid items */
.team-member:nth-child(1) { animation-delay: 0.1s; }
.team-member:nth-child(2) { animation-delay: 0.2s; }
.team-member:nth-child(3) { animation-delay: 0.3s; }


.review-card:nth-child(1) { animation-delay: 0.1s; }
.review-card:nth-child(2) { animation-delay: 0.2s; }
.review-card:nth-child(3) { animation-delay: 0.3s; }
.review-card:nth-child(4) { animation-delay: 0.4s; }

/* Responsive Design for New Sections */
@media (max-width: 1200px) {
    .about-content,
    .benefits-content,
    .contact-content,
    .dentist-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .about-right {
        align-items: center;
        margin-top: 0;
    }
    
    .reviews-carousel-section {
        margin-top: -2rem;
        padding: 3rem 0 2rem 0;
    }
    
    .about-stats {
        justify-content: center;
        max-width: 600px;
    }
    
    .tech-showcase {
        grid-template-columns: 1fr;
    }
    
    .reviews-track {
        width: calc(300px * 12);
    }
    
    .reviews-carousel .review-card {
        flex: 0 0 300px;
    }
    
    @keyframes scroll {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-300px * 6 - 1.5rem * 6));
        }
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2.8rem;
        font-weight: 300;
        letter-spacing: 0.5px;
    }
    
    .dentist-intro-title {
        font-size: 1.5rem;
    }
    
    .about-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .team-grid,
    .services-grid,
    .reviews-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-form-container {
        padding: 2rem;
    }
    
    .contact-section-header {
        margin-bottom: 2rem;
    }
    
    .about-section {
        padding: 1rem 0 3rem 0;
    }
    
    /* Mobile welcome text visibility */
    .desktop-welcome-text {
        display: none;
    }
    
    .mobile-welcome-text {
        display: block;
    }
    
    /* Hide about image on mobile */
    .about-image {
        display: none;
    }
    
    /* Hide about stats on mobile */
    .about-stats {
        display: none;
    }
    
    /* Mobile learn more button */
    .welcome-cta {
        text-align: center;
        margin-top: 1.5rem;
    }
    
    .learn-more-btn {
        padding: 0.7rem 1.5rem;
        font-size: 0.9rem;
    }
    
    /* Hide dentist section on mobile */
    .dentist-section {
        display: none;
    }
    
    .contact-info {
        gap: 1.5rem;
    }
    
    .office-location-container,
    .contact-info-card,
    .hours-card {
        padding: 1.5rem;
    }
    
    .locations-title,
    .contact-card-title,
    .hours-title {
        font-size: 1.3rem;
        margin-bottom: 1.2rem;
    }
    
    .google-map {
        height: 200px;
    }
    
    .contact-method {
        padding: 0.8rem;
        gap: 0.8rem;
    }
    
    .contact-method-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .hours-item {
        padding: 0.6rem 0.8rem;
    }
    
    .section-separator {
        padding: 0.8rem 0 0 0;
    }
    
    .toothbrush-row {
        gap: 0.3rem;
        padding: 0 0.5rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .separator-image {
        width: 40px;
        height: 40px;
    }
    
    
    .dentist-content {
        gap: 2rem;
    }
    
    .dentist-name {
        font-size: 2rem;
    }
    
    .dentist-specialty {
        font-size: 1rem;
    }
    
    .dentist-description p {
        font-size: 1rem;
    }
    
    .benefits-list {
        gap: 1.5rem;
    }
    
    .benefit-item {
        flex-direction: column;
        text-align: center;
    }
    
    .reviews-track {
        width: calc(280px * 12);
        gap: 1rem;
    }
    
    .reviews-carousel .review-card {
        flex: 0 0 280px;
        padding: 1.2rem;
    }
    
    .reviews-carousel .review-text {
        font-size: 0.8rem;
    }
    
    .reviews-carousel-section {
        margin-top: -1rem;
        padding: 2rem 0 1.5rem 0;
    }
    
    .services-section {
        padding: 1rem 0 4rem 0;
    }
    
    .services-cta {
        margin-top: 2rem;
    }
    
    .explore-services-btn {
        font-size: 1rem;
    }
    
    .reviews-section-header {
        margin-bottom: 2rem;
    }
    
    .reviews-cta {
        margin-top: 1rem;
    }
    
    .reviews-cta-text {
        font-size: 0.9rem;
    }
    
    .leave-review-btn {
        padding: 0.5rem 1.2rem;
        font-size: 0.85rem;
    }
    
    /* Tablet Footer Styles */
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    
    .footer-section:first-child {
        grid-column: 1 / -1;
        text-align: center;
        margin-bottom: 1rem;
    }
    
    @keyframes scroll {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-280px * 6 - 1rem * 6));
        }
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .section-title {
        font-size: 2.2rem;
        font-weight: 300;
        letter-spacing: 0.3px;
    }
    
    .dentist-intro-title {
        font-size: 1.3rem;
    }
    
    .about-section {
        padding: 0.5rem 0 2rem 0;
    }
    
    /* Ensure mobile welcome text is shown on small screens too */
    .desktop-welcome-text {
        display: none;
    }
    
    .mobile-welcome-text {
        display: block;
    }
    
    .team-section,
    .services-section,
    .benefits-section,
    .reviews-section,
    .reviews-carousel-section,
    .dentist-section,
    .contact-section {
        padding: 2rem 0 4rem 0;
    }
    
    .services-section {
        padding: 1.5rem 0 4rem 0;
    }
    
    .services-cta {
        margin-top: 1.5rem;
    }
    
    .explore-services-btn {
        font-size: 0.95rem;
    }
    
    .dentist-name {
        font-size: 1.8rem;
    }
    
    .dentist-specialty {
        font-size: 0.9rem;
    }
    
    .dentist-description p {
        font-size: 0.95rem;
    }
    
    .contact-form-container {
        padding: 1.5rem;
    }
    
    .reviews-track {
        width: calc(260px * 12);
        gap: 0.8rem;
    }
    
    .reviews-carousel .review-card {
        flex: 0 0 260px;
        padding: 1rem;
    }
    
    .reviews-carousel .review-text {
        font-size: 0.75rem;
        line-height: 1.4;
    }
    
    .reviews-carousel .reviewer-info h4 {
        font-size: 0.8rem;
    }
    
    .reviews-cta {
        margin-top: 1rem;
    }
    
    .reviews-cta-text {
        font-size: 0.85rem;
    }
    
    .leave-review-btn {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
    
    /* Mobile Footer Styles */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-section {
        align-items: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .footer-legal {
        justify-content: center;
    }
    
    @keyframes scroll {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-260px * 6 - 0.8rem * 6));
        }
    }
}

/* About Page Specific Styles */
.about-hero-section {
    padding: 8rem 0 4rem 0;
    background: linear-gradient(135deg, #8B4B9C 0%, #6A3A7A 100%);
    color: white;
    text-align: center;
}

.about-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
}

.about-hero-subtitle {
    font-size: 1.3rem;
    font-weight: 400;
    opacity: 0.9;
    line-height: 1.6;
}

.our-story-section {
    padding: 6rem 0;
    background: white;
}

.story-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.story-text {
    animation: fadeInLeft 1s ease-out 0.2s both;
}

.story-description p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 1.5rem;
}

.story-image {
    animation: fadeInRight 1s ease-out 0.4s both;
}

.story-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.mission-values-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.value-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: fadeInUp 0.6s ease-out;
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.value-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.value-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.value-card p {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
}

.office-tour-section {
    padding: 6rem 0;
    background: white;
}

.office-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-item {
    text-align: center;
    padding: 2rem;
    border-radius: 12px;
    background: rgba(248, 249, 250, 0.8);
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.feature-item h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.feature-item p {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
}

.about-cta-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #8B4B9C 0%, #6A3A7A 100%);
    color: white;
    text-align: center;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.cta-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button {
    padding: 1rem 2rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.cta-button.primary {
    background: white;
    color: #8B4B9C;
}

.cta-button.primary:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.cta-button.secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.cta-button.secondary:hover {
    background: white;
    color: #8B4B9C;
    transform: translateY(-2px);
}

/* Responsive styles for About page */
@media (max-width: 768px) {
    .about-hero-title {
        font-size: 2.5rem;
    }
    
    .about-hero-subtitle {
        font-size: 1.1rem;
    }
    
    .story-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .office-features {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-button {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .about-hero-section {
        padding: 6rem 0 3rem 0;
    }
    
    .about-hero-title {
        font-size: 2rem;
    }
    
    .about-hero-subtitle {
        font-size: 1rem;
    }
    
    .our-story-section,
    .mission-values-section,
    .office-tour-section,
    .about-cta-section {
        padding: 4rem 0;
    }
    
    .value-card,
    .feature-item {
        padding: 1.5rem;
    }
    
    .cta-content h2 {
        font-size: 1.8rem;
    }
    
    .cta-content p {
        font-size: 1rem;
    }
}

/* Services Page Specific Styles */
.services-hero-section {
    padding: 8rem 0 4rem 0;
    background: linear-gradient(135deg, #8B4B9C 0%, #6A3A7A 100%);
    color: white;
    text-align: center;
}

.services-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.services-hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
}

.services-hero-subtitle {
    font-size: 1.3rem;
    font-weight: 400;
    opacity: 0.9;
    line-height: 1.6;
}

.services-overview-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.services-intro {
    text-align: center;
    margin-bottom: 4rem;
}

.service-price {
    font-size: 1.1rem;
    font-weight: 600;
    color: #8B4B9C;
    margin-bottom: 1.5rem;
    text-align: center;
    background: rgba(139, 75, 156, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    display: inline-block;
    width: 100%;
}

.service-btn.emergency-btn {
    background: #dc3545;
    color: white;
}

.service-btn.emergency-btn:hover {
    background: #c82333;
}

.specialized-services-section {
    padding: 6rem 0;
    background: white;
}

.specialized-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.specialized-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e9ecef;
}

.specialized-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.specialized-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.specialized-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.specialized-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.specialized-card ul {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
    text-align: left;
}

.specialized-card ul li {
    padding: 0.3rem 0;
    color: #555;
    position: relative;
    padding-left: 1.5rem;
}

.specialized-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #8B4B9C;
    font-weight: bold;
}

.specialized-price {
    font-size: 1.1rem;
    font-weight: 600;
    color: #8B4B9C;
    margin-bottom: 1.5rem;
    background: rgba(139, 75, 156, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    display: inline-block;
}

.technology-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.technology-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.tech-item {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tech-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.tech-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.tech-item h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.tech-item p {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
}

.insurance-section {
    padding: 6rem 0;
    background: white;
}

.insurance-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.insurance-info h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
}

.insurance-info p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.insurance-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.insurance-item h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    color: #8B4B9C;
    margin-bottom: 0.5rem;
}

.insurance-item p {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
    margin-bottom: 0;
}

.insurance-form {
    background: rgba(248, 249, 250, 0.8);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.insurance-form h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    text-align: center;
}

.consultation-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.consultation-form .form-group {
    display: flex;
    flex-direction: column;
}

.consultation-form .form-group label {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.consultation-form .form-group input,
.consultation-form .form-group select {
    padding: 1rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.consultation-form .form-group input:focus,
.consultation-form .form-group select:focus {
    outline: none;
    border-color: #8B4B9C;
    box-shadow: 0 0 0 3px rgba(139, 75, 156, 0.1);
}

.services-cta-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #8B4B9C 0%, #6A3A7A 100%);
    color: white;
    text-align: center;
}

/* Responsive styles for Services page */
@media (max-width: 768px) {
    .services-hero-title {
        font-size: 2.5rem;
    }
    
    .services-hero-subtitle {
        font-size: 1.1rem;
    }
    
    .specialized-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .technology-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .insurance-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .insurance-form {
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    .services-hero-section {
        padding: 6rem 0 3rem 0;
    }
    
    .services-hero-title {
        font-size: 2rem;
    }
    
    .services-hero-subtitle {
        font-size: 1rem;
    }
    
    .services-overview-section,
    .specialized-services-section,
    .technology-section,
    .insurance-section,
    .services-cta-section {
        padding: 4rem 0;
    }
    
    .specialized-card,
    .tech-item {
        padding: 1.5rem;
    }
    
    .insurance-form {
        padding: 1.5rem;
    }
    
    .insurance-info h2 {
        font-size: 2rem;
    }
}

/* Patients Page Specific Styles */
.patients-hero-section {
    padding: 8rem 0 4rem 0;
    background: linear-gradient(135deg, #8B4B9C 0%, #6A3A7A 100%);
    color: white;
    text-align: center;
}

.patients-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.patients-hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
}

.patients-hero-subtitle {
    font-size: 1.3rem;
    font-weight: 400;
    opacity: 0.9;
    line-height: 1.6;
}

.quick-links-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.quick-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.quick-link-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.quick-link-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
    color: inherit;
}

.quick-link-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.quick-link-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.quick-link-card p {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 0;
}

.new-patients-section {
    padding: 6rem 0;
    background: white;
}

.new-patients-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.new-patient-info h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    margin-top: 2rem;
}

.new-patient-info h3:first-child {
    margin-top: 0;
}

.expectation-list,
.preparation-list {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.expectation-list li,
.preparation-list li {
    padding: 0.5rem 0;
    color: #555;
    position: relative;
    padding-left: 1.5rem;
}

.expectation-list li::before,
.preparation-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #8B4B9C;
    font-weight: bold;
}

.new-patients-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.patient-forms-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.forms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.form-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.form-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.form-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.form-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.form-card p {
    color: #666;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.form-download-btn {
    background: #8B4B9C;
    color: white;
    text-decoration: none;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.form-download-btn:hover {
    background: #6A3A7A;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(139, 75, 156, 0.3);
}

.insurance-payment-section {
    padding: 6rem 0;
    background: white;
}

.insurance-payment-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.insurance-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.insurance-item h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    color: #8B4B9C;
    margin-bottom: 1rem;
}

.insurance-item ul {
    list-style: none;
    padding: 0;
}

.insurance-item ul li {
    padding: 0.3rem 0;
    color: #555;
    position: relative;
    padding-left: 1.5rem;
}

.insurance-item ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #8B4B9C;
    font-weight: bold;
}

.payment-calculator {
    background: rgba(248, 249, 250, 0.8);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.payment-calculator h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    text-align: center;
}

.payment-calculator p {
    color: #666;
    margin-bottom: 1.5rem;
    text-align: center;
}

.verification-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.appointments-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.appointment-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.appointment-method {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.appointment-method:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.method-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.appointment-method h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.appointment-method p {
    color: #666;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.method-btn {
    background: #8B4B9C;
    color: white;
    text-decoration: none;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.method-btn:hover {
    background: #6A3A7A;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(139, 75, 156, 0.3);
}

.appointment-policies h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: #2c3e50;
    text-align: center;
    margin-bottom: 2rem;
}

.policies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.policy-item {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.policy-item h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    color: #8B4B9C;
    margin-bottom: 1rem;
}

.policy-item p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 0;
}

.emergency-care-section {
    padding: 6rem 0;
    background: white;
}

.emergency-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.emergency-contact h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.emergency-phone {
    display: block;
    font-size: 2rem;
    font-weight: 600;
    color: #dc3545;
    text-decoration: none;
    margin-bottom: 1rem;
}

.emergency-phone:hover {
    color: #c82333;
}

.emergency-types h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    margin-top: 2rem;
}

.emergency-types ul {
    list-style: none;
    padding: 0;
}

.emergency-types ul li {
    padding: 0.8rem 0;
    color: #555;
    border-bottom: 1px solid #e9ecef;
}

.emergency-types ul li:last-child {
    border-bottom: none;
}

.emergency-tips h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 2rem;
}

.tip-card {
    background: rgba(248, 249, 250, 0.8);
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.tip-card h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    color: #8B4B9C;
    margin-bottom: 1rem;
}

.tip-card ol {
    padding-left: 1.5rem;
}

.tip-card ol li {
    padding: 0.3rem 0;
    color: #555;
}

.faq-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.faq-item {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.faq-item h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.faq-item p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 0;
}

.patients-cta-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #8B4B9C 0%, #6A3A7A 100%);
    color: white;
    text-align: center;
}

/* Responsive styles for Patients page */
@media (max-width: 768px) {
    .patients-hero-title {
        font-size: 2.5rem;
    }
    
    .patients-hero-subtitle {
        font-size: 1.1rem;
    }
    
    .quick-links-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .new-patients-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .forms-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .insurance-payment-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .appointment-methods {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .policies-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .emergency-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .patients-hero-section {
        padding: 6rem 0 3rem 0;
    }
    
    .patients-hero-title {
        font-size: 2rem;
    }
    
    .patients-hero-subtitle {
        font-size: 1rem;
    }
    
    .quick-links-section,
    .new-patients-section,
    .patient-forms-section,
    .insurance-payment-section,
    .appointments-section,
    .emergency-care-section,
    .faq-section,
    .patients-cta-section {
        padding: 4rem 0;
    }
    
    .quick-link-card,
    .form-card,
    .appointment-method,
    .policy-item,
    .faq-item {
        padding: 1.5rem;
    }
    
    .emergency-phone {
        font-size: 1.5rem;
    }
    
    .tip-card {
        padding: 1.5rem;
    }
}

/* Contact Page Specific Styles */
.contact-hero-section {
    padding: 8rem 0 4rem 0;
    background: linear-gradient(135deg, #8B4B9C 0%, #6A3A7A 100%);
    color: white;
    text-align: center;
}

.contact-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.contact-hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
}

.contact-hero-subtitle {
    font-size: 1.3rem;
    font-weight: 400;
    opacity: 0.9;
    line-height: 1.6;
}

.contact-info-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.contact-info-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-info-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.contact-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.contact-info-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.contact-info-card p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-size: 0.95rem;
}

.contact-link {
    background: #8B4B9C;
    color: white;
    text-decoration: none;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.contact-link:hover {
    background: #6A3A7A;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(139, 75, 156, 0.3);
}

.contact-form-section {
    padding: 6rem 0;
    background: white;
}

.contact-form-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.form-container {
    background: rgba(248, 249, 250, 0.8);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 1.5rem;
}

.form-group label {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 1rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #8B4B9C;
    box-shadow: 0 0 0 3px rgba(139, 75, 156, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.checkbox-group {
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.checkbox-group label {
    margin: 0;
    font-weight: 400;
    font-size: 0.9rem;
}

.submit-btn {
    background: #8B4B9C;
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    width: 100%;
}

.submit-btn:hover {
    background: #6A3A7A;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(139, 75, 156, 0.3);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.office-map h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.map-container {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.google-map {
    width: 100%;
    height: 250px;
    border: none;
}

.office-info h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
}

.info-item {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e9ecef;
}

.info-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.info-item h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    color: #8B4B9C;
    margin-bottom: 0.5rem;
}

.info-item p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 0;
    font-size: 0.95rem;
}

.contact-faq-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

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

.faq-item {
    background: white;
    margin-bottom: 1rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background: #f8f9fa;
}

.faq-question h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    color: #2c3e50;
    margin: 0;
}

.faq-toggle {
    font-size: 1.5rem;
    font-weight: bold;
    color: #8B4B9C;
    transition: transform 0.3s ease;
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 1.5rem 1.5rem 1.5rem;
    max-height: 200px;
}

.faq-answer p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.emergency-contact-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: white;
}

.emergency-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.emergency-info h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 1rem;
}

.emergency-info p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.emergency-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.emergency-btn {
    padding: 1rem 2rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.emergency-btn.primary {
    background: white;
    color: #dc3545;
}

.emergency-btn.primary:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.emergency-btn.secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.emergency-btn.secondary:hover {
    background: white;
    color: #dc3545;
    transform: translateY(-2px);
}

.emergency-tips h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.emergency-tips ul {
    list-style: none;
    padding: 0;
}

.emergency-tips ul li {
    padding: 0.5rem 0;
    color: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.emergency-tips ul li:last-child {
    border-bottom: none;
}

/* Responsive styles for Contact page */
@media (max-width: 768px) {
    .contact-hero-title {
        font-size: 2.5rem;
    }
    
    .contact-hero-subtitle {
        font-size: 1.1rem;
    }
    
    .contact-info-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .contact-form-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .form-container {
        padding: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .emergency-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .emergency-actions {
        flex-direction: column;
    }
    
    .emergency-btn {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .contact-hero-section {
        padding: 6rem 0 3rem 0;
    }
    
    .contact-hero-title {
        font-size: 2rem;
    }
    
    .contact-hero-subtitle {
        font-size: 1rem;
    }
    
    .contact-info-section,
    .contact-form-section,
    .contact-faq-section,
    .emergency-contact-section {
        padding: 4rem 0;
    }
    
    .contact-info-card {
        padding: 2rem 1.5rem;
    }
    
    .form-container {
        padding: 1.5rem;
    }
    
    .emergency-info h2 {
        font-size: 2rem;
    }
    
    .emergency-info p {
        font-size: 1rem;
    }
    
    .faq-question {
        padding: 1rem;
    }
    
    .faq-item.active .faq-answer {
        padding: 0 1rem 1rem 1rem;
    }
}
