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

body {
    font-family: 'Inter', sans-serif;
    background-color: #f0f9ff;
    color: #1e293b;
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Outfit', sans-serif;
}

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

/* Header Styles */
.header {
    background-color: #ffffff;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    min-height: 80px;
    overflow: visible;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    position: relative;
    overflow: visible;
}

.logo {
    display: flex;
    align-items: center;
    height: 100%;
    max-height: 80px;
    overflow: visible;
}

.logo-img {
    height: auto;
    max-height: 200px;
    width: auto;
    max-width: 1000px;
    object-fit: contain;
    display: block;
}

.nav-menu ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #ff6b35;
}

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #ff6b35;
}

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

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: #333;
    transition: all 0.3s ease;
    border-radius: 50%;
    text-decoration: none;
}

.social-icon:hover {
    color: #E4405F;
    transform: scale(1.1);
    background-color: rgba(228, 64, 95, 0.1);
}

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

.btn-appointment {
    background-color: #ff6b35;
    color: #ffffff;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.btn-appointment:hover {
    background-color: #ff5722;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

.btn-appointment .arrow {
    font-size: 18px;
    transition: transform 0.3s ease;
}

.btn-appointment:hover .arrow {
    transform: translateX(3px);
}

/* Hero Section */
.hero {
    position: relative;
    padding: 100px 0 120px;
    background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 50%, #e0f2fe 100%);
    background-size: 200% 200%;
    animation: gradientShift 15s ease infinite;
    overflow: hidden;
}

@keyframes gradientShift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

/* Subtle Background Pattern */
.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.03;
    background-image:
        radial-gradient(circle at 2px 2px, #4169E1 1px, transparent 0),
        radial-gradient(circle at 2px 2px, #4169E1 1px, transparent 0);
    background-size: 40px 40px;
    background-position: 0 0, 20px 20px;
    pointer-events: none;
}

/* Floating Shapes */
.hero-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.08;
    animation: floatShape 20s infinite ease-in-out;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #4169E1 0%, #87CEEB 100%);
    top: -100px;
    right: -100px;
    animation-delay: 0s;
}

.shape-2 {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #ff6b35 0%, #ff8c42 100%);
    bottom: -50px;
    left: 10%;
    animation-delay: 5s;
}

.shape-3 {
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, #87CEEB 0%, #e0f2fe 100%);
    top: 30%;
    right: 15%;
    animation-delay: 10s;
}

@keyframes floatShape {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(30px, -30px) scale(1.1);
    }

    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
}

/* Enhanced Typography */
.hero-title {
    font-size: 64px;
    font-weight: 900;
    letter-spacing: -1px;
    background: linear-gradient(135deg, #4169E1 0%, #87CEEB 50%, #ff6b35 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientText 5s ease infinite;
    margin-bottom: 28px;
    line-height: 1.15;
    text-shadow: 0 4px 20px rgba(65, 105, 225, 0.1);
}

@keyframes gradientText {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.hero-description {
    font-size: 20px;
    color: #444;
    margin-bottom: 32px;
    line-height: 1.85;
    font-weight: 400;
    letter-spacing: 0.2px;
    max-width: 95%;
}

.operating-hours {
    margin-bottom: 40px;
}

.hours-content {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.98) 100%);
    padding: 28px 32px;
    border-radius: 18px;
    box-shadow: 0 8px 30px rgba(65, 105, 225, 0.15), 0 0 0 1px rgba(255, 255, 255, 0.8);
    border: 2px solid rgba(65, 105, 225, 0.2);
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.hours-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s ease;
}

.hours-content:hover::before {
    left: 100%;
}

.hours-content:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(65, 105, 225, 0.2), 0 0 0 1px rgba(255, 255, 255, 0.9);
    border-color: rgba(65, 105, 225, 0.3);
}

.hours-title {
    display: block;
    font-size: 18px;
    color: #4169E1;
    margin-bottom: 15px;
    text-align: center;
    font-weight: 700;
}

.hours-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hours-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    background-color: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #4169E1;
    transition: all 0.3s ease;
}

.hours-item:hover {
    background-color: #e0f2fe;
    transform: translateX(5px);
}

.hours-item.closed {
    border-left-color: #ff6b35;
    background-color: #fff5f0;
}

.hours-item .days {
    font-weight: 600;
    color: #333;
    font-size: 15px;
}

.hours-item .time {
    font-weight: 600;
    color: #4169E1;
    font-size: 15px;
}

.hours-item.closed .time {
    color: #ff6b35;
}

.btn-hero {
    font-size: 18px;
    padding: 18px 40px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.35);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn-hero:hover::before {
    width: 300px;
    height: 300px;
}

.btn-hero:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(255, 107, 53, 0.45);
}

.btn-hero .btn-text {
    position: relative;
    z-index: 1;
}

.hero-visual {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 40px;
    min-height: 500px;
    padding-top: 20px;
}

.professional-illustration {
    width: 100%;
    max-width: 650px;
    position: relative;
    filter: drop-shadow(0 20px 50px rgba(65, 105, 225, 0.2));
    animation: floatProfessional 5s ease-in-out infinite;
    margin-top: -40px;
}

@keyframes floatProfessional {

    0%,
    100% {
        transform: translateY(0px) scale(1);
    }

    50% {
        transform: translateY(-20px) scale(1.02);
    }
}

.hero-svg {
    width: 100%;
    height: auto;
    animation: pulseProfessional 4s ease-in-out infinite;
}

@keyframes pulseProfessional {

    0%,
    100% {
        filter: drop-shadow(0 15px 40px rgba(65, 105, 225, 0.25));
        opacity: 1;
    }

    50% {
        filter: drop-shadow(0 20px 55px rgba(65, 105, 225, 0.35));
        opacity: 0.98;
    }
}

/* Legacy class support */
.tooth-illustration {
    width: 100%;
    max-width: 500px;
    position: relative;
    filter: drop-shadow(0 20px 50px rgba(65, 105, 225, 0.2));
    animation: floatProfessional 5s ease-in-out infinite;
}

.tooth-svg {
    width: 100%;
    height: auto;
    animation: pulseProfessional 4s ease-in-out infinite;
}

/* Smooth Animations */
.fade-in-up {
    animation: fadeInUp 0.8s ease-out;
    animation-fill-mode: both;
}

.fade-in-up:nth-child(1) {
    animation-delay: 0.1s;
}

.fade-in-up:nth-child(2) {
    animation-delay: 0.2s;
}

.fade-in-up:nth-child(3) {
    animation-delay: 0.3s;
}

.fade-in-up:nth-child(4) {
    animation-delay: 0.4s;
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-in-right {
    animation: slideInRight 1s ease-out;
    animation-fill-mode: both;
}

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

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Services Bar */
.services-bar {
    background-color: #bae6fd;
    padding: 30px 0;
    margin: 40px 0;
}

.services-keywords {
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    color: #4169E1;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.services-keywords span:not(.plus) {
    padding: 8px 15px;
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.services-keywords span:not(.plus):hover {
    background-color: #ffffff;
    transform: scale(1.05);
}

.plus {
    color: #ff6b35;
    font-size: 20px;
    font-weight: 700;
}

/* About Section */
.about-section {
    padding: 80px 0;
    background-color: #ffffff;
    margin: 40px 20px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 50px;
}

.about-left .section-title {
    font-size: 42px;
    color: #333;
    font-weight: 700;
}

.about-right .section-subtitle {
    font-size: 24px;
    color: #ff6b35;
    margin-bottom: 20px;
    font-weight: 700;
}

.about-text {
    font-size: 16px;
    color: #666;
    line-height: 1.8;
}

/* Doctors Section */
.doctors-section {
    margin-top: 60px;
    padding-top: 60px;
    border-top: 3px solid #e0f2fe;
}

.centered-subtitle {
    text-align: center;
    font-size: 32px;
    color: #333;
    margin-bottom: 50px;
    font-weight: 700;
}

.doctors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.doctor-card {
    background-color: #ffffff;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.4s ease;
    border: 2px solid transparent;
}

.doctor-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 50px rgba(65, 105, 225, 0.2);
    border-color: #4169E1;
}

.doctor-image-container {
    position: relative;
    width: 100%;
    height: 320px;
    overflow: hidden;
    background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
}

.doctor-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: transform 0.4s ease;
}

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

.doctor-image svg {
    width: 180px;
    height: 220px;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.1));
}

.doctor-overlay {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.doctor-icon {
    font-size: 24px;
}

.doctor-info {
    padding: 30px;
}

.doctor-name {
    font-size: 26px;
    color: #333;
    margin-bottom: 8px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.doctor-title {
    font-size: 16px;
    color: #ff6b35;
    margin-bottom: 20px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.doctor-qualifications {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 12px;
    border-left: 4px solid #4169E1;
}

.qualification-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: #555;
    font-weight: 500;
}

.qualification-item svg {
    color: #4169E1;
    flex-shrink: 0;
}

.doctor-specialization {
    font-size: 15px;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.6;
}

.doctor-specialization strong {
    color: #333;
    font-weight: 700;
}

.doctor-bio {
    font-size: 15px;
    color: #666;
    line-height: 1.8;
    margin-top: 15px;
    padding-top: 20px;
    border-top: 2px solid #e0f2fe;
}

/* Available Treatments Section */
.treatments-section {
    padding: 80px 0;
    background-color: #ffffff;
    margin: 40px 20px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.treatments-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
}

.treatments-left .section-title {
    font-size: 42px;
    color: #333;
    font-weight: 700;
}

.treatments-text {
    font-size: 16px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 30px;
}

.treatment-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.treatment-item {
    background-color: #e0f2fe;
    padding: 15px 20px;
    border-radius: 10px;
    color: #4169E1;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
}

.treatment-item:hover {
    background-color: #bae6fd;
    transform: translateX(5px);
}

/* Clinics Section */
.clinics-section {
    padding: 80px 0;
    background-color: #e0f2fe;
}

.section-title.centered {
    text-align: center;
    font-size: 42px;
    color: #333;
    font-weight: 700;
    margin-bottom: 50px;
}

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

.clinic-card {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.clinic-card:hover {
    transform: translateY(-5px);
}

.clinic-card h3 {
    color: #ff6b35;
    font-size: 24px;
    margin-bottom: 20px;
}

.clinic-card p {
    color: #666;
    margin-bottom: 10px;
    line-height: 1.6;
}

.clinic-location-single {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 600px;
    margin: 0 auto;
}

.centered-card {
    width: 100%;
    text-align: center;
}

.centered-card .map-link {
    margin: 20px auto 0;
    display: inline-flex;
}

.map-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #ff6b35;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    margin-top: 15px;
    padding: 10px 20px;
    border: 2px solid #ff6b35;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.map-link:hover {
    background-color: #ff6b35;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.map-link svg {
    width: 20px;
    height: 20px;
}

.map-link-small {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #4169E1;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    margin-top: 10px;
    padding: 8px 15px;
    border: 2px solid #e0f2fe;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.map-link-small:hover {
    background-color: #4169E1;
    color: #ffffff;
    border-color: #4169E1;
    transform: translateX(3px);
}

.map-link-small svg {
    width: 16px;
    height: 16px;
}

.map-note {
    font-size: 12px;
    color: #666;
    text-align: center;
    margin-top: 10px;
    padding: 10px;
    background-color: rgba(255, 107, 53, 0.05);
    border-radius: 8px;
}

.map-note a {
    color: #ff6b35;
    text-decoration: none;
    font-weight: 600;
}

.map-note a:hover {
    text-decoration: underline;
}

.phone-link {
    color: #4169E1;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.phone-link:hover {
    color: #ff6b35;
    text-decoration: underline;
}

.clinic-hours {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 2px solid #e0f2fe;
}

.clinic-hours strong {
    display: block;
    font-size: 16px;
    color: #ff6b35;
    margin-bottom: 12px;
    font-weight: 700;
}

.hours-details {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
}

.hours-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    background-color: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #4169E1;
    transition: all 0.3s ease;
}

.hours-row:hover {
    background-color: #e0f2fe;
    transform: translateX(3px);
}

.hours-row.closed-day {
    border-left-color: #ff6b35;
    background-color: #fff5f0;
}

.hours-days {
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.hours-time {
    font-weight: 600;
    color: #4169E1;
    font-size: 14px;
}

.hours-time.closed-text {
    color: #ff6b35;
}

.form-icon {
    position: absolute;
    right: 15px;
    top: 42px;
    font-size: 18px;
    pointer-events: none;
    opacity: 0.4;
    transition: opacity 0.3s ease;
}

.form-group:focus-within .form-icon {
    opacity: 0.7;
}

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

.form-message {
    padding: 15px;
    border-radius: 10px;
    font-weight: 500;
    display: none;
    text-align: center;
    animation: slideDown 0.3s ease;
}

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

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

.btn-submit {
    background: linear-gradient(135deg, #ff6b35 0%, #ff8c42 100%);
    color: #ffffff;
    border: none;
    padding: 16px 35px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
    position: relative;
    overflow: hidden;
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.4);
    background: linear-gradient(135deg, #ff5722 0%, #ff6b35 100%);
}

.btn-submit:active {
    transform: translateY(-1px);
}

.btn-submit.loading {
    pointer-events: none;
    opacity: 0.8;
}

.btn-text {
    position: relative;
    z-index: 1;
    letter-spacing: 0.5px;
}

.btn-icon {
    position: relative;
    z-index: 1;
    font-size: 18px;
    transition: transform 0.3s ease;
}

.btn-submit:hover .btn-icon {
    transform: translateX(3px);
}

.btn-spinner {
    position: absolute;
    font-size: 20px;
    animation: spin 1s linear infinite;
}

.btn-submit.loading .btn-text,
.btn-submit.loading .btn-icon {
    opacity: 0;
}

.btn-submit.loading .btn-spinner {
    display: block !important;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Social Media Styles */
.social-media {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #4169E1;
    font-weight: 600;
    font-size: 18px;
    padding: 12px 20px;
    border-radius: 10px;
    background-color: rgba(228, 64, 95, 0.05);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.social-link:hover {
    background-color: rgba(228, 64, 95, 0.1);
    border-color: #E4405F;
    transform: translateX(5px);
    color: #E4405F;
}

.social-link svg {
    width: 28px;
    height: 28px;
    transition: transform 0.3s ease;
}

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

/* Footer */
.footer {
    background-color: #333;
    color: #ffffff;
    padding: 30px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

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

.footer-logo-img {
    height: 160px;
    width: auto;
    max-width: 800px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.footer-info p {
    margin: 0;
}

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

.footer-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: #ffffff;
    transition: all 0.3s ease;
    border-radius: 50%;
    text-decoration: none;
    background-color: rgba(255, 255, 255, 0.1);
}

.footer-social-link:hover {
    color: #E4405F;
    background-color: rgba(228, 64, 95, 0.2);
    transform: scale(1.1) rotate(5deg);
}

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

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(8px);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.modal-content {
    background: #ffffff;
    margin: 5% auto;
    padding: 40px 50px;
    border-radius: 24px;
    width: 90%;
    max-width: 550px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    animation: slideDown 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

@keyframes slideDown {
    from {
        transform: translateY(-30px) scale(0.95);
        opacity: 0;
    }

    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

.modal-title {
    font-size: 32px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 40px;
    background: linear-gradient(135deg, #4169E1 0%, #ff6b35 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.5px;
}

.modal-content form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.modal-content .form-group {
    position: relative;
    margin-bottom: 5px;
}

/* Floating Label Styles */
.modal-content input,
.modal-content select,
.modal-content textarea {
    width: 100%;
    padding: 16px 20px 16px 20px;
    padding-right: 45px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    background-color: transparent;
    color: #1e293b;
    transition: all 0.3s ease;
    appearance: none;
}

.modal-content label {
    position: absolute;
    left: 20px;
    top: 18px;
    color: #64748b;
    font-size: 16px;
    font-weight: 500;
    pointer-events: none;
    transition: all 0.3s ease;
    background-color: #ffffff;
    padding: 0 5px;
}

/* Focus & Active States */
.modal-content input:focus,
.modal-content select:focus,
.modal-content textarea:focus {
    outline: none;
    border-color: #4169E1;
    box-shadow: 0 0 0 4px rgba(65, 105, 225, 0.1);
}

.modal-content input:focus+label,
.modal-content input:not(:placeholder-shown)+label,
.modal-content select:focus+label,
.modal-content select:valid+label,
.modal-content textarea:focus+label,
.modal-content textarea:not(:placeholder-shown)+label {
    top: -10px;
    left: 15px;
    font-size: 13px;
    color: #4169E1;
    font-weight: 600;
}

.modal-content select:valid+label {
    color: #4169E1;
}

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

.modal-content .form-icon {
    position: absolute;
    right: 20px;
    top: 18px;
    font-size: 18px;
    pointer-events: none;
    opacity: 0.5;
    transition: all 0.3s ease;
    filter: grayscale(100%);
}

.modal-content input:focus~.form-icon,
.modal-content select:focus~.form-icon,
.modal-content textarea:focus~.form-icon {
    opacity: 1;
    filter: grayscale(0%);
    transform: scale(1.1);
}

.close {
    position: absolute;
    top: 25px;
    right: 25px;
    color: #94a3b8;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s ease;
    line-height: 1;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.close:hover {
    color: #ef4444;
    background-color: #fee2e2;
    transform: rotate(90deg);
}

/* Responsive Design */
@media (max-width: 968px) {
    .header-content {
        flex-direction: column;
        gap: 20px;
    }

    .logo-img {
        max-height: 160px;
        max-width: 800px;
        height: auto;
    }

    .header-actions {
        width: 100%;
        justify-content: center;
    }

    .nav-menu ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero {
        padding: 80px 0 100px;
    }

    .hero-content {
        gap: 50px;
    }

    .hero-title {
        font-size: 42px;
    }

    .hero-description {
        font-size: 18px;
    }

    .shape {
        opacity: 0.05;
    }

    .shape-1 {
        width: 200px;
        height: 200px;
    }

    .shape-2 {
        width: 150px;
        height: 150px;
    }

    .shape-3 {
        width: 100px;
        height: 100px;
    }

    .about-content,
    .treatments-content {
        grid-template-columns: 1fr;
    }

    .treatment-list {
        grid-template-columns: 1fr;
    }

    .doctors-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .doctor-card {
        max-width: 100%;
    }

    .doctor-image-container {
        height: 280px;
    }

    .centered-subtitle {
        font-size: 28px;
    }

}

@media (max-width: 768px) {
    .hero-title {
        font-size: 32px;
    }

    .section-title {
        font-size: 32px !important;
    }


    .hours-content {
        padding: 15px 20px;
    }

    .hours-item .days,
    .hours-item .time {
        font-size: 14px;
    }

    .hours-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .hours-time {
        margin-left: auto;
    }

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


    .modal-content .form-row {
        grid-template-columns: 1fr;
    }

    .clinics-grid {
        grid-template-columns: 1fr;
    }

    .clinic-location-single {
        max-width: 100%;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-logo-img {
        height: 140px;
        max-width: 720px;
    }

    .footer-social {
        justify-content: center;
    }

    .whatsapp-float {
        width: 56px;
        height: 56px;
        bottom: 20px;
        right: 20px;
    }

    .whatsapp-tooltip {
        display: none;
    }
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: #ffffff;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    animation: whatsappPulse 2s infinite;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.5);
    background-color: #20BA5A;
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
    fill: #ffffff;
}

.whatsapp-tooltip {
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
    background-color: #333;
    color: #ffffff;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    font-weight: 500;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-left-color: #333;
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
    right: 75px;
}


@keyframes whatsappPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}



/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background-color: #ffffff;
}

.faq-container {
    max-width: 800px;
    margin: 40px auto 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: #bae6fd;
}

.faq-question {
    width: 100%;
    padding: 20px;
    background: none;
    border: none;
    text-align: left;
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Outfit', sans-serif;
}

.faq-icon {
    font-size: 24px;
    color: #4169E1;
    transition: transform 0.3s ease;
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background-color: #f8fafc;
}

.faq-answer p {
    padding: 0 20px 20px;
    color: #475569;
    line-height: 1.6;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    background-color: #4169E1;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(65, 105, 225, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 998;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background-color: #3352b5;
    transform: translateY(-3px);
}

/* Map Container */
.map-container {
    margin: 20px 0;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}