﻿/* GENERAL RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Segoe UI", Arial, sans-serif;
    padding-top: 100px;
    overflow-x: hidden;
    background: #fff;
}

/* HEADER */
.main-header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255,255,255,0.98);
    transition: all 0.4s ease;
    z-index: 1000;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.main-header.scrolled {
    background: #fff;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

/* LOGO */
.logo {
    max-height: 70px;
    transition: all 0.3s ease;
}

/* NAVIGATION - DESKTOP */
.navbar-nav .nav-link {
    position: relative;
    font-weight: 600;
    color: #333 !important;
    margin-left: 25px;
    padding: 8px 0;
    font-size: 15px;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #0a7cc4, #4fc3f7);
    transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
    color: #0a7cc4 !important;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link:focus::after {
    width: 100%;
}

/* HERO SECTION - FIXED GRAY SPACE ISSUE */
.hero-section {
    width: 100%;
    position: relative;
    background: #fff; /* WHITE BACKGROUND - NO GRAY */
    overflow: hidden;
    padding: 0;
    margin: 0;
}

.hero-image-wrapper {
    position: relative;
    width: 100%;
    height: auto;
    overflow: hidden;
    background: #fff; /* WHITE BACKGROUND - NO GRAY */
}

/* HERO IMAGE - FIXED VISUAL EFFECT */
.hero-image {
    width: 100%;
    height: auto;
    display: block;
    opacity: 0;
    transform: scale(1.1) translateY(20px);
    filter: brightness(0.9) contrast(1.1);
    transition: all 1.5s cubic-bezier(0.4, 0, 0.2, 1);
    animation: heroReveal 2s ease-out forwards;
}

@keyframes heroReveal {
    0% {
        opacity: 0;
        transform: scale(1.1) translateY(20px);
        filter: brightness(0.8) contrast(1.2) blur(2px);
    }
    30% {
        opacity: 0.5;
        transform: scale(1.05) translateY(10px);
        filter: brightness(0.9) contrast(1.1) blur(1px);
    }
    70% {
        opacity: 0.8;
        transform: scale(1.02) translateY(5px);
        filter: brightness(0.95) contrast(1.05) blur(0.5px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
        filter: brightness(1) contrast(1) blur(0);
    }
}

/* HERO OVERLAY EFFECTS */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

/* SCAN LINE EFFECT */
.scan-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.8) 20%, 
        rgba(255, 255, 255, 0.9) 50%, 
        rgba(255, 255, 255, 0.8) 80%, 
        transparent 100%);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.6);
    animation: scan 3s ease-in-out infinite;
    z-index: 3;
}

@keyframes scan {
    0% {
        top: 0%;
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        top: 100%;
        opacity: 0;
    }
}

/* LIGHT BEAM EFFECT */
.light-beam {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.2) 25%,
        rgba(255, 255, 255, 0.4) 50%,
        rgba(255, 255, 255, 0.2) 75%,
        rgba(255, 255, 255, 0) 100%);
    transform: translateX(-100%);
    animation: beamSweep 3s ease-in-out infinite;
    animation-delay: 1s;
    z-index: 1;
}

@keyframes beamSweep {
    0% {
        transform: translateX(-100%);
        opacity: 0;
    }
    20% {
        opacity: 0.5;
    }
    80% {
        opacity: 0.3;
    }
    100% {
        transform: translateX(100%);
        opacity: 0;
    }
}

/* SPARKLE EFFECTS */
.sparkle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: white;
    border-radius: 50%;
    box-shadow: 
        0 0 10px white,
        0 0 20px white,
        0 0 30px white;
    opacity: 0;
    z-index: 2;
    animation: sparklePop 3s infinite;
}

@keyframes sparklePop {
    0%, 100% {
        opacity: 0;
        transform: scale(0.5) rotate(0deg);
    }
    50% {
        opacity: 1;
        transform: scale(1.5) rotate(180deg);
    }
}

/* SECTIONS */
.section {
    padding: 80px 0;
}

.fade-section {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* FOOTER */
.site-footer {
    background: #111;
    color: #aaa;
    padding: 30px 0;
    margin-top: 40px;
    font-size: 14px;
}

/* MOBILE STYLES - FIXED GRAY SPACE */
@media (max-width: 991px) {
    body {
        padding-top: 70px;
    }

    .logo {
        max-height: 50px;
    }

    /* MOBILE MENU WITH HOVER EFFECTS */
    .navbar-nav {
        width: 100%;
        text-align: center;
        padding: 10px 0;
    }

    .navbar-nav .nav-item {
        margin: 0;
        padding: 0;
    }

    .navbar-nav .nav-link {
        margin-left: 0;
        padding: 15px 20px;
        font-size: 16px;
        display: block;
        text-align: center;
        border-bottom: 1px solid rgba(0,0,0,0.05);
        transition: all 0.3s ease;
        position: relative;
        color: #333 !important;
    }

    .navbar-nav .nav-link:last-child {
        border-bottom: none;
    }

    .navbar-nav .nav-link::after {
        display: none;
    }

    /* MOBILE HOVER EFFECT - WORKING NOW */
    .navbar-nav .nav-link:hover,
    .navbar-nav .nav-link:focus,
    .navbar-nav .nav-link.mobile-hover {
        background: linear-gradient(90deg, rgba(10, 124, 196, 0.1), rgba(79, 195, 247, 0.1));
        color: #0a7cc4 !important;
        transform: translateX(5px);
        box-shadow: inset 5px 0 0 #0a7cc4;
    }

    .navbar-nav .nav-link:hover::before,
    .navbar-nav .nav-link:focus::before,
    .navbar-nav .nav-link.mobile-hover::before {
        content: "→";
        position: absolute;
        left: 10px;
        color: #0a7cc4;
        font-weight: bold;
        transition: all 0.3s ease;
    }

    .navbar-collapse {
        background: white;
        border-radius: 0 0 10px 10px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        margin-top: 10px;
    }

    /* HERO SECTION MOBILE FIX - NO GRAY SPACE */
    .hero-section {
        background: #fff !important; /* FORCE WHITE BACKGROUND */
        padding: 0 !important;
        margin: 0 !important;
    }
    
    .hero-image-wrapper {
        background: #fff !important; /* FORCE WHITE BACKGROUND */
        padding: 0 !important;
        margin: 0 !important;
    }
    
    .hero-image {
        width: 100% !important;
        height: auto !important;
        max-height: 400px !important;
        object-fit: contain !important;
        display: block !important;
        margin: 0 auto !important;
        padding: 0 !important;
        background: #fff !important;
    }
    
    /* Mobile animation adjustments */
    @keyframes heroReveal {
        0% {
            opacity: 0;
            transform: scale(1.08) translateY(15px);
            filter: brightness(0.85) contrast(1.15) blur(1px);
        }
        30% {
            opacity: 0.6;
            transform: scale(1.04) translateY(8px);
            filter: brightness(0.9) contrast(1.08) blur(0.5px);
        }
        70% {
            opacity: 0.9;
            transform: scale(1.01) translateY(3px);
            filter: brightness(0.95) contrast(1.03) blur(0.2px);
        }
        100% {
            opacity: 1;
            transform: scale(1) translateY(0);
            filter: brightness(1) contrast(1) blur(0);
        }
    }
    
    /* Reduce effects intensity on mobile */
    .scan-line {
        height: 2px;
        animation-duration: 4s;
    }
    
    .sparkle {
        width: 3px;
        height: 3px;
    }
}

/* EXTRA SMALL DEVICES (iPhone 12 Pro - 390px) */
@media (max-width: 390px) {
    .hero-section {
        min-height: auto;
    }
    
    .hero-image {
        max-height: 300px !important;
    }
    
    .section {
        padding: 40px 0;
    }
    
    .site-footer {
        padding: 20px 15px;
        font-size: 13px;
    }
    
    .navbar-nav .nav-link {
        padding: 12px 15px;
        font-size: 15px;
    }
}

/* SMALL DEVICES */
@media (min-width: 576px) and (max-width: 767px) {
    .hero-image {
        max-height: 350px !important;
    }
}

/* TABLET VIEW */
@media (min-width: 768px) and (max-width: 991px) {
    .hero-image {
        max-height: 450px !important;
    }
    
    .navbar-nav .nav-link {
        padding: 18px 25px;
        font-size: 17px;
    }
}

/* DESKTOP - FIXED GRAY SPACE */
@media (min-width: 992px) {
    .hero-section {
        height: auto;
        min-height: 500px;
        max-height: 700px;
        background: #fff !important; /* FORCE WHITE ON DESKTOP */
    }
    
    .hero-image-wrapper {
        height: auto;
        background: #fff !important; /* FORCE WHITE ON DESKTOP */
    }
    
    .hero-image {
        max-height: 700px;
        width: 100%;
        height: auto;
    }
    
    .logo {
        max-height: 80px;
    }
}



/* FOOTER STYLES */
.site-footer {
    background-color: #1a1a1a;
    color: #ffffff;
    padding: 60px 0 20px;
    font-family: 'Segoe UI', Arial, sans-serif;
    line-height: 1.6;
}

/* Clinic Name Section */
.footer-clinic-name {
    grid-column: span 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* Slogan Box - Same Style for Both */
.clinic-slogan-box {
    background: linear-gradient(135deg, rgba(10, 124, 196, 0.15), rgba(79, 195, 247, 0.1));
    border-radius: 10px;
    padding: 20px;
    border: 2px solid #0a7cc4;
    position: relative;
    overflow: hidden;
    margin-bottom: 25px;
    width: 100%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.clinic-slogan-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { left: -100%; }
    100% { left: 100%; }
}

.slogan-title {
    color: #0a7cc4;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.slogan-subtitle {
    color: #ffffff;
    font-size: 16px;
    font-weight: 500;
    font-style: italic;
    text-align: center;
    margin: 0;
    opacity: 0.9;
}

/* Section Animation Base */
.footer-section-anim {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-section-anim.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Footer Layout */
.footer-top {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.footer-heading {
    color: #ffffff;
    font-size: 18px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #0a7cc4;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* About Us Section */
.footer-about {
    grid-column: span 1;
}

.contact-info p {
    color: #cccccc;
    margin-bottom: 15px;
    font-size: 14px;
    display: flex;
    align-items: flex-start;
    line-height: 1.5;
}

.contact-info i {
    color: #0a7cc4;
    margin-right: 12px;
    margin-top: 3px;
    min-width: 16px;
    text-align: center;
    font-size: 16px;
}

.contact-info a {
    color: #cccccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: #0a7cc4;
}

/* Services Section */
.footer-services {
    grid-column: span 1;
}

.services-text {
    color: #cccccc;
    font-size: 14px;
    line-height: 1.7;
    text-align: justify;
}

/* Opening Hours Section */
.footer-hours {
    grid-column: span 1;
}

.hours-list {
    margin-bottom: 0;
}

.hours-item {
    position: relative;
    padding-bottom: 12px;
    margin-bottom: 12px;
    border-bottom: 1px solid #333;
}

.hours-item::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #4fc3f7, #80deea, #4fc3f7, #80deea);
    background-size: 200% 100%;
    transition: width 2s ease-out;
    border-radius: 1px;
}

.footer-hours.visible .hours-item::after {
    width: 100%;
    animation: lineGradient 3s linear infinite;
}

@keyframes lineGradient {
    0% { background-position: 0% 0%; }
    100% { background-position: 200% 0%; }
}

.hours-day {
    color: #cccccc;
    font-size: 14px;
    font-weight: 500;
}

.hours-time {
    color: #0a7cc4;
    font-weight: 500;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.hours-icon {
    color: #4fc3f7;
    margin-left: 8px;
    font-size: 14px;
}

.emergency-hour .hours-time {
    color: #ff6b6b !important;
    font-weight: 600;
}

.emergency-hour::after {
    background: linear-gradient(90deg, #ff6b6b, #ff9e7d, #ff6b6b, #ff9e7d) !important;
}

/* Social Icons */
.footer-social {
    margin-top: 20px;
    width: 100%;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background-color: #333333;
    color: #ffffff;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 18px;
}

.social-icon:hover {
    background-color: #0a7cc4;
    transform: translateY(-3px);
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 20px;
    text-align: center;
}

.footer-copyright {
    color: #999999;
    font-size: 14px;
    font-weight: 400;
}

.panksoft-link {
    color: #0a7cc4 !important;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.panksoft-link:hover {
    color: #4fc3f7 !important;
    text-decoration: underline;
}

/* RESPONSIVE DESIGN */
@media (max-width: 991px) {
    .footer-top {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .footer-clinic-name,
    .footer-about,
    .footer-services,
    .footer-hours {
        grid-column: span 1;
    }
    
    .footer-heading {
        font-size: 17px;
    }
    
    .slogan-title {
        font-size: 18px;
    }
    
    .slogan-subtitle {
        font-size: 15px;
    }
    
    .hours-time {
        justify-content: flex-start;
        margin-top: 5px;
    }
}

@media (max-width: 576px) {
    .footer-top {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .site-footer {
        padding: 40px 0 15px;
    }
    
    .clinic-slogan-box {
        padding: 15px;
    }
    
    .slogan-title {
        font-size: 16px;
    }
    
    .slogan-subtitle {
        font-size: 14px;
    }
    
    .footer-copyright {
        font-size: 13px;
    }
    
    .social-icons {
        justify-content: center;
    }
}



/* LARGE DESKTOP */
@media (min-width: 1200px) {
    .hero-image {
        max-height: 800px;
    }
}

/* DEBUG - Remove all gray backgrounds */
.hero-section,
.hero-container,
.hero-image-wrapper,
.hero-image {
    background: #fff !important;
    background-color: #fff !important;
}













/* PAIN-FREE DENTAL CARE SECTION - FINAL SIMPLE */
.dental-care-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

/* Grid Layout */
.care-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

/* Left Image Container */
.care-image {
    position: relative;
    display: flex;
    flex-direction: column;
}

.image-container {
    width: 100%;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.dentist-img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s ease;
}

.image-container:hover .dentist-img {
    transform: scale(1.05);
}

/* Bottom Content Below Image - SIMPLE DESIGN */
.image-bottom-content {
    margin-top: 30px;
    background: #ffffff;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    /* 2. New Border Design */
    border: 2px solid #0a7cc4;
    border-left: 6px solid #0a7cc4;
    border-right: 6px solid #0a7cc4;
    position: relative;
    transition: all 0.3s ease;
}

.image-bottom-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(10, 124, 196, 0.2);
    border-color: #4fc3f7;
}

.bottom-content-inner {
    position: relative;
    z-index: 2;
}

.quote-icon {
    font-size: 40px;
    color: #0a7cc4;
    margin-bottom: 15px;
    text-align: center;
    opacity: 0.5;
}

.quote-icon i {
    font-size: 40px;
}

.bottom-text {
    color: #333;
    font-size: 17px;
    line-height: 1.7;
    margin-bottom: 25px;
    text-align: center;
    font-weight: 500;
}

/* 1. Button Color - Original Blue */
.image-bottom-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 35px;
    background: linear-gradient(135deg, #0a7cc4, #4fc3f7);
    color: white;
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(10, 124, 196, 0.3);
    border: none;
    cursor: pointer;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    display: block;
    text-align: center;
}

.image-bottom-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(10, 124, 196, 0.4);
    background: linear-gradient(135deg, #4fc3f7, #0a7cc4);
    color: white;
    text-decoration: none;
}

.image-bottom-button i {
    font-size: 20px;
}

/* Right Content */
.care-content {
    padding-top: 0;
}

.care-title {
    color: #1a1a1a;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 25px;
    line-height: 1.3;
    position: relative;
    padding-bottom: 15px;
}

.care-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #0a7cc4, #4fc3f7);
    border-radius: 2px;
}

.care-intro {
    margin-bottom: 35px;
}

.care-intro p {
    color: #555;
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: 20px;
}

/* Services Section */
.care-services {
    margin-top: 30px;
}

.services-title {
    color: #0a7cc4;
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 25px;
    position: relative;
    padding-left: 15px;
}

.services-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 25px;
    background: #0a7cc4;
    border-radius: 3px;
}

.service-list {
    display: grid;
    gap: 20px;
}

.service-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 22px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.service-item:hover {
    transform: translateX(5px);
    box-shadow: 0 8px 20px rgba(10, 124, 196, 0.15);
    border-left: 4px solid #0a7cc4;
}

.service-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #0a7cc4, #4fc3f7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.service-item:hover .service-icon {
    background: linear-gradient(135deg, #4fc3f7, #0a7cc4);
}

.service-icon i {
    color: white;
    font-size: 22px;
}

.service-text h4 {
    color: #1a1a1a;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.service-text p {
    color: #666;
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}

/* RESPONSIVE DESIGN - MOBILE FIXES */
@media (max-width: 1200px) {
    .care-grid {
        gap: 50px;
    }
    
    .care-title {
        font-size: 28px;
    }
}

@media (max-width: 991px) {
    .dental-care-section {
        padding: 60px 0;
    }
    
    .care-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .care-image {
        max-width: 600px;
        margin: 0 auto;
    }
    
    .care-title {
        font-size: 26px;
        text-align: center;
    }
    
    .care-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .services-title {
        text-align: center;
        padding-left: 0;
        padding-top: 15px;
    }
    
    .services-title::before {
        left: 50%;
        top: 0;
        transform: translateX(-50%);
        width: 40px;
        height: 5px;
    }
    
    .image-bottom-button {
        padding: 15px 30px;
        font-size: 17px;
        max-width: 280px;
    }
}

@media (max-width: 768px) {
    .care-title {
        font-size: 24px;
    }
    
    .care-intro p {
        font-size: 16px;
    }
    
    .image-bottom-content {
        padding: 25px;
        margin-top: 25px;
    }
    
    .bottom-text {
        font-size: 16px;
    }
    
    .service-list {
        grid-template-columns: 1fr;
    }
    
    .service-item {
        padding: 20px;
    }
}

@media (max-width: 576px) {
    .dental-care-section {
        padding: 50px 0;
    }
    
    .care-title {
        font-size: 22px;
    }
    
    .care-intro p {
        font-size: 15px;
    }
    
    .image-bottom-content {
        padding: 20px;
        margin-top: 20px;
    }
    
    .bottom-text {
        font-size: 15px;
    }
    
    .image-bottom-button {
        width: 100%;
        padding: 14px 25px;
        font-size: 16px;
        max-width: 100%;
    }
    
    .service-item {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .service-icon {
        margin: 0 auto;
    }
}

/* INITIAL ANIMATION STATES FOR SCROLL EFFECT */
.care-image,
.image-bottom-content,
.care-title,
.care-intro,
.services-title,
.service-item {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Specific transforms for side animations */
.care-image {
    transform: translateX(-20px);
}

.care-title,
.care-intro,
.services-title {
    transform: translateX(20px);
}

/* Mobile specific initial states */
@media (max-width: 991px) {
    .care-image,
    .image-bottom-content,
    .care-title,
    .care-intro,
    .services-title,
    .service-item {
        transform: translateY(20px);
    }
}













/* SERVICES SECTION - FINAL WORKING */
.services-section {
    padding: 80px 0;
    background: #ffffff;
    width: 100%;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 60px;
    padding: 0 15px;
}

.section-title {
    color: #1a1a1a;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #0a7cc4, #4fc3f7);
    border-radius: 2px;
}

.section-subtitle {
    color: #666;
    font-size: 18px;
    max-width: 600px;
    margin: 25px auto 0;
    line-height: 1.6;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    width: 100%;
    margin: 0;
    padding: 0;
}

/* Service Card */
.service-card {
    padding: 60px 30px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border: none;
    width: 100%;
    display: block;
    /* Initial position for scroll animation */
    opacity: 0;
    transform: translateY(50px);
}

/* Different Blue Shades */
.service-card-1 { background-color: #0a7cc4; }
.service-card-2 { background-color: #2196f3; }
.service-card-3 { background-color: #03a9f4; }
.service-card-4 { background-color: #0288d1; }

/* ✅ FIXED: HOVER EFFECT - HIGH SPECIFICITY */
.services-grid .service-card:hover {
    transform: translateY(-15px); /* UP direction */
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

/* Icon Box */
.service-icon-box {
    width: 80px;
    height: 80px;
    background: white !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    position: relative;
    z-index: 2;
    transition: all 0.4s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.service-icon {
    color: #0a7cc4;
    font-size: 32px;
    transition: all 0.4s ease;
}

/* Content */
.service-content {
    position: relative;
    z-index: 2;
}

.service-title {
    color: white !important;
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 15px;
    transition: all 0.3s ease;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.service-description {
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
    transition: all 0.3s ease;
}

/* Hover Effects */
.services-grid .service-card:hover .service-icon-box {
    transform: scale(1.15) rotate(15deg);
    background: #0a7cc4 !important;
    border-color: white;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.services-grid .service-card:hover .service-icon {
    color: white !important;
    transform: scale(1.2);
}

.services-grid .service-card:hover .service-title {
    color: white !important;
    transform: translateY(-3px);
}

.services-grid .service-card:hover .service-description {
    color: white !important;
    opacity: 1;
}

/* ✅ SCROLL ANIMATIONS - SIMPLE */
.service-card.scroll-visible {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.8s ease;
}

/* Different timing for scroll */
.service-card-1.scroll-visible { transition-delay: 0.1s; }
.service-card-2.scroll-visible { transition-delay: 0.2s; }
.service-card-3.scroll-visible { transition-delay: 0.3s; }
.service-card-4.scroll-visible { transition-delay: 0.4s; }

/* Responsive Design */
@media (max-width: 991px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .service-card {
        padding: 45px 20px;
    }
    
    .services-grid .service-card:hover {
        transform: translateY(-10px);
    }
}

@media (max-width: 576px) {
    .services-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .service-card {
        padding: 35px 20px;
    }
    
    .services-grid .service-card:hover {
        transform: translateY(-8px);
    }
}











/* Professional Testimonials Section */
.professional-testimonials-section {
    padding: 100px 0;
    background: #fafafa;
    position: relative;
    overflow: hidden;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

/* Section Header */
.pt-section-header {
    margin-bottom: 60px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease;
}

.pt-section-header.visible {
    opacity: 1;
    transform: translateY(0);
}

.pt-section-title {
    color: #1a1a1a;
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 15px;
    text-align: center;
    position: relative;
    padding-bottom: 20px;
}

.pt-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: #0a7cc4;
    border-radius: 2px;
}

.pt-section-subtitle {
    color: #666;
    font-size: 18px;
    max-width: 800px;
    margin: 20px auto 0;
    line-height: 1.6;
    text-align: center;
    font-weight: 400;
}

/* Testimonials Carousel - WIDER */
.pt-testimonials-wrapper {
    max-width: 1200px;
    margin: 0 auto 80px;
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease 0.2s;
}

.pt-testimonials-wrapper.visible {
    opacity: 1;
    transform: translateY(0);
}

.pt-testimonials-container {
    position: relative;
    min-height: 320px;
    overflow: hidden;
    margin-bottom: 30px;
}

.pt-testimonial-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translateX(100px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    visibility: hidden;
}

.pt-testimonial-slide.active {
    opacity: 1;
    transform: translateX(0);
    visibility: visible;
    position: relative;
}

/* Testimonials Card - WIDER DESIGN */
.pt-testimonial-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 60px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid #e8e8e8;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    margin: 0 20px;
}

.pt-testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(10, 124, 196, 0.12);
    border-color: #0a7cc4;
}

.pt-testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: #0a7cc4;
    transition: height 0.4s ease;
}

.pt-testimonial-card:hover::before {
    height: 0;
}

.pt-testimonial-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: linear-gradient(to top, rgba(10, 124, 196, 0.03), transparent);
    transition: height 0.4s ease;
}

.pt-testimonial-card:hover::after {
    height: 100%;
}

.pt-quote-icon {
    position: absolute;
    top: 40px;
    right: 40px;
    color: #eef5ff;
    font-size: 60px;
    line-height: 1;
    transition: all 0.4s ease;
}

.pt-testimonial-card:hover .pt-quote-icon {
    color: #0a7cc4;
    transform: scale(1.1);
}

.pt-testimonial-content {
    position: relative;
    z-index: 1;
}

.pt-testimonial-text {
    color: #444;
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 30px;
    font-style: italic;
    font-weight: 400;
    padding-right: 60px;
}

.pt-patient-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 25px;
    border-top: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.pt-testimonial-card:hover .pt-patient-info {
    border-top-color: #e0e0e0;
    padding-top: 30px;
}

.pt-patient-details {
    flex: 1;
}

.pt-patient-name {
    color: #1a1a1a;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.pt-star-rating {
    display: flex;
    align-items: center;
    gap: 4px;
}

.pt-star-rating i {
    color: #ffb300;
    font-size: 16px;
}

.pt-treatment-type {
    margin-left: 20px;
}

.pt-treatment-type span {
    display: inline-block;
    padding: 8px 20px;
    background: #f8fbff;
    color: #0a7cc4;
    font-size: 13px;
    font-weight: 600;
    border-radius: 4px;
    border: 1px solid #e3f2fd;
    transition: all 0.3s ease;
}

.pt-testimonial-card:hover .pt-treatment-type span {
    background: #0a7cc4;
    color: white;
    border-color: #0a7cc4;
    transform: translateY(-2px);
}

/* Carousel Navigation - BLUE MATCHING COLOR */
.pt-carousel-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

.pt-nav-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: white;
    border: 2px solid #d0d0d0;
    color: #777;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pt-nav-btn:hover {
    background: #0a7cc4;
    border-color: #0a7cc4;
    color: white;
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(10, 124, 196, 0.25);
}

.pt-slide-indicators {
    display: flex;
    gap: 12px;
}

.pt-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #e0e0e0;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.pt-indicator.active {
    background: #0a7cc4;
    transform: scale(1.2);
}

/* Stats Section */
.pt-stats-section {
    margin: 80px 0;
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease 0.4s;
}

.pt-stats-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.pt-stats-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

/* Stats Items - UNIQUE HOVER EFFECTS */
.pt-stat-item {
    background: #ffffff;
    border-radius: 10px;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid #f0f0f0;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.pt-stat-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.pt-stat-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    border-color: #0a7cc4;
}

/* Unique Background Effects on Hover */
.pt-stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(10, 124, 196, 0) 0%,
        rgba(10, 124, 196, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.pt-stat-item:hover::before {
    opacity: 1;
}

.pt-stat-item::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, 
        rgba(10, 124, 196, 0.1) 0%,
        rgba(10, 124, 196, 0.05) 30%,
        transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.pt-stat-item:hover::after {
    opacity: 1;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.9); opacity: 0.5; }
    50% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(0.9); opacity: 0.5; }
}

.pt-stat-icon {
    width: 70px;
    height: 70px;
    background: #f8fbff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
    transition: all 0.4s ease;
    border: 2px solid #eef5ff;
}

.pt-stat-item:hover .pt-stat-icon {
    background: #0a7cc4;
    border-color: #0a7cc4;
    transform: scale(1.15) rotate(10deg);
    box-shadow: 0 10px 30px rgba(10, 124, 196, 0.3);
}

.pt-stat-icon i {
    color: #0a7cc4;
    font-size: 32px;
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
}

.pt-stat-item:hover .pt-stat-icon i {
    color: white;
    transform: scale(1.2);
}

.pt-stat-content {
    position: relative;
    z-index: 1;
    width: 100%;
}

/* FIXED: Stat Number with + and % Symbols */
.pt-stat-number {
    color: #1a1a1a;
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 10px;
    font-family: 'Segoe UI', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.pt-stat-plus {
    font-size: 24px;
    font-weight: 700;
    color: #0a7cc4;
    margin-left: 2px;
    opacity: 1;
}

.pt-stat-percent {
    font-size: 22px;
    font-weight: 700;
    color: #0a7cc4;
    margin-left: 2px;
    opacity: 1;
}

.pt-stat-item:hover .pt-stat-number {
    color: #0a7cc4;
    transform: scale(1.05);
}

.pt-stat-label {
    color: #666;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    display: inline-block;
    padding-bottom: 5px;
    z-index: 1;
}

.pt-stat-label::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 2px;
    background: #0a7cc4;
    opacity: 0;
    transition: all 0.3s ease;
}

.pt-stat-item:hover .pt-stat-label::after {
    opacity: 1;
    width: 50px;
}

/* CTA Box - WITH BLUE ACCENTS */
.pt-cta-box {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    position: relative;
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease 0.6s;
    border: 1px solid #e8e8e8;
    border-left: 5px solid #0a7cc4;
}

.pt-cta-box.visible {
    opacity: 1;
    transform: translateY(0);
}

.pt-cta-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.15);
    border-color: #0a7cc4;
}

.pt-cta-content {
    flex: 1;
    padding: 60px;
    color: #1a1a1a;
    position: relative;
    z-index: 2;
}

.pt-cta-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #1a1a1a;
    position: relative;
    padding-bottom: 15px;
}

.pt-cta-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: #0a7cc4;
}

.pt-cta-subtitle {
    font-size: 18px;
    color: #666;
    margin-bottom: 40px;
    max-width: 500px;
    line-height: 1.6;
}

.pt-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 45px;
    background: #0a7cc4;
    color: white;
    text-decoration: none;
    font-size: 17px;
    font-weight: 600;
    border-radius: 6px;
    transition: all 0.3s ease;
    border: none;
    position: relative;
    overflow: hidden;
}

.pt-cta-button::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 ease;
}

.pt-cta-button:hover::before {
    left: 100%;
}

.pt-cta-button:hover {
    background: #0a68a8;
    transform: translateY(-3px);
    color: white;
    text-decoration: none;
    box-shadow: 0 15px 35px rgba(10, 124, 196, 0.4);
}

.pt-cta-button i {
    font-size: 20px;
}

.pt-cta-image {
    flex: 0 0 40%;
    position: relative;
    overflow: hidden;
}

.pt-cta-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.pt-cta-box:hover .pt-cta-image img {
    transform: scale(1.05);
}

.pt-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(10, 124, 196, 0.1), transparent);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .pt-testimonials-wrapper {
        max-width: 1100px;
    }
    
    .pt-stat-number {
        font-size: 38px;
    }
    
    .pt-stat-plus {
        font-size: 22px;
    }
    
    .pt-stat-percent {
        font-size: 20px;
    }
    
    .pt-testimonial-card {
        padding: 50px;
    }
}

@media (max-width: 991px) {
    .professional-testimonials-section {
        padding: 70px 0;
    }
    
    .pt-section-title {
        font-size: 36px;
    }
    
    .pt-testimonial-card {
        padding: 40px;
        margin: 0 15px;
    }
    
    .pt-quote-icon {
        top: 30px;
        right: 30px;
        font-size: 50px;
    }
    
    .pt-testimonial-text {
        padding-right: 40px;
    }
    
    .pt-stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .pt-stat-item {
        padding: 35px 25px;
    }
    
    .pt-stat-icon {
        width: 65px;
        height: 65px;
    }
    
    .pt-stat-icon i {
        font-size: 28px;
    }
    
    .pt-stat-number {
        font-size: 34px;
    }
    
    .pt-stat-plus {
        font-size: 20px;
    }
    
    .pt-stat-percent {
        font-size: 18px;
    }
    
    .pt-cta-box {
        flex-direction: column;
    }
    
    .pt-cta-image {
        flex: 0 0 300px;
    }
    
    .pt-cta-content {
        padding: 50px;
    }
    
    .pt-cta-title {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    .pt-section-title {
        font-size: 30px;
    }
    
    .pt-section-subtitle {
        font-size: 16px;
    }
    
    .pt-testimonial-card {
        padding: 35px;
        margin: 0 10px;
    }
    
    .pt-testimonial-text {
        font-size: 17px;
        padding-right: 30px;
    }
    
    .pt-patient-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .pt-treatment-type {
        margin-left: 0;
    }
    
    .pt-carousel-nav {
        gap: 20px;
    }
    
    .pt-stat-number {
        font-size: 30px;
    }
    
    .pt-stat-plus {
        font-size: 18px;
    }
    
    .pt-stat-percent {
        font-size: 16px;
    }
    
    .pt-cta-title {
        font-size: 28px;
    }
    
    .pt-cta-button {
        padding: 16px 35px;
        font-size: 16px;
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .professional-testimonials-section {
        padding: 60px 0;
    }
    
    .pt-section-title {
        font-size: 26px;
    }
    
    .pt-testimonial-card {
        padding: 30px;
        margin: 0;
    }
    
    .pt-quote-icon {
        top: 25px;
        right: 25px;
        font-size: 40px;
    }
    
    .pt-testimonial-text {
        padding-right: 20px;
    }
    
    .pt-stats-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .pt-stat-item {
        padding: 30px 25px;
    }
    
    .pt-stat-number {
        font-size: 28px;
    }
    
    .pt-stat-plus {
        font-size: 16px;
    }
    
    .pt-stat-percent {
        font-size: 14px;
    }
    
    .pt-cta-content {
        padding: 40px 30px;
    }
    
    .pt-cta-title {
        font-size: 24px;
    }
}



















/* Welcome Section */
.welcome-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f0f7ff 0%, #e6f2ff 100%);
    position: relative;
    overflow: hidden;
}

.welcome-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #0a7cc4, #4fc3f7, #80deea);
}

.welcome-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 70px;
    align-items: start;
}

/* Left Side - Content */
.welcome-content {
    padding-right: 30px;
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s ease;
}

.welcome-content.visible {
    opacity: 1;
    transform: translateX(0);
}

.welcome-header {
    margin-bottom: 40px;
}

.welcome-title {
    color: #0a7cc4;
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
    padding-left: 25px;
}

.welcome-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    background: #0a7cc4;
    border-radius: 50%;
}

.welcome-main-title {
    color: #1a1a1a;
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #1a1a1a, #0a7cc4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.welcome-subtitle {
    color: #444;
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 25px;
    line-height: 1.4;
}

.welcome-divider {
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #0a7cc4, #4fc3f7);
    border-radius: 2px;
}

.welcome-text {
    position: relative;
}

.welcome-text p {
    color: #555;
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 25px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease 0.2s;
}

.welcome-text p.visible {
    opacity: 1;
    transform: translateY(0);
}

.welcome-text p:first-of-type {
    transition-delay: 0.3s;
}

.welcome-text p:last-of-type {
    transition-delay: 0.4s;
}

/* About Us Button */
.about-us-btn {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 18px 40px;
    background: white;
    color: #0a7cc4;
    text-decoration: none;
    font-size: 18px;
    font-weight: 700;
    border-radius: 8px;
    border: 2px solid #0a7cc4;
    transition: all 0.4s ease;
    margin-top: 30px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease 0.6s;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(10, 124, 196, 0.1);
}

.about-us-btn.visible {
    opacity: 1;
    transform: translateY(0);
}

.about-us-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(10, 124, 196, 0.1), transparent);
    transition: left 0.6s ease;
}

.about-us-btn:hover::before {
    left: 100%;
}

.about-us-btn:hover {
    background: #0a7cc4;
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(10, 124, 196, 0.3);
    border-color: #0a7cc4;
}

.about-us-btn i {
    font-size: 20px;
    transition: transform 0.3s ease;
}

.about-us-btn:hover i {
    transform: translateX(5px);
}

/* Right Side - Appointment Form (Vertical Aligned) */
.appointment-form-container {
    position: sticky;
    top: 120px;
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s ease 0.4s;
    margin-top: 40px;
}

.appointment-form-container.visible {
    opacity: 1;
    transform: translateX(0);
}

.form-header {
    background: linear-gradient(135deg, #0a7cc4, #4fc3f7);
    padding: 30px;
    border-radius: 15px 15px 0 0;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.form-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 20px 20px;
    animation: floatBackground 20s linear infinite;
    z-index: 0;
}

@keyframes floatBackground {
    0% { transform: translate(0, 0); }
    100% { transform: translate(20px, 20px); }
}

.form-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
    color: white;
    position: relative;
    z-index: 1;
}

.form-subtitle {
    opacity: 0.95;
    margin-bottom: 15px;
    font-size: 16px;
    position: relative;
    z-index: 1;
}

.form-divider {
    width: 60px;
    height: 3px;
    background: white;
    margin: 0 auto;
    opacity: 0.7;
    position: relative;
    z-index: 1;
}

.appointment-form {
    background: white;
    padding: 35px;
    border-radius: 0 0 15px 15px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    border: 1px solid #e8e8e8;
    border-top: none;
}

.form-group {
    margin-bottom: 25px;
}

.input-with-icon {
    position: relative;
    display: flex;
    align-items: center;
}

.input-with-icon i {
    position: absolute;
    left: 15px;
    color: #0a7cc4;
    font-size: 18px;
    z-index: 1;
}

.form-control {
    width: 100%;
    padding: 16px 16px 16px 50px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: #f9f9f9;
    color: #333;
    font-family: 'Segoe UI', Arial, sans-serif;
}

.form-control:focus {
    outline: none;
    border-color: #0a7cc4;
    background: white;
    box-shadow: 0 0 0 3px rgba(10, 124, 196, 0.15);
}

.form-control::placeholder {
    color: #888;
    font-weight: 400;
}

.form-row {
    display: flex;
    gap: 15px;
}

.form-group.half {
    flex: 1;
}

textarea.form-control {
    resize: vertical;
    min-height: 90px;
    padding-top: 16px;
    line-height: 1.5;
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%230a7cc4' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 12px;
    padding-right: 40px;
    cursor: pointer;
}

.submit-btn {
    width: 100%;
    padding: 20px;
    background: linear-gradient(135deg, #0a7cc4, #4fc3f7);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
    position: relative;
    overflow: hidden;
}

.submit-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 ease;
}

.submit-btn:hover::before {
    left: 100%;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(10, 124, 196, 0.4);
    background: linear-gradient(135deg, #4fc3f7, #0a7cc4);
}

.submit-btn i {
    font-size: 20px;
}

.form-footer {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    text-align: center;
}

.form-footer p {
    color: #666;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.form-footer i {
    color: #0a7cc4;
    font-size: 16px;
}

/* Scroll Animations */
.welcome-section .container {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.welcome-section.visible .container {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .welcome-grid {
        gap: 50px;
    }
    
    .welcome-main-title {
        font-size: 42px;
    }
    
    .welcome-subtitle {
        font-size: 20px;
    }
    
    .appointment-form-container {
        margin-top: 0;
    }
}

@media (max-width: 991px) {
    .welcome-section {
        padding: 70px 0;
    }
    
    .welcome-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .welcome-content {
        padding-right: 0;
    }
    
    .appointment-form-container {
        position: relative;
        top: 0;
        max-width: 600px;
        margin: 0 auto;
    }
    
    .welcome-main-title {
        font-size: 36px;
    }
    
    .welcome-subtitle {
        font-size: 18px;
    }
    
    .welcome-text p {
        font-size: 17px;
    }
    
    .about-us-btn {
        font-size: 17px;
        padding: 16px 35px;
    }
}

@media (max-width: 768px) {
    .welcome-main-title {
        font-size: 32px;
    }
    
    .form-row {
        flex-direction: column;
        gap: 25px;
    }
    
    .form-group.half {
        width: 100%;
    }
    
    .appointment-form {
        padding: 25px;
    }
    
    .form-header {
        padding: 25px;
    }
    
    .about-us-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .welcome-section {
        padding: 60px 0;
    }
    
    .welcome-main-title {
        font-size: 28px;
    }
    
    .welcome-subtitle {
        font-size: 17px;
    }
    
    .welcome-title {
        font-size: 16px;
        padding-left: 20px;
    }
    
    .welcome-text p {
        font-size: 16px;
    }
    
    .appointment-form {
        padding: 20px;
    }
    
    .form-header {
        padding: 20px;
    }
    
    .form-title {
        font-size: 24px;
    }
    
    .form-control {
        padding: 14px 14px 14px 45px;
        font-size: 15px;
    }
    
    .submit-btn {
        padding: 18px;
        font-size: 16px;
    }
    
    .about-us-btn {
        padding: 16px 30px;
        font-size: 16px;
    }
}





