

:root {
    --primary-color: var(--color-rank-1);
    --secondary-color: var(--color-rank-2);
    --dark-blue: var(--color-rank-6);
    --text-dark: var(--color-rank-3);
    --text-light: var(--color-rank-7);
    --gray-bg: var(--color-rank-9);
    --white-color: var(--color-rank-4);
    --border-color: var(--color-rank-8);
    --shadow-sm: 0 4px 16px var(--color-rank-22);
    --shadow-md: 0 8px 32px var(--color-rank-23), 0 3px 12px var(--color-rank-24);
    --shadow-lg: 0 12px 48px var(--color-rank-25), 0 6px 24px var(--color-rank-26);
    --shadow-xl: 0 24px 64px var(--color-rank-27), 0 12px 48px var(--color-rank-28);

}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    line-height: 1.3;
}

.text-primary {
    color: var(--primary-color) !important;
}

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

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--color-rank-4);
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--color-rank-5);
    border-color: var(--color-rank-5);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.btn-secondary {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--color-rank-4);
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: var(--color-rank-10);
    border-color: var(--color-rank-10);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

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

.navbar {
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar-brand {
    font-size: 1.5rem;
    font-family: 'Poppins', sans-serif;
}

.navbar-brand i {
    font-size: 1.8rem;
    margin-right: 0.5rem;
}

.nav-link {
    color: var(--text-dark);
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.nav-link.active::after {
    all: unset;
    content: '';
    position: absolute;
    bottom: 0;
    left: 1rem;
    right: 1rem;
    height: 2px;
    background-color: var(--primary-color);
}

.dropdown-menu {
    border: none;
    box-shadow: var(--shadow-sm);
    border-radius: 0.5rem;
    padding: 0.5rem 0;
    margin-top: 0.5rem;
}

.dropdown-item {
    padding: 0.5rem 1.5rem;
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    background-color: var(--color-rank-13);
    color: var(--primary-color);
}

/* =============================================
   HERO SECTION — Base (shared by home_intro)
   ============================================= */
.hero-section {
    background: linear-gradient(135deg, var(--color-rank-14) 0%, var(--color-rank-15) 100%);
    padding: 120px 0 120px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--text-dark);
}

.hero-image-wrapper {
    position: relative;
    z-index: 2;
}

/* =============================================
   HERO SLIDER — Cinematic Immersive Design
   ============================================= */
.hero-section--slider {
    background: var(--dark-blue);
    padding: 0;
    min-height: calc(100vh - 100px);
    overflow: hidden;
}

.hero-section--slider .hero-slider {
    position: relative;
    height: calc(100vh - 100px);
    min-height: 600px;
}

.hero-section--slider .hero-slider .swiper-wrapper {
    height: 100%;
}

.hero-section--slider .hero-slider .swiper-slide {
    position: relative;
    overflow: hidden;
    opacity: 0;
    transition: opacity 0.5s ease;
    height: 100%;
}

.hero-section--slider .hero-slider .swiper-slide-active {
    opacity: 1;
}

/* — Full-bleed background image — */
.hero-slide-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-slide-bg .hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 0;
    aspect-ratio: auto;
    transform: scale(1.08);
    transition: transform 10s ease-out;
}

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

/* — Cinematic overlay gradient (dark-blue tinted for brand consistency) — */
.hero-slide-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background:
        linear-gradient(160deg,
            rgba(10, 31, 68, 0.88) 0%,
            rgba(10, 31, 68, 0.58) 35%,
            rgba(10, 31, 68, 0.28) 65%,
            rgba(10, 31, 68, 0.12) 100%
        );
}

/* — Content layer — */
.hero-slide-inner {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    align-items: flex-end;
    padding-bottom: 110px;
}

/* — Minimal material content card — */
.hero-content-card {
    max-width: 620px;
    padding: 2.5rem 3rem;
    background: rgba(10, 31, 68, 0.55);
    border-left: 3px solid var(--primary-color);
    border-radius: 0 0.75rem 0.75rem 0;
    position: relative;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
}

.hero-accent-line {
    display: block;
    width: 56px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
    margin-bottom: 1.25rem;
}

.hero-section--slider .hero-content {
    position: relative;
    z-index: 2;
}

.hero-section--slider .hero-title {
    font-size: clamp(1.85rem, 4vw, 3.25rem);
    font-weight: 800;
    line-height: 1.15;
    color: #ffffff;
    margin-bottom: 0.85rem;
    letter-spacing: -0.02em;
}

.hero-section--slider .hero-title span {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-section--slider .hero-text {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

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

/* — CTA Button — */
.hero-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.85rem 2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.hero-cta-arrow {
    display: inline-block;
    font-size: 1.15rem;
    transition: transform 0.3s ease;
}

.hero-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 217, 165, 0.3);
    color: #fff;
    text-decoration: none;
}

.hero-cta-btn:focus {
    outline: none;
    box-shadow: 0 0 0 0.25rem var(--color-rank-21);
}

.hero-cta-btn:hover .hero-cta-arrow {
    transform: translateX(4px);
}

/* — Geometric corner-frame decorations — */
.hero-section--slider .hero-decoration {
    position: absolute;
    z-index: 4;
    pointer-events: none;
}

.hero-section--slider .hero-decoration-1 {
    width: 100px;
    height: 100px;
    border-top: 2px solid rgba(255, 255, 255, 0.14);
    border-left: 2px solid rgba(255, 255, 255, 0.14);
    background: none;
    border-radius: 0;
    top: 36px;
    left: 36px;
    animation: cornerPulse 5s ease-in-out infinite;
}

.hero-section--slider .hero-decoration-2 {
    width: 100px;
    height: 100px;
    border-top: 2px solid rgba(255, 255, 255, 0.14);
    border-right: 2px solid rgba(255, 255, 255, 0.14);
    border-bottom: none;
    border-left: none;
    background: none;
    border-radius: 0;
    top: 36px;
    right: 36px;
    animation: cornerPulse 5s ease-in-out infinite 1.2s;
}

.hero-section--slider .hero-decoration-3 {
    width: 100px;
    height: 100px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.14);
    border-left: 2px solid rgba(255, 255, 255, 0.14);
    border-top: none;
    border-right: none;
    background: none;
    border-radius: 0;
    bottom: 36px;
    left: 36px;
    top: auto;
    animation: cornerPulse 5s ease-in-out infinite 2.4s;
}

.hero-section--slider .hero-decoration-4 {
    width: 100px;
    height: 100px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.14);
    border-right: 2px solid rgba(255, 255, 255, 0.14);
    border-top: none;
    border-left: none;
    background: none;
    border-radius: 0;
    bottom: 36px;
    right: 36px;
    top: auto;
    left: auto;
    animation: cornerPulse 5s ease-in-out infinite 3.6s;
    font-size: 0;
    color: transparent;
}

.hero-section--slider .hero-decoration-4::before {
    content: none;
}

.hero-section--slider .hero-decoration-5 {
    width: 2px;
    height: 70px;
    background: linear-gradient(to bottom, transparent, var(--primary-color), transparent);
    top: 50%;
    right: 52px;
    left: auto;
    transform: translateY(-50%);
    border-radius: 0;
    animation: lineGlow 3.5s ease-in-out infinite;
    font-size: 0;
    color: transparent;
}

.hero-section--slider .hero-decoration-5::before {
    content: none;
}

@keyframes cornerPulse {
    0%, 100% { opacity: 0.25; }
    50%      { opacity: 0.7; }
}

@keyframes lineGlow {
    0%, 100% { opacity: 0.25; height: 70px; }
    50%      { opacity: 1;    height: 110px; }
}

/* — Navigation arrows — glassmorphism — */
.hero-section--slider .hero-slider .swiper-button-next,
.hero-section--slider .hero-slider .swiper-button-prev {
    width: 52px;
    height: 52px;
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 50%;
    box-shadow: none;
    transition: all 0.3s ease;
}

.hero-section--slider .hero-slider .swiper-button-next:after,
.hero-section--slider .hero-slider .swiper-button-prev:after {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 300;
}

.hero-section--slider .hero-slider .swiper-button-next:hover,
.hero-section--slider .hero-slider .swiper-button-prev:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: scale(1.1);
}

.hero-section--slider .hero-slider .swiper-button-next:hover:after,
.hero-section--slider .hero-slider .swiper-button-prev:hover:after {
    color: #fff;
}

/* — Pagination — horizontal bar style — */
.hero-section--slider .hero-slider .swiper-pagination {
    bottom: 40px;
    z-index: 5;
}

.hero-section--slider .hero-slider .swiper-pagination-bullet {
    width: 28px;
    height: 3px;
    background: rgba(255, 255, 255, 0.28);
    border-radius: 2px;
    opacity: 1;
    transition: all 0.3s ease;
    margin: 0 5px;
}

.hero-section--slider .hero-slider .swiper-pagination-bullet-active {
    background: var(--primary-color);
    width: 48px;
    border-radius: 2px;
}

/* — Shared keyframes (kept for home_intro compat) — */
@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-50px); }
    to   { opacity: 1; transform: translateX(0); }
}

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

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

@keyframes pulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1);   opacity: 0.8; }
    50%      { transform: translate(-50%, -50%) scale(1.1); opacity: 0.5; }
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
}

.section-subtitle {
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.tedavi-card,
.doktor-card,
.blog-card {
    border: none;
    border-radius: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
    height: 100%;
}

.tedavi-card:hover,
.doktor-card:hover,
.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
}

.tedavi-card .card-img-top,
.doktor-card .card-img-top,
.blog-card .card-img-top {
    aspect-ratio: 4/3;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.tedavi-card:hover .card-img-top,
.doktor-card:hover .card-img-top,
.blog-card:hover .card-img-top {
    transform: scale(1.05);
}

.tedavi-card .card-body,
.doktor-card .card-body,
.blog-card .card-body {
    padding: 1.5rem;
}

.tedavi-card .icon-box {
    width: 70px;
    height: 70px;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.stats-section {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: white;
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: var(--color-rank-18);
    border-radius: 50%;
    transform: translate(50%, -50%);
}

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

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    cursor: pointer;
}

.gallery-item img {
    aspect-ratio: 1/1;
    object-fit: cover;
    width: 100%;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--color-rank-32), var(--color-rank-33));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.gallery-item:hover::before {
    opacity: 1;
}

.gallery-item i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2rem;
    color: white;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover i {
    opacity: 1;
}

.cta-section {
    background: linear-gradient(135deg, var(--color-rank-13), var(--color-rank-19));
    padding: 4rem 5%;
    border-radius: 2rem;
}

.footer {
    background-color: var(--dark-blue);
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--color-rank-20);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-contact li {
    color: var(--color-rank-20);
}

.social-links a {
    display: inline-flex;
    width: 40px;
    height: 40px;
    background: var(--color-rank-18);
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

#scrollToTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    display: none;
    z-index: 999;
    border: none;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

#scrollToTop:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}



.shadow-sm {
    box-shadow: var(--shadow-sm) !important;
}
.shadow-md {
    box-shadow: var(--shadow-md) !important;
}
.shadow-lg {
    box-shadow: var(--shadow-lg) !important;
}
.shadow-xl {
    box-shadow: var(--shadow-xl) !important;
}

.breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
}

.breadcrumb-item a {
    color: var(--text-dark);
    text-decoration: none;
}

.breadcrumb-item a:hover {
    color: var(--primary-color);
}

.breadcrumb-item.active {
    color: var(--text-light);
}

.editor-content p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.editor-content h1,
.editor-content h2,
.editor-content h3,
.editor-content h4,
.editor-content h5,
.editor-content h6 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.editor-content ul,
.editor-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.editor-content ul {
    list-style: none;
    padding-left: 0;
}

.editor-content ul li {
    position: relative;
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
}

.editor-content ul li::before {
    content: "\f00c";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: var(--primary-color);
    position: absolute;
    left: 0;
    top: 0.1em;
    font-size: 1em;
}

.editor-content ol li {
    margin-bottom: 0.5rem;
}

.editor-content blockquote {
    border-left: 4px solid var(--primary-color);
    padding: 1rem 1.5rem;
    background: var(--gray-bg);
    margin: 1.5rem 0;
    font-style: italic;
}

.editor-content img {
    max-width: 100%;
    height: auto;
    border-radius: 1rem;
    margin: 1.5rem 0;
}

.sidebar .widget {
    background: white;
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-sm);
    margin-bottom: 2rem;
}

.sidebar .widget h4 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--primary-color);
}

.sidebar .widget ul {
    list-style: none;
    padding: 0;
}

.sidebar .widget ul li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.sidebar .widget ul li:last-child {
    border-bottom: none;
}

.sidebar .widget ul li a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.sidebar .widget ul li a:hover {
    color: var(--primary-color);
}

.pagination .page-link {
    color: var(--text-dark);
    border: 1px solid var(--border-color);
    margin: 0 0.25rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.pagination .page-link:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.pagination .page-item.active .page-link {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem var(--color-rank-21);
}

.accordion-button:not(.collapsed) {
    background-color: var(--color-rank-13);
    color: var(--primary-color);
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem var(--color-rank-21);
    border-color: var(--primary-color);
}

.feature-icon {
    width: 80px;
    height: 80px;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    background: linear-gradient(135deg, var(--color-rank-13), var(--color-rank-19));
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.certificate-slider {
    padding: 3rem 2rem;
    background: white;
    border-radius: 1.5rem;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.certificate-slider::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.certificate-item {
    text-align: center;
    padding: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
}

.certificate-item a {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100px;
    padding: 1rem;
    background: white;
    border-radius: 0.75rem;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.certificate-item a:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-sm);
    transform: translateY(-5px);
}

.certificate-item img {
    filter: grayscale(100%);
    opacity: 0.5;
    transition: all 0.3s ease;
    max-height: 70px;
    max-width: 150px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.certificate-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

.certificate-swiper .swiper-button-next,
.certificate-swiper .swiper-button-prev {
    width: 45px;
    height: 45px;
    background: var(--primary-color);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.certificate-swiper .swiper-button-next:after,
.certificate-swiper .swiper-button-prev:after {
    font-size: 18px;
    color: white;
    font-weight: bold;
}

.certificate-swiper .swiper-button-next:hover,
.certificate-swiper .swiper-button-prev:hover {
    background: var(--secondary-color);
    transform: scale(1.1);
}

.certificate-swiper .swiper-button-next.swiper-button-disabled,
.certificate-swiper .swiper-button-prev.swiper-button-disabled {
    opacity: 0.35;
}

.category-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--color-rank-13);
    color: var(--primary-color);
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.category-badge:hover {
    background: var(--primary-color);
    color: white;
}

.gallery-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    padding: 1.5rem;
    background: white;
    border-radius: 1rem;
    
}

.gallery-category-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1.25rem 2rem;
    background: linear-gradient(135deg, var(--color-rank-14), var(--color-rank-15));
    border: 2px solid transparent;
    border-radius: 1rem;
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    min-width: 140px;
}

.gallery-category-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--color-rank-34), transparent);
    transition: left 0.5s ease;
}

.gallery-category-item:hover::before {
    left: 100%;
}

.gallery-category-item i {
    font-size: 1.8rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.gallery-category-item span {
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.gallery-category-item:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-color: var(--primary-color);
    color: white;
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.gallery-category-item:hover i,
.gallery-category-item:hover span {
    color: white;
}

.gallery-category-item.active {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-color: var(--primary-color);
    color: white;
    box-shadow: var(--shadow-sm);
}

.gallery-category-item.active i,
.gallery-category-item.active span {
    color: white;
}

.make-sticky {
    position: sticky;
    top: 120px;
}
.map-section iframe {
    filter: grayscale(100%);
}

.banner-img-wrapper {
    max-width: 333px;
    margin-left: auto;
}
@media (max-width: 991.98px) {
    .navbar {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        z-index: 1030 !important;
        background: white !important;
        box-shadow: var(--shadow-sm) !important;
    }
    
    body {
        padding-top: 76px;
    }
    
    /* — Slider tablet — */
    .hero-section--slider {
        min-height: auto;
    }

    .hero-section--slider .hero-slider {
        height: 85vh;
        min-height: 520px;
    }

    .hero-slide-inner {
        padding-bottom: 90px;
    }

    .hero-content-card {
        max-width: 100%;
        padding: 2rem;
    }

    .hero-section--slider .hero-title {
        font-size: 2.1rem;
    }

    .hero-section--slider .hero-slider .swiper-button-next,
    .hero-section--slider .hero-slider .swiper-button-prev {
        width: 44px;
        height: 44px;
    }

    .hero-section--slider .hero-decoration-1,
    .hero-section--slider .hero-decoration-2,
    .hero-section--slider .hero-decoration-3,
    .hero-section--slider .hero-decoration-4 {
        width: 60px;
        height: 60px;
    }

    .hero-section--slider .hero-decoration-1 { top: 20px; left: 20px; }
    .hero-section--slider .hero-decoration-2 { top: 20px; right: 20px; }
    .hero-section--slider .hero-decoration-3 { bottom: 20px; left: 20px; }
    .hero-section--slider .hero-decoration-4 { bottom: 20px; right: 20px; }

    .hero-section--slider .hero-decoration-5 {
        right: 24px;
    }

    .section-title {
        font-size: 2rem;
    }
    
    .offcanvas-body {
        padding-top: 2rem;
    }
    
    .nav-link.active::after {
        display: none;
    }

    html, body {
        width: 100vw;
        max-width: 100vw;
        overflow-x: hidden !important;
        position: relative;
    }

    .cta-section {
        max-width: 86%;
        padding: 2rem 5%;
    }
    
    .gallery-categories {
        gap: 0.5rem;
    }
    
    .gallery-category-item {
        padding: 0.75rem 1rem;
        min-width: 100px;
        flex: 1 1 calc(50% - 0.5rem);
        max-width: calc(50% - 0.5rem);
    }
    
    .gallery-category-item i {
        font-size: 1.3rem;
    }
    
    .gallery-category-item span {
        font-size: 0.8rem;
    }

    html, body {
        overflow-x: hidden !important;
    }   

}

@media (max-width: 767.98px) {
    .navbar {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        z-index: 1030 !important;
        background: white !important;
        box-shadow: var(--shadow-sm) !important;
    }
    
    body {
        padding-top: 72px;
    }
    
    /* — Slider mobile — */
    .hero-section--slider .hero-slider {
        height: 80vh;
        min-height: 480px;
    }

    .hero-slide-inner {
        padding-bottom: 72px;
    }

    .hero-content-card {
        padding: 1.5rem;
        border-radius: 1rem;
    }

    .hero-section--slider .hero-title {
        font-size: 1.65rem;
    }

    .hero-section--slider .hero-text {
        font-size: 0.92rem;
        margin-bottom: 1rem;
    }

    .hero-section--slider .hero-buttons {
        flex-direction: column;
    }

    .hero-cta-btn {
        width: 100%;
        justify-content: center;
    }

    .hero-section--slider .hero-slider .swiper-button-next,
    .hero-section--slider .hero-slider .swiper-button-prev {
        display: none;
    }

    .hero-section--slider .hero-slider .swiper-pagination {
        bottom: 22px;
    }

    .hero-section--slider .hero-decoration-1,
    .hero-section--slider .hero-decoration-2,
    .hero-section--slider .hero-decoration-3,
    .hero-section--slider .hero-decoration-4 {
        width: 36px;
        height: 36px;
        border-width: 1px;
    }

    .hero-section--slider .hero-decoration-5 {
        display: none;
    }

    .hero-accent-line {
        width: 40px;
        height: 3px;
        margin-bottom: 1rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .certificate-slider {
        padding: 2rem 1rem;
    }
    
    .certificate-item {
        padding: 1rem;
    }
    
    .certificate-item a {
        height: 80px;
        padding: 0.75rem;
    }
    
    .certificate-item img {
        max-height: 50px;
        max-width: 120px;
    }
    
    .certificate-swiper .swiper-button-next,
    .certificate-swiper .swiper-button-prev {
        width: 35px;
        height: 35px;
    }
    
    .certificate-swiper .swiper-button-next:after,
    .certificate-swiper .swiper-button-prev:after {
        font-size: 14px;
    }
    
    .gallery-categories {
        padding: 1rem;
        gap: 0.75rem;
    }
    
    .gallery-category-item {
        padding: 1rem 1.5rem;
        min-width: 120px;
    }
    
    .gallery-category-item i {
        font-size: 1.5rem;
    }
    
    .gallery-category-item span {
        font-size: 0.875rem;
    }
}



/* whatsapp-Ã§errez */

.whatsapp-button {
    position: fixed;

    left: 20px;

    bottom: 20px;

    z-index: 999;

    /* DiÄŸer elementlerin Ã¼zerinde gÃ¶rÃ¼nmesini saÄŸlar */
}

.whatsapp-button a {
    display: block;
}

.whatsapp-button img {
    width: 45px;

    /* Ä°kon boyutunu ayarlayabilirsiniz */

    height: 45px;

    border-radius: 50%;

    /* Yuvarlak gÃ¶rÃ¼nÃ¼m iÃ§in */

    box-shadow: 2px 2px 8px var(--color-rank-35);

    /* Hafif gÃ¶lge */

    transition: transform 0.3s ease-in-out;

    /* Hover efekti iÃ§in geÃ§iÅŸ */
}

.whatsapp-button img:hover {
    transform: scale(1.1);

    /* Hoverda hafif bÃ¼yÃ¼me efekti */
}

/* Ã§erez bandÄ± */

.cookie-banner {
    position: fixed;

    left: 0;

    bottom: 0;

    width: 100%;

    background-color: #f8f8f8ef;

    color: var(--color-rank-11);

    padding: 15px 20px;

    display: flex;

    justify-content: space-between;

    align-items: center;

    z-index: 1000;

    /* DiÄŸer elementlerin Ã¼zerinde gÃ¶rÃ¼nmesini saÄŸlar */

    box-shadow: 0 -2px 5px var(--color-rank-36);

    transform: translateY(100%);

    /* BaÅŸlangÄ±Ã§ta aÅŸaÄŸÄ± kaydÄ±rarak gizle */

    opacity: 0;

    /* GÃ¶rÃ¼nÃ¼rlÃ¼ÄŸÃ¼ de sÄ±fÄ±ra indir */

    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;

    /* OpaklÄ±k geÃ§iÅŸini de ekle */
}

.cookie-banner.show {
    transform: translateY(0);

    /* GÃ¶stermek iÃ§in yukarÄ± kaydÄ±r */

    opacity: 1;

    /* GÃ¶rÃ¼nÃ¼r yap */
}

.cookie-banner.hidden {
    transform: translateY(100%);

    opacity: 0;
}

.cookie-text {
    font-size: 16px;
}

.cookie-link {
    color: var(--primary-color);

    text-decoration: none;

    margin-left: 10px;
}

.cookie-link:hover {
    text-decoration: underline;
}

.cookie-button {
    background-color: var(--primary-color);

    color: var(--white-color);

    border: none;

    padding: 5px 15px;

    border-radius: 5px;

    cursor: pointer;

    font-size: 16px;

    transition: all 0.3s ease-in-out;
}

.cookie-button:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

/* Responsive TasarÄ±m */

@media (max-width: 768px) {
    .cookie-banner {
        flex-direction: column;

        align-items: stretch;

        padding: 10px;

        text-align: center;
    }

    .cookie-text {
        margin-bottom: 10px;
    }

    .cookie-link {
        display: block;

        margin: 5px 0;
    }

    .cookie-button {
        width: 100%;
    }
}

/* Ã§erez bandÄ± */

/* whatsapp-Ã§errez */

/* formlarla */

.swal2-container {
    z-index: 99999999999 !important;
}

.swal2-container .select2-container {
    display: none;
}

.zorunlu-alanlar {
    display: flex;

    gap: 10px;

    flex-direction: column;
}

.zorunlu-alanlar span {
    color: var(--color-rank-12);

    font-size: 14px;

    font-weight: 500;
}

div:where(.swal2-container) div:where(.swal2-actions) .swal2-confirm {
    background-image: none;
    color: var(--color-rank-4);
    background-color: var(--primary-color);
}

/* Spinner Stili */

.custom-spinner {
    display: inline-block;

    width: 16px;

    height: 16px;

    border: 2px solid var(--color-rank-4);

    border-top: 2px solid transparent;

    border-radius: 50%;

    animation: spin 0.8s linear infinite;

    margin-left: 8px;

    vertical-align: middle;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}




.navbar-brand img, footer .footer-logo img{
  object-position: left;
  object-fit: contain;
  width: 150px;
  height: auto;
}


.hero-title span {
    color: var(--primary-color);
}

.hero-section--slider .hero-title span {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.tedavi-card .icon-box img {
    width: 32px;
    height: auto;
    object-fit: contain;
    object-position: center;
}

.btn-outline-primary {
    background-color: var(--white-color);
    color: var(--primary-color);
    border-color: var(--primary-color);
}
.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: var(--white-color);
    border-color: var(--white-color);
}

.clamp-4 {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sidebar .widget ul li a.active {
    color: var(--primary-color);
    font-weight: 600;
}




@media (max-width: 767.98px) {
    .blog-meta-bar {
        flex-direction: column;
        align-items: flex-start !important;
    }

    .share-btns {
        justify-content: flex-start !important;
        flex-wrap: wrap;
    }

    .share-btns .btn {
        font-size: 14px;
    }
}


.btn-primary:disabled {
    background-color: var(--color-rank-5);
    border-color: var(--color-rank-5);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.btn-primary:active {
    background-color: var(--color-rank-5) !important;
    border-color: var(--color-rank-5) !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.map-section iframe {
    width: 100%;
    height: 450px;
    border: 0;
}


.hero-section--slider .hero-slider .swiper-button-next, .hero-section--slider .hero-slider .swiper-button-prev {
    display: none;
}
