/* 
========================================================================
   ANESTEZİ OKULU - GLOBAL STYLESHEET
   Medical & Scientific Web Design System
========================================================================
*/

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

:root {
    /* Color Palette */
    --color-dark-primary: #0b0f19;    /* Midnight Navy/Black */
    --color-dark-secondary: #1e293b;  /* Slate 800 */
    --color-dark-tertiary: #0f172a;   /* Slate 900 */
    
    --color-gold: #ecc158;            /* Premium Logo Gold */
    --color-gold-hover: #d97706;      /* Rich Gold/Amber Hover */
    --color-gold-light: rgba(236, 193, 88, 0.15); /* Tint for backgrounds */
    --color-gold-glow: rgba(236, 193, 88, 0.35);
    
    --color-light-bg: #f8fafc;        /* Slate 50 Background */
    --color-card-white: #ffffff;      /* White card base */
    
    /* Text Colors */
    --color-text-dark: #0f172a;       /* Slate 900 */
    --color-text-light: #f8fafc;      /* Slate 50 */
    --color-text-muted: #64748b;      /* Slate 500 */
    --color-text-gray: #475569;       /* Slate 600 */
    
    /* Semantic Colors */
    --color-success: #10b981;
    --color-warning: #f59e0b;
    --color-danger: #ef4444;
    
    /* Borders & Shadows */
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
    --border-radius-full: 9999px;
    
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 20px rgba(15, 23, 42, 0.05);
    --shadow-lg: 0 20px 40px rgba(15, 23, 42, 0.1);
    --shadow-gold: 0 10px 25px rgba(236, 193, 88, 0.2);
    
    /* Fonts */
    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    
    /* Timing & Transitions */
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s ease;
}

/* 1. Global Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-light-bg);
    color: var(--color-text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--color-dark-primary);
    line-height: 1.25;
}

h1 { font-size: 2.75rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    color: var(--color-text-gray);
    margin-bottom: 1rem;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    outline: none;
    background: none;
    transition: var(--transition-smooth);
}

/* Utility Containers */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: 100px 0;
}

/* Badge Style */
.badge {
    display: inline-block;
    padding: 6px 16px;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: var(--border-radius-full);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.badge-gold {
    background-color: var(--color-gold-light);
    color: var(--color-gold-hover);
    border: 1px solid rgba(236, 193, 88, 0.4);
}

.badge-dark {
    background-color: var(--color-dark-tertiary);
    color: var(--color-gold);
    border: 1px solid var(--color-gold);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--border-radius-md);
    transition: var(--transition-smooth);
    gap: 10px;
}

.btn-primary {
    background-color: var(--color-gold);
    color: var(--color-dark-primary);
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    background-color: var(--color-gold-hover);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-dark-primary);
    border: 2px solid var(--color-dark-primary);
}

.btn-secondary:hover {
    background-color: var(--color-dark-primary);
    color: white;
    transform: translateY(-2px);
}

.btn-dark {
    background-color: var(--color-dark-primary);
    color: var(--color-gold);
    border: 2px solid var(--color-gold);
}

.btn-dark:hover {
    background-color: var(--color-gold);
    color: var(--color-dark-primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

.btn-outline-gold {
    background-color: transparent;
    color: var(--color-gold);
    border: 2px solid var(--color-gold);
}

.btn-outline-gold:hover {
    background-color: var(--color-gold);
    color: var(--color-dark-primary);
    transform: translateY(-2px);
}

.btn-youtube {
    background-color: #FF0000;
    color: white !important;
    border: none;
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(255, 0, 0, 0.2);
    padding: 6px 12px; /* Very compact padding (approx 2x/50% smaller than initial layout) */
    font-size: 0.78rem; /* Compact font size */
    border-radius: var(--border-radius-sm) !important; /* Proportional rounding */
    gap: 6px;
}

.btn-youtube:hover {
    background-color: #cc0000;
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 0, 0, 0.4);
}

.btn-youtube svg {
    width: 12px !important;
    height: 12px !important;
}

/* 2. Header / Navigation */
.main-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: rgba(11, 15, 25, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(236, 193, 88, 0.2);
    padding: 15px 0;
    transition: var(--transition-smooth);
}

.header-container {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-self: start; /* Align logo to the far left of column 1 */
}

.logo-img {
    height: 48px;
    width: 48px;
    border-radius: var(--border-radius-full);
    border: 2px solid var(--color-gold);
    object-fit: cover;
    box-shadow: 0 0 10px rgba(236, 193, 88, 0.3);
}

.brand-name {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.45rem;
    color: white;
    letter-spacing: 0.5px;
}

.brand-name span {
    color: var(--color-gold);
}

.main-nav {
    display: contents; /* Direct children become grid items on desktop */
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 32px;
    justify-self: center; /* Align links perfectly in the center of column 2 */
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 550;
    color: rgba(255, 255, 255, 0.85);
    position: relative;
    padding: 6px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-gold);
    transition: var(--transition-smooth);
}

.nav-link:hover {
    color: var(--color-gold);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link.active {
    color: var(--color-gold);
}

.header-cta {
    display: block;
    justify-self: end; /* Align button to the far right of column 3 */
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    z-index: 1100;
}

.mobile-nav-toggle span {
    display: block;
    height: 2px;
    width: 100%;
    background-color: white;
    border-radius: var(--border-radius-full);
    transition: var(--transition-smooth);
}

/* Mobile Nav Open State */
.mobile-nav-toggle.open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mobile-nav-toggle.open span:nth-child(2) {
    opacity: 0;
}

.mobile-nav-toggle.open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* 3. Hero Section */
.hero-section {
    background-color: var(--color-dark-primary);
    color: white;
    position: relative;
    overflow: hidden;
    padding: 120px 0 100px 0;
}

/* Hero Background Accent Grid */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 80% 20%, rgba(236, 193, 88, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    animation: fadeInUp 0.8s ease-out;
}

.hero-tagline {
    margin-bottom: 20px;
}

.hero-title {
    color: white;
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 24px;
}

.hero-title span {
    color: var(--color-gold);
    display: block;
}

.hero-desc {
    color: rgba(255, 255, 255, 0.75);
    font-size: 1.15rem;
    margin-bottom: 36px;
    max-width: 580px;
}

.hero-btns {
    display: flex;
    gap: 16px;
}

.hero-image-wrapper {
    position: relative;
    animation: fadeIn 1.2s ease-out;
}

.hero-image {
    width: 100%;
    border-radius: var(--border-radius-lg);
    border: 3px solid rgba(236, 193, 88, 0.2);
    box-shadow: var(--shadow-lg), 0 0 50px rgba(236, 193, 88, 0.15);
    object-fit: cover;
    transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
    transition: var(--transition-smooth);
}

.hero-image-wrapper:hover .hero-image {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
    border-color: var(--color-gold);
}

/* 4. Section Headers */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px auto;
}

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

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

.section-title.light {
    color: white;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--color-text-muted);
}

.section-desc.light {
    color: rgba(255, 255, 255, 0.65);
}

/* 5. Core Track Columns / Feature Cards */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background-color: var(--color-card-white);
    padding: 40px 32px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background-color: var(--color-gold);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: var(--transition-smooth);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-card:hover::before {
    transform: scaleY(1);
}

.feature-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: var(--border-radius-sm);
    background-color: var(--color-gold-light);
    color: var(--color-gold-hover);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    font-size: 1.5rem;
}

.feature-card h3 {
    margin-bottom: 12px;
}

.feature-card p {
    margin-bottom: 0;
    font-size: 0.95rem;
    color: var(--color-text-gray);
}

/* 6. Medical Interactive Tool (Anesthesia Drug Dose Calculator) */
.tool-section {
    background-color: var(--color-dark-primary);
    color: white;
}

.calculator-container {
    background-color: var(--color-dark-secondary);
    border-radius: var(--border-radius-lg);
    border: 1px solid rgba(236, 193, 88, 0.25);
    box-shadow: var(--shadow-lg), 0 0 30px rgba(236, 193, 88, 0.05);
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.calc-form-side {
    padding: 50px;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.calc-title {
    color: white;
    margin-bottom: 10px;
}

.calc-intro {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.95rem;
    margin-bottom: 35px;
}

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

.form-label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
}

.form-control {
    width: 100%;
    background-color: rgba(11, 15, 25, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: white;
    padding: 14px 18px;
    font-size: 1rem;
    border-radius: var(--border-radius-sm);
    outline: none;
    transition: var(--transition-smooth);
    font-family: var(--font-body);
}

.form-control:focus {
    border-color: var(--color-gold);
    box-shadow: 0 0 0 3px rgba(236, 193, 88, 0.2);
}

select.form-control option {
    background-color: var(--color-dark-primary);
    color: white;
}

.calc-results-side {
    padding: 50px;
    background-color: rgba(11, 15, 25, 0.6);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.results-placeholder {
    text-align: center;
    padding: 40px;
}

.results-placeholder svg {
    margin-bottom: 20px;
    color: var(--color-gold);
}

.results-placeholder p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.95rem;
    margin-bottom: 0;
}

.results-content {
    display: none;
}

.results-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 20px;
    margin-bottom: 25px;
}

.results-drug-name {
    color: var(--color-gold);
    font-size: 1.8rem;
    margin-bottom: 5px;
}

.results-drug-class {
    color: rgba(255, 255, 255, 0.50);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.dose-display {
    text-align: center;
    background-color: var(--color-dark-primary);
    border: 1px dashed var(--color-gold);
    border-radius: var(--border-radius-md);
    padding: 30px 20px;
    margin-bottom: 30px;
}

.dose-value {
    color: white;
    font-size: 2.8rem;
    font-family: var(--font-heading);
    font-weight: 800;
    line-height: 1;
}

.dose-unit {
    color: var(--color-gold);
    font-size: 1rem;
    font-weight: 600;
    margin-top: 5px;
    display: block;
}

.dose-range-text {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 8px;
    margin-bottom: 0;
}

.calc-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 25px;
}

.detail-item-title {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 4px;
}

.detail-item-value {
    font-size: 1rem;
    color: white;
    font-weight: 600;
}

.calc-note-box {
    background-color: rgba(239, 68, 68, 0.1);
    border-left: 3px solid var(--color-danger);
    border-radius: 4px;
    padding: 15px;
}

.calc-note-box p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    margin-bottom: 0;
}

/* 7. Video Preview / Youtube Showcases */
.video-preview-card {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    max-width: 900px;
    margin: 0 auto;
    border: 3px solid rgba(236, 193, 88, 0.2);
    aspect-ratio: 16/9;
}

.video-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: var(--transition-smooth);
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(11, 15, 25, 0.9) 0%, rgba(11, 15, 25, 0.3) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 40px;
}

.video-preview-card:hover .video-thumb {
    transform: scale(1.03);
}

.play-btn-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background-color: var(--color-gold);
    color: var(--color-dark-primary);
    border-radius: var(--border-radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 0 rgba(236, 193, 88, 0.4);
    animation: pulseGlow 2s infinite;
    cursor: pointer;
    font-size: 1.5rem;
    transition: var(--transition-smooth);
    z-index: 10;
}

.play-btn-circle:hover {
    background-color: white;
    transform: translate(-50%, -50%) scale(1.1);
}

.video-title-inside {
    color: white;
    font-size: 1.8rem;
    margin-bottom: 8px;
    max-width: 600px;
}

.video-desc-inside {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.95rem;
    margin-bottom: 0;
    max-width: 600px;
}

/* 8. Educational Articles / Lesson Grid */
.article-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.article-card {
    background-color: var(--color-card-white);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.article-img-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/10;
}

.article-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

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

.article-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.article-meta {
    display: flex;
    gap: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-text-muted);
    margin-bottom: 12px;
    text-transform: uppercase;
}

.article-title {
    font-size: 1.25rem;
    margin-bottom: 12px;
    line-height: 1.35;
}

.article-desc {
    font-size: 0.9rem;
    color: var(--color-text-gray);
    margin-bottom: 20px;
    flex-grow: 1;
}

.article-link {
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--color-dark-primary);
    gap: 6px;
}

.article-link svg {
    transition: var(--transition-fast);
}

.article-link:hover {
    color: var(--color-gold-hover);
}

.article-link:hover svg {
    transform: translateX(4px);
}

/* 9. Lightbox Video Modal */
.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    background-color: rgba(11, 15, 25, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
    padding: 20px;
}

.video-modal.open {
    opacity: 1;
    pointer-events: auto;
}

.modal-close-btn {
    position: absolute;
    top: 25px;
    right: 25px;
    color: white;
    font-size: 2.5rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

.modal-close-btn:hover {
    color: var(--color-gold);
    transform: scale(1.1);
}

.video-modal-content {
    width: 100%;
    max-width: 960px;
    aspect-ratio: 16/9;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.6), 0 0 20px rgba(236, 193, 88, 0.2);
    border: 2px solid rgba(236, 193, 88, 0.3);
    transform: scale(0.9);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.video-modal.open .video-modal-content {
    transform: scale(1);
}

.video-modal-iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* 10. Education Filters and Gallery Page */
.page-banner {
    background-color: var(--color-dark-primary);
    color: white;
    padding: 80px 0;
    text-align: center;
    border-bottom: 1px solid rgba(236, 193, 88, 0.2);
    position: relative;
    overflow: hidden;
}

.page-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 50% 50%, rgba(236, 193, 88, 0.05) 0%, transparent 60%);
    pointer-events: none;
}

.page-banner h1 {
    color: white;
    font-size: 3rem;
    margin-bottom: 12px;
}

.page-banner p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.filter-row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 50px;
}

.filter-btn {
    padding: 10px 22px;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: var(--border-radius-full);
    border: 1px solid rgba(0, 0, 0, 0.1);
    background-color: var(--color-card-white);
    color: var(--color-text-dark);
    box-shadow: var(--shadow-sm);
}

.filter-btn:hover {
    border-color: var(--color-gold);
    color: var(--color-gold-hover);
}

.filter-btn.active {
    background-color: var(--color-dark-primary);
    color: var(--color-gold);
    border-color: var(--color-gold);
    box-shadow: 0 4px 10px rgba(236, 193, 88, 0.2);
}

/* Downloads Section */
.resources-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.resource-card {
    background-color: var(--color-card-white);
    border-radius: var(--border-radius-md);
    padding: 30px;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0, 0, 0, 0.04);
    display: flex;
    align-items: center;
    gap: 24px;
    transition: var(--transition-smooth);
}

.resource-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(236, 193, 88, 0.3);
}

.resource-icon {
    width: 64px;
    height: 64px;
    background-color: #fee2e2; /* light red tint */
    color: #ef4444; /* PDF color */
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    flex-shrink: 0;
}

.resource-info {
    flex-grow: 1;
}

.resource-info h3 {
    margin-bottom: 6px;
    font-size: 1.15rem;
}

.resource-info p {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-bottom: 0;
}

.resource-dl-btn {
    width: 48px;
    height: 48px;
    border-radius: var(--border-radius-full);
    border: 2px solid var(--color-dark-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-dark-primary);
    transition: var(--transition-smooth);
    flex-shrink: 0;
}

.resource-card:hover .resource-dl-btn {
    background-color: var(--color-gold);
    border-color: var(--color-gold);
    color: var(--color-dark-primary);
}

/* 11. Kurumsal Page & FAQ & Contact Form */
.story-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.story-img-wrapper {
    position: relative;
}

.story-img {
    width: 100%;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    border: 3px solid rgba(236, 193, 88, 0.2);
}

.story-content h2 {
    margin-bottom: 24px;
}

.story-highlight {
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--color-gold-hover);
    margin-bottom: 20px;
    border-left: 3px solid var(--color-gold);
    padding-left: 16px;
}

/* Instructors/Team Section */
.team-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.team-card {
    flex: 1 1 320px;
    max-width: 350px;
    background-color: var(--color-card-white);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.03);
    text-align: center;
    transition: var(--transition-smooth);
    padding-bottom: 30px;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(236, 193, 88, 0.3);
}

.team-avatar-wrapper {
    width: 100%;
    aspect-ratio: 1/1;
    overflow: hidden;
    position: relative;
    border-bottom: 3px solid var(--color-gold);
}

.team-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.team-card:hover .team-avatar {
    transform: scale(1.04);
}

/* Monogram Avatar Fallbacks */
.team-avatar-monogram {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-dark-primary) 0%, rgba(11, 15, 25, 0.9) 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    transition: var(--transition-smooth);
    overflow: hidden;
}

.monogram-text {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--color-gold);
    letter-spacing: 2px;
    z-index: 2;
    transition: var(--transition-smooth);
}

.monogram-watermark {
    position: absolute;
    bottom: 15px;
    right: 15px;
    transform: rotate(-15deg);
    transition: var(--transition-smooth);
    z-index: 1;
}

/* Monogram Hover transitions */
.team-card:hover .team-avatar-monogram {
    background: linear-gradient(135deg, var(--color-gold) 0%, #b88d2f 100%);
}

.team-card:hover .monogram-text {
    color: var(--color-dark-primary);
    transform: scale(1.06);
}

.team-card:hover .monogram-watermark {
    stroke: rgba(11, 15, 25, 0.15);
    transform: rotate(0deg) scale(1.1);
}

.team-info {
    padding: 24px 20px 0 20px;
}

.team-name {
    font-size: 1.3rem;
    margin-bottom: 4px;
}

.team-role {
    color: var(--color-gold-hover);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
    display: block;
}

.team-bio {
    font-size: 0.9rem;
    color: var(--color-text-gray);
    margin-bottom: 0;
}

/* SSS Accordion */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--color-card-white);
    border-radius: var(--border-radius-sm);
    box-shadow: var(--shadow-sm);
    margin-bottom: 16px;
    border: 1px solid rgba(0, 0, 0, 0.03);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--color-dark-primary);
}

.faq-question:hover {
    color: var(--color-gold-hover);
}

.faq-icon-arrow {
    transition: var(--transition-smooth);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
    background-color: rgba(248, 250, 252, 0.5);
}

.faq-answer-inner {
    padding: 0 24px 24px 24px;
    font-size: 0.95rem;
    color: var(--color-text-gray);
    border-top: 1px solid rgba(0, 0, 0, 0.02);
}

.faq-item.active .faq-answer {
    max-height: 1000px; /* high value to allow expansion */
    transition: max-height 0.4s cubic-bezier(1, 0, 1, 0);
}

.faq-item.active .faq-icon-arrow {
    transform: rotate(180deg);
    color: var(--color-gold);
}

/* Contact Grid */
.contact-layout {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 50px;
}

.contact-info-panel {
    background-color: var(--color-dark-primary);
    color: white;
    border-radius: var(--border-radius-md);
    padding: 40px;
    border: 1px solid rgba(236, 193, 88, 0.25);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-image: radial-gradient(circle at 100% 100%, rgba(236, 193, 88, 0.05) 0%, transparent 60%);
}

.contact-info-title {
    color: white;
    font-size: 1.8rem;
    margin-bottom: 12px;
}

.contact-info-desc {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    margin-bottom: 40px;
}

.contact-details-list {
    list-style: none;
}

.contact-detail-item {
    display: flex;
    gap: 16px;
    margin-bottom: 25px;
}

.contact-detail-icon {
    color: var(--color-gold);
    font-size: 1.2rem;
    flex-shrink: 0;
    margin-top: 3px;
}

.contact-detail-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 4px;
}

.contact-detail-value {
    color: white;
    font-weight: 550;
    font-size: 0.95rem;
}

.contact-socials {
    display: flex;
    gap: 16px;
    margin-top: 40px;
}

.contact-social-link {
    width: 44px;
    height: 44px;
    border-radius: var(--border-radius-full);
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition-smooth);
}

.contact-social-link:hover {
    border-color: var(--color-gold);
    color: var(--color-gold);
    background-color: rgba(236, 193, 88, 0.1);
    transform: translateY(-3px);
}

.contact-form-panel {
    background-color: var(--color-card-white);
    border-radius: var(--border-radius-md);
    padding: 50px;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.contact-form-title {
    margin-bottom: 30px;
}

.contact-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

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

.light-form-label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-text-dark);
}

.light-form-control {
    width: 100%;
    background-color: #f1f5f9;
    border: 1px solid transparent;
    color: var(--color-text-dark);
    padding: 14px 18px;
    font-size: 1rem;
    border-radius: var(--border-radius-sm);
    outline: none;
    transition: var(--transition-smooth);
    font-family: var(--font-body);
}

.light-form-control:focus {
    border-color: var(--color-gold);
    background-color: white;
    box-shadow: 0 0 0 3px rgba(236, 193, 88, 0.2);
}

/* Success notification toast for form submission */
.form-notification {
    display: none;
    background-color: rgba(16, 185, 129, 0.15);
    border-left: 4px solid var(--color-success);
    color: #065f46;
    padding: 16px 20px;
    border-radius: var(--border-radius-sm);
    margin-bottom: 25px;
    font-size: 0.95rem;
    font-weight: 500;
}

/* 12. Footer */
.main-footer {
    background-color: var(--color-dark-primary);
    color: white;
    padding: 80px 0 30px 0;
    border-top: 1px solid rgba(236, 193, 88, 0.2);
    position: relative;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-logo-side {
    max-width: 320px;
}

.footer-logo-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-logo-img {
    height: 40px;
    width: 40px;
    border-radius: var(--border-radius-full);
    border: 2px solid var(--color-gold);
    object-fit: cover;
}

.footer-brand-name {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.25rem;
    color: white;
}

.footer-brand-name span {
    color: var(--color-gold);
}

.footer-logo-desc {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin-bottom: 24px;
}

.footer-title {
    color: white;
    font-size: 1.15rem;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 8px;
    display: inline-block;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--color-gold);
}

.footer-links {
    list-style: none;
}

.footer-link-item {
    margin-bottom: 12px;
}

.footer-link {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.95rem;
}

.footer-link:hover {
    color: var(--color-gold);
    padding-left: 5px;
}

.footer-info-item {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.95rem;
}

.footer-info-icon {
    color: var(--color-gold);
    flex-shrink: 0;
    margin-top: 4px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
}

.footer-bottom-link:hover {
    color: var(--color-gold);
}

/* 13. Keyframes & Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

@keyframes pulseGlow {
    0% {
        box-shadow: 0 0 0 0 rgba(236, 193, 88, 0.4);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(236, 193, 88, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(236, 193, 88, 0);
    }
}

/* 14. Responsive Media Queries */
@media (max-width: 1024px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-desc {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-btns {
        justify-content: center;
    }
    
    .hero-image-wrapper {
        max-width: 600px;
        margin: 0 auto;
    }
    
    .hero-image {
        transform: none;
    }
    
    .hero-image-wrapper:hover .hero-image {
        transform: none;
    }
    
    .calculator-container {
        grid-template-columns: 1fr;
    }
    
    .calc-form-side {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }
    
    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    
    .footer-logo-side {
        grid-column: span 2;
        max-width: 100%;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .footer-logo-wrap {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .header-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .section-padding {
        padding: 60px 0;
    }
    
    .main-header {
        padding: 10px 0;
    }
    
    .mobile-nav-toggle {
        display: flex;
    }
    
    .main-nav {
        display: flex; /* Restore flex visual box for drawer */
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background-color: var(--color-dark-primary);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
        padding: 80px 40px 40px 40px;
        transition: var(--transition-smooth);
        flex-direction: column;
        align-items: flex-start;
        z-index: 1000;
        gap: 20px; /* Reset vertical gap on mobile menu drawer */
    }
    
    .main-nav.open {
        right: 0;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 24px;
        width: 100%;
        margin-bottom: 40px;
    }
    
    .nav-link {
        font-size: 1.15rem;
        display: block;
        width: 100%;
    }
    
    .header-cta {
        width: 100%;
    }
    
    .header-cta .btn {
        width: 100%;
    }
    
    .features-grid,
    .article-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .team-grid {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .team-card {
        width: 100%;
        max-width: 100%;
    }
    
    .resources-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .contact-layout {
        grid-template-columns: 1fr;
    }
    
    .contact-form-panel {
        padding: 30px;
    }
    
    .contact-form-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
    }
    
    .footer-logo-side {
        grid-column: span 1;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.75rem; }
    
    .hero-btns {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-btns .btn {
        width: 100%;
    }
    
    .calc-form-side,
    .calc-results-side {
        padding: 30px 20px;
    }
    
    .dose-value {
        font-size: 2.2rem;
    }
}

/* ========================================================================
   15. Dropdown Menu & Books Grid Styles (Dynamic Additions)
   ======================================================================== */

/* Dropdown Wrapper */
.dropdown {
    position: relative;
}

/* Icon rotation transition */
.dropdown-icon {
    transition: transform var(--transition-smooth);
    margin-left: 6px;
    vertical-align: middle;
}

.dropdown:hover .dropdown-icon {
    transform: rotate(180deg);
}

/* Dropdown Menu Box */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background-color: rgba(11, 15, 25, 0.98);
    border: 1px solid rgba(236, 193, 88, 0.25);
    border-radius: var(--border-radius-md);
    min-width: 170px;
    padding: 8px 0;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1001;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* Dropdown Menu Items */
.dropdown-menu li {
    width: 100%;
}

.dropdown-menu a {
    display: block;
    padding: 8px 20px;
    color: rgba(255, 255, 255, 0.85) !important;
    font-size: 0.9rem;
    font-weight: 550;
    text-decoration: none;
    transition: var(--transition-smooth);
    border-bottom: none !important;
}

.dropdown-menu a:hover {
    background-color: rgba(236, 193, 88, 0.15) !important;
    color: var(--color-gold) !important;
    padding-left: 24px; /* Subtle slide-in effect */
}

/* Mobile Dropdown Reset */
@media (max-width: 768px) {
    .dropdown-menu {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        background-color: transparent;
        border: none;
        box-shadow: none;
        padding: 5px 0 5px 15px;
        min-width: auto;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }
    
    .dropdown:hover .dropdown-menu {
        transform: none;
    }
    
    .dropdown-icon {
        display: none; /* Hide icon on mobile menu to save space */
    }
    
    .dropdown-menu a {
        padding: 8px 10px;
        color: rgba(255, 255, 255, 0.7) !important;
        font-size: 1rem;
    }
    
    .dropdown-menu a:hover {
        padding-left: 14px;
        background-color: transparent !important;
        color: var(--color-gold) !important;
    }
}

/* Books Grid Layout */
.books-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.book-card {
    background-color: var(--color-card-white);
    border: 1px solid rgba(236, 193, 88, 0.15);
    border-radius: var(--border-radius-md);
    padding: 24px;
    display: flex;
    gap: 20px;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-sm);
}

.book-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(236, 193, 88, 0.1);
    border-color: var(--color-gold);
}

.book-cover {
    width: 95px;
    height: 135px;
    background-color: var(--color-dark-primary);
    border-radius: var(--border-radius-sm);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--color-gold);
    font-size: 0.65rem;
    font-weight: 700;
    text-align: center;
    padding: 10px;
    border: 1px solid rgba(236, 193, 88, 0.3);
    box-shadow: var(--shadow-sm);
    flex-shrink: 0;
}

.book-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.book-info h3 {
    color: var(--color-dark-primary);
    font-size: 1.05rem;
    margin-bottom: 6px;
    font-weight: 700;
    line-height: 1.3;
}

.book-author {
    color: rgba(11, 15, 25, 0.6);
    font-size: 0.8rem;
    margin-bottom: 10px;
    font-weight: 500;
}

.book-desc {
    font-size: 0.82rem;
    color: rgba(11, 15, 25, 0.75);
    line-height: 1.5;
    margin-bottom: 15px;
}

.book-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    font-weight: 600;
    color: white !important;
    background-color: var(--color-dark-primary);
    padding: 6px 14px;
    border-radius: var(--border-radius-sm);
    width: fit-content;
    transition: var(--transition-smooth);
    border: none !important;
}

.book-btn:hover {
    background-color: var(--color-gold) !important;
    color: var(--color-dark-primary) !important;
    box-shadow: var(--shadow-sm);
}

@media (max-width: 480px) {
    .book-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .book-cover {
        width: 100px;
        height: 140px;
    }
    
    .book-info {
        align-items: center;
    }
    
    .book-btn {
        margin: 0 auto;
    }
}

/* Footer Quick Menu Group Labels */
.footer-link-group-label {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
    font-weight: 500;
    margin-top: 12px;
    cursor: default;
    padding-left: 0;
}

/* Legal Pages Styling */
.legal-container {
    max-width: 850px;
    margin: 0 auto;
    padding: 60px 20px;
}

.legal-section-title {
    color: var(--color-dark-primary);
    font-size: 1.45rem;
    margin-top: 35px;
    margin-bottom: 15px;
    font-weight: 700;
    border-bottom: 2px solid rgba(236, 193, 88, 0.2);
    padding-bottom: 8px;
}

.legal-text {
    font-size: 0.95rem;
    line-height: 1.7;
    color: rgba(11, 15, 25, 0.8);
    margin-bottom: 20px;
}

.legal-list {
    margin-left: 20px;
    margin-bottom: 20px;
    line-height: 1.7;
    color: rgba(11, 15, 25, 0.8);
}

.legal-list li {
    margin-bottom: 8px;
    list-style-type: disc;
}


