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

:root {
    --primary-color: #3D52A0;    /* Deep Indigo */
    --secondary-color: #7091E6;  /* Bright Sky Blue */
    --midtone-color: #8697C4;    /* Dusty Periwinkle */
    --soft-neutral: #ADBBDA;     /* Muted Lavender Gray */
    --background-color: #EDE8F5; /* Pale Lilac */
    --white: #FFFFFF;
    --dark-text: #333333;
    --light-text: #666666;
}

body {
    font-family: 'Lilac', sans-serif;
    background-color: var(--background-color);
    color: var(--dark-text);
    font-size: 16px;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
   font-family: 'Lilac', sans-serif;
    font-weight: 400;
    color: var(--primary-color);
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

.ortho-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navbar Styles */
.ortho-header {
    position: fixed;
    top: 20px;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 0 30px;
}

.ortho-navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--white);
    padding: 15px 30px;
    border-radius: 50px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.ortho-logo a {
    display: flex;
    align-items: center;
    font-family: 'Lilac', sans-serif;
    font-size: 24px;
    color: var(--primary-color);
}

.ortho-logo .logo-img {
    height: 40px;
    margin-right: 10px;
    width: 250px;
}

.ortho-nav-items {
    display: flex;
    gap: 30px;
}

.ortho-nav-item a {
    color: var(--light-text);
    font-weight: 500;
    padding: 8px 0;
    position: relative;
}

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

.ortho-nav-item a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.ortho-nav-item a:hover::after,
.ortho-nav-item a.active::after {
    width: 100%;
}

.ortho-call-btn a {
    display: flex;
    align-items: center;
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(112, 145, 230, 0.3);
}

.ortho-call-btn a:hover {
    background-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(61, 82, 160, 0.4);
}

.ortho-call-btn i {
    margin-right: 8px;
}

.ortho-mobile-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 3px 0;
    background-color: var(--primary-color);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Responsive Navbar */
@media screen and (max-width: 1350px) {
    .ortho-logo a {
        font-size: 20px;
    }
    
    .ortho-logo .logo-img {
        height: 35px;
        width: 200px;
    }
    
    .ortho-call-btn a {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .ortho-nav-items {
        gap: 25px;
    }
    
    .ortho-nav-item a {
        font-size: 14px;
    }
}

@media screen and (max-width: 1200px) {
    .ortho-header {
        top: 10px;
        padding: 0 15px;
    }
    
    .ortho-navbar {
        padding: 12px 20px;
    }
    
    .ortho-nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        width: 100%;
        background-color: var(--white);
        border-radius: 20px;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
        padding: 20px;
        transition: all 0.4s ease;
    }
    
    .ortho-nav-menu.active {
        left: 0;
    }
    
    .ortho-nav-items {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .ortho-mobile-toggle {
        display: flex;
    }
    
    .ortho-call-btn span {
        display: none;
    }
    
    .ortho-call-btn a {
        padding: 12px;
    }
    
    .ortho-call-btn i {
        margin-right: 0;
    }
    
    /* Animation for hamburger to X */
    .ortho-mobile-toggle.active .bar:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    
    .ortho-mobile-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .ortho-mobile-toggle.active .bar:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }
}

@media screen and (max-width: 480px) {
    .ortho-logo span {
        font-size: 18px;
    }
    
    .ortho-logo .logo-img {
        width: 170px;
    }
}












/* Full-Screen Background Image Slider Styles with Mobile Images */

/* Base Styles */
:root {
    --primary-color: #3D52A0;    /* Deep Indigo */
    --secondary-color: #7091E6;  /* Bright Sky Blue */
    --white: #FFFFFF;
    --dark-text: #333333;
    --transition-default: all 0.3s ease;
    --transition-slide: all 0.6s cubic-bezier(0.33, 1, 0.68, 1);
    --overlay-dark: rgba(0, 0, 0, 0.4);
    --overlay-gradient: linear-gradient(to right, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.3) 100%);
}

/* Full-Screen Slider Container */
.fullscreen-slider {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

/* Slides Container */
.slides-container {
    position: relative;
    width: 100%;
    height: 100%;
}

/* Individual Slide */
.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-slide);
    z-index: 1;
}

.slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 5;
}

/* Background Image - Desktop and Mobile Versions */
.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transform: scale(1.1);
    transition: transform 7s ease;
}

.slide.active .slide-bg {
    transform: scale(1);
}

/* Desktop Background - Show by default */
.slide-bg.desktop-bg {
    display: block;
}

/* Mobile Background - Hide by default */
.slide-bg.mobile-bg {
    display: none;
}

/* Mobile Background Image Styles */
@media screen and (max-width: 768px) {
    /* Hide desktop background on mobile */
    .slide-bg.desktop-bg {
        display: none;
    }
    
    /* Show mobile background on mobile */
    .slide-bg.mobile-bg {
        display: block;
        /* Mobile-specific background positioning */
        background-position: center center;
        background-size: cover;
    }
}

/* Alternative Mobile Background Positioning (if needed) */
@media screen and (max-width: 576px) {
    .slide-bg.mobile-bg {
        /* You can adjust positioning for specific slides */
        background-position: center top; /* or center bottom, left center, etc. */
    }
    
    /* Specific positioning for individual slides if needed */
    #slide1 .slide-bg.mobile-bg {
        background-position: center center;
    }
    
    #slide2 .slide-bg.mobile-bg {
        background-position: center top;
    }
    
    #slide3 .slide-bg.mobile-bg {
        background-position: center bottom;
    }
}

/* Overlay */
.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--overlay-gradient);
    z-index: 2;
}

/* Mobile Overlay Adjustments */
@media screen and (max-width: 768px) {
    .slide-overlay {
        /* Stronger overlay on mobile for better text readability */
        background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.7) 100%);
    }
}

/* Slide Content */
.slide-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    z-index: 10;
    padding: 0 10%;
}

.content-box {
    max-width: 600px;
    transform: translateY(50px);
    opacity: 0;
    transition: var(--transition-slide);
    transition-delay: 0.3s;
}

.slide.active .content-box {
    transform: translateY(0);
    opacity: 1;
}

/* Slide Text Styles */
.slide-title {
    font-family: 'Lilac', sans-serif;
    font-size: 64px;
    line-height: 1.1;
    color: var(--white);
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    position: relative;
    padding-bottom: 15px;
}

.slide-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100px;
    height: 4px;
    background: var(--secondary-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.8s ease 0.5s;
}

.slide.active .slide-title::after {
    transform: scaleX(1);
}

.slide-description {
    font-family: 'Lilac', sans-serif;
    font-size: 18px;
    line-height: 1.6;
    color: var(--white);
    margin-bottom: 30px;
    max-width: 90%;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
}

.slide-button {
    display: inline-block;
    font-family: 'Lilac', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: var(--white);
    background-color: var(--primary-color);
    padding: 16px 36px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: var(--transition-default);
    position: relative;
    overflow: hidden;
    text-decoration: none;
}

.slide-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.7s ease;
}

.slide-button:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.slide-button:hover::before {
    left: 100%;
}

/* Navigation Arrows */
.slider-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    z-index: 20;
    display: flex;
    justify-content: space-between;
    padding: 0 30px;
    transform: translateY(-50%);
}

.slider-arrow {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-default);
}

.slider-arrow:hover {
    background-color: var(--primary-color);
    transform: scale(1.1);
}

/* Slide Indicators */
.slide-indicators {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 20;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: var(--transition-default);
}

.indicator.active {
    background-color: var(--white);
    transform: scale(1.2);
}

/* Media Queries */
@media screen and (max-width: 1200px) {
    .slide-title {
        font-size: 54px;
    }
    
    .slide-description {
        font-size: 16px;
    }
}

@media screen and (max-width: 992px) {
    .slide-content {
        justify-content: center;
        text-align: center;
        padding: 0 5%;
    }
    
    .slide-title::after {
        left: 50%;
        transform: translateX(-50%) scaleX(0);
    }
    
    .slide.active .slide-title::after {
        transform: translateX(-50%) scaleX(1);
    }
    
    .slide-description {
        margin-left: auto;
        margin-right: auto;
    }
}

@media screen and (max-width: 768px) {
    .slide-title {
        font-size: 42px;
        text-shadow: 0 2px 15px rgba(0, 0, 0, 0.5);
    }
    
    .slide-description {
        font-size: 15px;
        text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
    }
    
    .slide-button {
        padding: 14px 30px;
        font-size: 14px;
    }
    
    .slider-arrow {
        display:none;
    }
    
    .slider-controls {
        padding: 0 20px;
    }
    
    .slide-indicators {
        bottom: 30px;
    }
}

@media screen and (max-width: 576px) {
    .slide-title {
        font-size: 32px;
    }
    
    .slide-content {
        padding: 0 20px;
    }
    
    .slider-controls {
        padding: 0 15px;
    }
    
    .content-box {
        max-width: 100%;
    }
    
    .slide-description {
        font-size: 14px;
        max-width: 100%;
    }
    
    .slide-button {
        padding: 12px 24px;
        font-size: 13px;
    }
}

/* Performance Optimizations for Mobile */
@media screen and (max-width: 768px) {
    .slide-bg {
        /* Reduce animation intensity on mobile for better performance */
        transition: transform 5s ease;
    }
    
    .slide.active .slide-bg {
        transform: scale(1.05); /* Less scaling on mobile */
    }
}

/* High DPI / Retina Display Support */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 2dppx) {
    /* You can specify high-res images for retina displays if needed */
    .slide-bg.mobile-bg {
        /* Example: background-image: url('image/slide1-mobile@2x.webp'); */
    }
}

















/* Section Container */
.about-doctor {
    padding: 90px 0;
    background-color: var(--white);
    position: relative;
    overflow: hidden;
}

.about-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px; /* Further decreased gap between left and right sides */
}

/* Doctor Info Styles */
.doctor-info {
    width: 50%;
    padding-right: 10px;
}

.section-tag {
    display: inline-block;
    background-color: rgba(112, 145, 230, 0.15);
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 50px;
    margin-bottom: 20px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.section-title {
   font-family: 'Lilac', sans-serif;
    font-size: 44px;
    line-height: 1.2;
    color: var(--primary-color);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 3px;
    background: var(--secondary-color);
}

.doctor-specialty {
   font-family: 'Lilac', sans-serif;
    font-size: 20px;
    font-weight: 500;
    color: var(--midtone-color);
    margin-bottom: 25px;
    margin-top: 20px;
}

/* Doctor Description with Justified Text */
.doctor-description {
    margin-bottom: 30px;
}

.doctor-description p {
    font-family: 'Lilac', sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: var(--light-text);
    text-align: justify; /* Justified text alignment */
    margin-bottom: 0;
    hyphens: auto;
}

/* CTA Button */
.about-btn {
    display: inline-block;
   font-family: 'Lilac', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: var(--white);
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 14px 32px;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
    overflow: hidden;
    position: relative;
}

.about-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.7s ease;
}

.about-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

.about-btn:hover::before {
    left: 100%;
}

/* Doctor Image Styles */
.doctor-image-wrapper {
    width: 50%;
    position: relative;
    height: 580px;
}

/* Animated Background Elements */
.image-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.bg-circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    background: radial-gradient(circle, var(--secondary-color) 0%, var(--primary-color) 100%);
}

.circle-1 {
    top: 10%;
    right: 10%;
    width: 280px;
    height: 280px;
    animation: pulse 8s infinite alternate;
}

.circle-2 {
    bottom: 15%;
    left: 0;
    width: 200px;
    height: 200px;
    animation: pulse 10s infinite alternate-reverse;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.1);
    }
}

.bg-shape {
    position: absolute;
    top: 40%;
    right: 20%;
    width: 150px;
    height: 150px;
    background-color: var(--soft-neutral);
    opacity: 0.1;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation: morphing 20s infinite alternate;
}

@keyframes morphing {
    0% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }
    25% {
        border-radius: 58% 42% 75% 25% / 76% 46% 54% 24%;
    }
    50% {
        border-radius: 50% 50% 33% 67% / 55% 27% 73% 45%;
    }
    75% {
        border-radius: 33% 67% 58% 42% / 63% 68% 32% 37%;
    }
    100% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }
}

.bg-dots {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle, var(--primary-color) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.05;
}

/* Doctor Image Frame */
.doctor-frame {
    position: relative;
    z-index: 2;
    width: 90%;
    height: 90%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 5% auto;
}

.doctor-portrait {
    position: relative;
    z-index: 3;
    max-width: 90%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 20px;
    box-shadow: var(--shadow-medium);
    animation: fadeInScale 1s forwards;
}

.image-accent {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 60%;
    height: 85%;
    border: 5px solid var(--secondary-color);
    border-radius: 20px;
    z-index: 2;
    opacity: 0;
    animation: slideInAccent 1s 0.5s forwards;
}

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

@keyframes slideInAccent {
    0% {
        opacity: 0;
        transform: translate(20px, -20px);
    }
    100% {
        opacity: 1;
        transform: translate(0, 0);
    }
}

/* Experience Badge */
.experience-badge {
    position: absolute;
    bottom: 50px;
    left: 20px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 4;
    box-shadow: var(--shadow-medium);
    animation: fadeInRotate 1s 0.8s forwards;
    opacity: 0;
    transform: rotate(-15deg);
}

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

.badge-number {
   font-family: 'Lilac', sans-serif;
    font-size: 32px;
    line-height: 1;
}

.badge-text {
   font-family: 'Lilac', sans-serif;
    font-size: 12px;
    line-height: 1.2;
}

@keyframes fadeInRotate {
    0% {
        opacity: 0;
        transform: rotate(-25deg) scale(0.8);
    }
    100% {
        opacity: 1;
        transform: rotate(-15deg) scale(1);
    }
}

/* Responsive Styles */
@media screen and (max-width: 1200px) {
    .section-title {
        font-size: 40px;
    }
    
    .doctor-specialty {
        font-size: 18px;
    }
    
    .doctor-image-wrapper {
        height: 550px;
    }
}

@media screen and (max-width: 992px) {
    .about-container {
        flex-direction: column-reverse;
        gap: 40px;
    }
    
    .doctor-info, 
    .doctor-image-wrapper {
        width: 100%;
        padding-right: 0;
    }
    
    .doctor-image-wrapper {
        height: 500px;
    }
    
    .section-title {
        font-size: 36px;
    }
    
    .doctor-description p {
        text-align: center; /* Center text on mobile instead of justify */
    }
}

@media screen and (max-width: 768px) {
    .about-doctor {
        padding: 70px 0;
    }
    
    .about-container {
        padding: 0 20px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .doctor-image-wrapper {
        height: 450px;
    }
    
    .experience-badge {
        bottom: 30px;
        left: 10px;
        width: 90px;
        height: 90px;
    }
    
    .badge-number {
        font-size: 28px;
    }
}

@media screen and (max-width: 576px) {
    .about-doctor {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .doctor-specialty {
        font-size: 16px;
    }
    
    .doctor-image-wrapper {
        height: 400px;
    }
    
    .about-btn {
        width: 100%;
        text-align: center;
        padding: 12px 20px;
    }
    
    .experience-badge {
        width: 80px;
        height: 80px;
    }
    
    .badge-number {
        font-size: 24px;
    }
    
    .badge-text {
        font-size: 10px;
    }
}

















/* Services Section Styles */
.services-section {
    padding: 100px 0;
    background-color: var(--background-color);
    position: relative;
    overflow: hidden;
}

/* Animated Background Elements */
.services-bg-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.bg-circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.05;
    background: radial-gradient(circle, var(--secondary-color) 0%, var(--primary-color) 100%);
}

.circle-1 {
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    animation: floatAnimation 20s infinite alternate ease-in-out;
}

.circle-2 {
    bottom: -150px;
    left: -100px;
    width: 500px;
    height: 500px;
    animation: floatAnimation 25s infinite alternate-reverse ease-in-out;
}

.bg-shape {
    position: absolute;
    opacity: 0.05;
    background-color: var(--primary-color);
}

.shape-1 {
    top: 20%;
    right: 10%;
    width: 200px;
    height: 200px;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation: morphingAnimation 20s infinite alternate ease-in-out;
}

.shape-2 {
    bottom: 15%;
    left: 15%;
    width: 150px;
    height: 150px;
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    animation: morphingAnimation 18s infinite alternate-reverse ease-in-out;
    animation-delay: 5s;
}

.bg-dots {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle, var(--primary-color) 1px, transparent 1px);
    background-size: 25px 25px;
    opacity: 0.03;
    animation: moveBackground 40s infinite linear;
}

@keyframes floatAnimation {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(40px, 40px);
    }
}

@keyframes morphingAnimation {
    0% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
        transform: rotate(0deg);
    }
    25% {
        border-radius: 58% 42% 75% 25% / 76% 46% 54% 24%;
    }
    50% {
        border-radius: 50% 50% 33% 67% / 55% 27% 73% 45%;
        transform: rotate(180deg);
    }
    75% {
        border-radius: 33% 67% 58% 42% / 63% 68% 32% 37%;
    }
    100% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
        transform: rotate(360deg);
    }
}

@keyframes moveBackground {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 100px 100px;
    }
}

.ortho-container {
    position: relative;
    z-index: 2;
}

/* Services Header */
.services-header {
    text-align: center;
    margin-bottom: 80px;
}

.services-tag {
    display: inline-block;
    background-color: rgba(112, 145, 230, 0.15);
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 50px;
    margin-bottom: 20px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.services-title {
   font-family: 'Lilac', sans-serif;
    font-size: 42px;
    line-height: 1.2;
    color: var(--primary-color);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.services-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--secondary-color);
}

.services-subtitle {
    max-width: 700px;
    margin: 0 auto;
    font-size: 16px;
    color: var(--light-text);
    line-height: 1.6;
    margin-top: 25px;
}

/* Service Item */
.service-item {
    margin-bottom: 120px;
    position: relative;
}

.service-item:last-child {
    margin-bottom: 0;
}

.service-content {
    display: flex;
    align-items: center;
    gap: 70px;
}

/* Service Info */
.service-info {
    flex: 1;
    padding: 30px 0;
}

.service-name {
   font-family: 'Lilac', sans-serif;
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
    transform: translateY(20px);
    opacity: 0;
    animation: fadeInUp 0.8s forwards;
}

.service-item:nth-child(3) .service-name {
    animation-delay: 0.1s;
}

.service-item:nth-child(4) .service-name {
    animation-delay: 0.2s;
}

.service-name::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--secondary-color);
    transition: width 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.service-item.aos-animate .service-name::after {
    width: 60px;
}

.service-description {
    font-size: 16px;
    line-height: 1.8;
    color: var(--light-text);
    margin-bottom: 30px;
    transform: translateY(20px);
    opacity: 0;
    animation: fadeInUp 0.8s 0.2s forwards;
}

.service-item:nth-child(3) .service-description {
    animation-delay: 0.3s;
}

.service-item:nth-child(4) .service-description {
    animation-delay: 0.4s;
}

.service-btn {
    display: inline-flex;
    align-items: center;
    background-color: var(--primary-color);
    color: var(--white);
    font-size: 16px;
    font-weight: 600;
    padding: 0;
    border-radius: 50px;
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    box-shadow: 0 5px 15px rgba(61, 82, 160, 0.2);
    position: relative;
    overflow: hidden;
    transform: translateY(20px);
    opacity: 0;
    animation: fadeInUp 0.8s 0.4s forwards;
}

.service-item:nth-child(3) .service-btn {
    animation-delay: 0.5s;
}

.service-item:nth-child(4) .service-btn {
    animation-delay: 0.6s;
}

.btn-text {
    padding: 14px 25px;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    margin-right: 5px;
    position: relative;
    z-index: 2;
    transform: translateX(-5px);
    opacity: 0;
    transition: all 0.3s ease;
}

.service-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--secondary-color);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: 1;
}

.service-btn:hover {
    box-shadow: 0 8px 25px rgba(112, 145, 230, 0.4);
    transform: translateY(-3px);
}

.service-btn:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.service-btn:hover .btn-icon {
    transform: translateX(0);
    opacity: 1;
}

.service-btn:hover .btn-text {
    padding-left: 20px;
}

/* Service Images */
.service-images {
    flex: 1;
    display: flex;
    position: relative;
    height: 400px;
}

.service-image-primary {
    width: 65%;
    height: 300px;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    transform: translateY(30px) rotate(-3deg);
    opacity: 0;
    animation: fadeInSlideUp 1s 0.3s forwards;
    transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.service-image-secondary {
    width: 55%;
    height: 250px;
    position: absolute;
    bottom: 0;
    right: 0;
    z-index: 1;
    transform: translateY(30px) rotate(3deg);
    opacity: 0;
    animation: fadeInSlideUp 1s 0.5s forwards;
    transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.service-item:nth-child(odd) .service-image-primary {
    top: 0;
    left: 0;
}

.service-item:nth-child(odd) .service-image-secondary {
    bottom: 0;
    right: 0;
}

.service-item:nth-child(even) .service-image-primary {
    top: 0;
    right: 0;
    left: auto;
}

.service-item:nth-child(even) .service-image-secondary {
    bottom: 0;
    left: 0;
    right: auto;
}

/* Image Frame with Border */
.image-frame {
    width: 100%;
    height: 100%;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 5px solid var(--white);
    transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.image-frame::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 2px solid var(--secondary-color);
    border-radius: 15px;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.4s ease;
    z-index: 3;
    pointer-events: none;
}

.service-item:hover .image-frame::before {
    opacity: 1;
    transform: scale(1);
}

.service-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.1);
    transition: transform 1.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(61, 82, 160, 0.2), rgba(112, 145, 230, 0.4));
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 2;
}

/* Hover Effects */
.service-item:hover .service-image-primary {
    transform: translateY(10px) rotate(-5deg) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.service-item:hover .service-image-secondary {
    transform: translateY(-10px) rotate(5deg) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.service-item:hover .image-frame {
    border-color: var(--secondary-color);
}

.service-item:hover .service-img {
    transform: scale(1);
}

.service-item:hover .image-overlay {
    opacity: 1;
}

/* Service Divider */
.service-divider {
    height: 1px;
    background: linear-gradient(to right, transparent, var(--soft-neutral), transparent);
    margin-top: 60px;
    transform: scaleX(0);
    animation: scaleIn 1.2s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.service-item:last-child .service-divider {
    display: none;
}

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

@keyframes fadeInSlideUp {
    from {
        opacity: 0;
        transform: translateY(30px) rotate(var(--rotation));
    }
    to {
        opacity: 1;
        transform: translateY(0) rotate(var(--rotation));
    }
}

@keyframes scaleIn {
    from {
        transform: scaleX(0);
    }
    to {
        transform: scaleX(1);
    }
}

/* Animation when element enters viewport */
.service-item.aos-animate .service-image-primary {
    --rotation: -3deg;
}

.service-item.aos-animate .service-image-secondary {
    --rotation: 3deg;
}

.service-item:nth-child(even).aos-animate .service-image-primary {
    --rotation: 3deg;
}

.service-item:nth-child(even).aos-animate .service-image-secondary {
    --rotation: -3deg;
}

/* Responsive Styles */
@media screen and (max-width: 1200px) {
    .services-title {
        font-size: 38px;
    }
    
    .service-content {
        gap: 50px;
    }
    
    .service-name {
        font-size: 32px;
    }
    
    .service-images {
        height: 380px;
    }
    
    .service-image-primary {
        width: 70%;
        height: 280px;
    }
    
    .service-image-secondary {
        width: 60%;
        height: 230px;
    }
    
    .circle-1 {
        width: 350px;
        height: 350px;
    }
    
    .circle-2 {
        width: 450px;
        height: 450px;
    }
}

@media screen and (max-width: 992px) {
    .services-section {
        padding: 80px 0;
    }
    
    .services-header {
        margin-bottom: 60px;
    }
    
    .services-title {
        font-size: 34px;
    }
    
    .service-item {
        margin-bottom: 100px;
    }
    
    .service-content {
        flex-direction: column;
        gap: 60px;
    }
    
    .service-item:nth-child(even) .service-content {
        flex-direction: column;
    }
    
    .service-info, 
    .service-images {
        width: 100%;
    }
    
    .service-name {
        font-size: 30px;
    }
    
    .service-images {
        height: 450px;
        margin: 0 auto;
        max-width: 550px;
    }
    
    .service-image-primary {
        width: 75%;
        height: 320px;
        left: 0;
        top: 0;
    }
    
    .service-image-secondary {
        width: 65%;
        height: 270px;
        right: 0;
        bottom: 0;
    }
    
    .service-item:nth-child(even) .service-image-primary {
        left: 0;
        right: auto;
    }
    
    .service-item:nth-child(even) .service-image-secondary {
        right: 0;
        left: auto;
    }
    
    .shape-1 {
        width: 180px;
        height: 180px;
    }
    
    .shape-2 {
        width: 130px;
        height: 130px;
    }
}

@media screen and (max-width: 768px) {
    .services-section {
        padding: 70px 0;
    }
    
    .services-title {
        font-size: 30px;
    }
    
    .service-item {
        margin-bottom: 80px;
    }
    
    .service-name {
        font-size: 28px;
    }
    
    .service-description {
        font-size: 15px;
    }
    
    .btn-text {
        padding: 12px 22px;
        font-size: 15px;
    }
    
    .btn-icon {
        width: 40px;
        height: 40px;
    }
    
    .service-images {
        height: 400px;
    }
    
    .service-image-primary {
        width: 80%;
        height: 280px;
    }
    
    .service-image-secondary {
        width: 70%;
        height: 230px;
    }
    
    .circle-1,
    .circle-2 {
        width: 300px;
        height: 300px;
    }
    
    .shape-1 {
        width: 150px;
        height: 150px;
    }
    
    .shape-2 {
        width: 100px;
        height: 100px;
    }
}

/* Mobile-specific styles (matching the screenshots) */
@media screen and (max-width: 576px) {
    .services-section {
        padding: 60px 0;
    }
    
    .services-header {
        margin-bottom: 50px;
    }
    
    .services-title {
        font-size: 28px;
    }
    
    .services-subtitle {
        font-size: 15px;
    }
    
    .service-item {
        margin-bottom: 60px;
    }
    
    .service-content {
        gap: 20px;
    }
    
    .service-name {
        font-size: 26px;
    }
    
    .service-description {
        font-size: 14px;
    }
    
    .service-btn {
        width: 100%;
        margin-bottom: 30px;
    }
    
    .btn-text {
        width: 100%;
        text-align: center;
    }
    
    /* Mobile Gallery Style - matching your screenshots */
    .mobile-gallery {
        height: auto;
        display: flex;
        flex-direction: column;
        gap: 20px;
        position: static;
        margin: 0 auto;
    }
    
    .mobile-gallery .service-image-primary,
    .mobile-gallery .service-image-secondary {
        position: static;
        width: 100%;
        height: 190px;
        transform: none !important;
        opacity: 1;
        animation: none;
    }
    
    .mobile-gallery .image-frame {
        border-radius: 15px;
        border-width: 3px;
    }
    
    /* Fix for rotations on mobile */
    .service-item:hover .service-image-primary,
    .service-item:hover .service-image-secondary {
        transform: none !important;
    }
    
    .service-divider {
        margin-top: 40px;
    }
    
    .circle-1,
    .circle-2 {
        width: 250px;
        height: 250px;
    }
    
    .bg-dots {
        background-size: 20px 20px;
    }
}

/* iPhone SE specific adjustments */
@media screen and (max-width: 375px) {
    .services-section {
        padding: 40px 0;
    }
    
    .services-title {
        font-size: 24px;
    }
    
    .service-name {
        font-size: 22px;
    }
    
    .service-description {
        font-size: 14px;
        line-height: 1.6;
    }
    
    .mobile-gallery .service-image-primary,
    .mobile-gallery .service-image-secondary {
        height: 170px;
    }
    
    .ortho-container {
        padding: 0 15px;
    }
    
    .btn-text {
        padding: 10px 20px;
        font-size: 14px;
    }
}




























/* Testimonials Section Styles */
.testimonials-section {
    padding: 120px 0;
    background-color: var(--white);
    position: relative;
    overflow: hidden;
}

/* Animated Background Elements */
.testimonials-bg-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.bg-wave {
    position: absolute;
    opacity: 0.05;
    background-color: var(--primary-color);
}

.wave-1 {
    top: -150px;
    right: -100px;
    width: 800px;
    height: 800px;
    border-radius: 45% 55% 70% 30% / 30% 40% 60% 70%;
    animation: waveAnimation 20s infinite linear;
}

.wave-2 {
    bottom: -200px;
    left: -100px;
    width: 700px;
    height: 700px;
    border-radius: 60% 40% 30% 70% / 40% 50% 50% 60%;
    animation: waveAnimation 25s infinite linear reverse;
}

.circle-3 {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 500px;
    opacity: 0.03;
    border-radius: 50%;
    background: radial-gradient(circle, var(--secondary-color) 0%, transparent 70%);
    animation: pulseAnimation 8s infinite alternate ease-in-out;
}

.bg-dots-small {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle, var(--primary-color) 1px, transparent 1px);
    background-size: 15px 15px;
    opacity: 0.02;
}

@keyframes waveAnimation {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes pulseAnimation {
    0% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0.02;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.04;
    }
}

.ortho-container {
    position: relative;
    z-index: 2;
}

/* Testimonials Header */
.testimonials-header {
    text-align: center;
    margin-bottom: 60px;
}

.testimonials-tag {
    display: inline-block;
    background-color: rgba(112, 145, 230, 0.15);
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 50px;
    margin-bottom: 20px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.testimonials-title {
   font-family: 'Lilac', sans-serif;
    font-size: 42px;
    line-height: 1.2;
    color: var(--primary-color);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.testimonials-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--secondary-color);
}

.testimonials-subtitle {
    max-width: 700px;
    margin: 0 auto;
    font-size: 16px;
    color: var(--light-text);
    line-height: 1.6;
    margin-top: 25px;
}

/* Testimonials Carousel */
.testimonials-carousel {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 20px 0;
}

.testimonials-track {
    position: relative;
    width: 100%;
    height: 380px;
}

/* Testimonial Card */
.testimonial-card {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--background-color);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: 1;
    border-left: 5px solid var(--primary-color);
}

.testimonial-card.active {
    opacity: 1;
    transform: translateX(0);
    z-index: 5;
}

.testimonial-card.prev {
    opacity: 0;
    transform: translateX(-50px);
    z-index: 4;
}

.testimonial-card.next {
    opacity: 0;
    transform: translateX(50px);
    z-index: 4;
}

/* Testimonial Content */
.testimonial-content {
    margin-bottom: 30px;
    position: relative;
}

.quote-icon {
    font-size: 36px;
    color: var(--secondary-color);
    opacity: 0.3;
    margin-bottom: 15px;
}

.testimonial-text {
    font-size: 17px;
    line-height: 1.8;
    color: var(--dark-text);
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-rating {
    color: #FFD700;
    font-size: 16px;
    display: flex;
    gap: 5px;
}

/* Testimonial Author */
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-image {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--white);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
   font-family: 'Lilac', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.author-procedure {
    font-size: 14px;
    color: var(--secondary-color);
}

/* Testimonial Controls */
.testimonial-controls {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.control-dots {
    display: flex;
    gap: 10px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--soft-neutral);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    width: 25px;
    border-radius: 10px;
    background-color: var(--secondary-color);
}

.control-arrows {
    display: flex;
    gap: 15px;
}

.control-arrow {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: var(--white);
    color: var(--primary-color);
    border: 1px solid var(--soft-neutral);
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.control-arrow:hover {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(61, 82, 160, 0.2);
}

/* Responsive Styles */
@media screen and (max-width: 1200px) {
    .testimonials-title {
        font-size: 38px;
    }
    
    .wave-1,
    .wave-2 {
        width: 600px;
        height: 600px;
    }
}

@media screen and (max-width: 992px) {
    .testimonials-section {
        padding: 100px 0;
    }
    
    .testimonials-header {
        margin-bottom: 50px;
    }
    
    .testimonials-title {
        font-size: 34px;
    }
    
    .testimonial-text {
        font-size: 16px;
    }
    
    .testimonials-track {
        height: 400px;
    }
}

@media screen and (max-width: 768px) {
    .testimonials-section {
        padding: 80px 0;
    }
    
    .testimonials-title {
        font-size: 30px;
    }
    
    .testimonial-card {
        padding: 30px;
    }
    
    .testimonial-text {
        font-size: 15px;
    }
    
    .testimonials-track {
        height: 420px;
    }
    
    .wave-1,
    .wave-2 {
        width: 400px;
        height: 400px;
    }
    
    .circle-3 {
        width: 300px;
        height: 300px;
    }
}

@media screen and (max-width: 576px) {
    .testimonials-section {
        padding: 70px 0;
    }
    
    .testimonials-title {
        font-size: 28px;
    }
    
    .testimonials-subtitle {
        font-size: 15px;
    }
    
    .testimonial-card {
        padding: 25px 20px;
    }
    
    .quote-icon {
        font-size: 30px;
    }
    
    .testimonial-text {
        font-size: 14px;
    }
    
    .author-name {
        font-size: 16px;
    }
    
    .author-procedure {
        font-size: 13px;
    }
    
    .testimonials-track {
        height: 460px;
    }
    
    .author-image {
        width: 55px;
        height: 55px;
    }
}





















/* Modern Footer Styles */
.ortho-footer {
    position: relative;
    background-color: var(--primary-color);
    color: var(--white);
   font-family: 'Lilac', sans-serif;
}

/* Top Wave SVG */
.footer-wave-top {
    position: relative;
    width: 100%;
    height: 200px;
    margin-bottom: -10px;
    overflow: hidden;
}

.footer-wave-top svg {
    position: absolute;
    width: 100%;
    height: 100%;
    bottom: 0;
}

/* Main Footer Content */
.footer-main {
    position: relative;
    padding: 80px 0 40px;
    overflow: hidden;
}

.footer-main::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(90deg, rgba(61, 82, 160, 0.95) 0%, rgba(61, 82, 160, 0.85) 100%);
    z-index: 1;
}

.ortho-container {
    position: relative;
    z-index: 2;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
    margin-bottom: 60px;
}

/* Logo & About Area */
.footer-about {
    margin-bottom: 20px;
}

.footer-logo a {
    display: inline-block;
   font-family: 'Lilac', sans-serif;
    font-size: 32px;
    color: var(--white);
    margin-bottom: 15px;
}

.footer-tagline {
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 25px;
}

/* Contact Information */
.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.contact-icon {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.contact-item:hover .contact-icon {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}

.contact-icon i {
    font-size: 18px;
}

.contact-text p {
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}

.contact-text a {
    color: var(--white);
    transition: color 0.3s ease;
}

.contact-text a:hover {
    color: var(--secondary-color);
}

/* Office Hours */
.footer-heading {
   font-family: 'Lilac', sans-serif;
    font-size: 22px;
    color: var(--white);
    margin-bottom: 20px;
    padding-bottom: 10px;
    position: relative;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--secondary-color);
}

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

.hours-list li {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
}

.hours-list li:last-child {
    border-bottom: none;
}

.day {
    font-weight: 500;
}

.time {
    color: rgba(255, 255, 255, 0.8);
}

/* Newsletter */
.footer-newsletter {
    margin-top: 30px;
}

.newsletter-text {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.8);
}

.newsletter-form {
    position: relative;
}

.form-group {
    position: relative;
    overflow: hidden;
    border-radius: 50px;
}

.newsletter-input {
    width: 100%;
    height: 50px;
    padding: 0 70px 0 20px;
    background-color: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50px;
    color: var(--white);
    font-size: 15px;
    transition: all 0.3s ease;
}

.newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter-input:focus {
    background-color: rgba(255, 255, 255, 0.15);
    outline: none;
}

.newsletter-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--secondary-color);
    color: var(--white);
    border: none;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.newsletter-btn:hover {
    background-color: var(--white);
    color: var(--primary-color);
    transform: translateX(3px);
}

/* Insurance Logos */
.insurance-logos {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.insurance-logo {
    height: 50px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    transition: all 0.3s ease;
}

.insurance-logo:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.insurance-logo img {
    max-width: 100%;
    max-height: 100%;
    filter: brightness(0) invert(1);
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.insurance-logo:hover img {
    opacity: 1;
}

/* Social Icons */
.footer-social {
    margin-top: 30px;
}

.social-icons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.social-icon {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    font-size: 18px;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: var(--secondary-color);
    color: var(--white);
    transform: translateY(-3px);
}

/* Footer Bottom */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
}

.copyright p {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

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

.footer-disclaimers a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
}

.footer-disclaimers a:hover {
    color: var(--white);
}

.divider {
    margin: 0 10px;
    color: rgba(255, 255, 255, 0.3);
}

/* Back to Top Button */
.back-to-top {
    position: absolute;
    right: 30px;
    bottom: 30px;
    z-index: 10;
}

.top-button {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--secondary-color);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.top-button:hover {
    background-color: var(--white);
    color: var(--secondary-color);
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Responsive Styles */
@media screen and (max-width: 1200px) {
    .footer-content {
        gap: 30px;
    }
    
    .footer-heading {
        font-size: 20px;
    }
    
    .insurance-logos {
        gap: 10px;
    }
}

@media screen and (max-width: 992px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-about {
        grid-column: span 2;
    }
    
    .footer-contact-info {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
    
    .insurance-logos {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media screen and (max-width: 768px) {
    .footer-main {
        padding: 60px 0 30px;
    }
    
    .footer-wave-top {
        height: 150px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-about {
        grid-column: span 1;
    }
    
    .footer-contact-info {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .insurance-logos {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .back-to-top {
        right: 20px;
        bottom: 20px;
    }
    
    .top-button {
        width: 40px;
        height: 40px;
    }
}

@media screen and (max-width: 576px) {
    .footer-main {
        padding: 50px 0 30px;
    }
    
    .footer-wave-top {
        height: 100px;
    }
    
    .footer-content {
        gap: 30px;
    }
    
    .footer-logo a {
        font-size: 28px;
    }
    
    .contact-icon {
        width: 36px;
        height: 36px;
    }
    
    .contact-icon i {
        font-size: 16px;
    }
    
    .contact-text p {
        font-size: 14px;
    }
    
    .social-icon {
        width: 38px;
        height: 38px;
    }
    
    .footer-disclaimers {
        flex-direction: column;
        gap: 10px;
    }
    
    .divider {
        display: none;
    }
}
















/* Inner Page Banner Styles */
.ortho-inner-banner {
    position: relative;
    background-color: var(--primary-color);
    padding: 120px 0 80px;
    overflow: hidden;
}

/* Animated Background Elements */
.ortho-inner-banner-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.ortho-inner-banner-shape {
    position: absolute;
    background-color: var(--secondary-color);
    opacity: 0.1;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
}

.ortho-inner-banner-shape.shape-1 {
    top: -50px;
    right: -50px;
    width: 300px;
    height: 300px;
    animation: morphingAnimation 20s infinite alternate ease-in-out;
}

.ortho-inner-banner-shape.shape-2 {
    bottom: -100px;
    left: -50px;
    width: 250px;
    height: 250px;
    animation: morphingAnimation 25s infinite alternate-reverse ease-in-out;
}

.ortho-inner-banner-dots {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle, var(--white) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.05;
}

/* Banner Content */
.ortho-inner-banner-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
}

.ortho-inner-banner-title {
   font-family: 'Lilac', sans-serif;
    font-size: 52px;
    font-weight: 400;
    color: var(--white);
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s forwards 0.3s;
    position: relative;
    display: inline-block;
}

.ortho-inner-banner-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 80px;
    height: 3px;
    background-color: var(--secondary-color);
    animation: expandWidth 0.8s forwards 0.8s;
}

.ortho-inner-banner-path {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s forwards 0.6s;
}

.ortho-inner-banner-link {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    transition: all 0.3s ease;
}

.ortho-inner-banner-link:hover {
    color: var(--white);
    text-decoration: underline;
}

.ortho-inner-banner-separator {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
    font-size: 12px;
}

.ortho-inner-banner-current {
    color: var(--secondary-color);
    font-weight: 600;
}

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

@keyframes expandWidth {
    from {
        transform: translateX(-50%) scaleX(0);
    }
    to {
        transform: translateX(-50%) scaleX(1);
    }
}

@keyframes morphingAnimation {
    0% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
        transform: rotate(0deg);
    }
    25% {
        border-radius: 58% 42% 75% 25% / 76% 46% 54% 24%;
    }
    50% {
        border-radius: 50% 50% 33% 67% / 55% 27% 73% 45%;
        transform: rotate(180deg);
    }
    75% {
        border-radius: 33% 67% 58% 42% / 63% 68% 32% 37%;
    }
    100% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
        transform: rotate(360deg);
    }
}

/* Media Queries */
@media screen and (max-width: 1200px) {
    .ortho-inner-banner {
        padding: 110px 0 70px;
    }
    
    .ortho-inner-banner-title {
        font-size: 48px;
    }
}

@media screen and (max-width: 992px) {
    .ortho-inner-banner {
        padding: 100px 0 60px;
    }
    
    .ortho-inner-banner-title {
        font-size: 42px;
    }
    
    .ortho-inner-banner-shape.shape-1 {
        width: 250px;
        height: 250px;
    }
    
    .ortho-inner-banner-shape.shape-2 {
        width: 200px;
        height: 200px;
    }
}

@media screen and (max-width: 768px) {
    .ortho-inner-banner {
        padding: 90px 0 50px;    }
    
    .ortho-inner-banner-title {
        font-size: 36px;
    }
}

@media screen and (max-width: 576px) {
    .ortho-inner-banner {
        padding: 80px 0 40px;
    }
    
    .ortho-inner-banner-title {
        font-size: 32px;
    }
    
    .ortho-inner-banner-path {
        margin-top: 25px;
        font-size: 14px;
    }
    
    .ortho-inner-banner-shape.shape-1 {
        width: 200px;
        height: 200px;
    }
    
    .ortho-inner-banner-shape.shape-2 {
        width: 150px;
        height: 150px;
    }
}




















/* About Doctor Section Styles for About Page */
.ortho-about-doctor-detail {
    padding: 100px 0;
    background-color: var(--white);
    position: relative;
    overflow: hidden;
}

/* Doctor Section Wrapper */
.ortho-about-doctor-wrapper {
    display: flex;
    align-items: center;
    gap: 60px;
}

/* Left Side - Image Area */
.ortho-about-doctor-image-area {
    width: 45%;
    position: relative;
    height: 600px;
}

/* Animated Background Elements */
.ortho-about-doctor-bg-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.ortho-about-doctor-circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    background: radial-gradient(circle, var(--secondary-color) 0%, var(--primary-color) 100%);
}

.ortho-about-doctor-circle.circle-1 {
    top: 5%;
    right: 5%;
    width: 300px;
    height: 300px;
    animation: pulseEffect 8s infinite alternate;
}

.ortho-about-doctor-circle.circle-2 {
    bottom: 10%;
    left: -5%;
    width: 220px;
    height: 220px;
    animation: pulseEffect 10s infinite alternate-reverse;
}

@keyframes pulseEffect {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.1);
    }
}

.ortho-about-doctor-shape {
    position: absolute;
    top: 40%;
    right: 15%;
    width: 180px;
    height: 180px;
    background-color: var(--soft-neutral);
    opacity: 0.1;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation: morphEffect 20s infinite alternate;
}

@keyframes morphEffect {
    0% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }
    25% {
        border-radius: 58% 42% 75% 25% / 76% 46% 54% 24%;
    }
    50% {
        border-radius: 50% 50% 33% 67% / 55% 27% 73% 45%;
    }
    75% {
        border-radius: 33% 67% 58% 42% / 63% 68% 32% 37%;
    }
    100% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }
}

.ortho-about-doctor-dots {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle, var(--primary-color) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.05;
}

/* Doctor Image Frame */
.ortho-about-doctor-frame {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.ortho-about-doctor-img {
    position: relative;
    z-index: 3;
    max-width: 85%;
    max-height: 100%;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 5px solid var(--white);
}

.ortho-about-doctor-img::after {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 70%;
    height: 85%;
    border: 5px solid var(--secondary-color);
    border-radius: 20px;
    z-index: 2;
}

/* Experience Badge */
.ortho-about-doctor-badge {
    position: absolute;
    bottom: 60px;
    left: 30px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    width: 120px;
    height: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 4;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    animation: rotateAndFade 1s ease-out forwards;
    transform: rotate(-15deg);
}

@keyframes rotateAndFade {
    0% {
        opacity: 0;
        transform: rotate(-25deg) scale(0.8);
    }
    100% {
        opacity: 1;
        transform: rotate(-15deg) scale(1);
    }
}

.ortho-about-doctor-years {
   font-family: 'Lilac', sans-serif;
    font-size: 38px;
    line-height: 1;
}

.ortho-about-doctor-exp {
   font-family: 'Lilac', sans-serif;
    font-size: 13px;
    line-height: 1.2;
    text-align: center;
    max-width: 80%;
    margin-top: 5px;
}

/* Right Side - Content Area */
.ortho-about-doctor-content {
    width: 55%;
}

.ortho-about-doctor-tag {
    display: inline-block;
    background-color: rgba(112, 145, 230, 0.15);
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 50px;
    margin-bottom: 20px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.ortho-about-doctor-name {
   font-family: 'Lilac', sans-serif;
    font-size: 48px;
    line-height: 1.2;
    color: var(--primary-color);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.ortho-about-doctor-name::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 3px;
    background: var(--secondary-color);
}

.ortho-about-doctor-specialty {
   font-family: 'Lilac', sans-serif;
    font-size: 22px;
    font-weight: 500;
    color: var(--midtone-color);
    margin-bottom: 25px;
    margin-top: 20px;
}

/* Doctor Description with Justified Text */
.ortho-about-doctor-description {
    margin-bottom: 35px;
}

.ortho-about-doctor-description p {
   font-family: 'Lilac', sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: var(--light-text);
    text-align: justify;
    margin-bottom: 0;
    hyphens: auto;
}

/* Credentials Section */
.ortho-about-doctor-credentials {
    display: flex;
    gap: 30px;
    margin-top: 35px;
}

.ortho-about-doctor-credential {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.ortho-about-doctor-credential-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    border-radius: 50%;
    background-color: rgba(112, 145, 230, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 20px;
    transition: all 0.3s ease;
}

.ortho-about-doctor-credential:hover .ortho-about-doctor-credential-icon {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
}

.ortho-about-doctor-credential-text h4 {
   font-family: 'Lilac', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.ortho-about-doctor-credential-text p {
    font-size: 15px;
    color: var(--light-text);
    margin: 0;
}

/* Responsive Styles */
@media screen and (max-width: 1200px) {
    .ortho-about-doctor-wrapper {
        gap: 40px;
    }
    
    .ortho-about-doctor-name {
        font-size: 42px;
    }
    
    .ortho-about-doctor-specialty {
        font-size: 20px;
    }
    
    .ortho-about-doctor-image-area {
        height: 550px;
    }
    
    .ortho-about-doctor-circle.circle-1 {
        width: 260px;
        height: 260px;
    }
    
    .ortho-about-doctor-circle.circle-2 {
        width: 200px;
        height: 200px;
    }
}

@media screen and (max-width: 992px) {
    .ortho-about-doctor-detail {
        padding: 80px 0;
    }
    
    .ortho-about-doctor-wrapper {
        flex-direction: column;
        gap: 60px;
    }
    
    .ortho-about-doctor-image-area,
    .ortho-about-doctor-content {
        width: 100%;
    }
    
    .ortho-about-doctor-image-area {
        height: 500px;
    }
    
    .ortho-about-doctor-name {
        font-size: 38px;
    }
    
    .ortho-about-doctor-specialty {
        font-size: 18px;
    }
    
    .ortho-about-doctor-badge {
        width: 110px;
        height: 110px;
    }
    
    .ortho-about-doctor-years {
        font-size: 34px;
    }
    
    .ortho-about-doctor-exp {
        font-size: 12px;
    }
}

@media screen and (max-width: 768px) {
    .ortho-about-doctor-detail {
        padding: 70px 0;
    }
    
    .ortho-about-doctor-image-area {
        height: 450px;
    }
    
    .ortho-about-doctor-name {
        font-size: 34px;
    }
    
    .ortho-about-doctor-credentials {
        flex-direction: column;
        gap: 20px;
    }
    
    .ortho-about-doctor-badge {
        width: 100px;
        height: 100px;
        bottom: 50px;
        left: 20px;
    }
    
    .ortho-about-doctor-years {
        font-size: 30px;
    }
    
    .ortho-about-doctor-exp {
        font-size: 11px;
    }
}

@media screen and (max-width: 576px) {
    .ortho-about-doctor-detail {
        padding: 60px 0;
    }
    
    .ortho-about-doctor-image-area {
        height: 400px;
    }
    
    .ortho-about-doctor-name {
        font-size: 30px;
    }
    
    .ortho-about-doctor-specialty {
        font-size: 16px;
    }
    
    .ortho-about-doctor-description p {
        font-size: 15px;
        line-height: 1.7;
        /* For mobile, center-align the text instead of justify for better readability */
        text-align: left;
    }
    
    .ortho-about-doctor-badge {
        width: 90px;
        height: 90px;
        bottom: 40px;
        left: 15px;
    }
    
    .ortho-about-doctor-years {
        font-size: 28px;
    }
    
    .ortho-about-doctor-exp {
        font-size: 10px;
    }
    
    .ortho-about-doctor-credential-icon {
        width: 45px;
        height: 45px;
        min-width: 45px;
        font-size: 18px;
    }
    
    .ortho-about-doctor-credential-text h4 {
        font-size: 16px;
    }
    
    .ortho-about-doctor-credential-text p {
        font-size: 14px;
    }
}






/* Doctor's Achievements Section Styles */
.ortho-achievements-section {
    padding: 100px 0;
    background-color: var(--background-color);
    position: relative;
    overflow: hidden;
}

.ortho-achievements-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 20% 30%, rgba(173, 187, 218, 0.2) 0%, transparent 50%),
                      radial-gradient(circle at 80% 70%, rgba(112, 145, 230, 0.15) 0%, transparent 40%);
    z-index: 1;
}

.ortho-container {
    position: relative;
    z-index: 2;
}

/* Section Header */
.ortho-achievements-header {
    text-align: center;
    margin-bottom: 60px;
}

.ortho-achievements-tag {
    display: inline-block;
    background: linear-gradient(135deg, rgba(112, 145, 230, 0.2) 0%, rgba(61, 82, 160, 0.2) 100%);
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 50px;
    margin-bottom: 20px;
    letter-spacing: 1px;
    text-transform: uppercase;
    box-shadow: 0 5px 15px rgba(61, 82, 160, 0.1);
}

.ortho-achievements-title {
   font-family: 'Lilac', sans-serif;
    font-size: 48px;
    line-height: 1.2;
    color: var(--primary-color);
    margin-bottom: 0;
    position: relative;
    display: inline-block;
}

.ortho-achievements-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    border-radius: 3px;
}

/* Category Selection */
.ortho-achievements-categories {
    display: flex;
    justify-content: center;
    margin-bottom: 50px;
    position: relative;
}

.ortho-achievements-categories::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--soft-neutral), transparent);
}

.ortho-category-selector {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 40px;
    cursor: pointer;
    position: relative;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.ortho-category-selector::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    width: 0;
    height: 3px;
    background-color: var(--secondary-color);
    transform: translateX(-50%);
    transition: width 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-radius: 3px;
    z-index: 10;
}

.ortho-category-selector.active::after {
    width: 100%;
}

.ortho-category-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--white) 0%, rgba(237, 232, 245, 0.5) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    font-size: 30px;
    color: var(--primary-color);
    box-shadow: 0 10px 20px rgba(61, 82, 160, 0.1);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.ortho-category-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.ortho-category-icon i {
    position: relative;
    z-index: 2;
    transition: all 0.4s ease;
}

.ortho-category-title {
   font-family: 'Lilac', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: var(--light-text);
    margin: 0;
    transition: all 0.4s ease;
}

.ortho-category-selector:hover .ortho-category-icon,
.ortho-category-selector.active .ortho-category-icon {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(61, 82, 160, 0.2);
}

.ortho-category-selector:hover .ortho-category-icon::before,
.ortho-category-selector.active .ortho-category-icon::before {
    opacity: 1;
}

.ortho-category-selector:hover .ortho-category-icon i,
.ortho-category-selector.active .ortho-category-icon i {
    color: var(--white);
}

.ortho-category-selector:hover .ortho-category-title,
.ortho-category-selector.active .ortho-category-title {
    color: var(--primary-color);
}

/* Achievement Categories Display */
.ortho-achievements-display {
    position: relative;
    margin-top: 60px;
}

.ortho-achievement-category {
    display: none;
    animation: fadeIn 0.5s forwards;
}

.ortho-achievement-category.active {
    display: block;
}

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

/* Cards Layout */
.ortho-achievement-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    perspective: 1000px;
}

/* 3D Flip Card */
.ortho-achievement-card {
    height: 300px;
    background-color: transparent;
    perspective: 1000px;
    cursor: pointer;
}

.ortho-achievement-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
    box-shadow: 0 15px 35px rgba(61, 82, 160, 0.1);
    border-radius: 20px;
}

.ortho-achievement-card:hover .ortho-achievement-card-inner {
    transform: rotateY(180deg);
}

.ortho-achievement-card-front, 
.ortho-achievement-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 20px;
    overflow: hidden;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.ortho-achievement-card-front {
    background: linear-gradient(to bottom, var(--white) 0%, var(--background-color) 100%);
    color: var(--primary-color);
}

.ortho-achievement-card-back {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    transform: rotateY(180deg);
}

/* Card Content Styling */
.ortho-achievement-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(112, 145, 230, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 32px;
    color: var(--primary-color);
    box-shadow: 0 10px 20px rgba(61, 82, 160, 0.1);
}

.ortho-achievement-card-title {
   font-family: 'Lilac', sans-serif;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    text-align: center;
}

.ortho-achievement-year {
    font-size: 14px;
    font-weight: 500;
    padding: 5px 15px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50px;
    margin-top: 10px;
    box-shadow: 0 5px 15px rgba(61, 82, 160, 0.2);
}

.ortho-achievement-card-desc {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
    text-align: center;
}

.ortho-achievement-card-footer {
    font-size: 13px;
    font-weight: 600;
    opacity: 0.8;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 10px;
    width: 100%;
    text-align: center;
}

/* Animation for card entry */
.ortho-achievement-card {
    opacity: 0;
    transform: translateY(30px);
    animation: cardEntrance 0.6s forwards;
}

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

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

/* Responsive Styles */
@media screen and (max-width: 1200px) {
    .ortho-achievement-cards {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .ortho-achievements-title {
        font-size: 42px;
    }
}

@media screen and (max-width: 992px) {
    .ortho-achievements-section {
        padding: 80px 0;
    }
    
    .ortho-achievements-title {
        font-size: 38px;
    }
    
    .ortho-category-selector {
        padding: 15px 25px;
    }
    
    .ortho-category-icon {
        width: 70px;
        height: 70px;
        font-size: 26px;
    }
    
    .ortho-category-title {
        font-size: 16px;
    }
}

@media screen and (max-width: 768px) {
    .ortho-achievements-section {
        padding: 70px 0;
    }
    
    .ortho-achievements-title {
        font-size: 34px;
    }
    
    .ortho-achievement-cards {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .ortho-category-selector {
        padding: 10px 15px;
    }
    
    .ortho-category-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
    
    .ortho-category-title {
        font-size: 14px;
    }
    
    .ortho-achievement-card {
        height: 260px;
    }
}

@media screen and (max-width: 576px) {
    .ortho-achievements-section {
        padding: 60px 0;
    }
    
    .ortho-achievements-title {
        font-size: 30px;
    }
    
    .ortho-achievements-categories {
        flex-direction: column;
        gap: 10px;
        margin-bottom: 40px;
    }
    
    .ortho-achievements-categories::after {
        display: none;
    }
    
    .ortho-category-selector {
        flex-direction: row;
        justify-content: flex-start;
        width: 100%;
        padding: 15px 20px;
        border-radius: 10px;
        background-color: var(--white);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
        margin-bottom: 10px;
        gap: 15px;
        align-items: center;
    }
    
    .ortho-category-selector::after {
        display: none;
    }
    
    .ortho-category-selector.active {
        background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    }
    
    .ortho-category-selector.active .ortho-category-title {
        color: var(--white);
    }
    
    .ortho-category-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 0;
        font-size: 20px;
    }
    
    .ortho-achievement-card-front, 
    .ortho-achievement-card-back {
        padding: 20px;
    }
    
    .ortho-achievement-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
        margin-bottom: 15px;
    }
    
    .ortho-achievement-card-title {
        font-size: 16px;
        margin-bottom: 10px;
    }
    
    .ortho-achievement-card-desc {
        font-size: 13px;
    }
}











/* CTA Section Styles */
.ortho-cta-section {
    position: relative;
    padding: 80px 0;
    background-color: var(--white);
    overflow: hidden;
}

/* CTA Wrapper */
.ortho-cta-wrapper {
    display: flex;
    align-items: stretch;
    background-color: var(--background-color);
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

/* CTA Content */
.ortho-cta-content {
    width: 60%;
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ortho-cta-title {
   font-family: 'Lilac', sans-serif;
    font-size: 36px;
    line-height: 1.2;
    color: var(--primary-color);
    margin-bottom: 20px;
    position: relative;
}

.ortho-cta-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 3px;
    background: var(--secondary-color);
}

.ortho-cta-description {
    font-size: 17px;
    line-height: 1.7;
    color: var(--light-text);
    margin-bottom: 30px;
    max-width: 90%;
}

/* CTA Features */
.ortho-cta-features {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.ortho-cta-feature {
    display: flex;
    align-items: center;
    gap: 15px;
}

.ortho-cta-feature-icon {
    width: 45px;
    height: 45px;
    min-width: 45px;
    border-radius: 50%;
    background-color: rgba(112, 145, 230, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 18px;
    transition: all 0.3s ease;
}

.ortho-cta-feature:hover .ortho-cta-feature-icon {
    background-color: var(--primary-color);
    color: var(--white);
    transform: scale(1.1);
}

.ortho-cta-feature-text {
    font-size: 16px;
    font-weight: 500;
    color: var(--dark-text);
}

/* CTA Buttons */
.ortho-cta-buttons {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.ortho-cta-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.ortho-cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateX(-100%);
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: -1;
}

.ortho-cta-button:hover::before {
    transform: translateX(0);
}

.ortho-cta-button.primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    box-shadow: 0 10px 25px rgba(61, 82, 160, 0.2);
}

.ortho-cta-button.primary:hover {
    box-shadow: 0 15px 30px rgba(61, 82, 160, 0.3);
    transform: translateY(-3px);
}

.ortho-cta-button.secondary {
    background-color: rgba(112, 145, 230, 0.1);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.ortho-cta-button.secondary:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
}

.ortho-cta-button i {
    font-size: 18px;
}

/* Enhanced CTA Image Styling with Professional Border */
.ortho-cta-image-wrapper {
    width: 40%;
    position: relative;
    padding: 20px;
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

.ortho-cta-image-border {
    position: relative;
    width: 100%;
    height: 100%;
    padding: 10px;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.ortho-cta-image-border::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: 10px;
    pointer-events: none;
}

.ortho-cta-image-container {
    position: relative;
    width: 100%;
    height: 360px;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

.ortho-cta-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 1.5s ease;
}

.ortho-cta-image-wrapper:hover .ortho-cta-image {
    transform: scale(1.05);
}

/* Image Overlay with Medical Tech Graphics */
.ortho-cta-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, 
        rgba(61,82,160,0.3) 0%, 
        rgba(61,82,160,0) 100%
    );
    pointer-events: none;
}

/* Enhanced Badge Design */
.ortho-cta-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 100px;
    height: 100px;
    background-color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2), 0 0 0 5px rgba(255,255,255,0.1);
    animation: badgePulse 3s infinite alternate ease-in-out;
    z-index: 5;
}

@keyframes badgePulse {
    0% {
        transform: scale(1);
        box-shadow: 0 5px 15px rgba(0,0,0,0.2), 0 0 0 5px rgba(255,255,255,0.1);
    }
    100% {
        transform: scale(1.05);
        box-shadow: 0 8px 25px rgba(0,0,0,0.25), 0 0 0 8px rgba(255,255,255,0.15);
    }
}

.ortho-cta-badge-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.ortho-cta-badge-number {
   font-family: 'Lilac', sans-serif;
    font-size: 28px;
    line-height: 1;
    color: var(--primary-color);
    font-weight: 700;
}

.ortho-cta-badge-text {
    font-size: 11px;
    line-height: 1.2;
    color: var(--light-text);
    margin-top: 4px;
    max-width: 80%;
    font-weight: 500;
}

/* Wave Transition to Footer */
.ortho-wave-transition {
    position: relative;
    width: 100%;
    height: 200px;
    margin-top: -1px; /* Eliminate gap between CTA and wave */
    margin-bottom: -5px; /* Eliminate gap between wave and footer */
    overflow: hidden;
}

.ortho-wave-transition svg {
    position: absolute;
    width: 100%;
    height: 100%;
    bottom: 0;
    left: 0;
}

/* Responsive Styles */
@media screen and (max-width: 1200px) {
    .ortho-cta-content {
        padding: 40px;
    }
    
    .ortho-cta-title {
        font-size: 32px;
    }
    
    .ortho-cta-description {
        font-size: 16px;
    }
    
    .ortho-cta-image-container {
        height: 320px;
    }
    
    .ortho-cta-badge {
        width: 90px;
        height: 90px;
    }
    
    .ortho-cta-badge-number {
        font-size: 24px;
    }
    
    .ortho-wave-transition {
        height: 180px;
    }
}

@media screen and (max-width: 992px) {
    .ortho-cta-section {
        padding: 70px 0;
    }
    
    .ortho-cta-wrapper {
        flex-direction: column;
    }
    
    .ortho-cta-content {
        width: 100%;
        padding: 40px 30px;
        order: 2;
    }
    
    .ortho-cta-title {
        font-size: 30px;
    }
    
    .ortho-cta-description {
        max-width: 100%;
    }
    
    .ortho-cta-image-wrapper {
        width: 100%;
        padding: 15px 15px 0;
        order: 1;
        border-radius: 20px 20px 0 0;
    }
    
    .ortho-cta-image-container {
        height: 380px;
    }
    
    .ortho-wave-transition {
        height: 150px;
    }
}

@media screen and (max-width: 768px) {
    .ortho-cta-section {
        padding: 60px 0;
    }
    
    .ortho-cta-title {
        font-size: 28px;
    }
    
    .ortho-cta-description {
        font-size: 15px;
    }
    
    .ortho-cta-feature-icon {
        width: 40px;
        height: 40px;
        min-width: 40px;
        font-size: 16px;
    }
    
    .ortho-cta-feature-text {
        font-size: 15px;
    }
    
    .ortho-cta-buttons {
        flex-direction: column;
        gap: 15px;
        margin-top: 25px;
    }
    
    .ortho-cta-button {
        width: 100%;
        padding: 14px 25px;
        font-size: 15px;
    }
    
    .ortho-cta-image-wrapper {
        padding: 10px 10px 0;
    }
    
    .ortho-cta-image-border {
        padding: 8px;
    }
    
    .ortho-cta-image-container {
        height: 320px;
    }
    
    .ortho-cta-badge {
        width: 80px;
        height: 80px;
        top: 15px;
        left: 15px;
    }
    
    .ortho-cta-badge-number {
        font-size: 22px;
    }
    
    .ortho-cta-badge-text {
        font-size: 10px;
    }
    
    .ortho-wave-transition {
        height: 120px;
    }
}

@media screen and (max-width: 576px) {
    .ortho-cta-section {
        padding: 50px 0;
    }
    
    .ortho-cta-wrapper {
        border-radius: 15px;
    }
    
    .ortho-cta-content {
        padding: 30px 20px;
    }
    
    .ortho-cta-title {
        font-size: 26px;
    }
    
    .ortho-cta-title::after {
        width: 60px;
        height: 2px;
    }
    
    .ortho-cta-description {
        font-size: 14px;
        margin-bottom: 25px;
    }
    
    .ortho-cta-features {
        gap: 12px;
        margin-bottom: 25px;
    }
    
    .ortho-cta-feature-icon {
        width: 36px;
        height: 36px;
        min-width: 36px;
        font-size: 15px;
    }
    
    .ortho-cta-feature-text {
        font-size: 14px;
    }
    
    .ortho-cta-button {
        padding: 12px 20px;
        font-size: 14px;
    }
    
    .ortho-cta-image-wrapper {
        padding: 8px 8px 0;
    }
    
    .ortho-cta-image-border {
        padding: 6px;
        border-radius: 8px;
    }
    
    .ortho-cta-image-border::before {
        border-width: 1px;
        border-radius: 8px;
    }
    
    .ortho-cta-image-container {
        height: 280px;
        border-radius: 4px;
    }
    
    .ortho-cta-badge {
        width: 70px;
        height: 70px;
        top: 12px;
        left: 12px;
    }
    
    .ortho-cta-badge-number {
        font-size: 20px;
    }
    
    .ortho-cta-badge-text {
        font-size: 9px;
    }
    
    .ortho-wave-transition {
        height: 100px;
    }
}

@media screen and (max-width: 375px) {
    .ortho-cta-image-container {
        height: 240px;
    }
    
    .ortho-cta-badge {
        width: 65px;
        height: 65px;
        top: 10px;
        left: 10px;
    }
    
    .ortho-cta-badge-number {
        font-size: 18px;
    }
    
    .ortho-cta-badge-text {
        font-size: 8px;
    }
}


















/* Inner Page Section Styles */
.ortho-inner-section {
    position: relative;
    padding: 80px 0;
    background-color: var(--white);
}

/* Wider Container for Inner Pages */
.ortho-inner-container {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Content Wrapper */
.ortho-inner-content-wrapper {
    display: flex;
    gap: 50px;
}

/* Main Content Area */
.ortho-inner-main-content {
    width: 70%;
}

/* Introduction Section */
.ortho-inner-intro {
    margin-bottom: 50px;
}

.ortho-inner-main-title {
   font-family: 'Lilac', sans-serif;
    font-size: 42px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.ortho-inner-divider {
    width: 100px;
    height: 3px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    margin-bottom: 25px;
    border-radius: 3px;
}

.ortho-inner-intro-text {
    font-size: 18px;
    line-height: 1.8;
    color: var(--light-text);
    margin-bottom: 0;
    max-width: 90%;
}

/* Q&A Blocks */
.ortho-inner-qa-blocks {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.ortho-inner-qa-block {
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(173, 187, 218, 0.3);
}

.ortho-inner-qa-block:last-child {
    border-bottom: none;
}

.ortho-inner-question {
   font-family: 'Lilac', sans-serif;
    font-size: 26px;
    line-height: 1.4;
    color: var(--primary-color);
    margin-bottom: 20px;
    position: relative;
    padding-left: 20px;
}

.ortho-inner-question::before {
    content: '';
    position: absolute;
    left: 0;
    top: 12px;
    width: 6px;
    height: 20px;
    background-color: var(--secondary-color);
    border-radius: 3px;
}

.ortho-inner-answer {
    color: var(--light-text);
}

.ortho-inner-answer p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: justify;
}

.ortho-inner-answer p:last-child {
    margin-bottom: 0;
}

/* Sidebar */
.ortho-inner-sidebar {
    width: 30%;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.ortho-sidebar-section {
    background-color: var(--background-color);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.ortho-sidebar-title {
   font-family: 'Lilac', sans-serif;
    font-size: 22px;
    color: var(--primary-color);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.ortho-sidebar-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--secondary-color);
}

/* Services Menu */
.ortho-services-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ortho-services-menu li {
    margin-bottom: 10px;
    border-bottom: 1px solid rgba(173, 187, 218, 0.2);
}

.ortho-services-menu li:last-child {
    margin-bottom: 0;
    border-bottom: none;
}

.ortho-services-menu li a {
    display: block;
    padding: 12px 15px;
    color: var(--light-text);
    font-weight: 500;
    transition: all 0.3s ease;
    border-radius: 8px;
    position: relative;
}

.ortho-services-menu li a:hover {
    color: var(--primary-color);
    background-color: rgba(112, 145, 230, 0.1);
    padding-left: 20px;
}

.ortho-services-menu li.current a {
    color: var(--white);
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(61, 82, 160, 0.2);
}

/* Doctor Profile Card */
.ortho-doctor-card {
    text-align: center;
}

.ortho-doctor-image {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px;
    border: 3px solid var(--white);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.ortho-doctor-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ortho-doctor-name {
   font-family: 'Lilac', sans-serif;
    font-size: 20px;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.ortho-doctor-specialty {
    font-size: 16px;
    color: var(--secondary-color);
    margin-bottom: 10px;
    font-weight: 500;
}

.ortho-doctor-credentials {
    font-size: 14px;
    color: var(--light-text);
    margin-bottom: 20px;
    line-height: 1.5;
}

.ortho-doctor-link {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-color);
    position: relative;
}

.ortho-doctor-link::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: var(--primary-color);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.ortho-doctor-link:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Appointment CTA */
.ortho-sidebar-text {
    font-size: 15px;
    line-height: 1.7;
    color: var(--light-text);
    margin-bottom: 20px;
}

.ortho-sidebar-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.ortho-sidebar-btn:last-child {
    margin-bottom: 0;
}

.ortho-sidebar-btn.primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    box-shadow: 0 8px 20px rgba(61, 82, 160, 0.2);
}

.ortho-sidebar-btn.primary:hover {
    box-shadow: 0 12px 25px rgba(61, 82, 160, 0.3);
    transform: translateY(-3px);
}

.ortho-sidebar-btn.secondary {
    background-color: rgba(112, 145, 230, 0.1);
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.ortho-sidebar-btn.secondary:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
}

/* Testimonial */
.ortho-sidebar-testimonial {
    position: relative;
    padding-top: 20px;
}

.ortho-testimonial-quote {
    position: absolute;
    top: 0;
    left: 0;
    font-size: 24px;
    color: var(--secondary-color);
    opacity: 0.3;
}

.ortho-testimonial-text {
    font-size: 15px;
    line-height: 1.7;
    font-style: italic;
    color: var(--light-text);
    margin-bottom: 15px;
}

.ortho-testimonial-author {
    text-align: right;
}

.ortho-testimonial-rating {
    margin-bottom: 5px;
    color: #FFD700;
    font-size: 14px;
}

.ortho-testimonial-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-color);
    margin: 0;
}

/* Responsive Styles */
@media screen and (max-width: 1400px) {
    .ortho-inner-container {
        max-width: 1300px;
    }
}

@media screen and (max-width: 1200px) {
    .ortho-inner-container {
        max-width: 1100px;
    }
    
    .ortho-inner-main-title {
        font-size: 38px;
    }
    
    .ortho-inner-intro-text {
        font-size: 17px;
        max-width: 100%;
    }
    
    .ortho-inner-question {
        font-size: 24px;
    }
    
    .ortho-inner-answer p {
        font-size: 15px;
    }
}

@media screen and (max-width: 992px) {
    .ortho-inner-section {
        padding: 70px 0;
    }
    
    .ortho-inner-content-wrapper {
        flex-direction: column;
    }
    
    .ortho-inner-main-content,
    .ortho-inner-sidebar {
        width: 100%;
    }
    
    .ortho-inner-main-title {
        font-size: 34px;
    }
    
    .ortho-inner-question {
        font-size: 22px;
    }
    
    .ortho-inner-sidebar {
        margin-top: 50px;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
    
    .ortho-sidebar-section {
        height: 100%;
    }
    
    .ortho-sidebar-section.services-menu {
        grid-column: span 2;
    }
}

@media screen and (max-width: 768px) {
    .ortho-inner-section {
        padding: 60px 0;
    }
    
    .ortho-inner-main-title {
        font-size: 32px;
    }
    
    .ortho-inner-intro-text {
        font-size: 16px;
    }
    
    .ortho-inner-question {
        font-size: 20px;
        padding-left: 15px;
    }
    
    .ortho-inner-question::before {
        width: 5px;
        height: 18px;
        top: 10px;
    }
    
    .ortho-inner-answer p {
        font-size: 15px;
        text-align: left; /* Switch to left align on smaller screens for readability */
    }
    
    .ortho-inner-sidebar {
        grid-template-columns: 1fr;
    }
    
    .ortho-sidebar-section.services-menu {
        grid-column: span 1;
    }
}

@media screen and (max-width: 576px) {
    .ortho-inner-section {
        padding: 50px 0;
    }
    
    .ortho-inner-main-title {
        font-size: 28px;
    }
    
    .ortho-inner-divider {
        width: 80px;
        height: 2px;
        margin-bottom: 20px;
    }
    
    .ortho-inner-intro-text {
        font-size: 15px;
    }
    
    .ortho-inner-qa-blocks {
        gap: 30px;
    }
    
    .ortho-inner-qa-block {
        padding-bottom: 25px;
    }
    
    .ortho-inner-question {
        font-size: 19px;
        padding-left: 12px;
        margin-bottom: 15px;
    }
    
    .ortho-inner-question::before {
        width: 4px;
        height: 16px;
        top: 8px;
    }
    
    .ortho-inner-answer p {
        font-size: 14px;
        line-height: 1.7;
        margin-bottom: 15px;
    }
    
    .ortho-sidebar-section {
        padding: 25px 20px;
    }
    
    .ortho-sidebar-title {
        font-size: 20px;
        margin-bottom: 15px;
    }
}






















/* Simple Services Showcase with Clean Animations */
.ortho-services-showcase {
    position: relative;
    padding: 100px 0 80px;
    background-color: #f8fafd;
    overflow: hidden;
}

/* Container */
.ortho-container {
    max-width: 1600px;
    width: 100%;
    margin: 0 auto;
    padding: 0 30px;
    position: relative;
}

/* Section Header */
.ortho-services-header {
    text-align: center;
    margin-bottom: 70px;
    animation: fadeIn 1s ease forwards;
}

.ortho-services-badge {
    display: inline-block;
    background-color: rgba(112, 145, 230, 0.1);
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 50px;
    margin-bottom: 20px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.ortho-services-title {
   font-family: 'Lilac', sans-serif;
    font-size: 48px;
    line-height: 1.2;
    color: var(--primary-color);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.ortho-services-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    animation: expandWidth 1.5s ease forwards;
}

.ortho-services-subtitle {
    max-width: 800px;
    margin: 30px auto 0;
    font-size: 18px;
    line-height: 1.7;
    color: var(--light-text);
}

/* Services Grid */
.ortho-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 70px;
}

/* Service Card */
.ortho-service-card {
    background-color: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
    position: relative;
    opacity: 0;
    transform: translateY(50px);
    animation: fadeInUp 0.8s ease forwards;
}

.ortho-service-card:nth-child(1) { animation-delay: 0.1s; }
.ortho-service-card:nth-child(2) { animation-delay: 0.2s; }
.ortho-service-card:nth-child(3) { animation-delay: 0.3s; }
.ortho-service-card:nth-child(4) { animation-delay: 0.4s; }
.ortho-service-card:nth-child(5) { animation-delay: 0.5s; }
.ortho-service-card:nth-child(6) { animation-delay: 0.6s; }

.ortho-service-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 50px rgba(61, 82, 160, 0.1);
}

.ortho-service-number {
    position: absolute;
    top: 20px;
    right: 20px;
   font-family: 'Lilac', sans-serif;
    font-size: 48px;
    font-weight: 700;
    color: var(--primary-color);
    opacity: 0.1;
    z-index: 1;
    transition: all 0.5s ease;
}

.ortho-service-card:hover .ortho-service-number {
    transform: scale(1.2);
    opacity: 0.15;
}

/* Service Image */
.ortho-service-image-container {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.ortho-service-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.5s ease;
}

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

.ortho-service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(61, 82, 160, 0.4) 0%, rgba(112, 145, 230, 0.2) 100%);
    z-index: 2;
}

/* Service Content */
.ortho-service-content {
    padding: 30px;
    position: relative;
}

.ortho-service-name {
   font-family: 'Lilac', sans-serif;
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 15px;
    transition: color 0.3s ease;
}

.ortho-service-card:hover .ortho-service-name {
    color: var(--secondary-color);
}

.ortho-service-divider {
    width: 40px;
    height: 2px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    margin-bottom: 15px;
    transition: width 0.5s ease;
}

.ortho-service-card:hover .ortho-service-divider {
    width: 60px;
}

.ortho-service-description {
    font-size: 15px;
    line-height: 1.7;
    color: var(--light-text);
    margin-bottom: 20px;
}

.ortho-service-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 600;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.ortho-service-link i {
    transition: transform 0.3s ease;
}

.ortho-service-link:hover {
    color: var(--secondary-color);
    gap: 15px;
}

.ortho-service-link:hover i {
    transform: translateX(5px);
}

/* CTA Section */
.ortho-services-cta {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 60px;
    border-radius: 30px;
    text-align: center;
    color: var(--white);
    animation: fadeIn 1s ease 0.7s forwards;
    opacity: 0;
}

.ortho-cta-title {
   font-family: 'Lilac', sans-serif;
    font-size: 36px;
    margin-bottom: 20px;
}

.ortho-cta-text {
    font-size: 18px;
    line-height: 1.7;
    max-width: 700px;
    margin: 0 auto 30px;
    opacity: 0.9;
}

.ortho-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.ortho-cta-button {
    padding: 16px 32px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.ortho-cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateX(-100%);
    transition: transform 0.5s ease;
    z-index: 0;
}

.ortho-cta-button:hover::before {
    transform: translateX(0);
}

.ortho-cta-button.primary {
    background-color: var(--white);
    color: var(--primary-color);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.ortho-cta-button.primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.ortho-cta-button.secondary {
    background-color: transparent;
    color: black;
    border: 2px solid rgb(9, 165, 237);
}

.ortho-cta-button.secondary:hover {
    background-color: var(--white);
    color: var(--primary-color);
    transform: translateY(-5px);
}

/* Animation Keyframes */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

@keyframes expandWidth {
    from {
        width: 0;
    }
    to {
        width: 80px;
    }
}

/* Responsive Styles */
@media screen and (max-width: 1200px) {
    .ortho-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .ortho-services-title {
        font-size: 42px;
    }
    
    .ortho-services-subtitle {
        font-size: 17px;
    }
    
    .ortho-cta-title {
        font-size: 32px;
    }
    
    .ortho-cta-text {
        font-size: 17px;
    }
}

@media screen and (max-width: 768px) {
    .ortho-services-showcase {
        padding: 80px 0 60px;
    }
    
    .ortho-services-header {
        margin-bottom: 50px;
    }
    
    .ortho-services-title {
        font-size: 36px;
    }
    
    .ortho-services-subtitle {
        font-size: 16px;
    }
    
    .ortho-services-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .ortho-services-cta {
        padding: 40px 30px;
    }
    
    .ortho-cta-title {
        font-size: 28px;
    }
    
    .ortho-cta-text {
        font-size: 16px;
        margin-bottom: 25px;
    }
    
    .ortho-cta-buttons {
        flex-direction: column;
        gap: 15px;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .ortho-cta-button {
        width: 100%;
    }
}

@media screen and (max-width: 576px) {
    .ortho-services-showcase {
        padding: 60px 0 40px;
    }
    
    .ortho-container {
        padding: 0 20px;
    }
    
    .ortho-services-badge {
        font-size: 12px;
        padding: 6px 14px;
    }
    
    .ortho-services-title {
        font-size: 32px;
    }
    
    .ortho-services-subtitle {
        font-size: 15px;
    }
    
    .ortho-service-number {
        font-size: 40px;
        top: 15px;
        right: 15px;
    }
    
    .ortho-service-image-container {
        height: 200px;
    }
    
    .ortho-service-content {
        padding: 25px;
    }
    
    .ortho-service-name {
        font-size: 22px;
    }
    
    .ortho-service-description {
        font-size: 14px;
        margin-bottom: 15px;
    }
    
    .ortho-cta-title {
        font-size: 24px;
    }
    
    .ortho-cta-text {
        font-size: 15px;
    }
    
    .ortho-cta-button {
        padding: 14px 28px;
        font-size: 15px;
    }
}


/* CSS for JavaScript Animation Enhancement */
.ortho-service-card {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.5s ease, transform 0.5s ease, box-shadow 0.5s ease;
}

.ortho-services-cta {
    opacity: 0;
    transition: opacity 0.5s ease;
}

.animate-in {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.ortho-service-card:nth-child(1).animate-in { transition-delay: 0.1s; }
.ortho-service-card:nth-child(2).animate-in { transition-delay: 0.2s; }
.ortho-service-card:nth-child(3).animate-in { transition-delay: 0.3s; }
.ortho-service-card:nth-child(4).animate-in { transition-delay: 0.4s; }
.ortho-service-card:nth-child(5).animate-in { transition-delay: 0.5s; }
.ortho-service-card:nth-child(6).animate-in { transition-delay: 0.6s; }














/* Revised Contact Section with Improved Layout */
.ortho-contact-section {
    position: relative;
    padding: 100px 0 80px;
    background-color: #f8fafd;
    overflow: hidden;
}

/* Animated Background */
.ortho-contact-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.ortho-contact-shape {
    position: absolute;
    opacity: 0.04;
    background-color: var(--primary-color);
    border-radius: 50%;
}

.ortho-contact-shape.shape-1 {
    top: -10%;
    right: -10%;
    width: 50vw;
    height: 50vw;
    animation: floatAnimation 20s infinite alternate ease-in-out;
}

.ortho-contact-shape.shape-2 {
    bottom: -15%;
    left: -15%;
    width: 70vw;
    height: 70vw;
    animation: floatAnimation 25s infinite alternate-reverse ease-in-out;
}

@keyframes floatAnimation {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(40px, 40px);
    }
}

.ortho-contact-waves {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(112, 145, 230, 0.05) 0%, transparent 20%),
        radial-gradient(circle at 80% 70%, rgba(61, 82, 160, 0.05) 0%, transparent 20%);
    opacity: 0.7;
}

.ortho-contact-dots {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle, var(--primary-color) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.03;
}

/* Container */
.ortho-container {
    max-width: 1600px;
    width: 100%;
    margin: 0 auto;
    padding: 0 30px;
    position: relative;
    z-index: 2;
}

/* Contact Header */
.ortho-contact-header {
    text-align: center;
    margin-bottom: 70px;
    animation: fadeIn 1s ease forwards;
}

.ortho-contact-badge {
    display: inline-block;
    background-color: rgba(112, 145, 230, 0.1);
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 50px;
    margin-bottom: 20px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.ortho-contact-title {
   font-family: 'Lilac', sans-serif;
    font-size: 48px;
    line-height: 1.2;
    color: var(--primary-color);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.ortho-contact-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    animation: expandWidth 1.5s ease forwards;
}

.ortho-contact-subtitle {
    max-width: 800px;
    margin: 30px auto 0;
    font-size: 18px;
    line-height: 1.7;
    color: var(--light-text);
}

/* Top Row: Phone on Left, Contact Details on Right */
.ortho-contact-top-row {
    display: flex;
    gap: 50px;
    margin-bottom: 50px;
}

/* Left Side: Animated Phone */
.ortho-contact-phone {
    width: 40%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeInLeft 1s ease forwards;
    opacity: 0;
    transform: translateX(-50px);
}

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

.ortho-phone-container {
    position: relative;
    animation: floatPhone 5s infinite alternate ease-in-out;
}

@keyframes floatPhone {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-15px);
    }
}

.ortho-phone-frame {
    width: 280px;
    height: 580px;
    background-color: #222;
    border-radius: 40px;
    padding: 12px;
    position: relative;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25);
    border: 1px solid #444;
}

.ortho-phone-screen {
    width: 100%;
    height: 100%;
    background-color: white;
    border-radius: 30px;
    overflow: hidden;
    position: relative;
}

.ortho-phone-button {
    position: absolute;
    right: -4px;
    top: 100px;
    width: 4px;
    height: 40px;
    background-color: #444;
    border-radius: 2px 0 0 2px;
}

.ortho-phone-speaker {
    position: absolute;
    top: 25px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 5px;
    background-color: #444;
    border-radius: 3px;
    z-index: 10;
}

.ortho-phone-camera {
    position: absolute;
    top: 15px;
    right: 90px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #333;
    z-index: 10;
}

.ortho-phone-content {
    padding: 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
    background-color: #f5f5f7;
}

.ortho-phone-header {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
}

.ortho-phone-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
}

.ortho-phone-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ortho-phone-info {
    flex: 1;
}

.ortho-phone-name {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 5px;
    color: #222;
}

.ortho-phone-status {
    font-size: 12px;
    margin: 0;
    color: #4CAF50;
    display: flex;
    align-items: center;
}

.ortho-phone-status::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: #4CAF50;
    border-radius: 50%;
    margin-right: 5px;
}

/* Message Container */
.ortho-message-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
    overflow-y: auto;
}

.ortho-message {
    max-width: 80%;
    padding: 12px 15px;
    border-radius: 18px;
    position: relative;
    animation: messageAppear 0.5s forwards;
    opacity: 0;
}

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

.ortho-message.incoming {
    background-color: #E9EDF5;
    color: #333;
    align-self: flex-start;
    border-bottom-left-radius: 5px;
    animation-delay: 0.5s;
}

.ortho-message.outgoing {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    align-self: flex-end;
    border-bottom-right-radius: 5px;
    animation-delay: 1.5s;
}

.ortho-message p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
}

.message-time {
    font-size: 10px;
    opacity: 0.7;
    margin-top: 5px;
    display: block;
}

.ortho-message-typing {
    align-self: flex-start;
    display: flex;
    gap: 5px;
    padding: 12px 15px;
    background-color: #E9EDF5;
    border-radius: 18px;
    animation: messageAppear 0.5s forwards 2.5s;
    opacity: 0;
}

.typing-dot {
    width: 8px;
    height: 8px;
    background-color: #999;
    border-radius: 50%;
    animation: typingAnimation 1.5s infinite;
}

.typing-dot:nth-child(2) {
    animation-delay: 0.3s;
}

.typing-dot:nth-child(3) {
    animation-delay: 0.6s;
}

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

/* Phone Signal Waves */
.ortho-phone-signals {
    position: absolute;
    top: 50%;
    left: -50px;
    transform: translateY(-50%);
}

.signal-wave {
    position: absolute;
    border: 2px solid rgba(112, 145, 230, 0.5);
    border-radius: 50%;
    opacity: 0;
    transform: translate(-50%, -50%);
}

.wave-1 {
    width: 50px;
    height: 50px;
    animation: signalWave 2s infinite 0.2s;
}

.wave-2 {
    width: 80px;
    height: 80px;
    animation: signalWave 2s infinite 0.5s;
}

.wave-3 {
    width: 110px;
    height: 110px;
    animation: signalWave 2s infinite 0.8s;
}

@keyframes signalWave {
    0% {
        opacity: 0.7;
        transform: scale(0);
    }
    100% {
        opacity: 0;
        transform: scale(1);
    }
}

/* Right Side: Contact Details */
.ortho-contact-details {
    width: 60%;
    display: flex;
    flex-direction: column;
    gap: 25px;
    animation: fadeInRight 1s ease forwards;
    opacity: 0;
    transform: translateX(50px);
}

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

.ortho-contact-method {
    display: flex;
    gap: 20px;
    padding: 25px;
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.ortho-contact-method:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.ortho-contact-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    border-radius: 15px;
    background: linear-gradient(135deg, rgba(112, 145, 230, 0.1) 0%, rgba(61, 82, 160, 0.1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.ortho-contact-method:hover .ortho-contact-icon {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    transform: scale(1.1);
}

.ortho-contact-info {
    flex: 1;
}

.ortho-contact-method-title {
   font-family: 'Lilac', sans-serif;
    font-size: 20px;
    color: var(--primary-color);
    margin: 0 0 8px;
}

.ortho-contact-text {
    font-size: 14px;
    color: var(--light-text);
    margin: 0 0 12px;
    line-height: 1.6;
}

.ortho-contact-link {
    font-size: 16px;
    font-weight: 600;
    color: var(--secondary-color);
    position: relative;
    display: inline-block;
    transition: all 0.3s ease;
}

.ortho-contact-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.ortho-contact-link:hover {
    color: var(--primary-color);
}

.ortho-contact-link:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Office Hours List */
.ortho-hours-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ortho-hours-list li {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 14px;
}

.ortho-hours-list li:last-child {
    margin-bottom: 0;
}

.ortho-hours-list .day {
    font-weight: 600;
    color: var(--primary-color);
}

.ortho-hours-list .hours {
    color: var(--light-text);
}

/* Bottom Row: Full Width Contact Form */
.ortho-contact-form-container {
    background-color: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.06);
    animation: fadeInUp 1s ease forwards 0.4s;
    opacity: 0;
    transform: translateY(30px);
}

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

.ortho-form-title {
   font-family: 'Lilac', sans-serif;
    font-size: 28px;
    color: var(--primary-color);
    margin: 0 0 30px;
    text-align: center;
    position: relative;
}

.ortho-form-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
}

.ortho-contact-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.ortho-form-row {
    display: flex;
    gap: 20px;
}

.ortho-form-group {
    position: relative;
    flex: 1;
}

.ortho-form-group.full-width {
    width: 100%;
}

.ortho-form-input,
.ortho-form-select,
.ortho-form-textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    background-color: #f8fafd;
   font-family: 'Lilac', sans-serif;
    font-size: 15px;
    color: var(--dark-text);
    transition: all 0.3s ease;
}

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

.ortho-form-label {
    position: absolute;
    top: 15px;
    left: 15px;
    font-size: 15px;
    color: var(--light-text);
    pointer-events: none;
    transition: all 0.3s ease;
    opacity: 0;
}

.ortho-form-input:focus,
.ortho-form-select:focus,
.ortho-form-textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(61, 82, 160, 0.1);
    outline: none;
}

.ortho-form-input:focus + .ortho-form-label,
.ortho-form-select:focus + .ortho-form-label,
.ortho-form-textarea:focus + .ortho-form-label,
.ortho-form-input:not(:placeholder-shown) + .ortho-form-label,
.ortho-form-select:not([value=""]) + .ortho-form-label,
.ortho-form-textarea:not(:placeholder-shown) + .ortho-form-label {
    top: -10px;
    left: 10px;
    font-size: 12px;
    padding: 0 5px;
    background-color: white;
    opacity: 1;
}

.ortho-form-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 40px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    margin: 10px auto 0;
    max-width: 250px;
}

.ortho-form-submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 0;
}

.ortho-form-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(61, 82, 160, 0.2);
}

.ortho-form-submit:hover::before {
    transform: translateX(0);
}

.submit-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.ortho-form-submit:hover .submit-icon {
    transform: translateX(5px);
}

/* Animation Keyframes */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes expandWidth {
    from {
        width: 0;
    }
    to {
        width: 80px;
    }
}

/* Responsive Styles */
@media screen and (max-width: 1200px) {
    .ortho-contact-title {
        font-size: 42px;
    }

    .ortho-contact-subtitle {
       font-size: 17px;
   }
   
   .ortho-phone-frame {
       width: 260px;
       height: 540px;
   }
   
   .ortho-contact-method-title {
       font-size: 18px;
   }
   
   .ortho-form-title {
       font-size: 26px;
   }
}

@media screen and (max-width: 992px) {
   .ortho-contact-section {
       padding: 80px 0 60px;
   }
   
   .ortho-contact-header {
       margin-bottom: 50px;
   }
   
   .ortho-contact-title {
       font-size: 38px;
   }
   
   .ortho-contact-subtitle {
       font-size: 16px;
   }
   
   .ortho-contact-top-row {
       flex-direction: column;
       gap: 40px;
   }
   
   .ortho-contact-phone,
   .ortho-contact-details {
       width: 100%;
   }
   
   .ortho-phone-container {
       margin: 0 auto;
   }
   
   .ortho-phone-signals {
       left: -70px;
   }
   
   .ortho-contact-details {
       display: grid;
       grid-template-columns: repeat(2, 1fr);
       gap: 20px;
   }
   
   .ortho-form-row {
       flex-direction: column;
       gap: 20px;
   }
   
   .ortho-form-title {
       font-size: 24px;
   }
   
   .ortho-contact-form-container {
       padding: 30px;
   }
}

@media screen and (max-width: 768px) {
   .ortho-contact-section {
       padding: 70px 0 50px;
   }
   
   .ortho-contact-title {
       font-size: 34px;
   }
   
   .ortho-contact-details {
       grid-template-columns: 1fr;
       gap: 15px;
   }
   
   .ortho-phone-frame {
       width: 240px;
       height: 500px;
   }
   
   .ortho-phone-signals {
       left: -60px;
   }
   
   .wave-1 {
       width: 40px;
       height: 40px;
   }
   
   .wave-2 {
       width: 70px;
       height: 70px;
   }
   
   .wave-3 {
       width: 100px;
       height: 100px;
   }
   
   .ortho-form-submit {
       width: 100%;
       max-width: none;
   }
}

@media screen and (max-width: 576px) {
   .ortho-contact-section {
       padding: 60px 0 40px;
   }
   
   .ortho-container {
       padding: 0 20px;
   }
   
   .ortho-contact-badge {
       font-size: 12px;
       padding: 6px 14px;
   }
   
   .ortho-contact-title {
       font-size: 30px;
   }
   
   .ortho-contact-subtitle {
       font-size: 15px;
   }
   
   .ortho-contact-method {
       padding: 3px;
   }
   
   .ortho-contact-icon {
       width: 45px;
       height: 45px;
       min-width: 45px;
       font-size: 18px;
   }
   
   .ortho-contact-form-container {
       padding: 25px 20px;
   }
   
   .ortho-form-title {
       font-size: 22px;
       margin-bottom: 25px;
   }
   
   .ortho-form-input, 
   .ortho-form-select, 
   .ortho-form-textarea {
       padding: 12px;
       font-size: 14px;
   }
   
   .ortho-form-label {
       top: 12px;
       font-size: 14px;
   }
   
   .ortho-form-submit {
       padding: 12px 30px;
       font-size: 15px;
   }
   
   .ortho-phone-container {
       transform: scale(0.9);
   }
   
   .ortho-phone-signals {
       left: -50px;
   }
}

/* Form Focus and Animation States */
.ortho-form-group.focused .ortho-form-input,
.ortho-form-group.focused .ortho-form-select,
.ortho-form-group.focused .ortho-form-textarea {
   border-color: var(--primary-color);
   box-shadow: 0 0 0 3px rgba(61, 82, 160, 0.1);
}

.ortho-form-group.has-value .ortho-form-label {
   top: -10px;
   left: 10px;
   font-size: 12px;
   padding: 0 5px;
   background-color: white;
   opacity: 1;
}

.ortho-form-submit.sending,
.ortho-form-submit.sent {
   pointer-events: none;
}

.ortho-form-submit.sending {
   background: var(--primary-color);
}

.ortho-form-submit.sent {
   background: #4CAF50;
}











































/* Shoulder Split Hero Section Styles */
.ortho-shoulder-split-section {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

/* Background Image */
.ortho-shoulder-split-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.ortho-shoulder-split-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../image/vbg.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.ortho-shoulder-split-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.95) 0%, 
        rgba(237, 232, 245, 0.9) 50%, 
        rgba(255, 255, 255, 0.95) 100%);
    backdrop-filter: blur(2px);
}

.ortho-container {
    position: relative;
    z-index: 2;
}

/* Section Header */
.ortho-shoulder-split-header {
    text-align: center;
    margin-bottom: 80px;
}

.ortho-shoulder-split-tag {
    display: inline-block;
    background-color: rgba(112, 145, 230, 0.15);
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 50px;
    margin-bottom: 20px;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: 1px solid rgba(112, 145, 230, 0.2);
}

.ortho-shoulder-split-title {
    font-family: 'Lilac', sans-serif;
    font-size: 48px;
    line-height: 1.2;
    color: var(--primary-color);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.ortho-shoulder-split-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
}

.ortho-shoulder-split-subtitle {
    max-width: 600px;
    margin: 30px auto 0;
    font-size: 18px;
    color: var(--light-text);
    line-height: 1.6;
}

/* Main Content Layout */
.ortho-shoulder-split-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

/* Video Wrappers */
.ortho-shoulder-split-video-wrapper {
    position: relative;
    height: 450px;
    transition: all 0.5s ease;
}

.ortho-shoulder-split-video-wrapper:hover {
    transform: translateY(-10px);
}

/* Video Containers with Borders */
.ortho-shoulder-split-video-container {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    overflow: hidden;
    background-color: var(--white);
    padding: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.5s ease;
}

.ortho-shoulder-split-video-container:hover {
    box-shadow: 0 30px 60px rgba(61, 82, 160, 0.15);
}

.ortho-shoulder-split-video {
    width: 100%;
    height: calc(100% - 60px);
    object-fit: cover;
    border-radius: 15px;
    transition: transform 0.6s ease;
    background-color: var(--background-color);
}

.ortho-shoulder-split-video-wrapper:hover .ortho-shoulder-split-video {
    transform: scale(1.03);
}

/* Decorative Video Border */
.ortho-shoulder-split-video-border {
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 50px;
    border: 3px solid transparent;
    border-radius: 15px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.ortho-shoulder-split-video-wrapper:hover .ortho-shoulder-split-video-border {
    opacity: 1;
}

/* Alternative border method for better browser support */
.ortho-shoulder-split-video-container::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 50px;
    border: 3px solid var(--secondary-color);
    border-radius: 15px;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    z-index: 2;
}

.ortho-shoulder-split-video-wrapper:hover .ortho-shoulder-split-video-container::before {
    opacity: 1;
}

/* Video Overlay for Play Indicators */
.ortho-shoulder-split-video-overlay {
    position: absolute;
    top: 15px;
    left: 15px;
    right: 15px;
    bottom: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(61, 82, 160, 0.1) 0%, rgba(112, 145, 230, 0.1) 100%);
    border-radius: 15px;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    z-index: 3;
}

.ortho-shoulder-split-video-wrapper:hover .ortho-shoulder-split-video-overlay {
    opacity: 1;
}

.ortho-shoulder-split-play-indicator {
    width: 80px;
    height: 80px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: var(--primary-color);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    animation: orthoShoulderVideoPulse 2s infinite ease-in-out;
}

@keyframes orthoShoulderVideoPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 15px 35px rgba(61, 82, 160, 0.25);
    }
}

/* Video Labels */
.ortho-shoulder-split-video-label {
    position: absolute;
    bottom: 15px;
    left: 15px;
    right: 15px;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 12px 16px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    z-index: 4;
}

.ortho-shoulder-split-video-wrapper:hover .ortho-shoulder-split-video-label {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-5px);
}

.ortho-shoulder-split-video-label i {
    font-size: 16px;
    color: var(--secondary-color);
    transition: color 0.3s ease;
}

.ortho-shoulder-split-video-wrapper:hover .ortho-shoulder-split-video-label i {
    color: var(--white);
}

/* Center Description */
.ortho-shoulder-split-description {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 30px;
}

.ortho-shoulder-split-desc-content {
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    padding: 40px;
    border-radius: 25px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.8);
    transition: all 0.5s ease;
}

.ortho-shoulder-split-desc-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(61, 82, 160, 0.12);
}

.ortho-shoulder-split-desc-title {
    font-family: 'Lilac', sans-serif;
    font-size: 28px;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 600;
}

.ortho-shoulder-split-desc-divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    margin: 0 auto 20px;
    border-radius: 3px;
}

.ortho-shoulder-split-desc-text {
    font-size: 16px;
    line-height: 1.7;
    color: var(--light-text);
    margin-bottom: 25px;
    text-align: justify;
}

/* Features List */
.ortho-shoulder-split-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 30px;
}

.ortho-shoulder-split-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: var(--dark-text);
    font-weight: 500;
}

.ortho-shoulder-split-feature i {
    color: var(--secondary-color);
    font-size: 16px;
}

/* CTA Button */
.ortho-shoulder-split-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    font-size: 15px;
    font-weight: 600;
    padding: 0;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: 0 8px 20px rgba(61, 82, 160, 0.2);
    position: relative;
    overflow: hidden;
}

.ortho-shoulder-split-btn-text {
    padding: 16px 25px;
    position: relative;
    z-index: 2;
}

.ortho-shoulder-split-btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    margin-right: 5px;
    position: relative;
    z-index: 2;
    transform: translateX(-8px);
    opacity: 0;
    transition: all 0.4s ease;
}

.ortho-shoulder-split-cta-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.5s ease;
    z-index: 1;
}

.ortho-shoulder-split-cta-btn:hover {
    box-shadow: 0 12px 30px rgba(112, 145, 230, 0.4);
    transform: translateY(-3px);
}

.ortho-shoulder-split-cta-btn:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.ortho-shoulder-split-cta-btn:hover .ortho-shoulder-split-btn-icon {
    transform: translateX(0);
    opacity: 1;
}

.ortho-shoulder-split-cta-btn:hover .ortho-shoulder-split-btn-text {
    padding-left: 18px;
}

/* Responsive Styles */
@media screen and (max-width: 1200px) {
    .ortho-shoulder-split-title {
        font-size: 42px;
    }
    
    .ortho-shoulder-split-content {
        gap: 40px;
    }
    
    .ortho-shoulder-split-video-wrapper {
        height: 400px;
    }
    
    .ortho-shoulder-split-desc-content {
        padding: 35px;
    }
    
    .ortho-shoulder-split-desc-title {
        font-size: 26px;
    }
}

@media screen and (max-width: 992px) {
    .ortho-shoulder-split-section {
        padding: 100px 0;
        min-height: auto;
    }
    
    .ortho-shoulder-split-header {
        margin-bottom: 60px;
    }
    
    .ortho-shoulder-split-title {
        font-size: 38px;
    }
    
    .ortho-shoulder-split-subtitle {
        font-size: 16px;
    }
    
    .ortho-shoulder-split-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .ortho-shoulder-split-video-wrapper {
        height: 350px;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .ortho-shoulder-split-desc-content {
        padding: 30px;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .ortho-shoulder-split-desc-title {
        font-size: 24px;
    }
    
    .ortho-shoulder-split-desc-text {
        font-size: 15px;
    }
}

@media screen and (max-width: 768px) {
    .ortho-shoulder-split-section {
        padding: 80px 0;
    }
    
    .ortho-shoulder-split-header {
        margin-bottom: 50px;
    }
    
    .ortho-shoulder-split-title {
        font-size: 34px;
    }
    
    .ortho-shoulder-split-subtitle {
        font-size: 15px;
    }
    
    .ortho-shoulder-split-content {
        gap: 40px;
    }
    
    .ortho-shoulder-split-video-wrapper {
        height: 320px;
    }
    
    .ortho-shoulder-split-desc-content {
        padding: 25px 20px;
    }
    
    .ortho-shoulder-split-desc-title {
        font-size: 22px;
    }
    
    .ortho-shoulder-split-desc-text {
        font-size: 14px;
    }
    
    .ortho-shoulder-split-features {
        gap: 10px;
    }
    
    .ortho-shoulder-split-feature {
        font-size: 13px;
    }
    
    .ortho-shoulder-split-bg-image {
        background-attachment: scroll;
    }
    
    .ortho-shoulder-split-play-indicator {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
}

@media screen and (max-width: 576px) {
    .ortho-shoulder-split-section {
        padding: 60px 0;
    }
    
    .ortho-shoulder-split-tag {
        font-size: 12px;
        padding: 8px 16px;
    }
    
    .ortho-shoulder-split-title {
        font-size: 30px;
    }
    
    .ortho-shoulder-split-subtitle {
        font-size: 14px;
    }
    
    .ortho-shoulder-split-content {
        gap: 30px;
    }
    
    .ortho-shoulder-split-video-wrapper {
        height: 300px;
    }
    
    .ortho-shoulder-split-video-container {
        padding: 12px;
    }
    
    .ortho-shoulder-split-video-label {
        padding: 10px 12px;
        font-size: 13px;
    }
    
    .ortho-shoulder-split-desc-content {
        padding: 20px 15px;
    }
    
    .ortho-shoulder-split-desc-title {
        font-size: 20px;
        margin-bottom: 12px;
    }
    
    .ortho-shoulder-split-desc-text {
        font-size: 13px;
        margin-bottom: 20px;
    }
    
    .ortho-shoulder-split-cta-btn {
        width: 100%;
        justify-content: center;
    }
    
    .ortho-shoulder-split-btn-text {
        padding: 14px 20px;
        font-size: 14px;
    }
    
    .ortho-shoulder-split-btn-icon {
        width: 40px;
        height: 40px;
    }
    
    .ortho-shoulder-split-play-indicator {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
}

@media screen and (max-width: 375px) {
    .ortho-shoulder-split-title {
        font-size: 26px;
    }
    
    .ortho-shoulder-split-video-wrapper {
        height: 280px;
    }
    
    .ortho-shoulder-split-desc-title {
        font-size: 18px;
    }
    
    .ortho-shoulder-split-play-indicator {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
}

/* Video Loading and Error States */
.ortho-shoulder-split-video {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><rect width="100" height="100" fill="%23EDE8F5"/><text x="50" y="50" text-anchor="middle" dy=".3em" fill="%23666" font-family="sans-serif" font-size="12">Loading...</text></svg>');
    background-size: cover;
    background-position: center;
}

/* Ensure videos work on iOS and other mobile devices */
.ortho-shoulder-split-video::-webkit-media-controls {
    display: none !important;
}

.ortho-shoulder-split-video::-webkit-media-controls-panel {
    display: none !important;
}

.ortho-shoulder-split-video::-webkit-media-controls-play-button {
    display: none !important;
}

.ortho-shoulder-split-video::-webkit-media-controls-start-playback-button {
    display: none !important;
}

/* Fallback for when video fails to load */
.ortho-shoulder-split-video img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
}








.spe{
    color:var(--background-color)
}