/* 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);
}

/* 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;
    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);
    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;
    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);
}

/* 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 */
@media screen and (max-width: 768px) {
    /* Mobile-specific fixes */
    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: none; /* Prevent all native touch behaviors */
    }
    
    /* 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;
    }
}

/* 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;
    }
}
