:root {
    --primary-color: #5BA3F5;
    --secondary-color: #6c757d;
    --success-color: #198754;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #0dcaf0;
    --light-color: #f5f5f5;
    --dark-color: #212529;
    
    /* Modern Color Palette - Light Blue Theme */
    --gradient-primary: linear-gradient(90deg, #87CEEB 0%, #5BA3F5 100%);
    --gradient-secondary: linear-gradient(135deg, #6BB6FF 0%, #5BA3F5 100%);
    --gradient-accent: linear-gradient(135deg, #6BB6FF 0%, #4A90E2 100%);
    --gradient-dark: linear-gradient(90deg, #5BA3F5 0%, #4A90E2 50%, #3A7FD2 100%);
    --gradient-header: linear-gradient(90deg, #87CEEB 0%, #5BA3F5 100%);
    --gradient-footer: linear-gradient(90deg, #5BA3F5 0%, #4A90E2 50%, #3A7FD2 100%);
    --bg-light-top: #f5f5f5;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 10px 40px rgba(0,0,0,0.1);
    --shadow-lg: 0 20px 60px rgba(0,0,0,0.15);
    --shadow-xl: 0 30px 80px rgba(0,0,0,0.2);
    
    /* Optimized Spacing System */
    --spacing-xs: 0.5rem;
    --spacing-sm: 0.75rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 4rem;
    --spacing-4xl: 5rem;
    --spacing-5xl: 6rem;
    
    /* Section Padding */
    --section-padding-sm: 3rem;
    --section-padding-md: 4rem;
    --section-padding-lg: 5rem;
    --section-padding-xl: 6rem;
}

* {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    color: #212529;
    background-color: var(--bg-light-top);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', 'Inter', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    color: #212529;
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
}

h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
}

h3 {
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
    font-weight: 600;
}

p {
    margin-bottom: 1rem;
    color: #495057;
}

a {
    color: #0d6efd;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #0b5ed7;
}

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

/* Utility classes - removed !important where specificity allows */
.rounded {
    border-radius: 0.625rem;
}

.shadow {
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* Header Styles - optimized specificity */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: var(--gradient-header);
    box-shadow: 0 0.5rem 2rem rgba(91, 163, 245, 0.25);
    backdrop-filter: blur(1.25rem) saturate(180%);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
    display: block;
    visibility: visible;
    min-height: 4.375rem;
}

header.scrolled {
    box-shadow: 0 0.375rem 1.25rem rgba(91, 163, 245, 0.3);
    background: linear-gradient(90deg, #5BA3F5 0%, #4A90E2 100%);
}

.navbar {
    background: transparent;
    padding: 0.75rem 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 4.375rem;
}

.navbar-expand-lg {
    flex-wrap: nowrap;
    justify-content: flex-start;
}

.navbar-dark {
    color: rgba(255,255,255,0.9);
}

.bg-primary {
    background-color: var(--primary-color);
}

.fixed-top {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1030;
}

.navbar-brand {
    font-size: 1.5rem;
    color: white;
    text-decoration: none;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0;
    margin-right: 2rem;
}

.navbar-brand:hover {
    color: #e3f2f5;
    text-decoration: none;
}

.navbar-brand i {
    font-size: 1.5rem;
    margin-right: 0.25rem;
}

.navbar-nav {
    display: flex;
    flex-direction: row;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0.5rem;
    align-items: center;
    flex-wrap: wrap;
}

.nav-item {
    display: inline-block;
    list-style: none;
    margin: 0;
    padding: 0;
}

.ms-auto {
    margin-left: auto;
}

.fw-bold {
    font-weight: 700;
}

.nav-link {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    padding: 0.75rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    border-radius: 0.5rem;
    position: relative;
    margin: 0 0.25rem;
    font-weight: 500;
    min-height: 2.75rem;
    cursor: pointer;
    white-space: nowrap;
}

.nav-link i {
    font-size: 1.1rem;
    display: inline-block;
}

.nav-link i {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0.5rem;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 60%;
    height: 0.1875rem;
    background: white;
    border-radius: 0.125rem;
    transition: transform 0.3s ease;
}

.nav-link:hover,
a.nav-link:hover {
    color: white;
    background: rgba(255,255,255,0.15);
    transform: translateY(-2px);
    text-decoration: none;
}

.nav-link:hover i,
a.nav-link:hover i {
    transform: scale(1.15);
}

.nav-link:hover::after,
a.nav-link:hover::after {
    transform: translateX(-50%) scaleX(1);
}

.nav-link.active,
a.nav-link.active {
    color: white;
    background: rgba(255,255,255,0.2);
    font-weight: 600;
    text-decoration: none;
}

.nav-link.active::after,
a.nav-link.active::after {
    transform: translateX(-50%) scaleX(1);
    background: white;
    box-shadow: 0 0 10px rgba(255,255,255,0.5);
}

.nav-link.active i,
a.nav-link.active i {
    transform: scale(1.15);
    color: white;
}

.navbar-toggler {
    display: none;
    background: none;
    border: 1px solid rgba(255,255,255,0.3);
    padding: 0.25rem 0.5rem;
    cursor: pointer;
}

.navbar-toggler-icon {
    display: block !important;
    width: 1.5em !important;
    height: 1.5em !important;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.85%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100%;
}

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

.navbar .container {
    display: flex !important;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

/* Footer Styles */
footer {
    background: var(--gradient-footer) !important;
    color: white !important;
    padding: 3.75rem 0 1.875rem !important;
    margin-top: 5rem !important;
    width: 100%;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
}

footer h5 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
    color: white !important;
    font-weight: 700;
}

footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

footer ul li {
    margin-bottom: 0.5rem;
}

footer a {
    color: rgba(255,255,255,0.9) !important;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

footer a:hover {
    color: white !important;
    transform: translateX(5px);
    opacity: 1;
}

footer hr {
    border-color: rgba(255,255,255,0.2);
    margin: 2.5rem 0 1.25rem;
}

footer p {
    color: rgba(255,255,255,0.9);
}

.row {
    display: flex !important;
    flex-wrap: wrap !important;
    margin: 0 -0.9375rem;
}

.row.g-4 {
    margin: 0 -0.9375rem;
}

.row.g-4 > * {
    padding: 0 0.9375rem;
    margin-bottom: 1.5rem;
}

.services-section .container {
    text-align: center !important;
}

.services-section .text-center {
    text-align: center !important;
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
}

.services-section .text-center h2 {
    text-align: center !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.services-section .row {
    margin: 0 -0.625rem !important;
}

.services-section .row > * {
    padding: 0 0.625rem !important;
    margin-bottom: 1rem !important;
}

.col-md-4 {
    flex: 0 0 33.333333% !important;
    max-width: 33.333333% !important;
    padding: 0 0.9375rem;
}

@media (min-width: 768px) {
    .col-md-4 {
        flex: 0 0 33.333333% !important;
        max-width: 33.333333% !important;
    }
}

.col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
    padding: 0 0.9375rem;
}

.col-lg-6 {
    flex: 0 0 50%;
    max-width: 50%;
    padding: 0 0.9375rem;
}

.col-lg-4 {
    flex: 0 0 33.333333% !important;
    max-width: 33.333333% !important;
    padding: 0 0.9375rem;
}

@media (min-width: 992px) {
    .col-lg-4 {
        flex: 0 0 33.333333% !important;
        max-width: 33.333333% !important;
    }
}

.col-sm-6 {
    flex: 0 0 50%;
    max-width: 50%;
    padding: 0 0.9375rem;
}

@media (min-width: 576px) and (max-width: 767px) {
    .col-sm-6 {
        flex: 0 0 50% !important;
        max-width: 50% !important;
    }
}

.col-12 {
    flex: 0 0 100%;
    max-width: 100%;
    padding: 0 0.9375rem;
}

.my-5 {
    margin-top: 3rem;
    margin-bottom: 3rem;
}

/* Optimized Margin Utilities */
.mb-1 {
    margin-bottom: var(--spacing-xs);
}

.mb-2 {
    margin-bottom: var(--spacing-sm);
}

.mb-3 {
    margin-bottom: var(--spacing-md);
}

.mb-4 {
    margin-bottom: var(--spacing-lg);
}

.mb-5 {
    margin-bottom: var(--spacing-2xl);
}

.mt-1 {
    margin-top: var(--spacing-xs);
}

.mt-2 {
    margin-top: var(--spacing-sm);
}

.mt-3 {
    margin-top: var(--spacing-md);
}

.mt-4 {
    margin-top: var(--spacing-lg);
}

.mt-5 {
    margin-top: var(--spacing-2xl);
}

.g-4 {
    gap: 1.5rem;
}

.d-flex {
    display: flex;
}

.align-items-center {
    align-items: center;
}

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

.flex-column {
    flex-direction: column;
}

.flex-grow-1 {
    flex-grow: 1;
}

.mt-auto {
    margin-top: auto;
}

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


.py-4 {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

@media (max-width: 991px) {
    .navbar-toggler {
        display: block !important;
        border: 2px solid rgba(255,255,255,0.5);
        border-radius: 0.3125rem;
        padding: 0.5rem;
        background: transparent;
        cursor: pointer;
    }
    
    .navbar-collapse {
        display: none !important;
        width: 100%;
        flex-basis: 100%;
        flex-grow: 1;
        align-items: center;
    }
    
    .navbar-collapse.show,
    .navbar-collapse-menu.show {
        display: flex !important;
        flex-direction: column;
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid rgba(255,255,255,0.2);
        background: transparent !important;
    }
    
    .navbar-nav,
    .navbar-nav-list {
        flex-direction: column !important;
        gap: 0.5rem;
        width: 100%;
        background: transparent !important;
    }
    
    .nav-link,
    .nav-link-inline {
        margin: 0;
        padding: 1rem;
        width: 100%;
        justify-content: flex-start;
        background: transparent !important;
    }
    
    .nav-link::after,
    .nav-link-inline::after {
        display: none;
    }
    
    .nav-link.active,
    .nav-link-inline.active {
        background: rgba(255,255,255,0.25) !important;
        border-left: 0.25rem solid white;
    }
}

@media (min-width: 992px) {
    .navbar-toggler {
        display: none !important;
    }
    
    .navbar-collapse {
        display: flex !important;
        flex-basis: auto;
        flex-grow: 1;
        align-items: center;
    }
    
    .navbar-nav {
        flex-direction: row !important;
    }
}

@media (max-width: 767px) {
    .col-md-4 {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        margin-bottom: 2rem;
    }
}

/* Hero Slider Styles */
#heroCarousel {
    height: 100vh;
    margin-top: -6rem;
    width: 100%;
    padding-top: 0;
    position: relative;
}

.carousel {
    position: relative;
    width: 100%;
}

.carousel-inner {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.carousel-item {
    position: relative;
    display: none;
    float: left;
    width: 100%;
    height: 100%;
    margin-right: -100%;
    backface-visibility: hidden;
    transition: transform 0.6s ease-in-out;
}

.carousel-item.active {
    display: block;
}

.carousel-fade .carousel-item {
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    transform: none;
}

.carousel-fade .carousel-item.active {
    opacity: 1;
    transition-delay: 0s;
}

.carousel-fade .carousel-item:not(.active) {
    opacity: 0;
    transition-delay: 0s;
}

/* Yazıların aktif slaytta tamamen görünür kalması */
.carousel-item.active .hero-title,
.carousel-item.active .hero-text,
.carousel-item.active .hero-content {
    opacity: 1 !important;
    visibility: visible !important;
    transition: opacity 0.3s ease-in-out;
}

/* Yazıların geçiş sırasında kaybolması */
.carousel-item:not(.active) .hero-title,
.carousel-item:not(.active) .hero-text,
.carousel-item:not(.active) .hero-content {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-in-out;
}

.hero-slide {
    height: 100% !important;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    position: relative;
    transition: transform 0.6s ease-in-out;
}


@media (min-width: 768px) {
    .hero-slide {
        background-attachment: fixed;
    }
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(135, 206, 235, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 50%, rgba(91, 163, 245, 0.1) 0%, transparent 50%);
    z-index: 0;
    pointer-events: none;
}

.carousel-indicators {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 2;
    display: flex;
    justify-content: center;
    padding: 0;
    margin-right: 15%;
    margin-bottom: 1rem;
    margin-left: 15%;
    list-style: none;
}

.carousel-indicators button {
    box-sizing: content-box;
    flex: 0 1 auto;
    width: 1.875rem;
    height: 0.1875rem;
    padding: 0;
    margin-right: 0.1875rem;
    margin-left: 0.1875rem;
    text-indent: -999px;
    cursor: pointer;
    background-color: #fff;
    background-clip: padding-box;
    border: 0;
    border-top: 0.625rem solid transparent;
    border-bottom: 0.625rem solid transparent;
    opacity: 0.5;
    transition: opacity 0.6s ease;
    border-radius: 0.125rem;
}

.carousel-indicators button.active {
    opacity: 1;
}

.carousel-indicators button:hover {
    opacity: 0.75;
}

.carousel-indicators button {
    box-sizing: content-box;
    flex: 0 1 auto;
    width: 1.875rem;
    height: 0.1875rem;
    padding: 0;
    margin-right: 0.1875rem;
    margin-left: 0.1875rem;
    text-indent: -999px;
    cursor: pointer;
    background-color: rgba(255,255,255,0.5);
    background-clip: padding-box;
    border: 0;
    border-top: 0.625rem solid transparent;
    border-bottom: 0.625rem solid transparent;
    opacity: 0.5;
    transition: opacity 0.6s ease;
}

.carousel-indicators button.active {
    opacity: 1;
    background-color: white;
}

.carousel-control-prev,
.carousel-control-next {
    position: absolute;
    top: 0;
    bottom: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 5%;
    padding: 0;
    color: #fff;
    text-align: center;
    background: 0 0;
    border: 0;
    opacity: 0.5;
    transition: opacity 0.15s ease;
    cursor: pointer;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 0.9;
    color: #fff;
}

.carousel-control-prev {
    left: 0;
}

.carousel-control-next {
    right: 0;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    display: inline-block;
    width: 3rem;
    height: 3rem;
    background-color: rgba(91, 163, 245, 0.7);
    border-radius: 50%;
    background-repeat: no-repeat;
    background-position: 50%;
    background-size: 100% 100%;
    backdrop-filter: blur(0.625rem);
    transition: all 0.3s ease;
    box-shadow: 0 0.25rem 0.9375rem rgba(91, 163, 245, 0.3);
}

.carousel-control-prev:hover .carousel-control-prev-icon,
.carousel-control-next:hover .carousel-control-next-icon {
    background-color: rgba(91, 163, 245, 0.9);
    transform: scale(1.1);
    box-shadow: 0 0.375rem 1.25rem rgba(91, 163, 245, 0.5);
}

.carousel-control-prev-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e");
}

.carousel-control-next-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    display: inline-block;
    width: 2rem;
    height: 2rem;
    background-color: rgba(0,0,0,0.5);
    border-radius: 50%;
    background-repeat: no-repeat;
    background-position: 50%;
    background-size: 100% 100%;
}

.carousel-control-prev-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e");
}

.carousel-control-next-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0,0,0,0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.hero-section {
    background: var(--gradient-primary);
    color: white;
    padding: 6.25rem 0;
    margin-top: 4.375rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    width: 100%;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.3;
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.2);
    line-height: 1.2;
}

.hero-section p {
    font-size: 1.35rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* Card Styles */
.card {
    background: white;
    border-radius: 0.9375rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

.treatment-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    border-radius: 0.9375rem;
    overflow: hidden;
    height: 100%;
    background: white;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.treatment-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

.treatment-card img {
    height: 220px;
    object-fit: contain !important;
    width: 100% !important;
    transition: transform 0.3s ease;
    display: block !important;
    position: relative !important;
    z-index: 3 !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.treatment-card .treatment-card-image-wrapper img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    position: relative !important;
    z-index: 3 !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.treatment-card .treatment-card-image-wrapper.treatment-card-real-image {
    background: transparent !important;
}

.treatment-card .treatment-card-image-wrapper.treatment-card-real-image.treatment-card-color-blue,
.treatment-card .treatment-card-image-wrapper.treatment-card-real-image.treatment-card-color-purple,
.treatment-card .treatment-card-image-wrapper.treatment-card-real-image.treatment-card-color-pink,
.treatment-card .treatment-card-image-wrapper.treatment-card-real-image.treatment-card-color-green {
    background: transparent !important;
}

.treatment-card .treatment-card-image-wrapper img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    position: relative !important;
    z-index: 3 !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.treatment-card img[src$=".svg"] {
    object-fit: contain !important;
    padding: 1rem !important;
    background: transparent !important;
    filter: none !important;
    opacity: 1 !important;
    display: block !important;
    width: auto !important;
    max-width: 90% !important;
    height: auto !important;
    max-height: 90% !important;
    visibility: visible !important;
    z-index: 3 !important;
    position: relative !important;
}

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

.treatment-card .card-body {
    padding: 2rem;
}

.treatment-card .card-title {
    font-size: 1.5rem;
}

/* Treatments page grid - 3 columns */
.treatments-row {
    margin: 0 -0.625rem !important;
}

.treatments-row > .col-md-4 {
    padding: 0 0.625rem !important;
    margin-bottom: 1rem !important;
}

@media (min-width: 768px) {
    .treatments-row > .col-md-4 {
        flex: 0 0 33.333333% !important;
        max-width: 33.333333% !important;
        width: 33.333333% !important;
    }
}
 


.treatment-card .card-text {
    color: #6c757d;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
    color: var(--dark-color);
    position: relative;
    padding-bottom: 1.5rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 0.125rem;
}

.section-title h2 {
    font-size: 2.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #212529;
    line-height: 1.2;
}

.section-title p {
    color: #6c757d;
    font-size: 1.2rem;
    margin-top: 0.5rem;
}

.contact-form {
    background: white;
    padding: 2.5rem;
    border-radius: 0.9375rem;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border: 1px solid rgba(0,0,0,0.05);
}

.contact-form h3 {
    color: #212529;
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-size: 1.75rem;
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    line-height: 1.5;
    color: #212529;
    background-color: #fff;
    border: 1px solid #dee2e6;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    margin-bottom: 1rem;
}

.form-control:focus {
    outline: none;
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.15);
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #212529;
}

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

/* Button Styles */
.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    line-height: 1.5;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 0.25rem 0.9375rem rgba(91, 163, 245, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(90deg, #5BA3F5 0%, #4A90E2 100%);
    transform: translateY(-2px);
    box-shadow: 0 0.375rem 1.25rem rgba(91, 163, 245, 0.4);
    color: white;
}

.btn-light {
    background: white;
    color: #212529;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.btn-light:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    color: #212529;
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
}

.btn i {
    margin-right: 0.5rem;
}

.about-content {
    line-height: 1.8;
}

.about-content h3 {
    color: #5BA3F5;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.about-content ul {
    padding-left: 2rem;
}

.about-content ul li {
    margin-bottom: 0.5rem;
}


.alert {
    border-radius: 10px;
    border: none;
    padding: 1rem 1.5rem;
    margin-bottom: 1.5rem;
}

.alert-success {
    background-color: #d1e7dd;
    color: #0f5132;
    border-left: 0.25rem solid #198754;
}

.alert-info {
    background-color: #cff4fc;
    color: #055160;
    border-left: 0.25rem solid #0dcaf0;
}

.alert-dismissible {
    position: relative;
    padding-right: 3rem;
}

.btn-close {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 0.3s;
}

.btn-close:hover {
    opacity: 1;
}

footer {
    margin-top: auto;
}

footer a:hover {
    color: var(--info-color) !important;
}

main {
    margin-top: 4.375rem !important;
    padding-top: 6rem !important;
    flex: 1;
    padding-bottom: 2rem;
}

/* Page Header Styles */
.page-header {
    background: var(--gradient-primary);
    color: white;
    padding: 5rem 0 3.75rem;
    text-align: center;
    margin-top: 4.375rem;
    margin-bottom: 3rem;
    width: 100%;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.page-header p {
    font-size: 1.25rem;
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto;
}

.page-header .breadcrumb {
    background: transparent;
    padding: 0;
    margin: 1rem 0 0;
    display: flex;
    justify-content: center;
    list-style: none;
    flex-wrap: wrap;
}

.page-header .breadcrumb-item {
    color: rgba(255,255,255,0.8);
    display: inline-block;
}

.page-header .breadcrumb-item.active {
    color: white;
    font-weight: 500;
}

.page-header .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255,255,255,0.6);
    content: "/";
    padding: 0 0.5rem;
    display: inline-block;
}

.page-header .breadcrumb-item a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.page-header .breadcrumb-item a:hover {
    color: white;
}

@media (max-width: 768px) {
    .page-header {
        padding: 3.75rem 0 2.5rem;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .page-header p {
        font-size: 1rem;
    }
}

.bg-light {
    background-color: #f8f9fa;
    padding: 4rem 0;
}

.bg-light .p-4 {
    padding: 2rem;
    background: white;
    border-radius: 0.9375rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
    height: 100%;
}

.bg-light .p-4:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.bg-light .p-4 i {
    transition: transform 0.3s ease;
}

.bg-light .p-4:hover i {
    transform: scale(1.1);
}

.bg-light h4 {
    color: #212529;
    font-weight: 600;
    margin-top: 1rem;
}

.bg-light p {
    color: #6c757d;
    margin-top: 0.5rem;
}

/* Stats Section */
.stats-section {
    animation: fadeInUp 0.8s ease;
}

.stat-item {
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
}

/* About Page Stats Section - 4 columns */
section[style*="background: linear-gradient(135deg, #6BB6FF"] {
    text-align: center !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

section[style*="background: linear-gradient(135deg, #6BB6FF"] .container {
    text-align: center !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding-left: 0.9375rem !important;
    padding-right: 0.9375rem !important;
    width: 100% !important;
    display: block !important;
    flex-wrap: nowrap !important;
    justify-content: center !important;
    align-items: center !important;
}

section[style*="background: linear-gradient(135deg, #6BB6FF"] .row {
    margin: 0 auto !important;
    justify-content: center !important;
    align-items: center !important;
    display: flex !important;
    flex-wrap: wrap !important;
    max-width: 100% !important;
    width: 100% !important;
}

section[style*="background: linear-gradient(135deg, #6BB6FF"] .col-md-3 {
    padding: 0 0.625rem !important;
    margin-bottom: 0 !important;
    text-align: center !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}

section[style*="background: linear-gradient(135deg, #6BB6FF"] .col-md-3 > div {
    text-align: center !important;
    margin: 0 auto !important;
    width: 100% !important;
}

section[style*="background: linear-gradient(135deg, #6BB6FF"] .col-md-3 > div > div {
    text-align: center !important;
    width: 100% !important;
    margin: 0 auto !important;
}

@media (min-width: 768px) {
    section[style*="background: linear-gradient(135deg, #6BB6FF"] .col-md-3 {
        flex: 0 0 25% !important;
        max-width: 25% !important;
        width: 25% !important;
    }
}

/* Treatment Card Modern */
.treatment-card-modern {
    transition: all 0.3s ease;
}

.treatment-card-modern:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.15) !important;
}

.treatment-card-modern:hover img {
    transform: scale(1.1);
}

.treatment-card-modern a:hover {
    color: #0b5ed7 !important;
    transform: translateX(5px);
}

/* Feature Card */
.feature-card {
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.15) !important;
}

.feature-card:hover > div:first-child {
    transform: scale(1.1) rotate(5deg);
}

.features-section .row {
    margin: 0 -0.625rem !important;
}

.features-section .row > .col-md-4 {
    padding: 0 0.625rem !important;
    margin-bottom: 1rem !important;
}

@media (min-width: 768px) {
    .features-section .col-md-4 {
        flex: 0 0 33.333333% !important;
        max-width: 33.333333% !important;
        width: 33.333333% !important;
    }
}

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

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

.about-section,
.services-section,
.features-section {
    animation: fadeIn 0.8s ease;
}

/* Button Hover Effects */
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(13, 110, 253, 0.4) !important;
}

.btn-primary {
    transition: all 0.3s ease;
}

@media (max-width: 576px) {
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-section p {
        font-size: 1rem;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    main {
        margin-top: 4.375rem;
    }
    
    .col-md-4,
    .col-md-6,
    .col-lg-4,
    .col-lg-6,
    .col-sm-6 {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }
}

/* Grid sistemini düzelt - 3 sütun için */
.services-section .row {
    display: flex !important;
    flex-wrap: wrap !important;
}

.services-section .row > * {
    padding-left: 0.9375rem !important;
    padding-right: 0.9375rem !important;
}

/* Orta ekranlar için 3 sütun */
@media (min-width: 768px) {
    .services-section .col-md-4 {
        flex: 0 0 33.333333% !important;
        max-width: 33.333333% !important;
        width: 33.333333% !important;
    }
    
    .services-section .col-md-6 {
        flex: 0 0 33.333333% !important;
        max-width: 33.333333% !important;
        width: 33.333333% !important;
    }
}

/* Büyük ekranlar için 3 sütun */
@media (min-width: 992px) {
    .services-section .col-lg-4 {
        flex: 0 0 33.333333% !important;
        max-width: 33.333333% !important;
        width: 33.333333% !important;
    }
    
    .services-section .col-md-4 {
        flex: 0 0 33.333333% !important;
        max-width: 33.333333% !important;
        width: 33.333333% !important;
    }
}

/* Küçük ekranlar için 2 sütun */
@media (min-width: 576px) and (max-width: 767px) {
    .services-section .col-sm-6 {
        flex: 0 0 50% !important;
        max-width: 50% !important;
        width: 50% !important;
    }
}

/* Çok küçük ekranlar için 1 sütun */
@media (max-width: 575px) {
    .services-section [class*="col-"] {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        width: 100% !important;
    }
}

    .hero-slide {
        min-height: 400px;
        padding: 5rem 0 !important;
    }

    .hero-slide h1 {
        font-size: 2rem !important;
    }

    .hero-slide p {
        font-size: 1rem !important;
    }

    .carousel-control-prev,
    .carousel-control-next {
        width: 10%;
    }

    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        width: 1.5rem;
        height: 1.5rem;
    }

    .stats-section {
        padding: 3.75rem 0 !important;
    }

    .stat-item div:first-child {
        font-size: 2.5rem !important;
    }

    .about-section,
    .services-section,
    .features-section {
        padding: 3.75rem 0 !important;
    }

    .about-section h2,
    .services-section h2,
    .features-section h2 {
        font-size: 2rem !important;
    }

    .about-hero h1 {
        font-size: 2.5rem !important;
    }

    .about-hero p {
        font-size: 1.1rem !important;
    }

/* About Page Styles */
.about-hero {
    animation: fadeIn 0.8s ease;
}

.about-hero h1 {
    animation: fadeInUp 0.8s ease 0.2s both;
}

.about-hero p {
    animation: fadeInUp 0.8s ease 0.4s both;
}

/* Value Cards Hover Effect */
section[style*="background: white"] .col-md-4 > div:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.15) !important;
}

section[style*="background: white"] .col-md-4 > div:hover > div:first-child {
    transform: scale(1.1) rotate(5deg);
}

/* Mission Vision Cards */
section[style*="background: #f8f9fa"] .col-md-6 > div:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0,0,0,0.12) !important;
}

/* Clinic Page Image Gallery */
section[style*="background: #f8f9fa"] .col-md-4 > div:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.15) !important;
}

section[style*="background: #f8f9fa"] .col-md-4 > div:hover img {
    transform: scale(1.05);
}

/* Contact Page Styles */
.contact-form .form-control:focus {
    border-color: #5BA3F5 !important;
    box-shadow: 0 0 0 0.2rem rgba(91, 163, 245, 0.25) !important;
    outline: none !important;
}

.contact-form .form-control {
    transition: all 0.3s ease;
}

.contact-form .form-control:hover {
    border-color: #5BA3F5;
}

/* Contact Info Cards Hover */
section[style*="background: #f8f9fa"] .col-lg-5 > div > div[style*="background: #f8f9fa"]:hover {
    background: #e9ecef !important;
    transform: translateX(5px);
}

/* About Page - Değerlerimiz Section */
section[style*="padding: 100px 0; background: white"] .text-center {
    text-align: center !important;
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
}

section[style*="padding: 100px 0; background: white"] .text-center h2 {
    text-align: center !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

section[style*="padding: 100px 0; background: white"] .row {
    margin: 0 -0.625rem !important;
}

section[style*="padding: 100px 0; background: white"] .row > .col-md-4 {
    padding: 0 0.625rem !important;
    margin-bottom: 1rem !important;
}

@media (min-width: 768px) {
    section[style*="padding: 100px 0; background: white"] .col-md-4 {
        flex: 0 0 33.333333% !important;
        max-width: 33.333333% !important;
        width: 33.333333% !important;
    }
}

/* ============================================
   MODERN DESIGN ENHANCEMENTS
   ============================================ */

/* Modern Card Styles */
.card, .treatment-card, .feature-card, .clinic-image-card, .contact-form-card, .contact-info-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: none !important;
    overflow: hidden;
    position: relative;
}

.card:hover, .treatment-card:hover, .feature-card:hover, .clinic-image-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0,0,0,0.15) !important;
}

.card::before, .treatment-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #6BB6FF 0%, #5BA3F5 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

.card:hover::before, .treatment-card:hover::before {
    transform: scaleX(1);
}

/* Modern Button Styles */
.btn {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    letter-spacing: 0.5px;
    border-radius: 12px;
    padding: 0.75rem 2rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

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

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

.btn-primary {
    background: linear-gradient(135deg, #6BB6FF 0%, #5BA3F5 100%);
    color: white;
    box-shadow: 0 8px 24px rgba(91, 163, 245, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(91, 163, 245, 0.4);
    color: white;
}

.btn-lg {
    padding: 16px 40px;
    font-size: 1.1rem;
    border-radius: 16px;
}

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

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

.animate-on-scroll {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

.animate-delay-1 {
    animation-delay: 0.1s;
}

.animate-delay-2 {
    animation-delay: 0.2s;
}

.animate-delay-3 {
    animation-delay: 0.3s;
}

/* Modern Section Spacing */
section {
    position: relative;
    overflow: hidden;
}

section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(91, 163, 245, 0.3), transparent);
}

/* Enhanced Typography */
.lead {
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.8;
    color: #495057;
}

/* Modern Form Inputs */
.form-control, .form-select {
    border-radius: 12px;
    border: 2px solid #e9ecef;
    padding: 0.75rem 1.25rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1rem;
}

.form-control:focus, .form-select:focus {
    border-color: #5BA3F5;
    box-shadow: 0 0 0 4px rgba(91, 163, 245, 0.1);
    outline: none;
}

.form-control:hover {
    border-color: #ced4da;
}

/* Gradient Text */
.gradient-text {
    background: linear-gradient(135deg, #6BB6FF 0%, #5BA3F5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

/* Modern Divider */
.divider {
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 0.125rem;
    margin: 1.25rem auto;
}

/* Hover Effects for Images */
img {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.card img:hover, .treatment-card img:hover {
    transform: scale(1.1);
}

/* Modern Navbar Enhancements */
header nav a[href="/"] {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    letter-spacing: -0.02em;
    font-size: 1.4rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

header nav a[href="/"]:hover {
    transform: scale(1.05);
    text-shadow: 0 2px 8px rgba(255, 255, 255, 0.3);
}

/* Section Titles Enhancement */
section h2, section h1 {
    position: relative;
    display: inline-block;
}

section h2::after, section h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 0.125rem;
}

/* Responsive Improvements */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .btn-lg {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }
    
    .card:hover, .treatment-card:hover {
        transform: translateY(-4px);
    }
}

/* Smooth Scroll Enhancement */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 5rem;
}

/* ============================================
   PAGE TRANSITIONS & LOADING ANIMATIONS
   ============================================ */

/* Page Content Fade In */
@keyframes fadeInPage {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.page-content {
    padding: 2rem 0;
    animation: fadeInPage 0.6s ease-out forwards;
}

.page-content img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 2rem 0;
}

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(91, 163, 245, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    opacity: 1;
    transition: opacity 0.5s ease-out;
}

.loading-screen.hidden {
    opacity: 0;
    pointer-events: none;
}

/* Loading Tooth Icon */
.loading-tooth {
    display: flex !important;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 100000;
}

.loading-tooth .tooth-icon {
    width: 120px;
    height: 120px;
    fill: white !important;
    stroke: white !important;
    animation: toothPulse 1.5s ease-in-out infinite;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative;
    z-index: 1;
}

.tooth-emoji-icon {
    font-size: 120px !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative;
    z-index: 100001;
    animation: toothPulse 1.5s ease-in-out infinite;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.4));
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
    line-height: 1;
}

.loading-tooth i {
    font-size: 120px !important;
    color: white !important;
    animation: toothPulse 1.5s ease-in-out infinite;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.4));
    display: inline-block !important;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

@keyframes toothPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.8;
    }
}

@keyframes toothRotate {
    0% {
        transform: rotate(0deg) scale(1);
    }
    25% {
        transform: rotate(-10deg) scale(1.1);
    }
    50% {
        transform: rotate(0deg) scale(1.2);
    }
    75% {
        transform: rotate(10deg) scale(1.1);
    }
    100% {
        transform: rotate(0deg) scale(1);
    }
}


/* Link Transition Effect */
a:not(.nav-link):not(.btn):not([href^="#"]):not([href^="mailto"]):not([href^="tel"]) {
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

a:not(.nav-link):not(.btn):not([href^="#"]):not([href^="mailto"]):not([href^="tel"])::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #6BB6FF 0%, #5BA3F5 100%);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

a:not(.nav-link):not(.btn):not([href^="#"]):not([href^="mailto"]):not([href^="tel"]):hover::after {
    width: 100%;
}

/* Section Fade In on Scroll - fadeInUp already defined above */

.fade-in-section {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger Animation Delays */
.fade-in-section:nth-child(1) { transition-delay: 0.1s; }
.fade-in-section:nth-child(2) { transition-delay: 0.2s; }
.fade-in-section:nth-child(3) { transition-delay: 0.3s; }
.fade-in-section:nth-child(4) { transition-delay: 0.4s; }
.fade-in-section:nth-child(5) { transition-delay: 0.5s; }
.fade-in-section:nth-child(6) { transition-delay: 0.6s; }

/* ============================================
   UTILITY CLASSES - Inline Style Replacements
   ============================================ */

/* Hero Slide Styles */
.hero-slide {
    position: relative;
    background-size: cover;
    background-position: center;
    height: 100vh;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, rgba(135, 206, 235, 0.75) 0%, rgba(91, 163, 245, 0.8) 100%);
    z-index: 1;
    transition: opacity 0.6s ease-in-out;
}

.hero-slide-overlay-secondary {
    background: linear-gradient(90deg, rgba(91, 163, 245, 0.75) 0%, rgba(74, 144, 226, 0.8) 100%);
}

.hero-slide-overlay-accent {
    background: linear-gradient(90deg, rgba(107, 182, 255, 0.75) 0%, rgba(91, 163, 245, 0.8) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    padding: 5rem 0;
    animation: fadeInUp 1s ease-out;
}

/* fadeInUp already defined above */

.hero-title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1.75rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 20px rgba(0,0,0,0.4), 0 2px 10px rgba(91, 163, 245, 0.3);
    letter-spacing: -0.02em;
    line-height: 1.1;
    animation: fadeInUp 1s ease-out 0.2s both;
    opacity: 1 !important;
    visibility: visible !important;
}

.hero-text {
    font-size: clamp(0.95rem, 1.5vw, 1.2rem);
    margin-bottom: 2.5rem;
    opacity: 1 !important;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 2px 15px rgba(0,0,0,0.3), 0 1px 5px rgba(91, 163, 245, 0.2);
    line-height: 1.8;
    animation: fadeInUp 1s ease-out 0.4s both;
    font-weight: 400;
    visibility: visible !important;
}

.btn-back-to-treatments {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.75rem 1.5rem;
    background: var(--gradient-primary);
    color: white !important;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    border-radius: 3.125rem;
    transition: all 0.3s ease;
    box-shadow: 0 0.25rem 0.9375rem rgba(91, 163, 245, 0.3);
    border: none;
    cursor: pointer;
    white-space: nowrap;
}

.btn-back-to-treatments:hover {
    background: linear-gradient(90deg, #5BA3F5 0%, #4A90E2 100%);
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 0.5rem 1.25rem rgba(91, 163, 245, 0.4);
}

.btn-back-to-treatments i {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.btn-back-to-treatments:hover i {
    transform: translateX(-3px);
}

.btn-hero {
    padding: 0.9375rem 2.5rem;
    border-radius: 3.125rem;
    font-weight: 600;
    box-shadow: 0 0.625rem 1.875rem rgba(0,0,0,0.3);
    transition: all 0.3s;
    margin-top: var(--spacing-md);
}

/* Section Styles */
/* Optimized Section Padding System */
.section-padding {
    padding: var(--section-padding-lg) 0;
}

.section-padding-md {
    padding: var(--section-padding-md) 0;
}

.section-padding-sm {
    padding: var(--section-padding-sm) 0;
}

.section-padding-lg {
    padding: var(--section-padding-xl) 0;
}

.section-padding-xl {
    padding: 7.5rem 0;
}

.bg-section-light {
    background: var(--bg-light-top);
}

.bg-section-white {
    background: white;
}

/* Section Title Styles */
.section-title-wrapper {
    margin-bottom: 3.5rem;
    text-align: center;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.section-title-main {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    margin-bottom: 1rem;
    color: #212529;
    text-align: center;
    width: 100%;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: clamp(0.9rem, 1.5vw, 1rem);
    color: #6c757d;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    width: 100%;
    line-height: 1.7;
}

.section-divider {
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    margin: 1.25rem auto;
    border-radius: 0.125rem;
}

/* About Section Styles */
.about-image-wrapper {
    position: relative;
}

.about-image {
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.about-image-decoration {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #6BB6FF 0%, #5BA3F5 100%);
    border-radius: 20px;
    z-index: -1;
    opacity: 0.3;
}

.about-content-wrapper {
    padding-left: 1.875rem;
}

.about-heading {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1.5625rem;
    color: #212529;
    position: relative;
    padding-bottom: 0.9375rem;
}

.about-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 0.125rem;
}

.about-text {
    font-size: 0.95rem;
    line-height: 1.8;
    color: #495057;
}

/* Treatment Card Modern Styles */
.treatment-card-wrapper {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid #f0f0f0;
}

.treatment-card-image-wrapper {
    position: relative;
    overflow: hidden;
    height: 220px;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.treatment-card-image-wrapper img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    position: relative !important;
    z-index: 2 !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.treatment-card-image-wrapper.treatment-card-real-image {
    background: transparent !important;
    height: 250px;
}

.treatment-card-image-wrapper.treatment-card-real-image img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    position: relative !important;
    z-index: 2 !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.treatment-card-image-wrapper.treatment-card-real-image.treatment-card-color-blue,
.treatment-card-image-wrapper.treatment-card-real-image.treatment-card-color-purple,
.treatment-card-image-wrapper.treatment-card-real-image.treatment-card-color-pink,
.treatment-card-image-wrapper.treatment-card-real-image.treatment-card-color-green,
.treatment-card-image-wrapper.treatment-card-real-image.treatment-card-color-default {
    background: transparent !important;
}

/* Ensure images are visible in treatment cards */
.treatment-card .treatment-card-image-wrapper.treatment-card-real-image {
    background: transparent !important;
}

.treatment-card .treatment-card-image-wrapper.treatment-card-real-image.treatment-card-color-blue,
.treatment-card .treatment-card-image-wrapper.treatment-card-real-image.treatment-card-color-purple,
.treatment-card .treatment-card-image-wrapper.treatment-card-real-image.treatment-card-color-pink,
.treatment-card .treatment-card-image-wrapper.treatment-card-real-image.treatment-card-color-green,
.treatment-card .treatment-card-image-wrapper.treatment-card-real-image.treatment-card-color-default {
    background: transparent !important;
}

/* Treatment Card Color Variants */
.treatment-card-color-blue {
    background: linear-gradient(90deg, #87CEEB 0%, #5BA3F5 100%);
}

.treatment-card-color-purple {
    background: linear-gradient(90deg, #5BA3F5 0%, #4A90E2 100%);
}

.treatment-card-color-pink {
    background: linear-gradient(90deg, #6BB6FF 0%, #5BA3F5 100%);
}

.treatment-card-color-green {
    background: linear-gradient(90deg, #87CEEB 0%, #6BB6FF 100%);
}

.treatment-card-color-default {
    background: var(--gradient-primary);
}

.treatment-card-image {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    transition: transform 0.5s ease;
    background: transparent !important;
    display: block !important;
    position: relative !important;
    z-index: 3 !important;
    min-height: 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.treatment-card-image.treatment-card-photo {
    object-fit: cover !important;
    object-position: center !important;
    z-index: 2 !important;
    width: 100% !important;
    height: 100% !important;
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    background: transparent !important;
    filter: none !important;
}

/* Force JPG images to be visible */
.treatment-card-image-wrapper.treatment-card-real-image img[src$=".jpg"],
.treatment-card-image-wrapper.treatment-card-real-image img[src$=".jpeg"],
.treatment-card-image-wrapper.treatment-card-real-image img[src$=".png"],
.treatment-card-image-wrapper.treatment-card-real-image img[src$=".webp"],
.treatment-card-image.treatment-card-photo {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    z-index: 10 !important;
    position: relative !important;
    background: transparent !important;
    filter: none !important;
    max-width: 100% !important;
    max-height: 100% !important;
}

.treatment-card-wrapper:hover .treatment-card-image.treatment-card-photo,
.treatment-card:hover .treatment-card-image.treatment-card-photo {
    transform: scale(1.1);
}

.treatment-card-image[src$=".svg"] {
    object-fit: contain !important;
    padding: 1rem !important;
    background: transparent !important;
    filter: none !important;
    opacity: 1 !important;
    display: block !important;
    width: auto !important;
    max-width: 90% !important;
    height: auto !important;
    max-height: 90% !important;
    visibility: visible !important;
    z-index: 3 !important;
    position: relative !important;
    margin: 0 auto !important;
}

.treatment-card-image[src$=".svg"]:hover {
    opacity: 1;
    transform: scale(1.1);
}

.treatment-card-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent !important;
    opacity: 0 !important;
    transition: opacity 0.3s ease;
    z-index: 1;
    pointer-events: none;
}

.treatment-card-real-image .treatment-card-image-overlay {
    background: linear-gradient(to bottom, rgba(91, 163, 245, 0.05) 0%, rgba(74, 144, 226, 0.15) 100%);
    opacity: 0.3;
}

.treatment-card-wrapper:hover .treatment-card-real-image .treatment-card-image-overlay,
.treatment-card:hover .treatment-card-real-image .treatment-card-image-overlay {
    opacity: 0.1;
}

/* Treatment Detail Page Container */
/* Treatment Detail Page Container */
.treatment-detail-container {
    margin-top: 5rem;
    margin-bottom: 2rem;
    padding: 0;
    position: relative;
    max-width: 100%;
    width: 100%;
}

.treatment-detail-back-button {
    position: absolute;
    left: 1.5rem;
    top: 0;
    z-index: 10;
}

.treatment-detail-content-wrapper {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 4rem;
    padding-top: 3.5rem;
}

.treatment-detail-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
    color: #212529;
}

.treatment-detail-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
    color: #212529;
}

/* Treatment Detail Page Image Styles */
.treatment-detail-image-wrapper {
    border-radius: 1.25rem;
    overflow: hidden;
    box-shadow: 0 0.625rem 2.5rem rgba(91, 163, 245, 0.2);
    background: var(--gradient-primary);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.treatment-detail-image-wrapper.treatment-detail-real-image {
    background: transparent !important;
    padding: 0;
}

.treatment-detail-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 0.75rem;
    transition: transform 0.3s ease;
}

.treatment-detail-image.treatment-detail-photo {
    width: 100%;
    height: auto;
    min-height: 400px;
    object-fit: cover;
    object-position: center;
    border-radius: 1.25rem;
}

.treatment-detail-image-wrapper:hover .treatment-detail-image {
    transform: scale(1.02);
}

.treatment-detail-image-wrapper img[src$=".svg"] {
    max-height: 25rem;
    object-fit: contain;
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
}

.treatment-detail-image-wrapper.treatment-detail-real-image img {
    object-fit: cover !important;
    min-height: 400px;
    max-height: 500px;
    width: 100%;
    height: auto;
    border-radius: 1.25rem;
}

.treatment-detail-image-wrapper img[src$=".jpg"],
.treatment-detail-image-wrapper img[src$=".jpeg"],
.treatment-detail-image-wrapper img[src$=".png"],
.treatment-detail-image-wrapper img[src$=".webp"] {
    object-fit: cover;
    max-height: 31.25rem;
}

/* Treatment Content Styles */
.treatment-content {
    background: white;
    padding: 2rem;
    border-radius: 1.25rem;
    box-shadow: 0 0.625rem 2.5rem rgba(0,0,0,0.08);
    margin-bottom: 1.5rem;
}

.treatment-content-title {
    font-size: clamp(1.5rem, 3vw, 1.8rem);
    font-weight: 700;
    margin-bottom: 1rem;
    color: #212529;
}

.treatment-content-text {
    font-size: clamp(1rem, 2vw, 1.1rem);
    line-height: 1.8;
    color: #495057;
}

.treatment-content-text p {
    margin-bottom: 1rem;
}

.treatment-content-text p:last-child {
    margin-bottom: 0;
}

.treatment-card-body {
    padding: 1.875rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.treatment-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.9375rem;
    color: #212529;
}

.treatment-card-text {
    color: #6c757d;
    line-height: 1.7;
    flex-grow: 1;
    margin-bottom: 1.25rem;
    font-size: 0.9rem;
}

.treatment-card-link {
    color: #0d6efd;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s;
    font-size: 0.9rem;
}

.treatment-card-link:hover {
    color: #0b5ed7;
    transform: translateX(5px);
}

/* Treatment Details Button - More Readable */
.btn-treatment-details {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 1.75rem;
    background: var(--gradient-primary);
    color: white !important;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 0.25rem 0.9375rem rgba(91, 163, 245, 0.3);
    border: none;
    cursor: pointer;
    width: auto;
    margin-top: auto;
}

.btn-treatment-details:hover {
    background: linear-gradient(90deg, #5BA3F5 0%, #4A90E2 100%);
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 0.5rem 1.25rem rgba(91, 163, 245, 0.4);
}

.btn-treatment-details i {
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.btn-treatment-details:hover i {
    transform: translateX(4px);
}

/* Feature Card Styles */
.feature-card-wrapper {
    background: white;
    padding: 2.5rem;
    border-radius: 1.25rem;
    text-align: center;
    box-shadow: 0 0.625rem 2.5rem rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
}

.clinic-feature-section .row-gutter > .col-md-4 {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    height: auto;
}

.clinic-feature-section .feature-card-wrapper {
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 auto;
}

.clinic-feature-section .feature-card-wrapper .clinic-feature-text {
    flex-grow: 1;
    display: block;
    text-align: center;
    margin-top: auto;
}

.feature-card-wrapper > * {
    width: 100%;
}

.feature-icon-wrapper {
    flex-shrink: 0;
    margin-bottom: 1.5625rem;
}

.feature-icon-wrapper {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #6BB6FF 0%, #5BA3F5 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    box-shadow: 0 10px 30px rgba(91, 163, 245, 0.3);
}

.feature-icon-wrapper-secondary {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    box-shadow: 0 10px 30px rgba(245, 87, 108, 0.3);
}

.feature-icon-wrapper-accent {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    box-shadow: 0 10px 30px rgba(79, 172, 254, 0.3);
}

.feature-icon {
    font-size: 2.5rem;
    color: white;
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.9375rem;
    color: #212529;
}

.feature-text {
    color: #6c757d;
    line-height: 1.7;
}

/* Stats Section */
.stats-section-wrapper {
    background: linear-gradient(135deg, #6BB6FF 0%, #5BA3F5 100%);
    padding: 60px 0;
    border-radius: 0;
    margin-bottom: 60px;
    box-shadow: 0 20px 60px rgba(91, 163, 245, 0.25);
    width: 100%;
    margin-left: 0;
    margin-right: 0;
}

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

.stat-item-wrapper {
    color: white;
    padding: 20px;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1;
    text-align: center;
}

.stat-label {
    font-size: 1.2rem;
    opacity: 0.95;
    text-align: center;
}

/* Stats Row Horizontal - Tüm ekran boyutlarında yatay */
.stats-row-horizontal {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-evenly;
    align-items: center;
    width: 100%;
    gap: 1.25rem;
}

@media (max-width: 576px) {
    .stats-row-horizontal {
        flex-wrap: nowrap;
        gap: 0.625rem;
    }
    
    .stat-item-wrapper {
        padding: 15px 5px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 0.9rem;
    }
}

/* Row Utilities */
/* Optimized Row Gutter System */
.row-gutter {
    margin: 0 -0.75rem;
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
}

.row-gutter > * {
    padding: 0 0.75rem;
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
}

.row-gutter > *:last-child {
    margin-bottom: 0;
}

/* Contact Info Cards */
.contact-info-card {
    padding: 10px;
    background: #f8f9fa;
    border-radius: 10px;
    transition: all 0.3s;
    height: 100%;
    min-height: 80px;
}

.contact-info-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #6BB6FF 0%, #5BA3F5 100%);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-info-icon-secondary {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.contact-info-icon-accent {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.contact-info-icon-warning {
    background: linear-gradient(135deg, #ffa726 0%, #fb8c00 100%);
}

.contact-info-icon i {
    font-size: 1rem;
    color: white;
}

.contact-info-content {
    flex: 1;
    min-width: 0;
}

.contact-info-label {
    color: #212529;
    font-size: 0.875rem;
    display: block;
    margin-bottom: 2px;
    font-weight: 600;
}

.contact-info-value {
    color: #6c757d;
    font-size: 0.8rem;
    line-height: 1.4;
}

/* Page Header Styles */
.page-header-hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #6BB6FF 0%, #5BA3F5 100%);
    color: white;
    margin-top: 4.375rem;
}

.page-header-title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    margin-bottom: 1.25rem;
    text-shadow: 0 4px 20px rgba(0,0,0,0.3);
    letter-spacing: -0.02em;
}

.page-header-text {
    font-size: clamp(1rem, 2vw, 1.2rem);
    opacity: 0.95;
    max-width: 700px;
    margin: 0 auto;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

/* Clinic Gallery */
.clinic-gallery-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.clinic-gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0,0,0,0.15);
}

.clinic-gallery-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.3s ease;
    border-radius: 20px;
}

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

.clinic-gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    padding: 20px;
    color: white;
}

.clinic-gallery-title {
    margin: 0;
    font-weight: 600;
}

/* About Page Specific Styles */
.about-hero-section {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #6BB6FF 0%, #5BA3F5 100%);
    color: white;
    margin-top: 4.375rem;
}

.about-hero-title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    margin-bottom: 1.25rem;
    text-shadow: 0 4px 20px rgba(0,0,0,0.3);
    letter-spacing: -0.02em;
}

.about-hero-title::after {
    display: none;
}

.about-hero-text {
    font-size: clamp(1rem, 2vw, 1.2rem);
    opacity: 0.95;
    max-width: 700px;
    margin: 0 auto;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.about-main-content {
    padding: 100px 0 80px;
    background: white;
    margin-top: 4.375rem;
}

.about-content-title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 800;
    margin-bottom: 25px;
    color: #212529;
    letter-spacing: -0.02em;
    text-align: center;
}

.about-content-text {
    font-size: clamp(0.95rem, 1.5vw, 1.1rem);
    line-height: 1.8;
    color: #495057;
    max-width: 900px;
    margin: 0 auto 30px;
    text-align: center;
}

.about-feature-box {
    padding: 20px;
    background: #f8f9fa;
    border-radius: 0.9375rem;
    text-align: center;
    height: 100%;
}

.about-feature-icon {
    font-size: 2.5rem;
    color: #5BA3F5;
    margin-bottom: 0.9375rem;
}

.about-feature-title {
    font-weight: 700;
    color: #212529;
    margin-bottom: 10px;
}

/* Clinic Gallery Styles */
.clinic-gallery-section {
    margin-top: 60px;
}

.clinic-feature-section {
    padding: 6.25rem 0;
    background: white;
}

.clinic-feature-section .row-gutter {
    display: flex !important;
    flex-wrap: wrap;
    align-items: stretch;
    margin: 0 -0.75rem;
}

.clinic-feature-section .row-gutter > .col-md-4 {
    display: flex !important;
    flex-direction: column !important;
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
    padding: 0 0.75rem;
    margin-bottom: 1.5rem;
}

@media (max-width: 991.98px) {
    .clinic-feature-section .row-gutter > .col-md-4 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

.clinic-feature-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.9375rem;
    margin-top: 0;
    color: #212529;
    flex-shrink: 0;
    min-height: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.clinic-feature-text {
    color: #6c757d;
    line-height: 1.7;
    flex-grow: 1;
    margin-bottom: 0;
    display: block;
    text-align: center;
}

/* Lightbox Modal Styles */
.image-lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    inset: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background-color: rgba(0, 0, 0, 0.95);
    animation: fadeIn 0.3s ease;
    overflow: hidden !important;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    transform: none !important;
}

.image-lightbox.active {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-direction: column !important;
    position: fixed !important;
    inset: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    transform: none !important;
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    animation: zoomIn 0.3s ease;
    margin: 0 !important;
    padding: 20px;
    box-sizing: border-box;
    width: auto;
    height: auto;
    flex-shrink: 0;
    text-align: center;
}

.lightbox-image {
    max-width: 100%;
    max-height: calc(90vh - 100px);
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    display: block;
    margin: 0 auto;
    position: relative;
    vertical-align: middle;
}

.lightbox-title {
    color: white;
    text-align: center;
    padding: 20px 0;
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 20px;
    width: 100%;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 40px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10000;
    transition: transform 0.3s ease;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.lightbox-close:hover {
    transform: rotate(90deg);
    background: rgba(255, 255, 255, 0.2);
}

/* fadeIn already defined above */

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Responsive Utilities */
@media (max-width: 768px) {
    .about-content-wrapper {
        padding-left: 0;
        padding-top: 30px;
    }
    
    .section-padding {
        padding: 60px 0;
    }
    
    .section-padding-md {
        padding: 40px 0;
    }
    
    .hero-content {
        padding: 60px 0;
    }
    
    .about-hero-section {
        padding: 5rem 0 3.75rem;
    }
    
    .about-main-content {
        padding: 3.5rem 0;
    }
    
    .treatment-detail-image-wrapper {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .treatment-detail-image-wrapper img[src$=".svg"] {
        max-height: 18.75rem;
        padding: 1rem;
    }
    
    .treatment-detail-container {
        margin-top: 4rem;
    }
    
    .treatment-detail-back-button {
        position: relative;
        left: auto;
        top: auto;
        margin-bottom: 1rem;
        padding: 0 0.75rem;
    }
    
    .treatment-detail-content-wrapper {
        padding: 0 1rem;
        padding-top: 0;
        max-width: 100%;
    }
}

/* Tablet ve orta boy ekranlar için treatment detail genişlik ayarı */
@media (min-width: 769px) and (max-width: 1400px) {
    .treatment-detail-content-wrapper {
        max-width: 1100px;
        padding: 0 3rem;
    }
}

@media (max-width: 768px) {
    .treatment-content {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .treatment-content-title {
        font-size: 1.5rem;
        margin-bottom: 0.875rem;
    }
    
    .treatment-content-text {
        font-size: 1rem;
    }
    
    .treatment-detail-image-wrapper {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    .btn-back-to-treatments {
        font-size: 0.875rem;
        padding: 0.625rem 1.25rem;
    }
    
    .treatment-content-text {
        font-size: 1rem;
    }
    
    .btn-treatment-details {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .treatment-card-image-wrapper {
        height: 180px;
    }
    
    .treatment-card-image[src$=".svg"] {
        padding: 1.5rem;
    }
}

/* Services section grid rules */
@media (min-width: 768px) {
    .services-section .row > .col-md-4,
    .services-section .row > .col-lg-4 {
        flex: 0 0 33.333333% !important;
        max-width: 33.333333% !important;
        width: 33.333333% !important;
    }
}

@media (min-width: 992px) {
    .services-section .row > .col-lg-4 {
        flex: 0 0 33.333333% !important;
        max-width: 33.333333% !important;
        width: 33.333333% !important;
    }
}

/* Fallback styles if Bootstrap doesn't load */
.bi::before {
    display: inline-block;
    font-family: bootstrap-icons !important;
    font-style: normal;
    font-weight: normal !important;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    vertical-align: -.125em;
    -webkit-font-smoothing: antialiased;
}

.bi-tooth::before { content: "\f5c4"; }
.bi-house-door::before { content: "\f4a7"; }
.bi-info-circle::before { content: "\f431"; }
.bi-heart-pulse::before { content: "\f42e"; }
.bi-envelope::before { content: "\f32f"; }

/* Inline styles moved from HTML */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: var(--gradient-header);
    box-shadow: 0 0.5rem 2rem rgba(13, 110, 253, 0.2);
    width: 100%;
    backdrop-filter: blur(1.25rem) saturate(180%);
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 0;
    max-width: 75rem;
    margin: 0 auto;
    width: 100%;
    padding-left: 0.9375rem;
    padding-right: 0.9375rem;
}

.navbar-brand-link {
    display: flex;
    align-items: center;
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: bold;
    gap: 0.5rem;
    margin-right: 2rem;
}

.navbar-brand-link .tooth-icon {
    font-size: 1.5rem;
}

.navbar-brand-fallback {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
}

.footer-title-fallback {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    color: white;
}

.navbar-logo {
    height: 3.5rem;
    width: auto;
    max-width: 300px;
    object-fit: contain;
    transition: opacity 0.3s ease;
    display: block;
}

.navbar-brand-link:hover .navbar-logo {
    opacity: 0.9;
}

.navbar-brand-link {
    padding: 0.25rem 0;
}

@media (max-width: 768px) {
    .navbar-logo {
        height: 3rem;
        max-width: 240px;
    }
}

@media (max-width: 576px) {
    .navbar-logo {
        height: 2.5rem;
        max-width: 200px;
    }
}

.navbar-toggler-btn {
    display: none;
    background: transparent;
    border: 0.125rem solid rgba(255,255,255,0.5);
    border-radius: 0.3125rem;
    padding: 0.5rem;
    cursor: pointer;
}

.navbar-toggler-icon {
    display: block;
    width: 1.5em;
    height: 1.5em;
    background-image: url('data:image/svg+xml,%3csvg xmlns=\'http://www.w3.org/2000/svg\' viewBox=\'0 0 30 30\'%3e%3cpath stroke=\'rgba%28255, 255, 255, 0.85%29\' stroke-linecap=\'round\' stroke-miterlimit=\'10\' stroke-width=\'2\' d=\'M4 7h22M4 15h22M4 23h22\'/%3e%3c/svg%3e');
    background-repeat: no-repeat;
    background-position: center;
}

footer hr {
    border-color: rgba(255,255,255,0.2);
    margin: 2.5rem 0 1.25rem;
}

.navbar-collapse-menu {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: auto;
    width: 100%;
    justify-content: space-between;
}

.navbar-nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0.5rem;
    align-items: center;
}

.nav-link-inline {
    display: flex;
    align-items: center;
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    padding: 0.75rem 1.25rem;
    border-radius: 0.5rem;
    transition: all 0.3s;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.03125rem;
}

footer {
    background: var(--gradient-footer);
    color: white;
    padding: 3.75rem 0 1.875rem;
    margin-top: 5rem;
    box-shadow: 0 -0.25rem 1.25rem rgba(91, 163, 245, 0.2);
}

.footer-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    color: white;
    display: flex;
    align-items: center;
    gap: 0.625rem;
}

.footer-title-icon {
    font-size: 1.8rem;
}

.footer-logo {
    height: 3rem;
    width: auto;
    max-width: 250px;
    object-fit: contain;
    display: block;
}

.footer-title {
    margin-bottom: 1rem;
}

@media (max-width: 576px) {
    .footer-logo {
        height: 2.5rem;
        max-width: 200px;
    }
}

.footer-text {
    color: rgba(255,255,255,0.9);
    line-height: 1.8;
    font-size: 1rem;
}

.footer-section-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    color: white;
}

.footer-link-item {
    margin-bottom: 0.75rem;
}

.footer-link {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s;
    font-size: 1rem;
}

.footer-contact-item {
    color: rgba(255,255,255,0.9);
    margin-bottom: 0.9375rem;
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
    font-size: 1rem;
    line-height: 1.6;
}

.footer-contact-item i {
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.footer-contact-item span {
    flex: 1;
    min-width: 0;
}

.footer-copyright {
    padding-top: 1.25rem;
}

.footer-copyright-text {
    color: rgba(255,255,255,0.8);
    margin: 0;
    font-size: 0.95rem;
    text-align: left;
    width: 100%;
    word-wrap: break-word;
    line-height: 1.5;
}

/* Footer Quick Links - Mobil Görünüm Düzeltmeleri */
.footer-quick-links {
    margin-right: 0;
}

@media (min-width: 768px) {
    .footer-quick-links {
        margin-right: 3rem;
    }
}

@media (max-width: 767px) {
    footer .row.justify-content-md-end {
        justify-content: flex-start !important;
    }
    
    .footer-quick-links,
    .footer-contact-info {
        width: 100%;
        max-width: 100%;
        flex: 0 0 100%;
        margin-right: 0 !important;
        margin-bottom: 2rem;
    }
    
    .footer-contact-info:last-child {
        margin-bottom: 0;
    }
}

/* Modern Contact Form Styles */
.contact-form-wrapper {
    background: white;
    padding: 3.125rem;
    border-radius: 1.5rem;
    box-shadow: 0 1.25rem 3.75rem rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.contact-form-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(135deg, #6BB6FF 0%, #5BA3F5 100%);
}

.form-group-modern {
    margin-bottom: 1.5625rem;
    position: relative;
}

.form-label-modern {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: #212529;
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.form-label-modern i {
    color: #5BA3F5;
    font-size: 1.1rem;
}

.form-control-modern {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f8f9fa;
    font-family: 'Inter', sans-serif;
}

.form-control-modern:focus {
    outline: none;
    border-color: #5BA3F5;
    background: white;
    box-shadow: 0 0 0 4px rgba(91, 163, 245, 0.1);
    transform: translateY(-2px);
}

.form-control-modern::placeholder {
    color: #adb5bd;
}

.btn-submit-modern {
    padding: 16px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

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

.btn-submit-modern:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(91, 163, 245, 0.4);
}

/* Sticky CTA Button */
.sticky-cta-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    background: linear-gradient(135deg, #6BB6FF 0%, #5BA3F5 100%);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 18px 35px;
    font-size: 1rem;
    font-weight: 600;
    box-shadow: 0 10px 40px rgba(91, 163, 245, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: pulse 2s infinite;
}

.sticky-cta-button:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 50px rgba(91, 163, 245, 0.5);
}

.sticky-cta-button i {
    font-size: 1.2rem;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 10px 40px rgba(91, 163, 245, 0.4);
    }
    50% {
        box-shadow: 0 10px 40px rgba(91, 163, 245, 0.6), 0 0 0 10px rgba(91, 163, 245, 0.1);
    }
}

@media (max-width: 768px) {
    .sticky-cta-button {
        bottom: 20px;
        right: 20px;
        padding: 14px 25px;
        font-size: 0.9rem;
    }
    
    .contact-form-wrapper {
        padding: 1.875rem 1.25rem;
    }
}

/* Animated Statistics Counter */
.stat-number {
    transition: all 0.3s ease;
}

.stat-number.animate {
    animation: countUp 1.5s ease-out;
}

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

/* Glassmorphism Effects */
.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* Modern Hover Effects */
.hover-lift {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hover-lift:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.hover-glow {
    transition: all 0.3s ease;
}

.hover-glow:hover {
    box-shadow: 0 0 30px rgba(91, 163, 245, 0.5);
}

/* Social Media Icons */
.social-media-links {
    display: flex;
    gap: 0.9375rem;
    margin-top: 20px;
}

.social-media-link {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-media-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px) scale(1.1);
    color: white;
}

/* Testimonials Section */
.testimonial-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    position: relative;
    transition: all 0.3s ease;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 30px;
    font-size: 80px;
    color: #5BA3F5;
    opacity: 0.1;
    font-family: Georgia, serif;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.testimonial-text {
    font-style: italic;
    color: #495057;
    line-height: 1.8;
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.9375rem;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #5BA3F5;
}

.testimonial-avatar-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #5BA3F5 0%, #4A90E2 100%);
    color: #ffffff;
    border: 3px solid #5BA3F5;
}

.testimonial-avatar-icon i {
    font-size: 1.8rem;
}

.testimonial-author-info h5 {
    margin: 0;
    font-size: 1.1rem;
    color: #212529;
}

.testimonial-author-info p {
    margin: 0;
    color: #6c757d;
    font-size: 0.9rem;
}

.testimonial-rating {
    color: #ffc107;
    margin-top: 10px;
}

/* Language Selector Styles */
.language-selector {
    display: flex;
    align-items: center;
    margin-left: auto;
    padding-left: 1rem;
}

.language-selector .btn-group {
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-radius: 0.5rem;
    overflow: hidden;
}

.language-selector .btn {
    border: 1px solid rgba(255,255,255,0.3);
    font-weight: 600;
    font-size: 0.85rem;
    padding: 0.5rem 0.75rem;
    transition: all 0.3s ease;
}

.language-selector .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.language-selector .btn-light {
    background: rgba(255,255,255,0.95) !important;
    color: #5BA3F5 !important;
    border-color: rgba(255,255,255,0.5) !important;
}

.language-selector .btn-outline-light {
    background: transparent !important;
    color: rgba(255,255,255,0.9) !important;
    border-color: rgba(255,255,255,0.3) !important;
}

.language-selector .btn-outline-light:hover {
    background: rgba(255,255,255,0.2) !important;
    color: white !important;
}

@media (max-width: 991px) {
    .navbar-collapse-menu {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .language-selector {
        margin-left: 0;
        margin-top: 1rem;
        width: 100%;
        justify-content: flex-start;
        padding-left: 0;
    }
}

/* Mobile Menu Styles */
@media (max-width: 991px) {
    .navbar-collapse,
    .navbar-collapse-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--gradient-header) !important;
        backdrop-filter: blur(1.25rem) saturate(180%);
        padding: 20px;
        flex-direction: column;
        align-items: flex-start !important;
        box-shadow: 0 0.5rem 2rem rgba(91, 163, 245, 0.25) !important;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        z-index: 9998;
    }
    
    .navbar-collapse.show,
    .navbar-collapse-menu.show {
        transform: translateX(0);
        background: var(--gradient-header) !important;
        backdrop-filter: blur(1.25rem) saturate(180%);
    }
    
    .navbar-toggler {
        display: block !important;
    }
    
    .navbar-collapse ul,
    .navbar-collapse-menu ul,
    .navbar-nav-list {
        flex-direction: column;
        width: 100%;
        gap: 0 !important;
        background: transparent !important;
    }
    
    .navbar-collapse ul li,
    .navbar-nav-list li {
        width: 100%;
    }
    
    .navbar-collapse .nav-link,
    .navbar-collapse-menu .nav-link,
    .navbar-collapse-menu .nav-link-inline {
        width: 100%;
        padding: 15px !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        background: transparent !important;
    }
}

/* Floating WhatsApp Button - Enhanced */
.whatsapp-float-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.whatsapp-float {
    position: relative;
    background: linear-gradient(135deg, #25D366 0%, #20BA5A 100%);
    color: white;
    border-radius: 50px;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4),
                0 8px 24px rgba(37, 211, 102, 0.3);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    overflow: hidden;
    animation: whatsappFloat 3s ease-in-out infinite;
    cursor: pointer;
}

.whatsapp-float::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.whatsapp-float:hover::before {
    opacity: 1;
}

.whatsapp-float-icon {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.whatsapp-float-icon i {
    font-size: 32px;
    line-height: 1;
    transition: transform 0.3s ease;
}

.whatsapp-float-text {
    display: none;
    margin-left: 12px;
    margin-right: 8px;
    font-size: 15px;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.whatsapp-float-tooltip {
    position: absolute;
    right: 100%;
    top: 50%;
    transform: translateY(-50%) translateX(-10px);
    background-color: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 13px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    margin-right: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

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

.whatsapp-float:hover {
    width: auto;
    padding: 0 24px;
    background: linear-gradient(135deg, #20BA5A 0%, #1DA851 100%);
    transform: scale(1.05);
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5),
                0 12px 32px rgba(37, 211, 102, 0.4);
}

.whatsapp-float:hover .whatsapp-float-icon i {
    transform: scale(1.1) rotate(5deg);
}

.whatsapp-float:hover .whatsapp-float-text {
    display: inline-block;
    opacity: 1;
    transform: translateX(0);
}

.whatsapp-float:hover .whatsapp-float-tooltip {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

.whatsapp-ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    width: 64px;
    height: 64px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    animation: ripple 2s ease-out infinite;
    pointer-events: none;
}

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

@keyframes ripple {
    0% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(2);
        opacity: 0;
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .whatsapp-float-container {
        bottom: 15px;
        right: 15px;
    }
    
    .whatsapp-float {
        width: 56px;
        height: 56px;
    }
    
    .whatsapp-float-icon i {
        font-size: 28px;
    }
    
    .whatsapp-float:hover {
        width: 56px;
        padding: 0;
    }
    
    .whatsapp-float:hover .whatsapp-float-text {
        display: none;
        opacity: 0;
    }
    
    .whatsapp-float:hover .whatsapp-float-tooltip {
        display: none;
    }
    
    .whatsapp-ripple {
        width: 56px;
        height: 56px;
    }
}

/* Tablet Responsive */
@media (min-width: 769px) and (max-width: 1024px) {
    .whatsapp-float-container {
        bottom: 18px;
        right: 18px;
    }
    
    .whatsapp-float {
        width: 60px;
        height: 60px;
    }
    
    .whatsapp-float-icon i {
        font-size: 30px;
    }
}

