/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* CSS Variables for Light & Dark Mode */
:root {
    --bg-color: #f8fafc;
    --text-color: #1e293b;
    --text-muted: #64748b;
    --primary-color: #166534; /* Dark Green */
    --primary-light: #22c55e;
    --accent-color: #eab308; /* Golden Yellow */
    --card-bg: rgba(255, 255, 255, 0.8);
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.5);
    --header-bg: rgba(255, 255, 255, 0.85);
    --shadow-color: rgba(0, 0, 0, 0.05);
    --shadow-hover: rgba(0, 0, 0, 0.15);
    --border-color: #e2e8f0;
    --footer-bg: #1e293b;
    --footer-text: #f8fafc;
}

body.dark-mode {
    --bg-color: #0f172a;
    --text-color: #f8fafc;
    --text-muted: #94a3b8;
    --primary-color: #22c55e;
    --primary-light: #166534;
    --accent-color: #facc15;
    --card-bg: rgba(30, 41, 59, 0.8);
    --glass-bg: rgba(30, 41, 59, 0.7);
    --glass-border: rgba(255, 255, 255, 0.1);
    --header-bg: rgba(15, 23, 42, 0.85);
    --shadow-color: rgba(0, 0, 0, 0.3);
    --shadow-hover: rgba(0, 0, 0, 0.5);
    --border-color: #334155;
    --footer-bg: #020617;
    --footer-text: #cbd5e1;
}

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

body, html {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    transition: background-color 0.4s ease, color 0.4s ease;
    scroll-behavior: smooth;
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Glassmorphism utility */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
}

/* 1. Header & Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--header-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 4px 6px -1px var(--shadow-color);
    transition: background 0.4s ease, border-color 0.4s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    height: 80px;
}

.header .logo {
    height: 50px;
    width: auto;
    border-radius: 8px;
    transition: transform 0.3s;
}

.header .logo:hover {
    transform: scale(1.05);
}

.logopic {
    display: none; /* Hide by default on desktop */
    height: 40px;
    width: auto;
    border-radius: 8px;
    margin-right: auto;
}

/* Karanlık Mod Logo Ayarı */
body.dark-mode .header .logo,
body.dark-mode .logopic {
    content: url("image/logo/logo_dark.png");
    filter: none;
    mix-blend-mode: normal;
}

.topnav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.topnav a {
    font-weight: 500;
    font-size: 15px;
    color: var(--text-color);
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.topnav a:hover, .topnav a.active {
    color: var(--primary-color);
    background: var(--shadow-color);
}

.dropdown {
    position: relative;
}

.dropdown .dropbtn {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 500;
    border: none;
    outline: none;
    color: var(--text-color);
    background: transparent;
    padding: 8px 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dropdown:hover .dropbtn {
    color: var(--primary-color);
    background: var(--shadow-color);
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--card-bg);
    backdrop-filter: blur(12px);
    min-width: 200px;
    box-shadow: 0px 8px 24px var(--shadow-color);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    z-index: 1000;
    overflow: hidden;
}

.dropdown-content a {
    padding: 12px 16px;
    display: block;
    font-size: 14px;
    border-radius: 0;
}

.dropdown-content a:hover {
    background-color: var(--shadow-color);
}

.dropdown:hover .dropdown-content {
    display: block;
}

.header .icon {
    display: none;
    text-decoration: none;
    color: var(--text-color);
}

/* Dark Mode Toggle */
.theme-toggle {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    color: var(--text-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px var(--shadow-color);
    margin-left: 1rem;
}

.theme-toggle:hover {
    transform: rotate(15deg) scale(1.1);
    background: var(--shadow-color);
}

/* 2. Welcome Banner */
.emogiris {
    margin-top: 80px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: white;
    text-align: center;
    padding: 40px 10px;
    font-size: 24px;
    font-weight: 800;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    letter-spacing: 0.5px;
}

.emogiris z1 {
    display: block;
    animation: fadeInDown 0.8s ease-out;
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 3. Main Wrapper */
.mainwindow {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 15px;
}

/* 4. Slider Section */
.parentmain {
    width: 100%;
    margin: 40px 0;
    display: flex;
    justify-content: center;
}

.news {
    position: relative;
    width: 90%;
    max-width: 1200px;
    height: 500px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px var(--shadow-color);
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
}

.img-slider {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    display: flex;
    align-items: flex-end;
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

.slide img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.slide::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%);
    z-index: -1;
}

.slide .info {
    position: relative;
    z-index: 2;
    padding: 0 20px 30px 30px;
    color: white;
    max-width: 600px;
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.3s;
}

.slide.active .info {
    transform: translateY(0);
    opacity: 1;
}

.slide .info h2 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 12px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.8);
    line-height: 1.2;
}

.slide .info p {
    font-size: 17px;
    font-weight: 500;
    opacity: 0.95;
    margin-bottom: 20px;
    text-shadow: 0 1px 4px rgba(0,0,0,0.8);
}

.slide .info a {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.slide .info a:hover {
    background: var(--primary-light);
    color: white;
    transform: scale(1.05);
}

/* Slider Navigation */
.navigation {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 12px;
}

.navigation .btn {
    width: 30px;
    height: 6px;
    background: rgba(255,255,255,0.4);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.navigation .btn.active {
    background: var(--accent-color);
    width: 50px;
}

.leftarrowx, .rightarrowx {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    width: 35px;
    height: 35px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.leftarrowx { left: 15px; }
.rightarrowx { right: 15px; }

.leftarrowx:hover, .rightarrowx:hover {
    background: var(--primary-color);
    border-color: var(--primary-light);
    transform: translateY(-50%) scale(1.1);
}

/* 4.5. Duyurular ve Haberler Section */
.duyurular-section {
    padding: 60px 15px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 32px;
    font-weight: 800;
    color: var(--text-color);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 5px;
    background: var(--primary-color);
    border-radius: 3px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.news-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 25px var(--shadow-color);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px var(--shadow-hover);
    border-color: var(--primary-light);
}

.news-card-img {
    height: 200px;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    color: rgba(255, 255, 255, 0.1);
    font-size: 60px;
}

.news-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-date {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--accent-color);
    color: #1e293b;
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.news-card-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.news-card-content h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 12px;
    line-height: 1.4;
}

.news-card-content p {
    font-size: 15px;
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.6;
    flex: 1;
}

.news-card-content a {
    align-self: flex-start;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.news-card-content a:hover {
    color: var(--primary-light);
    gap: 12px;
}

/* 5. Quick Actions Buttons */
.parentmainbutton {
    padding: 40px 0;
    width: 100%;
}

.optionsbutton {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.buttonnew {
    flex: 1 1 300px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.buttonnew:first-child {
    flex: 1 1 100%;
    margin-bottom: 10px;
}

.buttonnew .buttonx {
    display: flex;
    align-items: center;
    justify-content: center;
}

.onlinetext {
    font-size: 28px;
    font-weight: 800;
    color: var(--text-color);
    text-align: center;
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.onlinetext::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

.button11 {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 20px var(--shadow-color);
    height: 120px;
    cursor: pointer;
}

.button11:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px var(--shadow-hover);
    border-color: var(--primary-color);
}

.textbut1 img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border-radius: 12px;
    transition: transform 0.3s;
}

.button11:hover .textbut1 img {
    transform: scale(1.1);
}

.insidebutton1 {
    display: flex;
    align-items: center;
    gap: 15px;
    width: 100%;
}

.textbut2 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 4px;
}

.textbut3 {
    font-size: 13px;
    color: var(--text-muted);
}

/* 6. Videos Section Adjustments */
.parentmain4 {
    margin-top: 40px;
    padding: 40px 0;
    background: var(--card-bg);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

/* 7. Enerjik Eğitim Box */
.content-container {
    max-width: 1200px;
    margin: 60px auto;
    display: flex;
    flex-wrap: wrap;
    background: var(--card-bg);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 40px var(--shadow-color);
    border: 1px solid var(--border-color);
}

.link-section {
    flex: 1 1 400px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: var(--shadow-color);
    text-align: center;
}

.responsive-img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin-bottom: 20px;
    transition: transform 0.3s;
}

.link-section:hover .responsive-img {
    transform: scale(1.05);
}

.link-text {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
}

.text-section {
    flex: 1 1 400px;
    padding: 40px 50px;
    display: flex;
    align-items: center;
}

.text-section p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-color);
    text-align: justify;
}

/* 8. Footer */
.footer {
    background: var(--footer-bg);
    color: var(--footer-text);
    padding: 60px 5% 20px;
    margin-top: 60px;
}

.l-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
    max-width: 1200px;
    margin: 0 auto 40px;
}

.aboutusf {
    flex: 2 1 400px;
}

.contactusf {
    flex: 1 1 300px;
}

.aboutusf p:first-child, .contactusf p:first-child {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--accent-color);
}

.aboutusf p:nth-child(2) {
    color: #94a3b8;
    line-height: 1.8;
    font-size: 15px;
    text-align: justify;
}

.contactusf p {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    color: #cbd5e1;
    font-size: 15px;
}

.contactusf img {
    filter: brightness(0) invert(1);
    opacity: 0.8;
}

.r-footer {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}

.r-footer iframe {
    width: 100%;
    max-width: 1200px;
    height: 350px;
    border-radius: 16px;
    border: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.b-footer {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    font-size: 14px;
    color: #64748b;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.b-footer img {
    border-radius: 8px;
}

/* 9. Social Floating Bar */
.social_covidbar {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
}

.social-menu {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: var(--glass-bg);
    padding: 10px;
    border-radius: 30px;
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    box-shadow: 0 10px 25px var(--shadow-color);
}

.social-menu li a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--card-bg);
    color: var(--text-color);
    font-size: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px var(--shadow-color);
}

.social-menu li a:hover {
    background: var(--primary-color);
    color: white;
    transform: translateX(-5px) scale(1.1);
}

/* 10. Mevzuat (Legislation) Refined Styles */
.mevzuat-wrapper {
    padding: 60px 5%;
    max-width: 1600px;
    margin: 0 auto;
}

.mevzuat-section {
    margin-bottom: 60px;
}

.mevzuat-section h2 {
    font-size: 28px;
    font-weight: 800;
    color: var(--text-color);
    margin-bottom: 30px;
    position: relative;
    padding-left: 20px;
    border-left: 5px solid var(--primary-color);
}

.mevzuat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.mevzuat-item {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 35px 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 15px 35px var(--shadow-color), inset 0 0 0 1px rgba(255,255,255,0.05);
    text-decoration: none;
    color: var(--text-color);
    position: relative;
    overflow: hidden;
    height: 100%;
}

.mevzuat-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px var(--shadow-hover);
    border-color: var(--primary-color);
    background: var(--glass-bg);
}

.mevzuat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.mevzuat-icon-container {
    width: 180px;
    height: 100px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 25px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mevzuat-item:hover .mevzuat-icon-container {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(22, 101, 52, 0.2);
}

.mevzuat-icon-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: all 0.4s ease;
    padding: 5px;
}

.mevzuat-item:hover .mevzuat-icon-container img {
    transform: scale(1.1);
}

.mevzuat-item p {
    font-size: 17px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 25px;
    flex: 1;
    color: var(--text-color);
}

.mevzuat-download-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-color);
    background: var(--shadow-color);
    padding: 8px 16px;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.mevzuat-item:hover .mevzuat-download-btn {
    background: var(--primary-color);
    color: white;
}

/* 11. Contact Form Modern Styles (Aggressive Specificity) */
.contact-wrapper {
    padding: 80px 15px !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 40px !important;
    justify-content: center !important;
    align-items: flex-start !important;
    min-height: calc(100vh - 200px) !important;
}

.contact-card {
    background: var(--glass-bg) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border: 1px solid var(--glass-border) !important;
    border-radius: 30px !important;
    padding: 50px !important;
    box-shadow: 0 30px 60px var(--shadow-color) !important;
    flex: 1 1 500px !important;
    max-width: 700px !important;
    animation: fadeInUp 0.8s ease-out !important;
}

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

.form-group {
    margin-bottom: 30px !important;
    width: 100% !important;
}

.form-group label {
    display: block !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    color: var(--text-color) !important;
    margin-bottom: 12px !important;
    padding-left: 5px !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
    width: 100% !important;
    padding: 16px 24px !important;
    background: var(--card-bg) !important;
    border: 2px solid var(--border-color) !important;
    border-radius: 15px !important;
    color: var(--text-color) !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 16px !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none !important;
    border-color: var(--primary-color) !important;
    background: var(--bg-color) !important;
    box-shadow: 0 10px 20px var(--shadow-hover) !important;
    transform: translateY(-2px) !important;
}

.form-group textarea {
    min-height: 180px !important;
    resize: vertical !important;
}

.recaptcha-container {
    display: flex !important;
    justify-content: center !important;
    margin: 30px 0 !important;
    transform: scale(1.1) !important;
}

.contact-submit-btn {
    width: 100% !important;
    padding: 20px !important;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%) !important;
    color: white !important;
    border: none !important;
    border-radius: 15px !important;
    font-size: 18px !important;
    font-weight: 800 !important;
    cursor: pointer !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2) !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
}

.contact-submit-btn:hover {
    transform: translateY(-5px) scale(1.02) !important;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3) !important;
    filter: brightness(1.1) !important;
}

/* Responsive Overrides */
@media screen and (max-width: 992px) {
    .header { padding: 0 20px; }
    .header .icon {
        display: block;
        color: var(--text-color);
        transition: color 0.3s ease;
    }
    .header .icon:hover {
        color: var(--primary-color);
    }
    .topnav { display: none; }
    .topnav.responsive {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: var(--header-bg);
        backdrop-filter: blur(16px);
        padding: 20px 0;
        box-shadow: 0 10px 20px var(--shadow-color);
        z-index: 999;
    }
    .news { height: 400px; width: 95%; }
    .slide .info { padding: 0 15px 15px 20px; }
    .slide .info h2 { font-size: 18px; }
    .slide .info p { font-size: 13px; margin-bottom: 10px; }
    .slide .info a { padding: 6px 16px; font-size: 12px; }
}

@media screen and (max-width: 768px) {
    .news { 
        height: 380px; 
    }
    .slide {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
    }
    .slide img {
        position: relative;
        width: 100%;
        height: 200px;
        object-fit: contain;
        background: #000;
        z-index: 1;
    }
    .slide::after {
        display: none;
    }
    .slide .info {
        position: relative;
        height: 180px;
        padding: 15px 20px;
        background: var(--card-bg);
        color: var(--text-color);
        z-index: 2;
        transform: none !important;
        opacity: 1 !important;
        display: flex;
        flex-direction: column;
        justify-content: center;
        max-width: 100%;
    }
    .slide .info h2 {
        color: var(--text-color);
        font-size: 16px;
        margin-bottom: 6px;
        text-shadow: none;
    }
    .slide .info p {
        color: var(--text-muted);
        font-size: 13px;
        margin-bottom: 8px;
        background: none;
        padding: 0;
        text-shadow: none;
    }
    .slide .info a {
        padding: 6px 14px;
        font-size: 11px;
        align-self: flex-start;
    }
    .leftarrowx, .rightarrowx {
        top: 100px;
    }
    .navigation {
        bottom: 195px;
    }
    .buttonnew { flex: 1 1 100%; }
    .content-container { margin: 30px 15px; flex-direction: column; }
    .l-footer { flex-direction: column; }
    .social_covidbar {
        top: auto;
        bottom: 20px;
        right: 50%;
        transform: translateX(50%);
    }
    .social-menu {
        flex-direction: row;
        border-radius: 40px;
        padding: 8px 15px;
    }
    .contact-card {
        padding: 30px 20px !important;
    }
    .recaptcha-container {
        transform: scale(0.85) !important;
    }
}

/* ==========================================
   WHATSAPP QUICK CONTACT PREMIUM STYLES
   ========================================== */

.whatsapp-support-section {
    padding: 80px 15px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.whatsapp-support-section .section-title {
    left: 0 !important;
    transform: none !important;
    display: inline-block !important;
    text-align: center !important;
}

.whatsapp-support-section .section-subtitle {
    color: var(--text-muted);
    font-size: 16px;
    max-width: 600px;
    margin: 0 auto 50px;
}

.whatsapp-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.whatsapp-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 35px 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 10px 25px var(--shadow-color);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
    color: inherit;
    position: relative;
    overflow: hidden;
}

.whatsapp-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(37, 211, 102, 0.08) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.whatsapp-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(37, 211, 102, 0.15);
    border-color: #25D366;
}

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

.whatsapp-icon-wrapper {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    font-size: 36px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    margin-bottom: 20px;
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
    transition: transform 0.4s ease;
    z-index: 2;
}

.whatsapp-card:hover .whatsapp-icon-wrapper {
    transform: scale(1.15) rotate(10deg);
}

.whatsapp-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-color);
    z-index: 2;
}

.whatsapp-number {
    font-size: 16px;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 25px;
    z-index: 2;
}

.whatsapp-btn {
    width: 100%;
    padding: 12px 20px;
    background: rgba(37, 211, 102, 0.1);
    color: #25D366;
    border-radius: 12px;
    font-weight: 700;
    font-size: 14px;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(37, 211, 102, 0.2);
    z-index: 2;
}

.whatsapp-card:hover .whatsapp-btn {
    background: #25D366;
    color: white;
    border-color: #25D366;
    box-shadow: 0 6px 15px rgba(37, 211, 102, 0.3);
}

/* Contact page WhatsApp List styles */
.contact-whatsapp-container {
    flex: 1 1 350px !important;
    max-width: 450px !important;
    display: flex !important;
    flex-direction: column !important;
    animation: fadeInUp 0.8s ease-out !important;
}

.contact-whatsapp-container h2 {
    font-size: 32px !important;
    font-weight: 800 !important;
    color: var(--text-color) !important;
    margin-bottom: 15px !important;
}

.contact-whatsapp-container .whatsapp-description {
    font-size: 15px !important;
    line-height: 1.7 !important;
    color: var(--text-muted) !important;
    margin-bottom: 40px !important;
}

.whatsapp-contact-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
}

.whatsapp-contact-item {
    background: var(--card-bg) !important;
    border: 1px solid var(--border-color) !important;
    border-radius: 20px !important;
    padding: 20px 25px !important;
    display: flex !important;
    align-items: center !important;
    text-decoration: none !important;
    color: inherit !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 0 4px 12px var(--shadow-color) !important;
}

.whatsapp-contact-item:hover {
    transform: translateX(8px) !important;
    border-color: #25D366 !important;
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.1) !important;
}

.whatsapp-item-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    font-size: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 15px;
    margin-right: 20px;
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.2);
    transition: transform 0.3s ease;
}

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

.whatsapp-item-content {
    flex-grow: 1;
}

.whatsapp-item-content h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 4px;
}

.whatsapp-item-content span {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 600;
}

.whatsapp-item-arrow {
    font-size: 16px;
    color: var(--text-muted);
    transition: all 0.3s ease;
}

.whatsapp-contact-item:hover .whatsapp-item-arrow {
    color: #25D366;
    transform: translateX(5px);
}

/* ==========================================
   12. EMO EĞİTİM SAYFALARI (Education Pages)
   ========================================== */

/* Ana Eğitim Sayfası - Kategori Kartları */
.egitim-grid {
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    max-width: 900px;
    margin: 0 auto;
}

.egitim-card {
    padding: 45px 30px !important;
    position: relative;
}

.egitim-card .mevzuat-icon-container {
    width: 200px;
    height: 120px;
    margin-bottom: 30px;
    border-radius: 20px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(22, 101, 52, 0.05), rgba(234, 179, 8, 0.05));
    border: 1px solid var(--border-color);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.egitim-card:hover .mevzuat-icon-container {
    border-color: var(--primary-color);
    box-shadow: 0 8px 25px rgba(22, 101, 52, 0.15);
}

.egitim-card-desc {
    display: block;
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 25px;
    flex: 1;
}

/* Video Sayfaları - Wrapper */
.egitim-video-wrapper {
    padding: 40px 5% 60px;
    max-width: 1600px;
    margin: 0 auto;
}

/* Breadcrumb Navigasyon */
.egitim-breadcrumb {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 40px;
    padding: 16px 24px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    box-shadow: 0 4px 12px var(--shadow-color);
    animation: fadeInDown 0.5s ease-out;
}

.egitim-breadcrumb a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 15px;
    padding: 6px 14px;
    border-radius: 10px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.egitim-breadcrumb a:hover {
    background: var(--shadow-color);
    transform: translateX(-3px);
}

.egitim-breadcrumb > span {
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 500;
}

.egitim-breadcrumb > span:last-child {
    color: var(--text-color);
    font-weight: 600;
}

/* Video Grid */
.egitim-video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 30px;
}

/* Video Kartı */
.egitim-video-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 30px var(--shadow-color);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    position: relative;
}

.egitim-video-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 2;
}

.egitim-video-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px var(--shadow-hover);
    border-color: var(--primary-color);
}

.egitim-video-card:hover::before {
    opacity: 1;
}

/* Video Container - Responsive */
.egitim-video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    background: #000;
}

.egitim-video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Video Bilgi Alanı */
.egitim-video-info {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.egitim-video-info h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-color);
    line-height: 1.5;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Eğitmen Bilgisi */
.egitim-video-speaker {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 18px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
}

.egitim-video-speaker i {
    color: var(--primary-color);
    font-size: 15px;
}

/* Doküman Butonu */
.egitim-doc-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: var(--shadow-color);
    color: var(--primary-color);
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    align-self: flex-start;
    margin-top: auto;
}

.egitim-doc-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(22, 101, 52, 0.25);
}

.egitim-doc-btn i {
    font-size: 16px;
    transition: transform 0.3s ease;
}

.egitim-doc-btn:hover i {
    transform: scale(1.2);
}

/* Staggered Animation for Video Cards */
.egitim-video-card {
    animation: fadeInUp 0.6s ease-out both;
}

.egitim-video-card:nth-child(1) { animation-delay: 0.05s; }
.egitim-video-card:nth-child(2) { animation-delay: 0.1s; }
.egitim-video-card:nth-child(3) { animation-delay: 0.15s; }
.egitim-video-card:nth-child(4) { animation-delay: 0.2s; }
.egitim-video-card:nth-child(5) { animation-delay: 0.25s; }
.egitim-video-card:nth-child(6) { animation-delay: 0.3s; }
.egitim-video-card:nth-child(7) { animation-delay: 0.35s; }
.egitim-video-card:nth-child(8) { animation-delay: 0.4s; }
.egitim-video-card:nth-child(9) { animation-delay: 0.45s; }
.egitim-video-card:nth-child(10) { animation-delay: 0.5s; }
.egitim-video-card:nth-child(11) { animation-delay: 0.55s; }
.egitim-video-card:nth-child(12) { animation-delay: 0.6s; }
.egitim-video-card:nth-child(13) { animation-delay: 0.65s; }
.egitim-video-card:nth-child(14) { animation-delay: 0.7s; }
.egitim-video-card:nth-child(15) { animation-delay: 0.75s; }

/* Eğitim Sayfaları - Responsive */
@media screen and (max-width: 992px) {
    .egitim-video-grid {
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
        gap: 24px;
    }

    .egitim-video-wrapper {
        padding: 30px 4% 50px;
    }

    .egitim-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media screen and (max-width: 768px) {
    .egitim-video-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .egitim-grid {
        grid-template-columns: 1fr;
        max-width: 450px;
    }

    .egitim-breadcrumb {
        padding: 12px 16px;
        gap: 8px;
        flex-wrap: wrap;
    }

    .egitim-breadcrumb a {
        font-size: 14px;
        padding: 5px 10px;
    }

    .egitim-video-info h3 {
        font-size: 15px;
    }

    .egitim-video-wrapper {
        padding: 20px 3% 40px;
    }

    .egitim-card {
        padding: 30px 20px !important;
    }

    .egitim-card .mevzuat-icon-container {
        width: 160px;
        height: 100px;
    }
}

@media screen and (max-width: 480px) {
    .egitim-video-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .egitim-video-info {
        padding: 18px;
    }

    .egitim-video-info h3 {
        font-size: 14px;
    }

    .egitim-doc-btn {
        font-size: 13px;
        padding: 8px 16px;
    }

    .egitim-breadcrumb {
        font-size: 13px;
    }
}
