/* CSS Variables - Global Theme Colors */
:root {
    --color-main-title: #d8d8d8;
    --color-sub-title: #3d38a9;
    --color-text: rgb(147, 135, 163);
    --color-accent: rgba(243, 248, 255, 0.85);
    --color-icon: #d8d8d8;
    --color-button: linear-gradient(90deg, #113F67 10%, #450077 90%);
    --color-button-hover: linear-gradient(90deg, rgb(98, 1, 168) 10%, rgb(28, 104, 170) 90%);
    --color-label-text: rgb(146, 146, 146);
    --color-button-text: rgb(222, 224, 226);
    --color-box-background: #191919;
    --color-input-background: #303030;
}

/*          
    --color-main-title:rgb(26, 68, 131);      437057  rgb(158, 122, 63) 485361 344C64 
    --color-sub-title: #0D5EA6;
    --color-text: #2A3335;
    --color-accent:rgb(36, 96, 165);
    --color-icon: #0065F8;
    --color-button: #0066cc; linear-gradient(90deg, #91C8E4 50%, #749BC2 100%);
    --color-button-hover: #3674B5;
    --color-label-text:rgb(11, 71, 124) ;    2D4F2B 
    --color-button-text: rgb(222, 224, 226);  
*/

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

/* Set global page styles */
html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    overflow-x: hidden; /* Prevent horizontal scroll */
}

body {
    position: relative;
    font-family: 'Segoe UI', 'SF Pro Display', -apple-system, BlinkMacSystemFont, sans-serif;
    min-height: 100vh;
    background-color: #000; /* Dark background for better transitions */
    
    /* Mobile scroll and pull-to-refresh fixes */
    overscroll-behavior: none; /* Prevent pull-to-refresh */
    -webkit-overflow-scrolling: touch;
    touch-action: manipulation; /* Prevent double-tap zoom */
}

/* Section-based sayfalar için özel overflow kontrolleri */
body.has-sections {
    overflow: hidden; /* Section-based navigation için scroll engelle */
    position: fixed; /* Mobile safari için */
    width: 100%;
    height: 100%;
}

/* iOS Safari için özel düzeltmeler */
@supports (-webkit-touch-callout: none) {
    body.has-sections {
        position: fixed;
        overflow: hidden;
        -webkit-overflow-scrolling: auto;
    }
}

body.menu-open {
    overflow: hidden; /* Prevent all scrolling when menu is open */
}

/* Course detail ve diğer standalone sayfalar için menü açıkken scroll izni */
body.menu-open:not(.has-sections) {
    overflow-y: auto; /* Allow vertical scrolling for non-section pages */
}

/* Section-based sayfalarda menü açıkken scroll engelleme */
body.menu-open.has-sections {
    overflow: hidden;
}

a {
    text-decoration: none;
    color: #176B87;
    transition: all 0.3s ease;
}

a:hover {
    color: #176B87;
}

ul {
    list-style: none;
}

/* Header is fixed at top */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000; /* Always on top */
    background-color: rgba(0, 0, 0, 0.7); /* Semi-transparent */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo img {
    height: 44px;
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 25px;
}

nav ul li a {
    color: #1d1d1f;
    font-weight: 400;
    font-size: 14px;
    letter-spacing: 0.5px;
    padding: 5px 0;
    position: relative;
}

nav ul li a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #176B87;
    transition: width 0.3s ease;
}

nav ul li a:hover:after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* Section styles - each section takes full viewport */
section {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%; 
    height: 100vh; /* Fallback */
    height: calc(var(--vh, 1vh) * 100); /* Mobile-friendly viewport height */
    overflow: hidden;
    z-index: 1;
    background-color: #000; /* Dark background */
    transform: translateY(0);
}

section .scrollable-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    z-index: 2;
}

/* Only the active section is visible */
section:not(.active):not(.incoming-next):not(.incoming-prev) {
    display: none;
}

/* Active section always stays in place */
section.active {
    z-index: 1;
    transform: translateY(0);
}

/* Incoming sections */
section.incoming-next {
    transform: translateY(100%);
    z-index: 2;
    transition: transform 0.8s cubic-bezier(0.77, 0, 0.175, 1);
}

section.incoming-prev {
    transform: translateY(-100%);
    z-index: 2;
    transition: transform 0.8s cubic-bezier(0.77, 0, 0.175, 1);
}

.required {
    color: red;
    font-weight: 400;
    margin-left: 5px;
}

/* Section background styles with parallax effect */
.parallax-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 0;
    will-change: transform;
    transition: transform 1s cubic-bezier(0.77, 0, 0.175, 1);
}

/* Add default diagonal gradient background for sections */
.section .parallax-bg {
    background: linear-gradient(135deg, #e0e0e0, #EEF5FF);
}

/* Content container in full viewport */
.content-container {
    position: relative;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 120px 20px 50px; /* Top padding for fixed header */
    z-index: 2;
    color: #F4F6FF;      /* 7F8CAA - B8CFCE - F3F3E0 - D4C9BE - F1EFEC - FBE4D6 - FFF2F2 - E2E0C8 - F5EFE7 - F4F6FF - F3F7EC*/
    min-height: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Section content animation */
.section-content {
    margin-top: 300px;
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Section headings */
.section-heading {
    margin-bottom: 40px;
}

.section-heading h2 {
    font-size: 48px;
    color: #fff;
    text-shadow: 0 2px 5px rgba(0,0,0,0.5);
    margin-bottom: 15px;
}

.heading-line {
    width: 50px;
    height: 3px;
    background-color: #176B87;
    margin-bottom: 30px;
}

/* EMDR Benefits Styles */
.emdr-benefits {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    margin-top: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.emdr-benefits h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #fff;
    font-weight: 500;
}

.emdr-benefits ul li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.emdr-benefits ul li:before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #176B87;
}

/* Case Studies Styles */
.case-studies {
    margin-top: 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.case-study {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.case-study:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.case-study h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #fff;
    font-weight: 500;
}

.case-belief {
    font-style: italic;
    color: #176B87;
    font-size: 18px;
    margin-bottom: 20px;
    font-weight: 400;
}

.case-study p {
    margin-bottom: 15px;
    line-height: 1.7;
}

/* Training Cards Styles */
.training-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.training-card {
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.training-card-img {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.training-card-img::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
}

.training-card-content {
    padding: 25px;
}

.training-card h3 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #176B87;
    font-size: 20px;
}

.training-card p {
    color: #555;
    margin-bottom: 20px;
    line-height: 1.5;
}

.training-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    color: #777;
    font-size: 14px;
}

.training-meta span {
    display: flex;
    align-items: center;
}

.training-meta i {
    margin-right: 5px;
    color: #176B87;
}

.btn-training {
    display: inline-block;
    background-color: #176B87;
    color: white;
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.btn-training:hover {
    background-color: #0a57b3;
    color: white;
}

/* Announcements Slider */
.announcements-slider {
    position: relative;
    margin-top: 40px;
    padding: 0 50px;
}

.announcements-track {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.announcement-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.announcement-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.announcement-image {
    height: 180px;
    background-size: cover;
    background-position: center;
}

.announcement-title {
    padding: 15px 15px 5px;
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.announcement-date {
    padding: 0 15px 15px;
    margin: 0;
    font-size: 14px;
    color: #777;
}

.slider-nav {
    display: flex;
    justify-content: space-between;
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    z-index: 1;
}

.slider-prev, .slider-next {
    background-color: rgba(255, 255, 255, 0.9);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.slider-prev:hover, .slider-next:hover {
    background-color: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.slider-prev {
    margin-left: -20px;
}

.slider-next {
    margin-right: -20px;
}

/* View All Buttons */
.view-all-container {
    text-align: center;
    margin-top: 40px;
}

.btn-view-all {
    display: inline-flex;
    align-items: center;
    padding: 12px 30px;
    background-color: #176B87;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(13, 105, 211, 0.2);
}

.btn-view-all:hover {
    background-color: #0a57b3;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(13, 105, 211, 0.3);
}

.btn-view-all i {
    margin-left: 10px;
    transition: transform 0.3s ease;
}

.btn-view-all:hover i {
    transform: translateX(5px);
}

/* Events Styles */
.events-timeline {
    margin-top: 50px;
}

.event {
    display: flex;
    margin-bottom: 30px;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.event:hover {
    transform: translateX(10px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.event-date {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #176B87;
    color: #fff;
    padding: 20px;
    min-width: 100px;
}

.month {
    font-size: 16px;
    font-weight: 500;
    text-transform: uppercase;
}

.day {
    font-size: 30px;
    font-weight: 500;
}

.event-details {
    padding: 20px;
    flex-grow: 1;
}

.event-details h3 {
    font-size: 22px;
    margin-bottom: 10px;
    color: #fff;
    font-weight: 500;
}

.event-location {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 10px;
    font-size: 14px;
}

.event-details p {
    margin-bottom: 15px;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
}

.event-link {
    display: inline-block;
    padding: 8px 20px;
    background-color: transparent;
    border: 1px solid #176B87;
    color: #fff;
    border-radius: 30px;
    font-weight: 400;
    font-size: 14px;
    transition: all 0.3s ease;
}

.event-link:hover {
    background-color: #176B87;
    color: #fff;
}

/* Team Section */
.team-members {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.team-member {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.member-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.team-member:hover .member-image img {
    transform: scale(1.05);
}

.team-member h3 {
    padding: 20px 20px 5px;
    font-size: 20px;
    color: #fff;
    font-weight: 500;
}

.member-title {
    padding: 0 20px 10px;
    font-size: 14px;
    color: #176B87;
    font-weight: 400;
}

.member-description {
    padding: 0 20px 20px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

/* Contact Section */
.contact-info {
    margin-bottom: 50px;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.contact-item i {
    font-size: 24px;
    color: #176B87;
    margin-right: 15px;
}

.contact-item p {
    font-size: 18px;
    color: #fff;
    text-shadow: none;
}

.contact-form {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.contact-form h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #fff;
    text-align: center;
    font-weight: 500;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: none;
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 0.15);
    color: #fff;
    font-family: 'Segoe UI', 'SF Pro Display', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.form-group select {
    appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg fill="white" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/><path d="M0 0h24v24H0z" fill="none"/></svg>');
    background-repeat: no-repeat;
    background-position: right 10px top 50%;
}

.form-group select option {
    background-color: #333;
    color: #fff;
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.submit-btn {
    display: block;
    width: 100%;
    padding: 12px;
    background-color: #176B87;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background-color: #176B87;
}

/* Footer */
footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    z-index: 100;
    background-color: #2c3e50;
    color: #fff;
    padding: 10px 0;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.footer-logo img {
    height: 40px;
    width: auto;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #176B87;
}

.copyright {
    width: 100%;
    text-align: center;
    margin-top: 10px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
}

/* Responsive footer */
@media (max-width: 768px) {
    footer {
        padding: 10px 0;
    }
    
    .footer-content {
        flex-direction: column;
    }
    
    .footer-logo {
        margin-bottom: 10px;
    }
    
    .footer-links {
        justify-content: center;
        margin-bottom: 10px;
    }
}

/* Responsive Styles */
@media (max-width: 992px) {
    .section-heading h2 {
        font-size: 40px;
    }
    
    .hero-content h1 {
        font-size: 56px;
    }
    
    .hero-content h2 {
        font-size: 24px;
    }
    
    .training-cards,
    .case-studies,
    .team-members {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    nav {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .section-heading h2 {
        font-size: 32px;
    }
    
    .hero-content h1 {
        font-size: 42px;
    }
    
    .hero-content h2 {
        font-size: 20px;
    }
    
    .section-content p {
        font-size: 16px;
    }
    
    .training-cards,
    .case-studies,
    .team-members {
        grid-template-columns: 1fr;
    }
    
    .event {
        flex-direction: column;
    }
    
    .event-date {
        flex-direction: row;
        justify-content: flex-start;
        padding: 10px;
    }
    
    .month {
        margin-right: 10px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

/* Hamburger Menu Button */
.menu-button {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000; /* Normal değere döndür */
    width: 40px;
    height: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    cursor: pointer;
    padding: 5px;
    background-color: rgba(0, 0, 0, 0.5); /* Normal değere döndür */
    border-radius: 5px;
    transition: transform 0.3s ease;
}

.menu-button span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #fff;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.menu-open .menu-button span:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
}

.menu-open .menu-button span:nth-child(2) {
    opacity: 0;
}

.menu-open .menu-button span:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
}

/* Fullscreen Menu */
.fullscreen-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 999; /* Normal değere döndür */
    transition: right 0.5s cubic-bezier(0.77, 0, 0.175, 1);
    overflow: hidden;
}

.menu-open .fullscreen-menu {
    right: 0;
}

.menu-content {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    transition-delay: 0.3s;
}

.menu-open .menu-content {
    opacity: 1;
    transform: translateX(0);
}

.fullscreen-menu nav {
    text-align: center;
    width: 100%;
    max-height: 100vh;
    overflow-y: auto;
    padding: 30px 0;
}

.fullscreen-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-height: 95vh;
    overflow-y: auto;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
}

.fullscreen-menu ul::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

.fullscreen-menu li {
    margin: 10px 0;
    transform: translateX(30px);
    opacity: 0;
    transition: transform 0.4s ease, opacity 0.4s ease;
    width: 100%;
}

.menu-open .fullscreen-menu li {
    transform: translateX(0);
    opacity: 1;
}

.menu-open .fullscreen-menu li:nth-child(1) { transition-delay: 0.1s; }
.menu-open .fullscreen-menu li:nth-child(2) { transition-delay: 0.2s; }
.menu-open .fullscreen-menu li:nth-child(3) { transition-delay: 0.3s; }
.menu-open .fullscreen-menu li:nth-child(4) { transition-delay: 0.4s; }
.menu-open .fullscreen-menu li:nth-child(5) { transition-delay: 0.5s; }
.menu-open .fullscreen-menu li:nth-child(6) { transition-delay: 0.6s; }
.menu-open .fullscreen-menu li:nth-child(7) { transition-delay: 0.7s; }
.menu-open .fullscreen-menu li:nth-child(8) { transition-delay: 0.8s; }

.fullscreen-menu a {
    color: #fff;
    font-size: 24px;
    text-decoration: none;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: color 0.3s ease;
    display: inline-block;
    padding: 8px 15px;
    position: relative;
}

.fullscreen-menu a:hover,
.fullscreen-menu a.active {
    color: #fff;
}

.fullscreen-menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: #176B87;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.fullscreen-menu a:hover::after,
.fullscreen-menu a.active::after {
    width: 100%;
    width: calc(100% - 30px);
}

/* Legal links row – small, inline, footer-like */
.fullscreen-menu li.legal {
    margin-top: 10px;
}

.fullscreen-menu .legal-links {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    opacity: 0.8;
}

.fullscreen-menu .legal-links a {
    font-size: 14px;
    letter-spacing: 0;
    text-transform: none;
    padding: 4px 0;
}

.fullscreen-menu .legal-links .sep {
    color: rgba(255, 255, 255, 0.5);
}

/* Mobile Navigation */
.mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(29, 29, 31, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-nav.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav ul {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.mobile-nav ul li {
    margin: 15px 0;
}

.mobile-nav ul li a {
    font-size: 24px;
    color: #fff;
    font-weight: 400;
}

.close-mobile-nav {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 30px;
    color: #fff;
    cursor: pointer;
}

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

.animated {
    opacity: 0;
}

.animate-in {
    animation: fadeIn 1s forwards;
}

/* Admin Panel Style Indicators */
.admin-edit-indicator {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: rgba(0, 102, 204, 0.7);
    color: white;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 12px;
    display: none;
}

body.admin-mode .admin-edit-indicator {
    display: block;
}

/* Login Area */
.login-area {
    background: rgba(13, 105, 211, 0.9);
    color: #fff;
    text-align: right;
    padding: 5px 0;
    position: relative;
    z-index: 1000;
}

.login-toggle {
    cursor: pointer;
    padding: 0 20px;
    display: inline-block;
    transition: all 0.3s;
}

.login-toggle:hover {
    color: #e8f0fe;
}

.login-form-container {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    background: #fff;
    padding: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    border-radius: 0 0 5px 5px;
    z-index: 1000;
}

.login-form {
    display: flex;
    flex-direction: column;
    min-width: 250px;
}

.login-form input {
    margin-bottom: 10px;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    outline: none;
}

.login-form button {
    background: #176B87;
    color: #fff;
    border: none;
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s;
}

.login-form button:hover {
    background: #0a51a3;
}

.login-area.active .login-form-container {
    display: block;
}

/* Announcements Section Styles */
.announcements-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.announcement-card {
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}

.announcement-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.announcement-date {
    background-color: #176B87;
    color: #fff;
    padding: 10px 0;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.announcement-date .day {
    font-size: 24px;
    font-weight: bold;
    margin-right: 5px;
}

.announcement-date .month {
    font-size: 16px;
}

.announcement-details {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.announcement-details h3 {
    margin-bottom: 10px;
    color: #176B87;
}

.announcement-details p {
    margin-bottom: 15px;
    flex-grow: 1;
}

.read-more {
    align-self: flex-start;
    background-color: #176B87;
    color: #fff;
    padding: 8px 15px;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.read-more:hover {
    background-color: #0a51a3;
    color: #fff;
}

/* Therapists Section Styles */
.therapists-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.therapist-card {
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.therapist-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.therapist-image {
    height: 200px;
    overflow: hidden;
}

.therapist-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

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

.therapist-info {
    padding: 20px;
}

.therapist-info h3 {
    margin-bottom: 5px;
    color: #176B87;
}

.therapist-title {
    color: #555;
    font-style: italic;
    margin-bottom: 15px;
}

.therapist-bio {
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Training Calendar Styles */
.calendar-container {
    margin-top: 30px;
}

.calendar-item {
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-bottom: 30px;
    display: flex;
    transition: transform 0.3s, box-shadow 0.3s;
}

.calendar-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.event-date {
    background-color: #176B87;
    color: #fff;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-width: 100px;
    text-align: center;
}

.event-date .day {
    font-size: 28px;
    font-weight: bold;
}

.event-date .month {
    font-size: 16px;
    text-transform: uppercase;
}

.event-date .year {
    font-size: 14px;
    opacity: 0.8;
}

.event-details {
    padding: 20px;
    flex-grow: 1;
}

.event-details h3 {
    color: #176B87;
    margin-bottom: 10px;
}

.event-location, .event-time {
    font-size: 0.9rem;
    margin-bottom: 5px;
    color: #555;
}

.event-details p {
    margin: 15px 0;
}

.register-button {
    display: inline-block;
    background-color: #176B87;
    color: #fff;
    padding: 8px 20px;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.register-button:hover {
    background-color: #0a51a3;
    color: #fff;
}

/* Post-Training Support Styles */
.support-options {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.support-option {
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.support-option:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.support-option i {
    font-size: 40px;
    color: #176B87;
    margin-bottom: 15px;
}

.support-option h3 {
    color: #176B87;
    margin-bottom: 10px;
}

/* Certification and Accreditation Styles */
.certification-info {
    margin-top: 30px;
}

.accreditation-logos {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 30px;
}

.accreditation-logo {
    max-width: 150px;
    max-height: 100px;
    object-fit: contain;
}

.certification-levels {
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.certification-levels h3 {
    color: #176B87;
    margin-bottom: 15px;
    text-align: center;
}

.certification-levels ul {
    list-style: none;
}

.certification-levels li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.certification-levels li:last-child {
    border-bottom: none;
}

.verification-system {
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.verification-system h3 {
    color: #176B87;
    margin-bottom: 15px;
}

.verification-system p {
    margin-bottom: 20px;
}

.verify-button {
    display: inline-block;
    background-color: #176B87;
    color: #fff;
    padding: 10px 25px;
    border-radius: 5px;
    font-weight: 500;
    transition: background-color 0.3s;
}

.verify-button:hover {
    background-color: #0a51a3;
    color: #fff;
}

/* Responsive adjustments for mobile */
@media (max-width: 768px) {
    .calendar-item {
        flex-direction: column;
    }
    
    .event-date {
        padding: 10px;
        flex-direction: row;
        min-width: auto;
        width: 100%;
    }
    
    .event-date .day {
        margin-right: 5px;
    }
    
    .event-date .month {
        margin-right: 5px;
    }
    
    .support-options {
        grid-template-columns: 1fr;
    }
    
    .accreditation-logos {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    /* Mobil ekranlarda menü düzenlemeleri */
    .menu-content {
        padding-top: 15%;
        justify-content: flex-start;
    }
    
    .fullscreen-menu nav {
        padding: 0;
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    
    .fullscreen-menu ul {
        max-height: none;
        height: auto;
        padding: 0 20px;
    }
    
    .fullscreen-menu a {
        font-size: 20px;
        padding: 12px 15px;
    }
    
    .user-menu-item {
        font-size: 18px !important;
    }
}

/* Menu divider and user menu items */
.menu-divider {
    width: 80% !important;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.2);
    margin: 15px auto !important;
}

.user-menu-item {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    font-size: 20px !important;
    position: relative;
}

.user-menu-item i {
    margin-right: 10px;
}

.user-menu-item::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: #176B87;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.user-menu-item:hover::after {
    width: calc(100% - 30px);
}

.admin-link {
    color: #f3d250 !important;
}

.admin-link:hover {
    color: #fff !important;
}

.admin-link::after {
    background-color: #f3d250;
}

/* Authentication pages */
.auth-page {
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #000;
}

.auth-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.5;
    z-index: 0;
}

.auth-container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 450px;
    padding: 20px;
}

.auth-box {
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
}

.auth-box h2 {
    margin: 0 0 25px;
    color: #176B87;
    text-align: center;
    font-size: 28px;
}

.auth-box h2 i {
    margin-right: 10px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: #333;
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.form-group input:focus {
    border-color: #176B87;
    outline: none;
}

.remember-me {
    display: flex;
    align-items: center;
}

.remember-me input {
    width: auto;
    margin-right: 10px;
}

.remember-me label {
    margin: 0;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: #176B87;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s;
    width: 100%;
    text-align: center;
    position: relative;
}

.btn::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: #176B87;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.btn:hover::after {
    width: calc(100% - 30px);
}

.btn:hover {
    background-color: #0a4da0;
}

.auth-links {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    font-size: 14px;
}

.auth-links a {
    color: #176B87;
    text-decoration: none;
}

.auth-links a:hover {
    text-decoration: underline;
}

.home-link {
    text-align: center;
    margin-top: 25px;
}

.home-link a {
    color: #666;
    text-decoration: none;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
}

.home-link a i {
    margin-right: 8px;
}

.home-link a:hover {
    color: #176B87;
}

.alert {
    padding: 12px 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    font-size: 14px;
}

.alert-error {
    background-color: #ffebee;
    color: #c62828;
    border: 1px solid #ef9a9a;
}

.alert-success {
    background-color: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #a5d6a7;
}

/* Admin Panel Styles */
.admin-container {
    padding: 50px 0;
    max-width: 1200px;
    margin: 0 auto;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

.admin-title {
    display: flex;
    align-items: center;
    color: #176B87;
    margin: 0;
}

.admin-title i {
    margin-right: 15px;
    font-size: 24px;
}

.admin-actions {
    display: flex;
    gap: 10px;
}

.admin-menu {
    display: flex;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-bottom: 30px;
}

.admin-menu a {
    padding: 15px 20px;
    color: #555;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s;
    border-bottom: 3px solid transparent;
    display: flex;
    align-items: center;
    position: relative;
}

.admin-menu a i {
    margin-right: 8px;
}

.admin-menu a:hover, 
.admin-menu a.active {
    color: #176B87;
    background-color: rgba(13, 105, 211, 0.05);
    border-bottom-color: #176B87;
}

.admin-menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: #176B87;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.admin-menu a:hover::after, 
.admin-menu a.active::after {
    width: calc(100% - 30px);
}

.admin-content {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 25px;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th,
.admin-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.admin-table th {
    background-color: #f9f9f9;
    font-weight: 600;
    color: #333;
}

.admin-table tr:last-child td {
    border-bottom: none;
}

.admin-table tr:hover td {
    background-color: #f5f9ff;
}

.action-buttons {
    display: flex;
    gap: 5px;
}

.btn-sm {
    padding: 5px 12px;
    font-size: 14px;
}

.btn-edit {
    background-color: #ffc107;
    color: #000;
}

.btn-edit:hover {
    background-color: #e0a800;
}

.btn-delete {
    background-color: #dc3545;
}

.btn-delete:hover {
    background-color: #bd2130;
}

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

.form-row > .form-group {
    flex: 1;
    margin-bottom: 0;
}

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

.form-select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s;
    background-color: #fff;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 16px;
}

.form-select:focus {
    border-color: #176B87;
    outline: none;
}

.admin-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-bottom: 20px;
}

.admin-card-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
    color: #333;
}

.admin-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 36px;
    font-weight: 700;
    color: #176B87;
}

.stat-title {
    font-size: 14px;
    color: #666;
    margin-top: 5px;
}

.stat-icon {
    align-self: flex-end;
    font-size: 40px;
    color: rgba(13, 105, 211, 0.1);
    margin-top: -40px;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    opacity: 0.85;
    transition: all 0.4s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.scroll-indicator:hover {
    opacity: 1;
    transform: translateX(-50%) scale(1.05);
}

.scroll-circle {
    animation: scrollCircle 2.2s infinite ease-in-out;
    filter: drop-shadow(0 0 3px rgba(255, 255, 255, 0.5));
}

@keyframes scrollCircle {
    0% {
        transform: translateY(0);
        opacity: 1;
    }
    50% {
        transform: translateY(20px);
        opacity: 0.3;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.scroll-arrow {
    animation: scrollArrow 2.2s infinite ease;
    filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.3));
}

.scroll-arrow:nth-of-type(2) {
    animation-delay: 0.4s;
}

@keyframes scrollArrow {
    0% {
        opacity: 0.6;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0.6;
    }
}

.scroll-text {
    color: white;
    font-size: 14px;
    letter-spacing: 2px;
    margin-top: 10px;
    text-transform: uppercase;
    font-weight: 300;
    opacity: 0.8;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
    animation: pulse 2.2s infinite;
}

@keyframes pulse {
    0% {
        opacity: 0.8;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0.8;
    }
}

/* Therapists Grid */
.therapists-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.therapist-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.therapist-card:hover {
    transform: translateY(-10px);
}

.therapist-image {
    height: 280px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.therapist-name {
    margin: 20px 15px 5px;
    font-size: 18px;
    color: #176B87;
}

.therapist-title {
    margin: 0 15px 20px;
    font-size: 14px;
    color: #777;
}

/* Contact Form */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
}

.contact-form {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #176B87;
    outline: none;
}

.btn-contact {
    background-color: #176B87;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-contact:hover {
    background-color: #0a57b3;
}

.contact-info {
    padding: 30px;
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.contact-info-item i {
    font-size: 24px;
    color: #176B87;
    margin-right: 15px;
    margin-top: 4px;
}

.contact-info-item p {
    margin: 0;
    color: #333;
    line-height: 1.5;
}

.social-media {
    margin-top: 30px;
}

.social-media h3 {
    font-size: 18px;
    color: #333;
    margin-bottom: 15px;
}

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

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #176B87;
    color: white;
    border-radius: 50%;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.social-icon:hover {
    transform: translateY(-5px);
    background-color: #0a57b3;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .announcements-track {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .contact-container {
        grid-template-columns: 1fr;
    }
    .announcements-track {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .training-cards,
    .therapists-grid {
        grid-template-columns: 1fr;
    }
    .announcements-track {
        grid-template-columns: 1fr;
    }
}

/* Menu Login Form Styles */
.menu-login-form {
    max-width: 400px;
    width: 90%;
    margin: 0 auto;
    padding: 30px;
    color: #fff;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    display: none;
    background-color: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.menu-login-form.active {
    opacity: 1;
    transform: translateY(-50%);
    display: block;
}

.menu-login-form h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    text-align: center;
    color: #fff;
}

.menu-login-form h2 i {
    margin-right: 10px;
}

.menu-login-form .form-group {
    margin-bottom: 20px;
}

.menu-login-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #fff;
}

.menu-login-form input[type="email"],
.menu-login-form input[type="password"] {
    width: 100%;
    padding: 12px 15px;
    border-radius: 5px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.menu-login-form input[type="email"]:focus,
.menu-login-form input[type="password"]:focus {
    border-color: #176B87;
    background-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 10px rgba(41, 151, 255, 0.2);
}

.menu-login-form .remember-me {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.menu-login-form .remember-me input {
    margin-right: 10px;
}

.menu-login-form button {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 5px;
    background-color: #176B87;
    color: #fff;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.menu-login-form button:hover {
    background-color: #176B87;
}

.menu-login-form .auth-links {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
    width: 100%;
}

.menu-login-form .auth-links a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.3s ease;
    text-align: center;
    width: 48%;
    padding: 8px 0;
    border-radius: 5px;
    background-color: rgba(0, 102, 204, 0.2);
}

.menu-login-form .auth-links a:hover {
    color: #fff;
    background-color: rgba(0, 102, 204, 0.3);
}

.menu-login-form .back-to-menu {
    text-align: center;
    margin-top: 25px;
}

.menu-login-form .back-to-menu a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    transition: color 0.3s ease;
}

.menu-login-form .back-to-menu a i {
    margin-right: 8px;
}

.menu-login-form .back-to-menu a:hover {
    color: #fff;
    background-color: rgba(255, 255, 255, 0.2);
}

.menu-login-form .alert {
    padding: 10px 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.menu-login-form .alert-error {
    background-color: rgba(255, 56, 96, 0.2);
    border: 1px solid rgba(255, 56, 96, 0.3);
    color: #fff;
}

/* Hide or show menu content based on login form state */
.main-menu-content.hidden {
    display: none;
}

/* Mobile responsiveness for login form */
@media (max-width: 480px) {
    .menu-login-form {
        width: 95%;
        padding: 20px;
        max-height: 90vh;
        overflow-y: auto;
    }
    
    .menu-login-form h2 {
        font-size: 1.5rem;
        margin-bottom: 15px;
    }
    
    .menu-login-form .form-group {
        margin-bottom: 15px;
    }
    
    .menu-login-form input[type="email"],
    .menu-login-form input[type="password"],
    .menu-login-form button {
        padding: 10px;
        font-size: 0.95rem;
    }
    
    .menu-login-form .auth-links {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }
}

/* Menu Register Form Styles */
.menu-register-form {
    max-width: 600px;
    width: 90%;
    margin: 0 auto;
    padding: 30px;
    color: #fff;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    display: none;
    background-color: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.08);
    max-height: 90vh;
    overflow-y: auto;
}

.menu-register-form.active {
    opacity: 1;
    transform: translateY(-50%);
    display: block;
}

.menu-register-form h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    text-align: center;
    color: #fff;
}

.menu-register-form h2 i {
    margin-right: 10px;
}

.menu-register-form .form-group {
    margin-bottom: 20px;
}

/* Two column layout for register form */
.menu-register-form .form-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.menu-register-form .form-container .form-group {
    margin-bottom: 0;
}

.menu-register-form .form-group.full-width {
    grid-column: 1 / -1;
}

/* For laptop screens and up */
@media (min-width: 769px) {
    .menu-register-form {
        max-width: 700px;
    }
    
    .menu-register-form .form-container {
        grid-template-columns: 1fr 1fr;
        gap: 25px;
    }
}

/* For tablet screens */
@media (max-width: 768px) {
    .menu-register-form .form-container {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .menu-register-form {
        max-width: 500px;
    }
}

.menu-register-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #fff;
}

.menu-register-form input[type="text"],
.menu-register-form input[type="email"],
.menu-register-form input[type="password"],
.menu-register-form input[type="tel"],
.menu-register-form select {
    width: 100%;
    padding: 12px 15px;
    border-radius: 5px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.menu-register-form input[type="text"]:focus,
.menu-register-form input[type="email"]:focus,
.menu-register-form input[type="password"]:focus,
.menu-register-form input[type="tel"]:focus,
.menu-register-form select:focus {
    border-color: #176B87;
    background-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 10px rgba(41, 151, 255, 0.2);
}

.menu-register-form select option {
    background-color: #333;
    color: #fff;
}

.menu-register-form .text-muted {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    margin-top: 4px;
    display: block;
}

.menu-register-form button {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 5px;
    background-color: #176B87;
    color: #fff;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.menu-register-form button:hover {
    background-color: #176B87;
}

.menu-register-form .auth-links {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
    width: 100%;
}

.menu-register-form .auth-links a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.3s ease;
    text-align: center;
    width: 100%;
    padding: 8px 0;
    border-radius: 5px;
    background-color: rgba(0, 102, 204, 0.2);
}

.menu-register-form .auth-links a:hover {
    color: #fff;
    background-color: rgba(0, 102, 204, 0.3);
}

.menu-register-form .back-to-menu {
    text-align: center;
    margin-top: 25px;
}

.menu-register-form .back-to-menu a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    transition: color 0.3s ease;
    padding: 8px 15px;
    border-radius: 5px;
}

.menu-register-form .back-to-menu a i {
    margin-right: 8px;
}

.menu-register-form .back-to-menu a:hover {
    color: #fff;
    background-color: rgba(255, 255, 255, 0.2);
}

/* Mobile responsiveness for register form */
@media (max-width: 480px) {
    .menu-register-form {
        width: 95%;
        padding: 20px;
        max-height: 90vh;
        overflow-y: auto;
    }
    
    .menu-register-form h2 {
        font-size: 1.5rem;
        margin-bottom: 15px;
    }
    
    .menu-register-form .form-group {
        margin-bottom: 15px;
    }
    
    .menu-register-form input[type="text"],
    .menu-register-form input[type="email"],
    .menu-register-form input[type="password"],
    .menu-register-form input[type="tel"],
    .menu-register-form select,
    .menu-register-form button {
        padding: 10px;
        font-size: 0.95rem;
    }
    
    .menu-register-form .auth-links {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }
}

/* Password visibility toggle */
.password-container {
    position: relative;
    display: flex;
    align-items: center;
}

.password-toggle {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.password-toggle:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

.password-toggle i {
    color: #fff;
    font-size: 1.1rem;
}

.menu-login-form .password-container input[type="password"],
.menu-login-form .password-container input[type="text"],
.menu-register-form .password-container input[type="password"],
.menu-register-form .password-container input[type="text"] {
    width: 100%;
    padding-right: 45px;
}

/* Input hint styles */
.input-hint {
    display: block;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    margin-top: 4px;
}

/* Mobile responsive adjustments */
@media (max-width: 480px) {
    .password-toggle {
        width: 30px;
        height: 30px;
    }
    
    .password-toggle i {
        font-size: 0.9rem;
    }
}

/* Enhanced Mobile Touch and Scroll Fixes - Sadece ana sayfa için */
@media screen and (max-width: 768px) {
    /* Mobile-specific fixes - Sadece has-sections class'ı olan sayfalarda */
    body.has-sections {
        position: fixed !important;
        width: 100% !important;
        height: 100vh !important;
        height: calc(var(--vh, 1vh) * 100) !important;
        overflow: hidden !important;
        -webkit-overflow-scrolling: auto !important;
        overscroll-behavior: none !important;
        -webkit-touch-callout: none;
        touch-action: manipulation; /* Allow touch events but prevent zoom */
    }
    
    /* Diğer sayfalar için normal touch behavior */
    body:not(.has-sections) {
        touch-action: auto;
    }
    
    /* Re-enable text selection for content areas */
    .section-content *,
    .menu-content * {
        -webkit-user-select: text;
        -moz-user-select: text;
        -ms-user-select: text;
        user-select: text;
        -webkit-touch-callout: default;
    }
    
    /* Enhanced section positioning for mobile */
    section {
        position: fixed !important;
        width: 100% !important;
        height: 100vh !important;
        height: calc(var(--vh, 1vh) * 100) !important;
        -webkit-transform: translateZ(0) !important;
        transform: translateZ(0) !important;
        -webkit-backface-visibility: hidden !important;
        backface-visibility: hidden !important;
    }
    
    /* Mobil cihazlar için menü butonu iyileştirmeleri */
    .menu-button {
        width: 50px !important;
        height: 50px !important;
        background-color: rgba(0, 0, 0, 0.8) !important;
        border-radius: 8px !important;
    }
    
    .menu-button span {
        height: 4px !important;
        background-color: #fff !important;
    }
    
    /* Touch action'ları düzelt */
    .menu-button,
    .fullscreen-menu,
    .menu-content,
    .fullscreen-menu a {
        touch-action: manipulation !important;
        -webkit-touch-callout: none;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
    }
    
    /* Section içeriklerinde touch action'ı etkinleştir */
    .section-content,
    .scrollable-content {
        touch-action: pan-y !important;
    }
}

/* iOS Safari specific fixes */
@supports (-webkit-touch-callout: none) {
    body.has-sections {
        position: fixed !important;
        overflow: hidden !important;
        -webkit-overflow-scrolling: auto !important;
        height: -webkit-fill-available !important;
    }
    
    section {
        height: -webkit-fill-available !important;
    }
}

/* Additional safety for pull-to-refresh prevention */
@media (max-width: 768px) {
    html {
        overscroll-behavior: none !important;
        -webkit-overflow-scrolling: auto !important;
    }
    
    body.has-sections::before {
        content: '';
        position: fixed;
        top: -100px;
        left: 0;
        right: 0;
        height: 100px;
        background: #000;
        z-index: 9999;
        pointer-events: none;
    }
}

/* ============================================
   GLOBAL THEME UTILITY CLASSES
   Tüm sayfalarda kullanılabilir
   ============================================ */

/* Text Colors */
.color-main-title { color: var(--color-main-title) !important; }
.color-sub-title { color: var(--color-sub-title) !important; }
.color-text { color: var(--color-text) !important; }
.color-accent { color: var(--color-accent) !important; }
.color-icon { color: var(--color-icon) !important; }
.color-label { color: var(--color-label-text) !important; }
.color-button-text { color: var(--color-button-text) !important; }

/* Background Colors */
.bg-box { background-color: var(--color-box-background) !important; }
.bg-input { background-color: var(--color-input-background) !important; }
.bg-main-title { background-color: var(--color-main-title) !important; }
.bg-sub-title { background-color: var(--color-sub-title) !important; }
.bg-accent { background-color: var(--color-accent) !important; }

/* Gradient Backgrounds */
.bg-button-gradient { background: var(--color-button) !important; }
.bg-button-gradient:hover { background: var(--color-button-hover) !important; }

/* Border Colors */
.border-main-title { border-color: var(--color-main-title) !important; }
.border-sub-title { border-color: var(--color-sub-title) !important; }
.border-accent { border-color: var(--color-accent) !important; }
.border-icon { border-color: var(--color-icon) !important; }

/* Button Styles with Theme Colors */
.btn-theme {
  background: var(--color-button);
  color: var(--color-button-text) !important;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-theme:hover {
  background: var(--color-button-hover);
  color: var(--color-button-text) !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Card Styles with Theme Colors */
.card-theme {
  background-color: var(--color-box-background);
  border: 1px solid var(--color-accent);
  border-radius: 12px;
  padding: 20px;
  color: var(--color-text);
  transition: all 0.3s ease;
}

.card-theme:hover {
  border-color: var(--color-sub-title);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  transform: translateY(-4px);
}

/* Input Styles with Theme Colors */
.input-theme {
  background-color: var(--color-input-background);
  border: 1px solid var(--color-accent);
  color: var(--color-text);
  padding: 10px 15px;
  border-radius: 6px;
  width: 100%;
  transition: all 0.3s ease;
}

.input-theme:focus {
  border-color: var(--color-sub-title);
  outline: none;
  box-shadow: 0 0 0 3px rgba(61, 56, 169, 0.1);
}

.input-theme::placeholder {
  color: var(--color-label-text);
}

/* Label Styles */
.label-theme {
  color: var(--color-label-text);
  font-weight: 500;
  margin-bottom: 8px;
  display: block;
}

/* Heading Styles with Theme Colors */
.heading-main {
  color: var(--color-main-title);
  font-weight: 700;
  margin-bottom: 16px;
}

.heading-sub {
  color: var(--color-sub-title);
  font-weight: 600;
  margin-bottom: 12px;
}

/* Icon Wrapper */
.icon-theme {
  color: var(--color-icon);
  transition: transform 0.3s ease;
}

.icon-theme:hover {
  transform: scale(1.1);
}

/* Legacy Classes (Backward Compatibility) */
.main-title { color: var(--color-main-title) !important; }
.sub-title { color: var(--color-sub-title) !important; }
.text { color: var(--color-text) !important; }
.accent { color: var(--color-accent) !important; }
.icon { color: var(--color-icon) !important; }
.label { color: var(--color-label-text) !important; }
.button {
  background: var(--color-button) !important;
  color: var(--color-button-text) !important;
  transition: background 0.2s;
}
.button:hover {
  background: var(--color-button-hover) !important;
}

/* ============================================
   DATABASE CONTENT OVERRIDES
   Veritabanından gelen içeriği override eder
   ============================================ */


/* Stat Cards - Override white backgrounds */
.stat-card.bg-white,
.stat-card.bg-white\/90,
.stat-card.bg-white\/80 {
  background-color: var(--color-box-background) !important;
  border: 1px solid var(--color-accent) !important;
}

/* Section Cards - Override white backgrounds */
.section-card.bg-white,
.section-card.bg-white\/90,
.section-card.bg-white\/80,
.section-card.bg-gray-50,
.section-card.bg-gray-100 {
  background-color: var(--color-box-background) !important;
  border: 1px solid var(--color-accent) !important;
}

/* Generic white/gray background overrides for dynamic content */
.hero-section .bg-white,
.hero-section .bg-white\/90,
.hero-section .bg-gray-50,
.hero-section .bg-gray-100 {
  background-color: var(--color-box-background) !important;
}

/* Text color overrides for dynamic content */
.stat-card .text-gray-900,
.section-card .text-gray-900 {
  color: var(--color-main-title) !important;
}

.stat-card .text-gray-800,
.section-card .text-gray-800 {
  color: var(--color-sub-title) !important;
}

.stat-card .text-gray-700,
.stat-card .text-gray-600,
.section-card .text-gray-700,
.section-card .text-gray-600 {
  color: var(--color-text) !important;
}

/* Timeline ve diğer dinamik componentler */
.timeline-item.bg-white,
.timeline-item.bg-gray-50 {
  background-color: var(--color-box-background) !important;
  border-color: var(--color-accent) !important;
}

/* Genel kapsayıcı override - tüm dinamik içerik için */
.container .bg-white,
.container .bg-white\/90,
.container .bg-white\/80,
.container .bg-white\/70 {
  background-color: var(--color-box-background) !important;
}

.container .bg-gray-50,
.container .bg-gray-100,
.container .bg-gray-200 {
  background-color: var(--color-box-background) !important;
}

/* Border overrides */
.container .border-gray-200,
.container .border-gray-300 {
  border-color: var(--color-accent) !important;
}

/* CTA Elements - veritabanından gelen butonlar */
.cta-element.bg-white,
.cta-element.bg-blue-500,
.cta-element.bg-blue-600 {
  background: var(--color-button) !important;
  color: var(--color-button-text) !important;
}

.cta-element:hover {
  background: var(--color-button-hover) !important;
}

/* ============================================
   BUTTON OVERRIDES - Veritabanından Gelen Butonlar
   ============================================ */

/* Mavi butonlar → Gradient buton (sadece button ve a elementleri) */
button.bg-blue-500,
button.bg-blue-600,
button.bg-blue-700,
a.bg-blue-500,
a.bg-blue-600,
a.bg-blue-700 {
  background: var(--color-button) !important;
  color: var(--color-button-text) !important;
}

button.bg-blue-500:hover,
button.bg-blue-600:hover,
button.bg-blue-700:hover,
a.bg-blue-500:hover,
a.bg-blue-600:hover,
a.bg-blue-700:hover {
  background: var(--color-button-hover) !important;
  color: var(--color-button-text) !important;
}

/* Hover mavi renkleri → Gradient hover */
.hover\:bg-blue-600:hover,
.hover\:bg-blue-700:hover {
  background: var(--color-button-hover) !important;
}

/* İndigo/Purple butonlar → Gradient buton (sadece button ve a elementleri) */
button.bg-indigo-500,
button.bg-indigo-600,
button.bg-purple-500,
button.bg-purple-600,
a.bg-indigo-500,
a.bg-indigo-600,
a.bg-purple-500,
a.bg-purple-600 {
  background: var(--color-button) !important;
  color: var(--color-button-text) !important;
}

/* Beyaz butonlar → Gradient buton */
button.bg-white,
a.bg-white.inline-flex {
  background: var(--color-button) !important;
  color: var(--color-button-text) !important;
  border: none !important;
}

/* ============================================
   ICON OVERRIDES - Veritabanından Gelen İkonlar
   ============================================ */

/* Mavi ikonlar → Tema icon rengi */
.text-blue-500,
.text-blue-600,
.text-blue-700,
i.text-blue-500,
i.text-blue-600,
svg.text-blue-500,
svg.text-blue-600 {
  color: var(--color-icon) !important;
}

/* İndigo/Purple ikonlar → Tema icon rengi */
.text-indigo-500,
.text-indigo-600,
.text-purple-500,
.text-purple-600,
i.text-indigo-500,
i.text-purple-500 {
  color: var(--color-icon) !important;
}

/* Gri ikonlar → Tema icon rengi */
i.text-gray-500,
i.text-gray-600,
i.text-gray-700,
svg.text-gray-500,
svg.text-gray-600 {
  color: var(--color-icon) !important;
}

/* Font Awesome ikonları - genel */
.fa.text-blue-500,
.fa.text-blue-600,
.fas.text-blue-500,
.fas.text-blue-600,
.far.text-blue-500,
.far.text-blue-600,
.fab.text-blue-500,
.fab.text-blue-600 {
  color: var(--color-icon) !important;
}

/* Icon container'lar */
.icon-container,
.value-icon,
.feature-icon {
  color: var(--color-icon) !important;
}

/* Stat card içindeki ikonlar */
.stat-card i,
.stat-card svg,
.stat-card .icon {
  color: var(--color-icon) !important;
}

/* Section card içindeki ikonlar */
.section-card i,
.section-card svg,
.section-card .icon {
  color: var(--color-icon) !important;
}

/* ============================================
   LINK OVERRIDES - Veritabanından Gelen Linkler
   ============================================ */

/* Mavi linkler → Sub-title rengi (butonları hariç tut) */
a.text-blue-500:not(.bg-white):not(.bg-blue-500):not(.bg-blue-600),
a.text-blue-600:not(.bg-white):not(.bg-blue-500):not(.bg-blue-600),
a.text-blue-700:not(.bg-white):not(.bg-blue-500):not(.bg-blue-600) {
  color: var(--color-sub-title) !important;
}

a.text-blue-500:not(.bg-white):not(.bg-blue-500):not(.bg-blue-600):hover,
a.text-blue-600:not(.bg-white):not(.bg-blue-500):not(.bg-blue-600):hover,
a.text-blue-700:not(.bg-white):not(.bg-blue-500):not(.bg-blue-600):hover {
  color: var(--color-button-text) !important;
}

/* Underline'lı linkler */
.underline.text-blue-500,
.underline.text-blue-600 {
  color: var(--color-sub-title) !important;
  text-decoration-color: var(--color-sub-title) !important;
}

/* ============================================
   BADGE/TAG OVERRIDES - Veritabanından Gelen Badge'ler
   ============================================ */

/* Mavi badge'ler → Accent arka plan */
.bg-blue-100,
.bg-blue-200,
span.bg-blue-100,
span.bg-blue-200 {
  background-color: var(--color-accent) !important;
  color: var(--color-sub-title) !important;
}

/* İndigo/Purple badge'ler */
.bg-indigo-100,
.bg-purple-100 {
  background-color: var(--color-accent) !important;
  color: var(--color-sub-title) !important;
}

/* Gri badge'ler */
.bg-gray-100.text-gray-800,
.bg-gray-200.text-gray-800 {
  background-color: var(--color-accent) !important;
  color: var(--color-text) !important;
}

/* ============================================
   HEADING OVERRIDES - Veritabanından Gelen Başlıklar
   ============================================ */

/* Ana başlıklar (h1, h2) → Main title veya Sub title */
h1.text-gray-900,
h1.text-gray-800 {
  color: var(--color-main-title) !important;
}

h2.text-gray-900,
h3.text-gray-900,
h4.text-gray-900,
h2.text-gray-800,
h3.text-gray-800 {
  color: var(--color-sub-title) !important;
}

h5.text-gray-900,
h6.text-gray-900 {
  color: var(--color-text) !important;
}

/* Mavi başlıklar → Sub-title */
h1.text-blue-600,
h2.text-blue-600,
h3.text-blue-600,
h1.text-blue-700,
h2.text-blue-700 {
  color: var(--color-sub-title) !important;
}

/* ============================================
   TÜM RENK VARYASYONLARI - Veritabanı İçin
   ============================================ */

/* Yeşil renkler → Icon rengi (sadece ikon elementleri) */
i.text-green-500,
i.text-green-600,
i.text-green-700,
i.text-green-800,
svg.text-green-500,
svg.text-green-600,
svg.text-green-700,
svg.text-green-800,
span.text-green-600,
span.text-green-700 {
  color: var(--color-icon) !important;
}

/* Kırmızı renkler → Icon rengi (sadece ikon elementleri) */
i.text-red-500,
i.text-red-600,
i.text-red-700,
i.text-red-800,
svg.text-red-500,
svg.text-red-600,
svg.text-red-700,
svg.text-red-800,
span.text-red-600 {
  color: var(--color-icon) !important;
}

/* Turuncu renkler → Icon rengi (sadece ikon elementleri) */
i.text-orange-500,
i.text-orange-600,
i.text-orange-700,
svg.text-orange-500,
svg.text-orange-600,
svg.text-orange-700,
span.text-orange-600 {
  color: var(--color-icon) !important;
}

/* Sarı/Amber renkler → Icon rengi (sadece ikon elementleri) */
i.text-yellow-300,
i.text-yellow-500,
i.text-yellow-600,
i.text-yellow-700,
i.text-amber-500,
i.text-amber-600,
svg.text-yellow-300,
svg.text-yellow-500,
svg.text-yellow-600,
svg.text-yellow-700,
span.text-yellow-600 {
  color: var(--color-icon) !important;
}

/* Pembe/Pink renkler → Icon rengi (sadece ikon elementleri) */
i.text-pink-500,
i.text-pink-600,
i.text-pink-700,
svg.text-pink-500,
svg.text-pink-600,
svg.text-pink-700,
span.text-pink-600 {
  color: var(--color-icon) !important;
}

/* Teal/Cyan renkler → Icon rengi (sadece ikon elementleri) */
i.text-teal-500,
i.text-teal-600,
i.text-cyan-300,
i.text-cyan-500,
i.text-cyan-600,
svg.text-teal-500,
svg.text-teal-600,
svg.text-cyan-300,
svg.text-cyan-500,
svg.text-cyan-600 {
  color: var(--color-icon) !important;
}

/* Mor/Violet renkler → Icon rengi (sadece ikon elementleri) */
i.text-violet-500,
i.text-violet-600,
svg.text-violet-500,
svg.text-violet-600 {
  color: var(--color-icon) !important;
}

/* Stat sayıları için özel override */
.text-4xl.text-orange-500,
.text-4xl.text-green-600,
.text-4xl.text-blue-600,
.text-3xl.text-orange-500,
.text-3xl.text-green-600 {
  color: var(--color-accent) !important;
}

/* Check circle ikonları */
.fa-check-circle.text-green-500,
.fas.fa-check-circle.text-green-500 {
  color: var(--color-icon) !important;
}

/* Başlıklar için renkli overrides */
h4.text-blue-800,
h4.text-blue-700,
h4.text-green-800,
h4.text-green-700,
h4.text-orange-800 {
  color: var(--color-sub-title) !important;
}

/* List text renkleri */
ul.text-green-700,
ul.text-orange-700,
.text-green-700,
.text-orange-700 {
  color: var(--color-text) !important;
}

/* Font Awesome tüm renk varyantları */
.fa.text-green-500,
.fa.text-green-600,
.fa.text-red-600,
.fa.text-orange-600,
.fa.text-yellow-600,
.fas.text-green-500,
.fas.text-green-600,
.fas.text-red-600,
.fas.text-orange-600,
.fas.text-yellow-600,
.far.text-green-500,
.far.text-green-600,
.far.text-red-600 {
  color: var(--color-icon) !important;
}

/* Icon wrapper'lar için */
.fas.fa-heart,
.fas.fa-shield-alt,
.fas.fa-battery-full,
.fas.fa-flag,
.fas.fa-graduation-cap,
.fas.fa-check-circle {
  color: var(--color-icon) !important;
}

/* Text-2xl ve text-3xl ikonlar */
.text-2xl.text-green-600,
.text-2xl.text-red-600,
.text-2xl.text-orange-600,
.text-3xl.text-green-600,
.text-3xl.text-blue-600 {
  color: var(--color-icon) !important;
}

/* Spesifik icon class kombinasyonları */
i.fas.fa-heart.text-2xl.text-green-600,
i.fas.fa-shield-alt.text-red-600,
i.fas.fa-battery-full.text-yellow-600,
i.fas.fa-flag.text-2xl.text-red-600,
i.fas.fa-graduation-cap.text-2xl.text-orange-600,
i.fas.fa-check-circle.text-green-500 {
  color: var(--color-icon) !important;
}

/* Container içindeki tüm renkli ikonlar */
.container i[class*="text-green"],
.container i[class*="text-red"],
.container i[class*="text-orange"],
.container i[class*="text-yellow"],
.container i[class*="text-blue"],
.container i[class*="text-pink"],
.container i[class*="text-purple"],
.container i[class*="text-indigo"] {
  color: var(--color-icon) !important;
}

/* Stat ve section card içindeki tüm renkli metinler (başlıklar hariç) */
.stat-card [class*="text-green"]:not(h1):not(h2):not(h3):not(h4):not(h5):not(h6),
.stat-card [class*="text-orange"]:not(h1):not(h2):not(h3):not(h4):not(h5):not(h6),
.stat-card [class*="text-red"]:not(h1):not(h2):not(h3):not(h4):not(h5):not(h6),
.stat-card [class*="text-yellow"]:not(h1):not(h2):not(h3):not(h4):not(h5):not(h6),
.section-card [class*="text-green"]:not(h1):not(h2):not(h3):not(h4):not(h5):not(h6),
.section-card [class*="text-orange"]:not(h1):not(h2):not(h3):not(h4):not(h5):not(h6),
.section-card [class*="text-red"]:not(h1):not(h2):not(h3):not(h4):not(h5):not(h6),
.section-card [class*="text-yellow"]:not(h1):not(h2):not(h3):not(h4):not(h5):not(h6) {
  color: var(--color-icon) !important;
}

/* Büyük sayılar için özel accent rengi - stat kartlarında */
.stat-card .text-4xl[class*="text-"],
.stat-card .text-3xl[class*="text-"],
.stat-card .text-5xl[class*="text-"] {
  color: var(--color-accent) !important;
  font-weight: 700 !important;
}

/* Font bold span'lar - vurgu için */
span.font-bold[class*="text-green"],
span.font-bold[class*="text-orange"],
span.font-bold[class*="text-yellow"],
span.font-bold[class*="text-pink"],
span.font-bold[class*="text-red"] {
  color: var(--color-accent) !important;
}

/* ============================================
   ICON BACKGROUND OVERRIDES - Veritabanı
   Tüm renkli icon background'ları → Input background
   ============================================ */

/* Mavi background'lar → Input background */
.bg-blue-50,
.bg-blue-100,
.bg-blue-200,
div.bg-blue-100,
div.bg-blue-50 {
  background-color: var(--color-input-background) !important;
}

/* Yeşil background'lar → Input background */
.bg-green-50,
.bg-green-100,
.bg-green-200,
div.bg-green-100,
div.bg-green-50 {
  background-color: var(--color-input-background) !important;
}

/* Kırmızı background'lar → Input background */
.bg-red-50,
.bg-red-100,
.bg-red-200,
div.bg-red-100,
div.bg-red-50 {
  background-color: var(--color-input-background) !important;
}

/* Turuncu background'lar → Input background */
.bg-orange-50,
.bg-orange-100,
.bg-orange-200,
div.bg-orange-100,
div.bg-orange-50 {
  background-color: var(--color-input-background) !important;
}

/* Sarı background'lar → Input background */
.bg-yellow-50,
.bg-yellow-100,
.bg-yellow-200,
div.bg-yellow-100,
div.bg-yellow-50 {
  background-color: var(--color-input-background) !important;
}

/* Pembe background'lar → Input background */
.bg-pink-50,
.bg-pink-100,
.bg-pink-200,
div.bg-pink-100,
div.bg-pink-50 {
  background-color: var(--color-input-background) !important;
}

/* Mor/Purple background'lar → Input background */
.bg-purple-50,
.bg-purple-100,
.bg-purple-200,
div.bg-purple-100,
div.bg-purple-50 {
  background-color: var(--color-input-background) !important;
}

/* İndigo background'lar → Input background */
.bg-indigo-50,
.bg-indigo-100,
.bg-indigo-200,
div.bg-indigo-100,
div.bg-indigo-50 {
  background-color: var(--color-input-background) !important;
}

/* Teal/Cyan background'lar → Input background */
.bg-teal-50,
.bg-teal-100,
.bg-cyan-50,
.bg-cyan-100,
.bg-cyan-300,
.bg-cyan-400 {
  background-color: var(--color-input-background) !important;
}

/* Amber background'lar → Input background */
.bg-amber-50,
.bg-amber-100 {
  background-color: var(--color-input-background) !important;
}

/* Icon container'lar için spesifik overrides */
.benefit-icon[class*="bg-"],
.benefit-card[class*="bg-"],
div[class*="bg-"][class*="rounded-xl"][class*="mr-4"],
div[class*="bg-"][class*="rounded-lg"][class*="mr-3"] {
  background-color: var(--color-input-background) !important;
}

/* Container içindeki tüm açık renkli background'lar */
.container [class*="bg-blue-"],
.container [class*="bg-green-"],
.container [class*="bg-red-"],
.container [class*="bg-orange-"],
.container [class*="bg-yellow-"],
.container [class*="bg-purple-"],
.container [class*="bg-pink-"],
.container [class*="bg-indigo-"] {
  background-color: var(--color-input-background) !important;
}

/* Section ve stat card içindeki icon wrapper'lar */
.section-card div[class*="bg-blue-"],
.section-card div[class*="bg-green-"],
.section-card div[class*="bg-red-"],
.section-card div[class*="bg-orange-"],
.stat-card div[class*="bg-blue-"],
.stat-card div[class*="bg-green-"] {
  background-color: var(--color-input-background) !important;
}

/* Border renkleri → Sub-title rengi */
.border-blue-500,
.border-green-500,
.border-orange-500,
.border-purple-500,
.border-red-500,
.border-yellow-500,
.border-pink-500,
.border-indigo-500,
.border-cyan-500 {
  border-color: var(--color-sub-title) !important;
}

/* Hover state overrides → Input background */
.hover\:bg-blue-100:hover,
.hover\:bg-green-100:hover,
.hover\:bg-red-100:hover,
.hover\:bg-orange-100:hover,
.hover\:bg-yellow-100:hover,
.hover\:bg-purple-100:hover,
.hover\:bg-pink-100:hover,
.hover\:bg-indigo-100:hover,
.hover\:bg-cyan-100:hover,
.hover\:bg-cyan-300:hover,
.hover\:bg-teal-100:hover {
  background-color: var(--color-input-background) !important;
}

/* Become Instructor Modal - Button Hover Effects */
#become-instructor-modal button[style*="var(--color-button)"]:hover:not(:disabled) {
  background: var(--color-button-hover) !important;
}

#become-instructor-modal button[style*="#6c757d"]:hover {
  background: #5a6268 !important;
}