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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #334155;
    background-color: #ffffff;
}

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

/* Typography */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 4rem;
    color: #1e293b;
}

.subsection-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: #1e293b;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 16px 32px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: white;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #1e40af 100%);
    color: white;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.2);
}

.hero-content {
    position: relative;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 3rem;
    align-items: center;
    width: 100%;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-title-accent {
    display: block;
    color: #93c5fd;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #cbd5e1;
    margin-bottom: 2rem;
}

.hero-description {
    font-size: 1.125rem;
    color: #94a3b8;
    margin-bottom: 2rem;
    max-width: 600px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.doctor-photo-container {
    position: relative;
    display: flex;
}

.doctor-photo {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background-image: url('doctor-photo.jpg');
    background-size: cover;
    background-position: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 15px rgba(0, 0, 0, 0.2);
}

.photo-badge {
    position: absolute;
    bottom: -16px;
    right: -16px;
    width: 64px;
    height: 64px;
    background: #2563eb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.4);
}

/* Stats Section */
.stats {
    padding: 3rem 0;
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
}

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

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

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2563eb;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #64748b;
    font-weight: 500;
}

/* About Section */
.about {
    padding: 5rem 0;
    background: #f8fafc;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.education-list, .experience-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.education-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.check-icon {
    width: 24px;
    height: 24px;
    background: #2563eb;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
    margin-top: 2px;
}

.education-title {
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.25rem;
}

.education-subtitle {
    color: #64748b;
    font-size: 0.9rem;
}

.experience-item {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.experience-title {
    font-weight: 600;
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    color: #1e293b;
}

.experience-period {
    color: #64748b;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.experience-description {
    color: #475569;
}

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

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

.service-card {
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

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

.service-card-blue {
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
}

.service-card-gray {
    background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
}

.service-card-green {
    background: linear-gradient(135deg, #dcfce7, #bbf7d0);
}

.service-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.service-icon {
    width: 48px;
    height: 48px;
    background: #2563eb;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.service-card-gray .service-icon {
    background: #64748b;
}

.service-card-green .service-icon {
    background: #16a34a;
}

.service-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0;
    color: #1e293b;
}

.service-description {
    color: #64748b;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.service-features {
    list-style: none;
    color: #64748b;
    font-size: 0.9rem;
}

.service-features li {
    margin-bottom: 0.5rem;
}

/* Advantages Section */
.advantages {
    padding: 5rem 0;
    background: #f8fafc;
}

.advantages-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

/* .advantages-list centering moved to media query */

.advantage-items {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}


.advantage-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.advantage-icon {
    width: 48px;
    height: 48px;
    background: #2563eb;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.advantage-title {
    font-weight: 600;
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    color: #1e293b;
}

.advantage-description {
    color: #64748b;
    line-height: 1.6;
}

.children-braces {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.children-braces-list {
    margin-bottom: 2rem;
}

.children-brace-item {
    border-left: 4px solid #2563eb;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
    position: relative;
}

.children-brace-item::before {
    content: "";
    display: none;
}

.children-brace-title {
    font-weight: 600;
    font-size: 1.125rem;
    color: #1e293b;
    margin-bottom: 0.25rem;
}

.children-brace-description {
    color: #64748b;
}

.video-section {
    background: #dbeafe;
    padding: 1.5rem;
    border-radius: 12px;
}

.video-title {
    font-weight: 600;
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
    color: #1e293b;
}

.video-description {
    color: #64748b;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.video-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #2563eb;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.video-link:hover {
    color: #1d4ed8;
}

/* Contact Section */
.contact {
    padding: 5rem 0;
    background: linear-gradient(135deg, #0f172a, #1e293b);
    color: white;
}

.contact .section-title {
    color: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1000px;
    margin: 0 auto;
    align-items: start;
}

.contact-main-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: #60a5fa;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

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

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: #2563eb;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.contact-details {
    flex: 1;
}

.contact-title {
    font-weight: 600;
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    color: white;
}

.contact-main {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.25rem;
    color: #e2e8f0;
}

.contact-main a {
    color: inherit;
    text-decoration: none;
}

.location-link {
    color: #60a5fa;
    text-decoration: none;
    transition: color 0.3s ease;
}

.location-link:hover {
    color: #3b82f6;
    text-decoration: underline;
}
.contact-sub {
    color: #94a3b8;
    margin-top: 0.5rem;
    font-size: 0.9rem;
}

/* Contact Social */
.contact-social {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.contact-social-title {
    font-weight: 700;
    font-size: 1.75rem;
    margin-bottom: 2rem;
    color: #60a5fa;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.contact-social-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    width: 100%;
}

.contact-social-link {
    width: 60px;
    height: 60px;
    background: #2563eb;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-social-link:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.4);
}

.contact-social-link svg {
    width: 28px;
    height: 28px;
}

/* Footer */
.footer {
    background: #020617;
    color: #64748b;
    padding: 2rem 0;
    text-align: center;
}

.footer-subtitle {
    margin-top: 0.5rem;
    font-size: 0.9rem;
}

.footer a {
    color: inherit;
    text-decoration: none;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    justify-content: flex-start;
}

.social-link {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.social-link svg {
    width: 24px;
    height: 24px;
}

/* Contact Social */
.contact-social {
    margin-top: 0rem;
}

.contact-social-title {
    font-weight: 700;
    font-size: 1.75rem;
    margin-bottom: 2rem;
    color: #60a5fa;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

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

.contact-social-link {
    width: 48px;
    height: 48px;
    background: #2563eb;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-social-link:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.4);
}

.contact-social-link svg {
    width: 24px;
    height: 24px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-text {
        grid-row-start: 2;
    }
    
    .hero-title {
        font-size: 3rem;
    }

    .hero-buttons, .social-links {
        justify-content: center;
    }

    .hero-image {
        align-items: center;
        margin: auto;
    }
    
    .doctor-photo {
        width: 280px;
        height: 280px;
        margin-top: 20px;
    }
    
    .about-content,
    .advantages-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .subsection-title {
        margin-bottom: 3rem;
        text-align: center;
    }

    .check-icon {
        display: block;
        margin: 0 auto 0.5rem;
        position: static;
        transform: none;
        background: none;
        color: #1e293b;
        border-radius: 0;
    }

    .education-details {
        margin-bottom: 10px;
        text-align: center;
    }

    .education-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin: 0 auto;
    }

    .social-links {
        margin-bottom: 2rem;
    }


    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .services-grid {
        grid-template-columns: 1fr;
    }
    /* Center layout adjustments */
    .advantages-list {
        text-align: center;
    }

    .advantage-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .advantage-icon {
        margin-bottom: 0.5rem;
    }

    .contact-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .contact-icon {
        margin-bottom: 1rem;
    }

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

    .contact-social {
        align-items: center;
        text-align: center;
    }

    .contact-social-title {
        text-align: center;
    }

  .contact-social-links {
      justify-items: center;
      justify-content: center;
  }

    .children-brace-item {
        border-left: none;
        padding-left: 0;
        text-align: center;
    }

    .children-brace-item::before {
        display: block;
        width: 40px;
        height: 4px;
        background: #2563eb;
        margin: 0 auto 0.5rem;
        content: "";
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
    
    .hero {
        padding: 2rem 0;
    }
    
    .hero-content {
        flex-direction: column-reverse;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .social-links {
        justify-content: center;
        gap: 0.75rem;
    }
    
    .social-link {
        width: 44px;
        height: 44px;
    }
    
    .doctor-photo {
        width: 240px;
        height: 240px;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-main-title {
        font-size: 1.75rem;
    }
    
    .contact-social-title {
        font-size: 1.75rem;
    }
    
    .contact-social-links {
        justify-content: center;
    }
    
    .about,
    .services,
    .advantages,
    .contact {
        padding: 3rem 0;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .doctor-photo {
        width: 200px;
        height: 200px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .social-links {
        gap: 0.5rem;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
    }
    
    .social-link svg {
        width: 20px;
        height: 20px;
    }
    
    .contact-social-link {
        width: 44px;
        height: 44px;
    }

    .contact-social-links {
        justify-content: center;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 0.9rem;
    }
    
    .service-card,
    .experience-item,
    .children-braces,
    .why-choose {
        padding: 1.5rem;
    }
}

/* Extra small devices */
@media (max-width: 360px) {
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .doctor-photo {
        width: 180px;
        height: 180px;
    }
    
    .social-links {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
    }
    
    .contact-social-links {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
    }
}

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

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

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

