:root {
    --primary-blue: #3768cd;
    --dark-blue: #031b4e;
    --light-bg: #eff5f9;
    --white: #ffffff;
    --text-color: #333333;
    --text-light: #666666;
    --border-color: #e5e5e5;
    --orange: #f28c28; /* For cookie banner button */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: var(--light-bg);
    color: var(--text-color);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Utilities */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px 24px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background-color: var(--primary-blue);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #2a56af;
}

.btn-outline-white {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-outline-white:hover {
    background-color: var(--white);
    color: var(--primary-blue);
}

.btn-blue {
    background-color: var(--primary-blue);
    color: var(--white);
}

.btn-dark-blue {
    background-color: #0b1a38;
    color: var(--white);
}

.btn-orange {
    background-color: var(--orange);
    color: var(--white);
}

.section-pill {
    display: inline-block;
    background-color: var(--white);
    color: var(--primary-blue);
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 15px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

/* Top Bar */
.top-bar {
    background: linear-gradient(90deg, var(--dark-blue) 0%, var(--primary-blue) 40%, #ffffff 100%);
    color: var(--white);
    font-size: 13px;
    padding: 8px 0;
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left, .top-bar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.top-bar-left a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #cfd8ea;
}

.top-bar-left a:hover {
    color: var(--white);
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: var(--dark-blue);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.language-selector {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

/* Main Header */
.main-header {
    background-color: var(--white);
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--dark-blue);
    display: flex;
    align-items: center;
}

.logo-plus {
    color: #4db8ff;
    font-size: 28px;
    margin-right: 2px;
}

.header-info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.info-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--light-bg);
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.info-text {
    display: flex;
    flex-direction: column;
}

.info-label {
    font-size: 12px;
    color: var(--text-light);
}

.info-value {
    font-size: 14px;
    font-weight: 600;
    color: var(--dark-blue);
}

.info-separator {
    width: 1px;
    height: 40px;
    background-color: var(--border-color);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--dark-blue);
    cursor: pointer;
}

/* Navigation */
.main-nav {
    background-color: var(--white);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 25px;
}

.nav-links a {
    display: block;
    padding: 20px 0;
    font-weight: 600;
    font-size: 14px;
    color: var(--dark-blue);
    position: relative;
}

.nav-links a.active, .nav-links a:hover {
    color: var(--primary-blue);
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--primary-blue);
}

.nav-search {
    display: flex;
    align-items: center;
    position: relative;
}

.nav-search input {
    border: none;
    background-color: var(--light-bg);
    padding: 10px 15px 10px 35px;
    border-radius: 20px;
    font-size: 13px;
    width: 200px;
    outline: none;
}

.nav-search i {
    position: absolute;
    left: 12px;
    color: var(--text-light);
    font-size: 14px;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(3,27,78,0.85) 0%, rgba(3,27,78,0.4) 100%);
}

.hero-content {
    color: var(--white);
    max-width: 600px;
}

.hero-content h1 {
    font-size: 54px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.1;
}

.hero-content p {
    font-size: 16px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cookie-banner {
    position: fixed;
    bottom: -100%;
    left: 20px;
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 24px;
    border-radius: 12px;
    width: 320px;
    font-size: 13px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    z-index: 9999;
    transition: bottom 0.5s ease-in-out;
    opacity: 0;
}

.cookie-banner.show {
    bottom: 20px;
    opacity: 1;
}

.cookie-banner p {
    margin-bottom: 20px;
    line-height: 1.5;
}

.cookie-banner .btn-orange {
    background-color: #f28c28;
    color: #fff;
    border: none;
    padding: 10px 30px;
    border-radius: 20px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}

.cookie-banner .btn-orange:hover {
    background-color: #d8761a;
}

/* Info Cards Section */
.info-cards-section {
    margin-top: -60px;
    position: relative;
    z-index: 10;
    margin-bottom: 80px;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.info-card {
    border-radius: 20px;
    padding: 40px 30px;
    color: var(--white);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 250px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    background-size: cover;
    background-position: center;
}

.info-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(3, 27, 78, 0.95) 0%, rgba(55, 104, 205, 0.6) 100%);
    z-index: 1;
}

.card-blue {
    background-color: var(--dark-blue);
}

.card-dark {
    background-color: var(--dark-blue);
}

.card-image {
    background-color: var(--dark-blue);
}

.card-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.card-img-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(3, 27, 78, 0.7);
    z-index: 1;
}

.info-card > * {
    position: relative;
    z-index: 2;
}

.card-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background-color: var(--white);
    color: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.card-dark .card-icon {
    color: var(--primary-blue);
}

.info-card h3 {
    font-size: 24px;
    margin-bottom: 25px;
    font-weight: 600;
}

.info-card p {
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: auto;
}

.hours-list {
    list-style: none;
    margin-bottom: auto;
}

.hours-list li {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    font-size: 14px;
}

.hours-list li:last-child {
    border-bottom: none;
}

.btn-card {
    align-self: flex-start;
    padding: 12px 20px;
    border-radius: 30px;
    background-color: var(--white);
    color: var(--dark-blue);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.card-blue .btn-card {
    background: linear-gradient(90deg, var(--dark-blue) 0%, var(--primary-blue) 100%); border: none;
    color: var(--white);
}

.card-dark .btn-card, .card-image .btn-card {
    background: linear-gradient(90deg, var(--dark-blue) 0%, var(--primary-blue) 100%); border: none;
    color: var(--white);
}

.btn-card .fa-arrow-right {
    background-color: var(--white);
    color: var(--primary-blue);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.card-blue .btn-card .fa-arrow-right {
    color: #031b4e;
}

.contact-call {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: auto;
}

.contact-icon-bg {
    font-size: 24px;
}

.call-label {
    display: block;
    font-size: 12px;
    opacity: 0.8;
}

.call-number {
    font-size: 20px;
    font-weight: 700;
}

/* About Section */
.about-section {
    margin-bottom: 40px;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-images {
    position: relative;
    height: 450px;
}

.about-img-1 {
    position: absolute;
    top: 0;
    left: 0;
    width: 80%;
    height: 80%;
    object-fit: cover;
    border-radius: 20px 20px 0 20px;
}

.about-img-2 {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60%;
    height: 60%;
    object-fit: cover;
    border-radius: 20px;
    border: 10px solid var(--light-bg);
}

.about-content h2 {
    font-size: 36px;
    color: var(--dark-blue);
    margin-bottom: 20px;
}

.about-content p {
    color: var(--text-light);
    margin-bottom: 30px;
}

.about-icons {
    display: flex;
    gap: 20px;
}

.icon-circle {
    width: 60px;
    height: 60px;
    background-color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-blue);
    font-size: 24px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

/* Departments Section */
.departments-section {
    padding: 40px 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 32px;
    color: var(--dark-blue);
}

.slider-arrows {
    display: flex;
    gap: 10px;
}

.arrow-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--primary-blue);
    background-color: transparent;
    color: var(--primary-blue);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.arrow-btn:hover {
    background-color: var(--primary-blue);
    color: var(--white);
}

.departments-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.dept-card {
    background-color: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    display: flex;
    flex-direction: column;
}

.dept-img-wrapper {
    padding: 20px;
    height: 220px;
}

.dept-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
}

.dept-content {
    padding: 0 30px 30px;
    display: flex;
    flex-direction: column;
    flex: 1;
    position: relative;
}

.dept-subtitle {
    font-size: 11px;
    color: var(--primary-blue);
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 8px;
}

.dept-title {
    font-size: 20px;
    color: var(--dark-blue);
    margin-bottom: 15px;
}

.dept-desc {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 20px;
}

.btn-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--white);
    color: var(--primary-blue);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: flex-end;
    margin-top: auto;
    transition: all 0.3s;
}

.btn-circle:hover {
    background-color: var(--primary-blue);
    color: var(--white);
    border-color: var(--primary-blue);
}

/* Appointment Form Section */
.appointment-section {
    padding: 60px 0;
    margin-bottom: 60px;
}

.appointment-wrapper {
    background-color: var(--white);
    border-radius: 24px;
    overflow: hidden;
    display: flex;
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}

.appointment-info {
    background: linear-gradient(90deg, var(--dark-blue) 0%, var(--primary-blue) 40%, #ffffff 100%);
    color: var(--white);
    padding: 50px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.appointment-info h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

.appointment-info p {
    opacity: 0.8;
    margin-bottom: 40px;
}

.app-contact-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: auto;
}

.app-contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 16px;
}

.app-contact-item i {
    color: var(--primary-blue);
    font-size: 20px;
}

.appointment-form-container {
    padding: 50px;
    flex: 1.5;
    background-color: var(--white);
}

.appointment-form .form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: var(--dark-blue);
    margin-bottom: 8px;
}

.form-group input, 
.form-group select, 
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    background-color: #fafafa;
    outline: none;
    transition: border-color 0.3s;
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
    border-color: var(--primary-blue);
}

.btn-block {
    width: 100%;
    padding: 15px;
    font-size: 16px;
    margin-top: 10px;
}

/* Footer */
.main-footer {
    background: linear-gradient(90deg, var(--dark-blue) 0%, var(--primary-blue) 40%, #ffffff 100%);
    color: var(--white);
    text-align: center;
    padding: 30px 0;
    font-size: 14px;
    opacity: 0.9;
}

/* Fixed Action Menu */
.fixed-action-menu {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    gap: 15px;
    z-index: 1000;
}

.action-btn {
    background-color: var(--white);
    border-radius: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
    transition: transform 0.3s ease;
    color: var(--dark-blue);
    text-decoration: none;
}

.action-btn:hover {
    transform: translateY(-5px);
}

.action-icon {
    font-size: 18px;
    margin-bottom: 4px;
}

.action-contact .action-icon {
    color: var(--primary-blue);
}

.action-appointment .action-icon {
    color: var(--orange);
}

.action-directions .action-icon {
    color: #4CAF50;
}

.action-text {
    font-size: 10px;
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .header-info {
        display: none;
    }
    .mobile-menu-btn {
        display: block;
    }
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .about-grid {
        grid-template-columns: 1fr;
    }
    .appointment-wrapper {
        flex-direction: column;
    }
    .departments-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .top-bar-left {
        display: none;
    }
    .nav-links, .nav-search {
        display: none;
    }
    .cards-grid, .departments-grid {
        grid-template-columns: 1fr;
    }
    .appointment-form .form-row {
        flex-direction: column;
        gap: 0;
    }
    .hero-content h1 {
        font-size: 36px;
    }
}

/* Dropdown Menu Styles */
.nav-links li {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: linear-gradient(90deg, var(--dark-blue) 0%, var(--primary-blue) 40%, #ffffff 100%);
    min-width: 250px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 100;
    display: flex;
    flex-direction: column;
}

.nav-links li:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    color: var(--white) !important;
    padding: 15px 20px !important;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    font-size: 13px !important;
    font-weight: 400 !important;
}

.dropdown-menu a:last-child {
    border-bottom: none;
}

.dropdown-menu a:hover {
    background-color: rgba(255,255,255,0.05);
    padding-left: 25px !important;
}

.dropdown-menu a::after {
    display: none !important;
}

/* Inner Page Header */
.inner-page-header {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #a3c2f0 100%);
    color: var(--white);
    padding: 60px 0;
}

.inner-header-container {
    display: flex;
    align-items: center;
    gap: 30px;
}

.inner-header-logo {
    width: 80px;
    height: 80px;
    background-color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
}

.inner-header-logo img {
    max-width: 100%;
    max-height: 100%;
}

.inner-header-logo-icon {
    font-size: 80px;
    color: var(--white);
}

.inner-header-content .breadcrumb {
    font-size: 13px;
    opacity: 0.8;
    margin-bottom: 10px;
}

.inner-header-content .breadcrumb a {
    color: var(--white);
    text-decoration: none;
}

.inner-header-content .breadcrumb a:hover {
    text-decoration: underline;
}

.inner-header-content h1 {
    font-size: 32px;
    font-weight: 700;
}

/* Inner Page Layout (Sidebar + Content) */
.page-layout {
    display: flex;
    gap: 40px;
    padding: 60px 0;
    align-items: flex-start;
}

/* Sidebar */
.sidebar {
    flex: 0 0 300px;
    background-color: var(--white);
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
    overflow: hidden;
}

.sidebar-menu {
    list-style: none;
}

.sidebar-menu li {
    border-bottom: 1px solid var(--border-color);
}

.sidebar-menu li:last-child {
    border-bottom: none;
}

.sidebar-menu a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    color: var(--text-color);
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s;
}

.sidebar-menu a:hover, .sidebar-menu a.active {
    color: var(--primary-blue);
    background-color: var(--light-bg);
}

/* Main Content Area */
.main-content {
    flex: 1;
    background-color: var(--white);
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
}

.main-content h2 {
    color: var(--dark-blue);
    font-size: 28px;
    margin-bottom: 20px;
    line-height: 1.3;
}

.main-content p {
    color: var(--text-light);
    margin-bottom: 25px;
    line-height: 1.8;
}

.main-content ul {
    margin-left: 20px;
    margin-bottom: 25px;
    color: var(--text-light);
    line-height: 1.8;
}

.main-content li {
    margin-bottom: 10px;
}

.content-image-right {
    float: right;
    margin: 0 0 20px 30px;
    max-width: 400px;
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.clear {
    clear: both;
}

/* Services Grid (2 columns for detailed cards) */
.services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.service-detail-card {
    background-color: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
}

.service-detail-img {
    min-height: 250px;
    width: 100%;
    object-fit: cover;
}

.service-detail-content {
    padding: 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service-detail-content .pill {
    font-size: 11px;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.service-detail-content h3 {
    font-size: 22px;
    color: var(--dark-blue);
    margin-bottom: 15px;
}

.service-detail-content p {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 20px;
    flex: 1;
}

/* Contact Grid */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 60px 0;
}

.map-container {
    width: 100%;
    height: 400px;
    background-color: #eee;
    border-radius: 12px;
    overflow: hidden;
}

/* Kurumsal Layout (Nisantasi specific) */
.kurumsal-layout {
    display: flex;
    gap: 60px;
    padding: 80px 0;
    align-items: center;
}

.kurumsal-images {
    flex: 1;
    position: relative;
    height: 500px;
}

.kurumsal-img-left {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 45%;
    height: 80%;
    object-fit: cover;
    border-radius: 30px 30px 0 30px;
    z-index: 2;
}

.kurumsal-img-right {
    position: absolute;
    right: 0;
    top: 0;
    width: 60%;
    height: 100%;
    object-fit: cover;
    border-radius: 30px;
    z-index: 1;
}

.kurumsal-text {
    flex: 1;
}

@media (max-width: 992px) {
    .page-layout {
        flex-direction: column;
    }
    .sidebar {
        flex: none;
        width: 100%;
    }
    .content-image-right {
        float: none;
        margin: 0 0 20px 0;
        max-width: 100%;
    }
    .kurumsal-layout {
        flex-direction: column;
    }
    .kurumsal-images {
        width: 100%;
    }
    .services-grid {
        grid-template-columns: 1fr;
    }
}

/* inner-content fix and dropdown fix */
.inner-content {
    padding: 80px 0;
}

.dropdown-menu a {
    white-space: nowrap;
}


/* Sticky Bottom Widget */
.sticky-bottom-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--white);
    padding: 8px 15px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    display: flex;
    gap: 15px;
    z-index: 999;
}

.sticky-bottom-widget a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    color: var(--text-color);
    font-size: 11px;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s;
    text-align: center;
}

.sticky-bottom-widget a i {
    font-size: 18px;
    color: var(--primary-blue);
    margin-bottom: 2px;
}

.sticky-bottom-widget a.btn-blue-small {
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 8px 12px;
    border-radius: 12px;
}

.sticky-bottom-widget a.btn-blue-small i {
    color: var(--white);
}

/* Updated Info Cards Border Radius (Asymmetric) */
.info-card.card-blue {
    border-radius: 30px 30px 30px 0;
}

.info-card.card-image {
    border-radius: 30px;
}

.info-card.card-dark {
    border-radius: 30px 0 30px 30px;
}

/* Digital Dentistry Tabs Section */
.digital-tabs-section {
    background-color: var(--primary-blue);
    padding: 80px 0;
    color: var(--white);
    margin-top: 60px;
}

.digital-tabs-header {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    overflow-x: auto;
}

.digital-tab-btn {
    background: transparent;
    border: none;
    color: rgba(255,255,255,0.7);
    font-size: 15px;
    font-weight: 500;
    padding: 10px 20px;
    cursor: pointer;
    white-space: nowrap;
    border-radius: 10px 10px 0 0;
    transition: all 0.3s;
}

.digital-tab-btn.active {
    background: var(--white);
    color: var(--primary-blue);
}

.digital-tab-content {
    background: var(--white);
    color: var(--text-color);
    border-radius: 0 30px 30px 30px;
    padding: 50px;
    display: flex;
    gap: 40px;
    align-items: center;
}

.digital-tab-img {
    flex: 1;
    border-radius: 20px;
    overflow: hidden;
    height: 350px;
}

.digital-tab-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.digital-tab-text {
    flex: 1;
}

.digital-tab-text h3 {
    color: var(--dark-blue);
    font-size: 28px;
    margin-bottom: 20px;
}

.digital-tab-text p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 30px;
}

/* Services 6-Card Grid (Home) */
.services-home-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 40px;
}

.service-card-h {
    background: var(--white);
    border-radius: 20px;
    display: flex;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
    height: 220px;
}

.service-card-h-img {
    width: 40%;
    height: 100%;
    object-fit: cover;
}

.service-card-h-content {
    padding: 30px;
    width: 60%;
    display: flex;
    flex-direction: column;
}

.service-card-h-content h4 {
    font-size: 18px;
    color: var(--dark-blue);
    margin-bottom: 10px;
    margin-top: 10px;
}

.service-card-h-content p {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.6;
    flex: 1;
}

.service-card-h-content .pill {
    font-size: 10px;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.icon-text-row {
    display: flex;
    gap: 40px;
    margin-top: 30px;
}

.icon-text-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 15px;
}

.icon-text-item .icon-circle {
    width: 60px;
    height: 60px;
    background: rgba(43, 107, 203, 0.1);
    color: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.icon-text-item h4 {
    color: var(--dark-blue);
    font-size: 16px;
    margin-bottom: 10px;
}

.icon-text-item p {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.5;
}

/* Hero Slider */
.hero-section {
    position: relative;
    overflow: hidden;
    height: 80vh;
    min-height: 250px;
}
.hero-slider {
    width: 100%;
    height: 100%;
    position: relative;
}
.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 1;
}
.hero-slide.active {
    opacity: 1;
    z-index: 2;
}
.hero-bg {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}
.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(3,27,78,0.85) 0%, rgba(3,27,78,0.4) 100%);
}
.hero-content {
    position: relative;
    z-index: 3;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 600px;
    padding-top: 100px;
}
.slider-nav {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 10px;
}
.slider-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: background 0.3s;
}
.slider-dot.active {
    background: var(--white);
}

/* Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

/* --- SLIDER CSS --- */
.hero-slider {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
    margin-top: 50px;
}
.slider-container {
    width: 100%;
    height: 100%;
    position: relative;
}
.slide {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease-in-out, visibility 0.8s;
}
.slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}
.slide .hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.05);
    transition: transform 6s ease-in-out;
}
.slide.active .hero-bg img {
    transform: scale(1);
}
.slide .hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 2;
    width: 100%;
}
.slider-btn {
    position: absolute;
    bottom: 30px;
    background: rgba(255,255,255,0.2);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    z-index: 5;
    transition: background 0.3s, transform 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}
.slider-btn:hover {
    background: var(--primary-blue);
    transform: scale(1.1);
}
.prev-btn { left: 30px; }
.next-btn { right: 30px; }

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 5;
}
.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
}
.dot.active {
    background: white;
    transform: scale(1.3);
}

/* --- ANIMATIONS CSS --- */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.animate-on-load {
    opacity: 0;
    animation-fill-mode: forwards;
}
.slide-up-load {
    animation: slideUpFade 0.8s ease-out forwards;
}
.fade-in-load {
    animation: fadeIn 0.8s ease-out forwards;
}

@keyframes slideUpFade {
    0% { opacity: 0; transform: translateY(40px); }
    100% { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

/* Cookie Popup Real Implementation */
.cookie-banner { display: none !important; } /* Hide old one */

.cookie-popup {
    position: fixed;
    bottom: -200px; /* Hidden initially */
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 600px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    z-index: 9999;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    transition: bottom 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    opacity: 0;
}
.cookie-popup.show {
    bottom: 30px;
    opacity: 1;
}
.cookie-content {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}
.cookie-icon {
    font-size: 30px;
    color: var(--primary-blue);
    margin-top: 5px;
}
.cookie-text h4 { margin: 0 0 5px 0; color: var(--primary-blue); }
.cookie-text p { margin: 0; font-size: 13px; color: #555; line-height: 1.4; }
.cookie-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 10px;
}
.cookie-actions .btn {
    padding: 8px 20px;
    font-size: 13px;
    border-radius: 6px;
}
.cookie-actions .btn-outline-blue {
    background: transparent;
    border: 1px solid var(--primary-blue);
    color: var(--primary-blue);
}

/* --- DEPARTMENTS CAROUSEL FIX --- */


.dept-card {
    min-width: 350px;
    flex-shrink: 0;
}
.slider-arrows .arrow-btn {
    cursor: pointer;
}
.hero-slider {
    margin-top: 0 !important;
}

/* Tab Transitions */
.digital-tab-text, .digital-tab-img img {
    transition: opacity 0.3s ease-in-out;
}

/* END EXTRA CSS */


/* ═══════════════════════════════════════════════════════════
   EKSIK CSS DEĞİŞKENLERİ (generate_all_pages.py uyumluluğu)
═══════════════════════════════════════════════════════════ */
:root {
    --primary-color: #3768cd;
    --secondary-color: #031b4e;
    --accent-color: #2ecc71;
    --text-color: #333333;
    --light-bg: #eff5f9;
    --white: #ffffff;
}

/* ═══════════════════════════════════════════════════════════
   PAGE SECTION (İÇ SAYFA İÇERİĞİ)
═══════════════════════════════════════════════════════════ */
.page-section {
    padding: 80px 0;
    background: #fff;
}

.page-section:nth-child(even) {
    background: #f4f8fd;
}

/* ═══════════════════════════════════════════════════════════
   GELİŞMİŞ SCROLL ANİMASYONLARI
   (hem fade-in hem is-visible ile uyumlu)
═══════════════════════════════════════════════════════════ */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.75s cubic-bezier(.22,.61,.36,1), transform 0.75s cubic-bezier(.22,.61,.36,1);
}
.animate-on-scroll.is-visible,
.animate-on-scroll.fade-in {
    opacity: 1 !important;
    transform: translateY(0) !important;
}
.animate-on-scroll.slide-left {
    transform: translateX(-50px);
}
.animate-on-scroll.slide-right {
    transform: translateX(50px);
}
.animate-on-scroll.slide-left.is-visible,
.animate-on-scroll.slide-right.is-visible,
.animate-on-scroll.slide-left.fade-in,
.animate-on-scroll.slide-right.fade-in {
    transform: translateX(0) !important;
}
.delay-100 { transition-delay: 0.1s !important; }
.delay-200 { transition-delay: 0.2s !important; }
.delay-300 { transition-delay: 0.3s !important; }
.delay-400 { transition-delay: 0.4s !important; }
.delay-500 { transition-delay: 0.5s !important; }
.delay-600 { transition-delay: 0.6s !important; }

/* ═══════════════════════════════════════════════════════════
   PAGE HERO (ŞERİT BAŞLIK)
═══════════════════════════════════════════════════════════ */
.page-hero {
    position: relative;
    height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    margin-top: 0;
}
.page-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--primary-blue) 0%, #a3c2f0 100%);
}
.page-hero img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.08);
    transition: transform 8s ease;
    filter: saturate(1.2);
}
.page-hero:hover img {
    transform: scale(1);
}
.page-hero-content {
    position: relative;
    z-index: 2;
    color: white;
}
.page-hero-content h1 {
    font-size: 46px;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 14px;
    line-height: 1.1;
    text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.page-hero-breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    color: rgba(255,255,255,0.75);
}
.page-hero-breadcrumb a {
    color: rgba(255,255,255,0.75);
    transition: color 0.3s;
}
.page-hero-breadcrumb a:hover { color: #fff; }
.page-hero-breadcrumb .sep { opacity: 0.5; }
.page-hero-breadcrumb .current { color: #7ec8f4; font-weight: 600; }

/* ═══════════════════════════════════════════════════════════
   İÇ SAYFA – GENEL BÖLÜM KAPLARI
═══════════════════════════════════════════════════════════ */
.treatment-intro {
    padding: 80px 0 60px;
    background: #fff;
}
.treatment-intro .inner-row {
    display: flex;
    gap: 60px;
    align-items: center;
    flex-wrap: wrap;
}
.treatment-intro .text-col {
    flex: 1;
    min-width: 300px;
}
.treatment-intro .img-col {
    flex: 1;
    min-width: 300px;
}
.treatment-intro .img-col img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(3,27,78,0.15);
    display: block;
}
.treatment-intro h2 {
    font-size: 36px;
    font-weight: 800;
    color: #031b4e;
    margin-bottom: 20px;
    line-height: 1.2;
}
.treatment-intro h2 span {
    color: #3768cd;
}
.treatment-intro p {
    font-size: 17px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 15px;
}
.treatment-intro .tag-pill {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-blue) 0%, #a3c2f0 100%);
    color: white;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 5px 16px;
    border-radius: 20px;
    margin-bottom: 20px;
}

/* Feature cards grid */
.features-section {
    padding: 60px 0 80px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, #a3c2f0 100%);
}
.features-title {
    text-align: center;
    font-size: 32px;
    font-weight: 800;
    color: #031b4e;
    margin-bottom: 10px;
}
.features-subtitle {
    text-align: center;
    font-size: 16px;
    color: #666;
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 25px;
}
.feature-card {
    background: #fff;
    border-radius: 18px;
    padding: 35px 30px;
    box-shadow: 0 4px 20px rgba(3,27,78,0.07);
    border: 1px solid rgba(55,104,205,0.08);
    transition: transform 0.35s, box-shadow 0.35s;
    position: relative;
    overflow: hidden;
}
.feature-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 4px; height: 100%;
    background: linear-gradient(135deg, var(--primary-blue) 0%, #a3c2f0 100%);
    border-radius: 4px 0 0 4px;
}
.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(3,27,78,0.12);
}
.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, #a3c2f0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--white);
    margin-bottom: 20px;
}
.feature-card h4 {
    font-size: 18px;
    font-weight: 700;
    color: #031b4e;
    margin-bottom: 10px;
}
.feature-card p {
    font-size: 14px;
    color: #555;
    line-height: 1.7;
    margin: 0;
}

/* Info strip */
.info-strip {
    padding: 50px 0;
    background: linear-gradient(135deg, var(--primary-blue) 0%, #a3c2f0 100%);
    color: white;
}
.info-strip-inner {
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: space-between;
}
.info-strip-text h3 {
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 10px;
}
.info-strip-text p {
    font-size: 15px;
    opacity: 0.85;
    max-width: 500px;
    line-height: 1.7;
}
.info-strip-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    color: #031b4e;
    font-weight: 700;
    font-size: 15px;
    padding: 14px 30px;
    border-radius: 40px;
    white-space: nowrap;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}
.info-strip-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(0,0,0,0.2);
}

/* Sub treatments grid */
.sub-treatments {
    padding: 70px 0;
    background: #fff;
}
.sub-treatments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}
.sub-card {
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(3,27,78,0.08);
    border: 1px solid rgba(0,0,0,0.05);
    transition: transform 0.35s, box-shadow 0.35s;
    background: #fff;
    text-decoration: none;
    color: inherit;
    display: block;
}
.sub-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 50px rgba(3,27,78,0.15);
}
.sub-card-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s;
}
.sub-card:hover .sub-card-img {
    transform: scale(1.04);
}
.sub-card-img-wrap {
    overflow: hidden;
}
.sub-card-body {
    padding: 25px 25px 30px;
}
.sub-card-body h3 {
    font-size: 20px;
    font-weight: 700;
    color: #031b4e;
    margin-bottom: 10px;
}
.sub-card-body p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}
.sub-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 13px;
    color: #3768cd;
    text-decoration: none;
    padding: 8px 18px;
    border: 2px solid #3768cd;
    border-radius: 30px;
    transition: all 0.3s;
}
.sub-card-link:hover {
    background: #3768cd;
    color: #fff;
}

/* Section headings */
.section-heading {
    text-align: center;
    margin-bottom: 50px;
}
.section-heading .pill {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-blue) 0%, #a3c2f0 100%);
    color: #3768cd;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 5px 16px;
    border-radius: 20px;
    margin-bottom: 14px;
}
.section-heading h2 {
    font-size: 36px;
    font-weight: 800;
    color: #031b4e;
    line-height: 1.2;
    margin-bottom: 14px;
}
.section-heading p {
    font-size: 16px;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Steps / Sıra */
.steps-list {
    counter-reset: step-counter;
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
}
.step-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    background: #fff;
    border-radius: 14px;
    padding: 24px;
    box-shadow: 0 4px 16px rgba(3,27,78,0.06);
    counter-increment: step-counter;
    transition: transform 0.3s;
}
.step-item:hover { transform: translateX(6px); }
.step-num {
    min-width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-blue) 0%, #a3c2f0 100%);
    color: white;
    font-size: 20px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}
.step-item h4 {
    font-size: 17px;
    font-weight: 700;
    color: #031b4e;
    margin-bottom: 6px;
}
.step-item p {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
    margin: 0;
}

/* Two-column text + aside */
.two-col-layout {
    display: flex;
    gap: 50px;
    flex-wrap: wrap;
    align-items: flex-start;
}
.two-col-layout .main-col { flex: 2; min-width: 300px; }
.two-col-layout .aside-col {
    flex: 1;
    min-width: 280px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, #a3c2f0 100%);
    border-radius: 18px;
    padding: 35px 30px;
    color: white;
    position: sticky;
    top: 80px;
}
.aside-col h3 { font-size: 20px; margin-bottom: 20px; font-weight: 700; }
.aside-col ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.aside-col ul li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.aside-col ul li:last-child { border-bottom: none; }
.aside-col ul li i { color: #7ec8f4; font-size: 18px; }
.aside-cta {
    display: block;
    margin-top: 25px;
    background: white;
    color: #031b4e;
    font-weight: 700;
    font-size: 15px;
    padding: 14px 20px;
    border-radius: 12px;
    text-align: center;
    text-decoration: none;
    transition: transform 0.3s;
}
.aside-cta:hover { transform: scale(1.02); }

/* Department cards on tedavilerimiz.html */
.departments-hero-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 50px;
}
.dept-hero-card {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 35px rgba(3,27,78,0.1);
    background: #fff;
    text-decoration: none;
    color: inherit;
    display: block;
    transition: transform 0.4s, box-shadow 0.4s;
}
.dept-hero-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(3,27,78,0.18);
}
.dept-hero-card-img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s;
}
.dept-hero-card:hover .dept-hero-card-img {
    transform: scale(1.05);
}
.dept-hero-card-img-wrap { overflow: hidden; }
.dept-hero-card-body {
    padding: 28px;
}
.dept-hero-card-body h3 {
    font-size: 21px;
    font-weight: 800;
    color: #031b4e;
    margin-bottom: 10px;
}
.dept-hero-card-body p {
    font-size: 14px;
    color: #666;
    line-height: 1.65;
    margin-bottom: 20px;
}
.dept-hero-card-body .card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 13px;
    color: #3768cd;
    padding: 9px 20px;
    border: 2px solid #3768cd;
    border-radius: 30px;
    transition: all 0.3s;
}
.dept-hero-card-body .card-link:hover {
    background: #3768cd;
    color: white;
}

/* END EXTRA CSS */


/* ═══════════════════════════════════════════════════════════
   EKSIK CSS DEĞİŞKENLERİ (generate_all_pages.py uyumluluğu)
═══════════════════════════════════════════════════════════ */
:root {
    --primary-color: #3768cd;
    --secondary-color: #031b4e;
    --accent-color: #2ecc71;
    --text-color: #333333;
    --light-bg: #eff5f9;
    --white: #ffffff;
}

/* ═══════════════════════════════════════════════════════════
   PAGE SECTION (İÇ SAYFA İÇERİĞİ)
═══════════════════════════════════════════════════════════ */
.page-section {
    padding: 80px 0;
    background: #fff;
}

.page-section:nth-child(even) {
    background: #f4f8fd;
}

/* ═══════════════════════════════════════════════════════════
   GELİŞMİŞ SCROLL ANİMASYONLARI
   (hem fade-in hem is-visible ile uyumlu)
═══════════════════════════════════════════════════════════ */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.75s cubic-bezier(.22,.61,.36,1), transform 0.75s cubic-bezier(.22,.61,.36,1);
}
.animate-on-scroll.is-visible,
.animate-on-scroll.fade-in {
    opacity: 1 !important;
    transform: translateY(0) !important;
}
.animate-on-scroll.slide-left {
    transform: translateX(-50px);
}
.animate-on-scroll.slide-right {
    transform: translateX(50px);
}
.animate-on-scroll.slide-left.is-visible,
.animate-on-scroll.slide-right.is-visible,
.animate-on-scroll.slide-left.fade-in,
.animate-on-scroll.slide-right.fade-in {
    transform: translateX(0) !important;
}
.delay-100 { transition-delay: 0.1s !important; }
.delay-200 { transition-delay: 0.2s !important; }
.delay-300 { transition-delay: 0.3s !important; }
.delay-400 { transition-delay: 0.4s !important; }
.delay-500 { transition-delay: 0.5s !important; }
.delay-600 { transition-delay: 0.6s !important; }

/* ═══════════════════════════════════════════════════════════
   PAGE HERO (ŞERİT BAŞLIK)
═══════════════════════════════════════════════════════════ */
.page-hero {
    position: relative;
    height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    margin-top: 0;
}
.page-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--primary-blue) 0%, #a3c2f0 100%);
}
.page-hero img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.08);
    transition: transform 8s ease;
    filter: saturate(1.2);
}
.page-hero:hover img {
    transform: scale(1);
}
.page-hero-content {
    position: relative;
    z-index: 2;
    color: white;
}
.page-hero-content h1 {
    font-size: 46px;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 14px;
    line-height: 1.1;
    text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.page-hero-breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    color: rgba(255,255,255,0.75);
}
.page-hero-breadcrumb a {
    color: rgba(255,255,255,0.75);
    transition: color 0.3s;
}
.page-hero-breadcrumb a:hover { color: #fff; }
.page-hero-breadcrumb .sep { opacity: 0.5; }
.page-hero-breadcrumb .current { color: #7ec8f4; font-weight: 600; }

/* ═══════════════════════════════════════════════════════════
   İÇ SAYFA – GENEL BÖLÜM KAPLARI
═══════════════════════════════════════════════════════════ */
.treatment-intro {
    padding: 80px 0 60px;
    background: #fff;
}
.treatment-intro .inner-row {
    display: flex;
    gap: 60px;
    align-items: center;
    flex-wrap: wrap;
}
.treatment-intro .text-col {
    flex: 1;
    min-width: 300px;
}
.treatment-intro .img-col {
    flex: 1;
    min-width: 300px;
}
.treatment-intro .img-col img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(3,27,78,0.15);
    display: block;
}
.treatment-intro h2 {
    font-size: 36px;
    font-weight: 800;
    color: #031b4e;
    margin-bottom: 20px;
    line-height: 1.2;
}
.treatment-intro h2 span {
    color: #3768cd;
}
.treatment-intro p {
    font-size: 17px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 15px;
}
.treatment-intro .tag-pill {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-blue) 0%, #a3c2f0 100%);
    color: white;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 5px 16px;
    border-radius: 20px;
    margin-bottom: 20px;
}

/* Feature cards grid */
.features-section {
    padding: 60px 0 80px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, #a3c2f0 100%);
}
.features-title {
    text-align: center;
    font-size: 32px;
    font-weight: 800;
    color: #031b4e;
    margin-bottom: 10px;
}
.features-subtitle {
    text-align: center;
    font-size: 16px;
    color: #666;
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 25px;
}
.feature-card {
    background: #fff;
    border-radius: 18px;
    padding: 35px 30px;
    box-shadow: 0 4px 20px rgba(3,27,78,0.07);
    border: 1px solid rgba(55,104,205,0.08);
    transition: transform 0.35s, box-shadow 0.35s;
    position: relative;
    overflow: hidden;
}
.feature-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 4px; height: 100%;
    background: linear-gradient(135deg, var(--primary-blue) 0%, #a3c2f0 100%);
    border-radius: 4px 0 0 4px;
}
.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(3,27,78,0.12);
}
.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, #a3c2f0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--white);
    margin-bottom: 20px;
}
.feature-card h4 {
    font-size: 18px;
    font-weight: 700;
    color: #031b4e;
    margin-bottom: 10px;
}
.feature-card p {
    font-size: 14px;
    color: #555;
    line-height: 1.7;
    margin: 0;
}

/* Info strip */
.info-strip {
    padding: 50px 0;
    background: linear-gradient(135deg, var(--primary-blue) 0%, #a3c2f0 100%);
    color: white;
}
.info-strip-inner {
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: space-between;
}
.info-strip-text h3 {
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 10px;
}
.info-strip-text p {
    font-size: 15px;
    opacity: 0.85;
    max-width: 500px;
    line-height: 1.7;
}
.info-strip-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    color: #031b4e;
    font-weight: 700;
    font-size: 15px;
    padding: 14px 30px;
    border-radius: 40px;
    white-space: nowrap;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}
.info-strip-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(0,0,0,0.2);
}

/* Sub treatments grid */
.sub-treatments {
    padding: 70px 0;
    background: #fff;
}
.sub-treatments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}
.sub-card {
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(3,27,78,0.08);
    border: 1px solid rgba(0,0,0,0.05);
    transition: transform 0.35s, box-shadow 0.35s;
    background: #fff;
    text-decoration: none;
    color: inherit;
    display: block;
}
.sub-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 50px rgba(3,27,78,0.15);
}
.sub-card-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s;
}
.sub-card:hover .sub-card-img {
    transform: scale(1.04);
}
.sub-card-img-wrap {
    overflow: hidden;
}
.sub-card-body {
    padding: 25px 25px 30px;
}
.sub-card-body h3 {
    font-size: 20px;
    font-weight: 700;
    color: #031b4e;
    margin-bottom: 10px;
}
.sub-card-body p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}
.sub-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 13px;
    color: #3768cd;
    text-decoration: none;
    padding: 8px 18px;
    border: 2px solid #3768cd;
    border-radius: 30px;
    transition: all 0.3s;
}
.sub-card-link:hover {
    background: #3768cd;
    color: #fff;
}

/* Section headings */
.section-heading {
    text-align: center;
    margin-bottom: 50px;
}
.section-heading .pill {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-blue) 0%, #a3c2f0 100%);
    color: #3768cd;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 5px 16px;
    border-radius: 20px;
    margin-bottom: 14px;
}
.section-heading h2 {
    font-size: 36px;
    font-weight: 800;
    color: #031b4e;
    line-height: 1.2;
    margin-bottom: 14px;
}
.section-heading p {
    font-size: 16px;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Steps / Sıra */
.steps-list {
    counter-reset: step-counter;
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
}
.step-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    background: #fff;
    border-radius: 14px;
    padding: 24px;
    box-shadow: 0 4px 16px rgba(3,27,78,0.06);
    counter-increment: step-counter;
    transition: transform 0.3s;
}
.step-item:hover { transform: translateX(6px); }
.step-num {
    min-width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-blue) 0%, #a3c2f0 100%);
    color: white;
    font-size: 20px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}
.step-item h4 {
    font-size: 17px;
    font-weight: 700;
    color: #031b4e;
    margin-bottom: 6px;
}
.step-item p {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
    margin: 0;
}

/* Two-column text + aside */
.two-col-layout {
    display: flex;
    gap: 50px;
    flex-wrap: wrap;
    align-items: flex-start;
}
.two-col-layout .main-col { flex: 2; min-width: 300px; }
.two-col-layout .aside-col {
    flex: 1;
    min-width: 280px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, #a3c2f0 100%);
    border-radius: 18px;
    padding: 35px 30px;
    color: white;
    position: sticky;
    top: 80px;
}
.aside-col h3 { font-size: 20px; margin-bottom: 20px; font-weight: 700; }
.aside-col ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.aside-col ul li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.aside-col ul li:last-child { border-bottom: none; }
.aside-col ul li i { color: #7ec8f4; font-size: 18px; }
.aside-cta {
    display: block;
    margin-top: 25px;
    background: white;
    color: #031b4e;
    font-weight: 700;
    font-size: 15px;
    padding: 14px 20px;
    border-radius: 12px;
    text-align: center;
    text-decoration: none;
    transition: transform 0.3s;
}
.aside-cta:hover { transform: scale(1.02); }

/* Department cards on tedavilerimiz.html */
.departments-hero-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 50px;
}
.dept-hero-card {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 35px rgba(3,27,78,0.1);
    background: #fff;
    text-decoration: none;
    color: inherit;
    display: block;
    transition: transform 0.4s, box-shadow 0.4s;
}
.dept-hero-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(3,27,78,0.18);
}
.dept-hero-card-img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s;
}
.dept-hero-card:hover .dept-hero-card-img {
    transform: scale(1.05);
}
.dept-hero-card-img-wrap { overflow: hidden; }
.dept-hero-card-body {
    padding: 28px;
}
.dept-hero-card-body h3 {
    font-size: 21px;
    font-weight: 800;
    color: #031b4e;
    margin-bottom: 10px;
}
.dept-hero-card-body p {
    font-size: 14px;
    color: #666;
    line-height: 1.65;
    margin-bottom: 20px;
}
.dept-hero-card-body .card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 13px;
    color: #3768cd;
    padding: 9px 20px;
    border: 2px solid #3768cd;
    border-radius: 30px;
    transition: all 0.3s;
}
.dept-hero-card-body .card-link:hover {
    background: #3768cd;
    color: white;
}

/* Mega Menu Layout for Tedavilerimiz */
.dropdown-menu.mega-menu {
    min-width: 750px;
    padding: 20px;
    column-count: 3;
    column-gap: 30px;
    display: block; /* override the flex layout */
}

.dropdown-menu.mega-menu a {
    display: block;
    break-inside: avoid-column;
    padding: 8px 15px !important;
    border-bottom: none !important;
    white-space: normal; /* allow wrapping if text is too long */
    line-height: 1.4;
    margin-bottom: 5px;
}

.dropdown-menu.mega-menu a:hover {
    padding-left: 20px !important;
    background-color: rgba(255,255,255,0.05);
    border-radius: 5px;
}

@media (max-width: 991px) {
    .dropdown-menu.mega-menu {
        min-width: 100%;
        column-count: 1;
        padding: 10px;
    }
}

/* Swiper Customizations */
.departments-swiper {
    width: 100%;
    padding-bottom: 50px;
    overflow: visible; /* Prevents sharp cuts at the edge of the container */
}

/* Base style for all slides (mostly sides) */
.departments-swiper .swiper-slide {
    height: auto;
    opacity: 0.4 !important;
    transform: scale(0.8) !important;
    transition: all 0.5s ease !important;
    filter: blur(4px) !important; 
    pointer-events: none;
    transform-origin: center center !important;
}

/* Active slide (Center) */
.departments-swiper .swiper-slide-active {
    opacity: 1 !important;
    transform: scale(1.1) !important;
    filter: blur(0) !important;
    pointer-events: auto;
    z-index: 10 !important;
    box-shadow: 0 25px 50px rgba(0,0,0,0.15) !important;
}

.dept-card {
    min-width: unset;
}

/* Fix arrows */
.slider-arrows {
    display: flex;
    gap: 10px;
    position: relative;
    z-index: 10; /* Ensure arrows are above slider if needed */
}
.swiper-button-next::after, .swiper-button-prev::after {
    display: none !important;
}
.swiper-button-next, .swiper-button-prev {
    position: static !important;
    margin: 0 !important;
    width: 50px !important;
    height: 50px !important;
    border-radius: 50% !important;
    border: 1px solid var(--primary-blue) !important;
    background: transparent !important;
    color: var(--primary-blue) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.3s !important;
}
.swiper-button-next:hover, .swiper-button-prev:hover {
    background: var(--primary-blue) !important;
    color: var(--white) !important;
}


/* --- Neden Bizi Secmelisiniz Section --- */
.why-choose-us-section {
    padding: 40px 0;
    background-color: var(--light-bg);
}

.why-choose-us-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: stretch;
}

.why-choose-us-content h2 {
    font-size: 36px;
    color: var(--dark-blue);
    margin-bottom: 40px;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 20px;
    background: var(--white);
    padding: 20px 25px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(55, 104, 205, 0.1);
    color: var(--primary-blue);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.feature-text h4 {
    font-size: 18px;
    color: var(--dark-blue);
    margin-bottom: 5px;
}

.feature-text p {
    font-size: 14px;
    color: var(--text-light);
    margin: 0;
}

.why-choose-us-image {
    position: relative;
    height: 100%;
    min-height: 250px;
}

.blue-card-bg {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #a3c2f0 100%);
    border-radius: 24px;
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    color: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 50px 40px;
    box-shadow: 0 20px 40px rgba(55, 104, 205, 0.2);
}

.bg-icon {
    position: absolute;
    top: 50%;
    left: 10%;
    font-size: 350px;
    color: rgba(255,255,255,0.06);
    transform: translateY(-50%) rotate(-15deg);
    z-index: 0;
}

.card-header-text, .card-footer-text {
    position: relative;
    z-index: 2;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.card-header-text h3 {
    font-size: 32px;
    margin-bottom: 5px;
    font-weight: 700;
}

.support-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 48px;
    font-weight: 700;
}

.support-badge i {
    font-size: 36px;
    opacity: 0.9;
}

.card-footer-text {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 20px;
    font-weight: 600;
    margin-top: auto; /* Push it down */
}

.card-footer-text i {
    background: rgba(255,255,255,0.2);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,0.3);
}

.doctor-image {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    z-index: 1;
    border-radius: 24px;
    mask-image: linear-gradient(to top, rgba(0,0,0,1) 50%, rgba(0,0,0,0) 100%);
    -webkit-mask-image: linear-gradient(to top, rgba(0,0,0,1) 50%, rgba(0,0,0,0) 100%);
    opacity: 1;
}

@media (max-width: 991px) {
    .why-choose-us-grid {
        grid-template-columns: 1fr;
    }
    .why-choose-us-image {
        min-height: 250px;
    }
    .doctor-image {
        width: 100%;
        mask-image: linear-gradient(to top, rgba(0,0,0,1) 40%, rgba(0,0,0,0) 100%);
        -webkit-mask-image: linear-gradient(to top, rgba(0,0,0,1) 40%, rgba(0,0,0,0) 100%);
    }
}


/* --- BLOG PAGE CSS --- */
.blog-grid-page {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.blog-card-h {
    display: flex;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    border: 1px solid rgba(0,0,0,0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card-h:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.06);
}

.blog-card-h-img {
    width: 40%;
    position: relative;
}

.blog-card-h-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-card-h-content {
    width: 60%;
    padding: 30px;
    display: flex;
    flex-direction: column;
    position: relative;
}

.blog-tag {
    font-size: 11px;
    font-weight: 700;
    color: #99a5b5;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.blog-card-h-content h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--dark-blue);
    margin-bottom: 15px;
    line-height: 1.4;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 15px;
}

.blog-card-h-content p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 20px;
}

.blog-arrow-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--light-bg);
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    bottom: 20px;
    right: 20px;
    transition: all 0.3s ease;
}

.blog-arrow-btn:hover {
    background-color: var(--primary-blue);
    color: #fff;
}

/* --- HOME BLOG SECTION --- */
.home-blog-section {
    padding: 40px 0;
    background-color: var(--light-bg); /* #eff5f9 */
}

.home-blog-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 50px;
}

.home-blog-header .header-left h2 {
    font-size: 36px;
    color: var(--dark-blue);
    margin-top: 15px;
}

.home-blog-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 40px;
}

/* Left List */
.home-blog-list {
    display: flex;
    flex-direction: column;
}

.blog-list-item {
    display: flex;
    align-items: center;
    gap: 25px;
    padding: 25px 0;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    transition: transform 0.3s ease;
}

.blog-list-item:hover {
    transform: translateX(10px);
}

.blog-list-img {
    width: 90px;
    height: 90px;
    border-radius: 20px;
    overflow: hidden;
    flex-shrink: 0;
}

.blog-list-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-list-content {
    display: flex;
    flex-direction: column;
}

.blog-meta {
    font-size: 12px;
    font-weight: 600;
    color: #8fa0b8;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.blog-meta i {
    color: var(--primary-blue);
}

.blog-list-content h4 {
    font-size: 18px;
    color: var(--dark-blue);
    font-weight: 700;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.blog-list-item:hover h4 {
    color: var(--primary-blue);
}

/* Right Featured Card */
.home-blog-featured {
    display: flex;
    background: #fff;
    border-radius: 30px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 15px 40px rgba(0,0,0,0.04);
}

.featured-img-wrapper {
    width: 45%;
}

.featured-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-content {
    width: 55%;
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-content h3 {
    font-size: 26px;
    font-weight: 700;
    color: var(--dark-blue);
    margin: 15px 0 25px;
    line-height: 1.3;
}

.featured-divider {
    width: 100%;
    height: 1px;
    background-color: #f0f0f0;
    margin-bottom: 25px;
}

.featured-content p {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.7;
}

.featured-arrow-btn {
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 70px;
    height: 70px;
    background-color: var(--primary-blue);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: -5px -5px 0 10px #eff5f9;
    transition: transform 0.3s ease;
}

.featured-arrow-btn:hover {
    transform: scale(1.1);
}

@media (max-width: 991px) {
    .blog-grid-page {
        grid-template-columns: 1fr;
    }
    .home-blog-grid {
        grid-template-columns: 1fr;
    }
    .home-blog-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    .home-blog-featured {
        flex-direction: column;
    }
    .featured-img-wrapper {
        width: 100%;
        min-height: 250px;
    }
    .featured-content {
        width: 100%;
        padding: 30px;
    }
    .blog-card-h {
        flex-direction: column;
    }
    .blog-card-h-img {
        width: 100%;
        height: 200px;
    }
    .blog-card-h-content {
        width: 100%;
    }
}



/* Testimonials Section */
.testimonials-section {
    margin-bottom: 80px;
}

.testimonials-container {
    position: relative;
    background-image: url('https://images.unsplash.com/photo-1522071820081-009f0129c71c?auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    border-radius: 20px;
    padding: 60px;
    overflow: hidden;
}

.testimonials-container::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(220, 235, 245, 0.9) 0%, rgba(200, 220, 240, 0.85) 100%);
    z-index: 1;
}

.testimonials-header, .testimonials-grid {
    position: relative;
    z-index: 2;
}

.testimonials-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
}

.testim-header-left h2 {
    font-size: 36px;
    color: var(--primary-color);
    margin-top: 15px;
}

.testim-header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.view-all-link {
    color: var(--text-color);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
}

.view-all-link:hover {
    color: var(--primary-color);
}

.testim-nav {
    display: flex;
    gap: 10px;
}

.testim-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--primary-color);
    background: transparent;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.testim-btn:hover {
    background: var(--primary-color);
    color: var(--white);
}

.testimonials-grid {
    display: flex;
    overflow-x: auto;
    
    gap: 20px;
    padding-bottom: 20px;
    scrollbar-width: none; -ms-overflow-style: none;
    scrollbar-color: var(--primary-color) rgba(255,255,255,0.3);
    
}





.testim-card {
    height: 250px;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 280px;
    max-width: 350px;
    flex-shrink: 0;
    scroll-snap-align: start;
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
}

.testim-text {
    font-size: 13px;
    line-height: 1.5;
    color: var(--text-color);
    margin-bottom: 20px;
}

.testim-text {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-color);
    margin-bottom: 30px;
}

.testim-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.testim-author {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 14px;
}

.testim-stars {
    color: #f39c12;
    font-size: 13px;
}

@media (max-width: 992px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    .testimonials-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    .testimonials-container {
        padding: 30px;
    }
}

.testimonials-grid::-webkit-scrollbar {
    display: none;
}

/* Language Switcher */
.lang-switcher {
    position: relative;
    display: inline-inline-block;
    display: flex;
    align-items: center;
    margin-left: 0;
    cursor: pointer;
    font-weight: 600;
    color: var(--dark-blue);
    background: transparent;
    z-index: 1000;
}
.current-lang {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 4px;
    transition: 0.3s;
}
.current-lang:hover {
    background: rgba(0,0,0,0.05);
}
.lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: #001f3f;
    color: white;
    list-style: none;
    padding: 10px 0;
    margin: 0;
    min-width: 120px;
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    display: none;
    flex-direction: column;
}
.lang-switcher:hover .lang-dropdown {
    display: flex;
}
.lang-dropdown li {
    padding: 10px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: 0.3s;
    font-weight: 400;
}
.lang-dropdown li:hover {
    background: rgba(255,255,255,0.1);
}

/* Hide Google Translate Default UI */
.goog-te-banner-frame.skiptranslate, 
.goog-te-gadget-icon,
.goog-te-gadget-simple {
    display: none !important;
}
body {
    top: 0px !important;
}
.goog-tooltip {
    display: none !important;
    box-shadow: none !important;
}
.goog-tooltip:hover {
    display: none !important;
    box-shadow: none !important;
}
.goog-text-highlight {
    background-color: transparent !important;
    border: none !important; 
    box-shadow: none !important;
}
#goog-gt-tt {
    display: none !important;
}

html { top: 0px !important; margin-top: 0px !important; position: static !important; }
body { top: 0px !important; margin-top: 0px !important; position: static !important; }
iframe.goog-te-banner-frame { display: none !important; }
.skiptranslate > iframe.goog-te-banner-frame { display: none !important; }
.VIpgJd-ZVi9od-ORHb-OEVmcd { display: none !important; }
.goog-logo-link { display: none !important; }
.goog-te-gadget { color: transparent !important; }

.hours-list li span:last-child {
    color: var(--white);
    font-weight: 700;
}
.hours-list li {
    border-bottom: 1px dashed rgba(255, 255, 255, 0.3);
}

/* Fix for feature icons contrast in Neden Bizi Seçmelisiniz */
.feature-icon {
    background: var(--white) !important;
    border: 1px solid rgba(3, 27, 78, 0.1) !important;
    color: var(--primary-blue) !important;
    box-shadow: 0 4px 10px rgba(0,0,0,0.02) !important;
}

/* Nav Right Items */
.nav-social-icon:hover { color: var(--primary-color) !important; }
.nav-lang-switcher:hover .nav-lang-dropdown { display: block !important; }
.nav-lang-dropdown li a:hover { background: rgba(55, 104, 205, 0.1); color: var(--primary-color) !important; }

/* Fix nav social icons background */
.nav-social-icon {
    background-color: transparent !important;
    width: auto !important;
    height: auto !important;
    border-radius: 0 !important;
}

/* Language Grid layout */
.nav-lang-dropdown {
    display: none;
    grid-template-columns: repeat(3, 1fr);
    gap: 5px;
}
.nav-lang-switcher:hover .nav-lang-dropdown { 
    display: grid !important; 
}

/* Floating Action Menu */
.floating-action-menu {
    position: fixed;
    right: 20px;
    top: 180px; /* Under the menu bar, slightly lowered */
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 9999;
}

.float-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: white !important;
    text-decoration: none;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
    transition: transform 0.3s ease, filter 0.3s ease;
    animation: pulse-heartbeat 2.5s infinite;
    position: relative;
}

.float-btn:hover {
    animation-play-state: paused;
    filter: brightness(1.1);
    transform: scale(1.1);
}

.phone-btn { background-color: var(--primary-color); animation-delay: 0s; }
.randevu-btn { background-color: var(--dark-blue); animation-delay: 0.2s; }
.wp-btn { background-color: #25D366; animation-delay: 0.4s; }
.location-btn { background-color: #ea4335; animation-delay: 0.6s; }

/* Add tooltips using pseudo-elements */
.float-btn::after {
    content: attr(title);
    position: absolute;
    right: 100%;
    top: 50%;
    transform: translateY(-50%);
    margin-right: 15px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s, margin-right 0.3s;
    font-family: var(--font-family);
}

.float-btn:hover::after {
    opacity: 1;
    margin-right: 20px;
}

@keyframes pulse-heartbeat {
    0% { transform: scale(1); }
    10% { transform: scale(1.15); }
    20% { transform: scale(1); }
    30% { transform: scale(1.15); }
    40% { transform: scale(1); }
    100% { transform: scale(1); }
}

/* Hide old widget if any remnants exist */
.sticky-bottom-widget { display: none !important; }


/* Denti AI Chatbot CSS */
.denti-chatbot-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 10000;
    font-family: var(--font-family);
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

/* Toggle Button */
.denti-toggle {
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.denti-toggle:hover {
    transform: scale(1.05);
}

.denti-toggle-text {
    background: white;
    color: var(--dark-blue);
    padding: 12px 20px;
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    font-size: 14px;
    font-weight: 600;
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: float-up-down 3s ease-in-out infinite;
}

.denti-toggle-text::after {
    content: '';
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-left: 10px solid white;
}

.denti-toggle-close {
    color: var(--text-light);
    margin-left: 5px;
    padding: 2px;
}
.denti-toggle-close:hover {
    color: #ea4335;
}

.denti-toggle-icon {
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: white;
    box-shadow: 0 5px 20px rgba(55, 104, 205, 0.4);
    position: relative;
}

.denti-toggle-icon::before {
    content: '';
    position: absolute;
    top: 5px;
    right: 5px;
    width: 12px;
    height: 12px;
    background-color: #25D366;
    border-radius: 50%;
    border: 2px solid white;
}

@keyframes float-up-down {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

/* Chat Window */
.denti-chat-window {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 320px;
    height: 460px;
    max-height: 80vh;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    opacity: 0;
    transform: translateY(150px); /* Start lower for slide-up effect */
    pointer-events: none;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
}

.denti-chat-window.active {
    opacity: 1;
    transform: translateY(0); /* End at bottom 20px */
    pointer-events: all;
}

.denti-chat-header {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-blue));
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
}

.denti-chat-profile {
    display: flex;
    align-items: center;
    gap: 12px;
}

.denti-avatar {
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 20px;
}

.denti-info h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}

.denti-info span {
    font-size: 12px;
    opacity: 0.8;
}

.denti-close-btn {
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    transition: transform 0.2s;
}
.denti-close-btn:hover {
    transform: translateY(3px);
}

.denti-chat-body {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    background-color: #f8f9fa;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Scrollbar for chat body */
.denti-chat-body::-webkit-scrollbar {
    width: 6px;
}
.denti-chat-body::-webkit-scrollbar-thumb {
    background-color: #ccc;
    border-radius: 3px;
}

/* Message Bubbles */
.chat-msg {
    max-width: 85%;
    padding: 12px 16px;
    border-radius: 18px;
    font-size: 14px;
    line-height: 1.4;
    animation: pop-in 0.3s ease forwards;
    transform: scale(0.9);
    opacity: 0;
    transform-origin: bottom left;
}

.chat-msg.bot {
    background-color: white;
    color: var(--dark-blue);
    border-bottom-left-radius: 4px;
    align-self: flex-start;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.chat-msg.user {
    background-color: var(--primary-color);
    color: white;
    border-bottom-right-radius: 4px;
    align-self: flex-end;
    transform-origin: bottom right;
}

/* Typing Indicator */
.typing-indicator {
    display: flex;
    gap: 4px;
    align-items: center;
    height: 20px;
}
.typing-indicator span {
    width: 6px;
    height: 6px;
    background-color: #999;
    border-radius: 50%;
    animation: typing 1s infinite;
}
.typing-indicator span:nth-child(2) { animation-delay: 0.2s; }
.typing-indicator span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typing {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

@keyframes pop-in {
    to { transform: scale(1); opacity: 1; }
}

/* Options Area */
.denti-chat-options {
    padding: 15px;
    background: white;
    border-top: 1px solid #eee;
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 180px;
    overflow-y: auto;
}

.denti-option-btn {
    background: var(--light-blue);
    border: 1px solid rgba(55, 104, 205, 0.2);
    color: var(--primary-blue);
    padding: 10px 15px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition: all 0.2s;
    font-family: var(--font-family);
    animation: fade-up 0.3s ease forwards;
    opacity: 0;
    transform: translateY(10px);
}

.denti-option-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: translateX(5px) !important;
}

@keyframes fade-up {
    to { opacity: 1; transform: translateY(0); }
}

/* Mobile Responsiveness */
@media (max-width: 576px) {
    .denti-chat-window {
        bottom: 0;
        right: 0;
        width: 100vw;
        height: 100dvh;
        max-height: 100dvh;
        border-radius: 0;
    }
    .denti-toggle-text {
        display: none;
    }
}


/* Hide toggle when chat is active */
.denti-chatbot-container.chat-active .denti-toggle {
    display: none !important;
}

/* Improve options scrollbar styling */
.denti-chat-options::-webkit-scrollbar {
    width: 4px;
}
.denti-chat-options::-webkit-scrollbar-thumb {
    background-color: var(--primary-blue);
    border-radius: 4px;
}

.quick-footer-menu a:hover { color: var(--primary-color) !important; }


/* Override for swiper logic */
.departments-swiper .swiper-slide-active, .departments-swiper .swiper-slide-next, .departments-swiper .swiper-slide-prev { opacity: 1 !important; transform: scale(1) !important; filter: blur(0) !important; pointer-events: auto !important; z-index: 10 !important; box-shadow: 0 15px 30px rgba(0,0,0,0.1) !important; }
.departments-swiper .swiper-slide-active { transform: scale(1.05) !important; box-shadow: 0 25px 50px rgba(0,0,0,0.15) !important; z-index: 11 !important; }
.departments-section .slider-arrows, .departments-section .arrow-btn { display: none !important; }


/* Removed fixed width so swiper handles sizes */


/* Fix for swiper centering and width */
.departments-swiper { width: 100vw !important; max-width: 100vw !important; position: relative !important; left: 50% !important; transform: translateX(-50%) !important; overflow: hidden !important; }
.departments-swiper .swiper-slide { overflow: hidden; }


.hidden { display: none !important; }
