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

:root {
    --primary-blue: #60B7E1;
    --accent-orange: #FF8C00;
    --dark-text: #343a40;
    --white: #FFFFFF;
    --light-grey: #F8F9FA;
    --soft-blue: #ADD8E6;
    --primary-blue-dark: #4a9ed6;
    --accent-orange-dark: #e07b00;
    
    --header-height-mobile: 60px;
    --header-height-tablet: 70px;
    --header-height-desktop: 90px;
    --header-height-sticky-mobile: 50px;
    --header-height-sticky-tablet: 60px;
    --header-height-sticky-desktop: 70px;
    
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.15);
    --shadow-xl: 0 20px 40px rgba(0,0,0,0.2);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--dark-text);
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
}

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

a:hover {
    color: var(--accent-orange);
}

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

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

section {
    padding: 4rem 0;
}

.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-normal);
    border: none;
    text-decoration: none;
}

.btn-primary {
    background-color: var(--primary-blue);
    color: var(--white);
}

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

.btn-secondary {
    background-color: var(--accent-orange);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: var(--accent-orange-dark);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
    color: var(--white);
}

.btn-tertiary {
    background-color: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

.btn-tertiary:hover {
    background-color: var(--soft-blue);
    color: var(--primary-blue);
}

.btn:focus-visible {
    outline: 3px solid var(--accent-orange);
    outline-offset: 2px;
}

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

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

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

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

@keyframes sparkle {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.3); }
}

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

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }
.delay-4 { animation-delay: 0.8s; }

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height-mobile);
    z-index: 1000;
    transition: all var(--transition-normal);
    background: transparent;
}

.header.scrolled {
    background: var(--white);
    box-shadow: var(--shadow-md);
    height: var(--header-height-sticky-mobile);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    padding: 0 1rem;
}

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

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

.quick-action {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-blue);
    color: var(--white);
    transition: all var(--transition-fast);
}

.quick-action:hover {
    background: var(--primary-blue-dark);
    transform: scale(1.05);
}

.quick-action svg {
    width: 20px;
    height: 20px;
}

.hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--dark-text);
    margin: 3px 0;
    transition: all var(--transition-fast);
}

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

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

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

.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: var(--white);
    box-shadow: var(--shadow-xl);
    transition: right var(--transition-normal);
    z-index: 999;
    padding: 5rem 2rem 2rem;
    overflow-y: auto;
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav ul {
    list-style: none;
}

.mobile-nav li {
    margin-bottom: 1.5rem;
}

.mobile-nav a {
    display: block;
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--dark-text);
    padding: 0.5rem 0;
    transition: color var(--transition-fast);
}

.mobile-nav a:hover,
.mobile-nav a.active {
    color: var(--primary-blue);
}

.mobile-nav .btn {
    width: 100%;
    margin-top: 2rem;
}

.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
    z-index: 998;
}

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

/* Desktop Navigation */
.desktop-nav {
    display: none;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding-top: var(--header-height-mobile);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(96,183,225,0.85) 0%, rgba(173,216,230,0.75) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    max-width: 600px;
}

.hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

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

.hero .btn-primary {
    background: var(--white);
    color: var(--primary-blue);
}

.hero .btn-primary:hover {
    background: var(--light-grey);
    color: var(--primary-blue-dark);
}

/* Internal Page Hero */
.hero-internal {
    min-height: 40vh;
    background-position: center top;
}

.hero-internal .hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

/* Welcome Section */
.welcome {
    background: var(--white);
    text-align: center;
    padding: 5rem 0;
}

.welcome h2 {
    color: var(--dark-text);
    margin-bottom: 1.5rem;
}

.welcome p {
    max-width: 800px;
    margin: 0 auto 1rem;
    font-size: 1.125rem;
    color: #666;
}

.wave-divider {
    width: 100%;
    height: 60px;
    margin-top: 3rem;
}

.wave-divider svg {
    width: 100%;
    height: 100%;
}

/* Benefits Section */
.benefits {
    background: var(--light-grey);
    padding: 5rem 0;
}

.benefits h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

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

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

.benefit-card .icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    background: var(--soft-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.benefit-card .icon svg {
    width: 30px;
    height: 30px;
    color: var(--primary-blue);
}

.benefit-card h3 {
    color: var(--dark-text);
    margin-bottom: 0.75rem;
}

.benefit-card p {
    color: #666;
    margin-bottom: 0;
}

/* Services Section */
.services {
    background: var(--white);
    padding: 5rem 0;
}

.services h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.service-card {
    background: var(--light-grey);
    border-radius: 12px;
    overflow: hidden;
    transition: all var(--transition-normal);
}

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

.service-card .image {
    width: 100%;
    height: 200px;
    background: var(--soft-blue);
    overflow: hidden;
}

.service-card .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

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

.service-card .content {
    padding: 1.5rem;
}

.service-card h3 {
    color: var(--dark-text);
    margin-bottom: 0.75rem;
}

.service-card p {
    color: #666;
    margin-bottom: 1rem;
}

.service-card .btn {
    padding: 0.5rem 1.5rem;
    font-size: 0.875rem;
}

/* Testimonials Section */
.testimonials {
    background: var(--light-grey);
    padding: 5rem 0;
}

.testimonials h2 {
    text-align: center;
    margin-bottom: 3rem;
}

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

.testimonial-track {
    display: flex;
    transition: transform var(--transition-slow);
}

.testimonial-card {
    flex: 0 0 100%;
    padding: 0 1rem;
}

.testimonial-content {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    position: relative;
}

.testimonial-content::before {
    content: '"';
    position: absolute;
    top: 1rem;
    left: 1.5rem;
    font-size: 4rem;
    color: var(--soft-blue);
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-content blockquote {
    font-size: 1.125rem;
    font-style: italic;
    color: #555;
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.testimonial-content .author {
    font-weight: 600;
    color: var(--dark-text);
}

.testimonial-content .stars {
    display: flex;
    gap: 0.25rem;
    margin-top: 0.5rem;
}

.testimonial-content .stars svg {
    width: 20px;
    height: 20px;
    fill: var(--accent-orange);
    animation: sparkle 2s ease-in-out infinite;
}

.testimonial-content .stars svg:nth-child(2) { animation-delay: 0.2s; }
.testimonial-content .stars svg:nth-child(3) { animation-delay: 0.4s; }
.testimonial-content .stars svg:nth-child(4) { animation-delay: 0.6s; }
.testimonial-content .stars svg:nth-child(5) { animation-delay: 0.8s; }

.carousel-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.carousel-controls button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--primary-blue);
    background: transparent;
    color: var(--primary-blue);
    cursor: pointer;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-controls button:hover {
    background: var(--primary-blue);
    color: var(--white);
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.carousel-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--soft-blue);
    border: none;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.carousel-dots .dot.active {
    background: var(--primary-blue);
    transform: scale(1.2);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--soft-blue) 100%);
    padding: 5rem 0;
    text-align: center;
}

.cta-section h2 {
    color: var(--white);
    margin-bottom: 1rem;
}

.cta-section p {
    color: var(--white);
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto 2rem;
    opacity: 0.95;
}

.cta-section .btn-primary {
    background: var(--accent-orange);
    color: var(--white);
}

.cta-section .btn-primary:hover {
    background: var(--accent-orange-dark);
}

/* Location Section */
.location {
    background: var(--white);
    padding: 5rem 0;
}

.location h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.location-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

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

.location-info h3 {
    margin-bottom: 1.5rem;
}

.location-info .address,
.location-info .phone {
    margin-bottom: 1rem;
}

.location-info .address p,
.location-info .phone p {
    margin-bottom: 0.25rem;
}

.location-info .hours {
    margin-top: 2rem;
}

.location-info .hours h4 {
    margin-bottom: 1rem;
}

.location-info .hours ul {
    list-style: none;
    text-align: left;
    display: inline-block;
}

.location-info .hours li {
    margin-bottom: 0.5rem;
}

.location-map img {
    width: 100%;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

/* Footer */
.footer {
    background: var(--dark-text);
    color: var(--white);
    padding: 4rem 0 2rem;
}

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

.footer-brand .logo {
    margin-bottom: 1rem;
}

.footer-brand .logo img {
    height: 50px;
    filter: brightness(0) invert(1);
}

.footer-brand p {
    opacity: 0.8;
    margin-bottom: 1rem;
}

.footer-brand .contact-info p {
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.footer-brand a {
    color: var(--white);
    opacity: 0.8;
    transition: all var(--transition-fast);
}

.footer-brand a:hover {
    color: var(--accent-orange);
    opacity: 1;
}

.footer-column h4 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 0.75rem;
}

.footer-column a {
    color: var(--white);
    opacity: 0.8;
    transition: all var(--transition-fast);
}

.footer-column a:hover {
    color: var(--accent-orange);
    opacity: 1;
}

.footer-column .hours-list li {
    display: flex;
    justify-content: space-between;
    opacity: 0.9;
}

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

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

.social-links a:hover {
    background: var(--primary-blue);
    transform: translateY(-3px);
}

.social-links svg {
    width: 20px;
    height: 20px;
}

.footer-emergency {
    background: rgba(255,140,0,0.2);
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1.5rem;
    text-align: center;
}

.footer-emergency p {
    margin: 0;
    font-weight: 600;
    color: var(--accent-orange);
}

.footer-emergency a {
    color: var(--white);
    font-weight: 700;
}

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

.footer-bottom p {
    margin-bottom: 0.5rem;
    opacity: 0.7;
    font-size: 0.875rem;
}

.footer-bottom .legal-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer-bottom .legal-links a {
    color: var(--white);
    opacity: 0.6;
    font-size: 0.875rem;
}

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

/* Accordion Styles */
.accordion {
    margin-top: 2rem;
}

.accordion-item {
    border: 1px solid var(--light-grey);
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.accordion-header {
    width: 100%;
    padding: 1.5rem;
    background: var(--white);
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--dark-text);
    transition: all var(--transition-fast);
}

.accordion-header:hover {
    background: var(--light-grey);
}

.accordion-header svg {
    width: 20px;
    height: 20px;
    transition: transform var(--transition-fast);
}

.accordion-header.active svg {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-normal);
    background: var(--light-grey);
}

.accordion-content-inner {
    padding: 1.5rem;
}

.accordion-content ul {
    list-style: none;
}

.accordion-content li {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.accordion-content li:last-child {
    border-bottom: none;
}

/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
}

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

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid var(--light-grey);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-blue);
}

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

.form-group .required {
    color: var(--accent-orange);
}

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

.star-rating {
    display: flex;
    gap: 0.5rem;
}

.star-rating input {
    display: none;
}

.star-rating label {
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.star-rating label svg {
    width: 30px;
    height: 30px;
    fill: var(--light-grey);
    stroke: var(--accent-orange);
    stroke-width: 1;
    transition: all var(--transition-fast);
}

.star-rating input:checked ~ label svg,
.star-rating label:hover svg,
.star-rating label:hover ~ label svg {
    fill: var(--accent-orange);
}

.form-success {
    display: none;
    padding: 1.5rem;
    background: #d4edda;
    border: 1px solid #c3e6cb;
    border-radius: 8px;
    color: #155724;
    text-align: center;
}

/* Team Preview */
.team-preview {
    background: var(--light-grey);
    padding: 5rem 0;
    text-align: center;
}

.team-preview h2 {
    margin-bottom: 1rem;
}

.team-preview p {
    max-width: 600px;
    margin: 0 auto 2rem;
    color: #666;
}

.team-member {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.team-member img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: var(--shadow-md);
}

.team-member h3 {
    margin-bottom: 0.25rem;
}

.team-member .title {
    color: var(--primary-blue);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.team-member p {
    margin-bottom: 0;
    font-size: 0.875rem;
}

/* Technology Section */
.tech-section {
    background: var(--white);
    padding: 5rem 0;
}

.tech-section h2 {
    text-align: center;
    margin-bottom: 1rem;
}

.tech-section > .container > p {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
    color: #666;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.tech-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--light-grey);
    border-radius: 8px;
    transition: all var(--transition-fast);
}

.tech-item:hover {
    background: var(--soft-blue);
    transform: translateY(-2px);
}

.tech-item .icon {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
}

.tech-item h4 {
    margin: 0;
    font-size: 1rem;
}

/* Contact Section */
.contact-section {
    background: var(--white);
    padding: 5rem 0;
}

.contact-section h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

.contact-info h3 {
    margin-bottom: 1.5rem;
}

.contact-info .info-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-info .info-item .icon {
    width: 40px;
    height: 40px;
    background: var(--soft-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-info .info-item .icon svg {
    width: 20px;
    height: 20px;
    color: var(--primary-blue);
}

.contact-info .info-item h4 {
    margin-bottom: 0.25rem;
    font-size: 1rem;
}

.contact-info .info-item p {
    margin-bottom: 0;
    color: #666;
}

.contact-info .info-item a {
    color: var(--primary-blue);
}

.contact-form {
    background: var(--light-grey);
    padding: 2rem;
    border-radius: 12px;
}

/* Emergency Section */
.emergency-section {
    background: linear-gradient(135deg, var(--accent-orange) 0%, #ffaa33 100%);
    padding: 4rem 0;
    text-align: center;
}

.emergency-section h2 {
    color: var(--white);
    margin-bottom: 1rem;
}

.emergency-section p {
    color: var(--white);
    max-width: 600px;
    margin: 0 auto 1.5rem;
    font-size: 1.125rem;
}

.emergency-section .btn {
    background: var(--white);
    color: var(--accent-orange);
    font-weight: 700;
}

.emergency-section .btn:hover {
    background: var(--dark-text);
    color: var(--white);
}

/* Dentist Profile */
.dentist-profile {
    padding: 5rem 0;
    background: var(--white);
}

.dentist-profile-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: start;
}

.dentist-image img {
    width: 100%;
    max-width: 400px;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    margin: 0 auto;
}

.dentist-info h2 {
    margin-bottom: 1rem;
}

.dentist-info .bio {
    color: #555;
    margin-bottom: 2rem;
}

/* Education Section */
.education-section {
    background: var(--light-grey);
    padding: 5rem 0;
}

.education-section h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.education-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

.education-item h3 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.education-item ul {
    list-style: none;
}

.education-item li {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    position: relative;
    padding-left: 1.5rem;
}

.education-item li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-blue);
    font-weight: bold;
}

/* Community Section */
.community-section {
    background: var(--white);
    padding: 5rem 0;
}

.community-section h2 {
    text-align: center;
    margin-bottom: 1.5rem;
}

.community-section > .container > p {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    color: #555;
}

/* Page Title */
.page-title {
    background: var(--light-grey);
    padding: 8rem 0 4rem;
    text-align: center;
}

.page-title h1 {
    margin-bottom: 0.5rem;
}

.page-title p {
    color: #666;
    font-size: 1.125rem;
}

/* Facility Gallery */
.facility-gallery {
    padding: 5rem 0;
    background: var(--white);
}

.facility-gallery h2 {
    text-align: center;
    margin-bottom: 3rem;
}

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

.gallery-item {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Responsive - Tablet */
@media (min-width: 768px) {
    :root {
        --header-height: var(--header-height-tablet);
    }
    
    h1 { font-size: 3rem; }
    h2 { font-size: 2.5rem; }
    
    .header {
        height: var(--header-height-tablet);
    }
    
    .header.scrolled {
        height: var(--header-height-sticky-tablet);
    }
    
    .hero {
        min-height: 70vh;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .hero-internal {
        min-height: 50vh;
    }
    
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonial-card {
        flex: 0 0 calc(50% - 1rem);
    }
    
    .location-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .location-info {
        text-align: left;
    }
    
    .location-info .hours ul {
        text-align: left;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .form-row {
        grid-template-columns: 1fr 1fr;
    }
    
    .tech-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .gallery-item img {
        height: 300px;
    }
}

/* Responsive - Desktop */
@media (min-width: 1024px) {
    :root {
        --header-height: var(--header-height-desktop);
    }
    
    h1 { font-size: 3.5rem; }
    h2 { font-size: 2.5rem; }
    h3 { font-size: 1.75rem; }
    
    .header {
        height: var(--header-height-desktop);
    }
    
    .header.scrolled {
        height: var(--header-height-sticky-desktop);
    }
    
    .header-inner {
        padding: 0 2rem;
    }
    
    .logo img {
        height: 60px;
    }
    
    .mobile-nav-toggle,
    .quick-action {
        display: none;
    }
    
    .desktop-nav {
        display: flex;
        align-items: center;
        gap: 2rem;
    }
    
    .desktop-nav ul {
        display: flex;
        list-style: none;
        gap: 2rem;
    }
    
    .desktop-nav a {
        color: var(--dark-text);
        font-weight: 500;
        position: relative;
        padding: 0.5rem 0;
    }
    
    .desktop-nav a::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 0;
        height: 2px;
        background: var(--accent-orange);
        transition: width var(--transition-fast);
    }
    
    .desktop-nav a:hover::after,
    .desktop-nav a.active::after {
        width: 100%;
    }
    
    .desktop-nav a:hover {
        color: var(--primary-blue);
    }
    
    .hero {
        min-height: 80vh;
    }
    
    .hero h1 {
        font-size: 3.5rem;
    }
    
    .hero-internal {
        min-height: 60vh;
    }
    
    .benefits-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .services-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .testimonial-card {
        flex: 0 0 calc(33.333% - 1rem);
    }
    
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr 1.5fr;
    }
    
    .dentist-profile-grid {
        grid-template-columns: 1fr 1.5fr;
    }
    
    .dentist-image img {
        margin: 0;
    }
    
    .education-grid {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
    
    .team-member {
        flex-direction: row;
        text-align: left;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .hero {
        background-attachment: scroll;
    }
}

/* Focus Styles */
*:focus-visible {
    outline: 3px solid var(--accent-orange);
    outline-offset: 2px;
}

/* Skip Link */
.skip-link {
    position: absolute;
    top: -100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-blue);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 0 0 8px 8px;
    z-index: 9999;
    transition: top var(--transition-fast);
}

.skip-link:focus {
    top: 0;
}

/* Scroll Reveal Animation Base */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger children */
.stagger-children > * {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.stagger-children > *:nth-child(1) { transition-delay: 0.1s; }
.stagger-children > *:nth-child(2) { transition-delay: 0.2s; }
.stagger-children > *:nth-child(3) { transition-delay: 0.3s; }
.stagger-children > *:nth-child(4) { transition-delay: 0.4s; }
.stagger-children > *:nth-child(5) { transition-delay: 0.5s; }
.stagger-children > *:nth-child(6) { transition-delay: 0.6s; }

.stagger-children.active > * {
    opacity: 1;
    transform: translateY(0);
}
