/* Design System - Modern Clean & Human-Made Layout */
:root {
    --bg-main: #ffffff;
    --bg-alt: #f8fafc; /* Slate 50 */
    --card-bg: #ffffff;
    
    --primary: #1e3a8a; /* Brand Navy Blue */
    --primary-hover: #1e40af;
    --primary-light: #eff6ff;
    
    --accent: #f59e0b; /* Amber Accent */
    --accent-hover: #d97706;
    
    --text-main: #0f172a; /* Slate 900 */
    --text-muted: #475569; /* Slate 600 */
    --text-light: #64748b; /* Slate 500 */
    --text-white: #ffffff;
    
    --border-color: #e2e8f0; /* Slate 200 */
    --border-color-focus: #3b82f6; /* Blue 500 */
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    
    --transition-fast: all 0.15s ease-in-out;
    --transition-normal: all 0.25s ease-in-out;
    
    --shadow-sm: 0 1px 2px 0 rgba(15, 23, 42, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.05), 0 2px 4px -2px rgba(15, 23, 42, 0.05);
    --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.05), 0 4px 6px -4px rgba(15, 23, 42, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(15, 23, 42, 0.06), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
}

/* Base Styles */
body {
    background-color: var(--bg-alt);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-main);
    letter-spacing: -0.015em;
    margin-bottom: 0.5rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }

a {
    color: var(--primary) !important;
    text-decoration: none;
    transition: var(--transition-fast);
}
a:hover {
    color: var(--primary-hover) !important;
}

/* Header & Navigation */
.main-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    background-color: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.logo-text {
    font-family: var(--font-heading);
    font-weight: 800;
    letter-spacing: -0.02em;
    font-size: 1.3rem;
    color: var(--text-main) !important;
}

.logo-icon i {
    color: var(--primary);
}

.navbar-nav .nav-link {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-muted) !important;
    padding: 0.5rem 1rem !important;
    transition: var(--transition-fast);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary) !important;
}

/* Buttons */
.btn {
    font-family: var(--font-body);
    font-weight: 600;
    padding: 0.65rem 1.5rem;
    border-radius: 8px;
    transition: var(--transition-fast);
}

.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
    color: var(--text-white);
}

.btn-primary:hover, .btn-primary:focus, .btn-primary:active {
    background-color: var(--primary-hover) !important;
    border-color: var(--primary-hover) !important;
    color: var(--text-white) !important;
}

.btn-outline-primary {
    color: var(--primary);
    border-color: var(--primary);
    background-color: transparent;
}

.btn-outline-primary:hover, .btn-outline-primary:focus, .btn-outline-primary:active {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
    color: var(--text-white) !important;
}

/* Hero Section */
.hero-section {
    padding: 90px 0;
    background-color: var(--bg-main);
    border-bottom: 1px solid var(--border-color);
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.025em;
    color: var(--text-main);
    margin-bottom: 1.25rem;
}

.hero-subtitle {
    color: var(--text-muted);
    font-size: 1.15rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 580px;
}

.badge-premium {
    background-color: var(--primary-light);
    color: var(--primary);
    border: 1px solid color-mix(in srgb, var(--primary) 15%, transparent);
    padding: 0.4rem 0.9rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    margin-bottom: 1rem;
}

/* Sections */
.section-title {
    font-size: 2.25rem;
    font-weight: 800;
    text-align: left;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.section-title.center {
    text-align: center;
}

/* Service Card Design - Clean & Grounded */
.premium-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    transition: var(--transition-normal);
    height: 100%;
    box-shadow: var(--shadow-sm);
}

.premium-card:hover {
    border-color: #cbd5e1;
    box-shadow: var(--shadow-lg);
}

.card-icon {
    width: 52px;
    height: 52px;
    background-color: var(--primary-light);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    transition: var(--transition-fast);
}

.premium-card:hover .card-icon {
    background-color: var(--primary);
    color: var(--text-white);
}

.premium-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

/* Stats */
.stat-item {
    text-align: center;
    padding: 1.5rem;
}

.stat-number {
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.25rem;
    font-family: var(--font-heading);
}

.stat-label {
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.95rem;
}

/* Info Section */
.info-section {
    padding: 70px 0;
    background-color: var(--bg-main);
    border-bottom: 1px solid var(--border-color);
}

.info-section:nth-of-type(even) {
    background-color: var(--bg-alt);
}

/* Forms */
.premium-form-container {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
}

.form-group-custom {
    margin-bottom: 1.5rem;
}

.form-control-custom {
    background-color: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    color: var(--text-main);
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    transition: var(--transition-fast);
    width: 100%;
}

.form-control-custom:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 12%, transparent);
}

.form-label-custom {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.4rem;
    display: block;
    font-weight: 600;
}

/* Quiz Interface */
.exam-header {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 1.25rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.progress-container {
    background-color: #e2e8f0;
    height: 6px;
    border-radius: 3px;
    overflow: hidden;
    margin-top: 0.75rem;
}

.progress-bar-custom {
    height: 100%;
    background-color: var(--primary);
    width: 0%;
    transition: width 0.2s ease;
}

.question-box {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 1.25rem;
    box-shadow: var(--shadow-sm);
}

.question-category {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.question-text {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.options-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.option-btn {
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1rem;
    text-align: left;
    color: var(--text-main);
    transition: var(--transition-fast);
    font-size: 0.95rem;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.option-btn:hover {
    background-color: var(--bg-alt);
    border-color: #cbd5e1;
}

.option-btn.selected {
    background-color: var(--primary-light);
    border-color: var(--primary);
    font-weight: 600;
}

.option-btn.correct {
    background-color: #f0fdf4 !important;
    border-color: #16a34a !important;
    color: #166534 !important;
}

.option-btn.wrong {
    background-color: #fef2f2 !important;
    border-color: #dc2626 !important;
    color: #991b1b !important;
}

.option-label {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.85rem;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--text-light);
    flex-shrink: 0;
}

.option-btn.selected .option-label {
    background-color: var(--primary);
    color: var(--text-white);
}

.option-btn.correct .option-label {
    background-color: #16a34a;
    color: #fff;
}

.option-btn.wrong .option-label {
    background-color: #dc2626;
    color: #fff;
}

.explanation-box {
    background-color: var(--primary-light);
    border-left: 3px solid var(--primary);
    border-radius: 0 6px 6px 0;
    padding: 1.25rem;
    margin-top: 1.25rem;
    display: none;
}

.explanation-title {
    color: var(--primary-hover);
    font-weight: 700;
    margin-bottom: 0.25rem;
    font-size: 0.95rem;
}

/* Exam Result */
.result-card {
    text-align: center;
    padding: 2.5rem;
}

.result-circle {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    border: 6px solid var(--primary);
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    background-color: var(--primary-light);
}

.result-score {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.result-total {
    font-size: 0.8rem;
    color: var(--text-light);
}

/* Vehicle Fleet Gallery */
.vehicle-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.vehicle-card {
    border: 1px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

.vehicle-card:hover {
    box-shadow: var(--shadow-md);
}

.vehicle-img-container {
    height: 200px;
    overflow: hidden;
    position: relative;
    background-color: #e2e8f0;
}

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

.vehicle-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background-color: var(--primary);
    color: var(--text-white);
    font-weight: 700;
    padding: 0.3rem 0.7rem;
    border-radius: 4px;
    font-size: 0.75rem;
}

.vehicle-info {
    padding: 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    background-color: var(--card-bg);
}

.vehicle-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

/* Footer styling */
.footer-section {
    background-color: #f8fafc;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    padding: 60px 0 20px 0;
    margin-top: auto;
}

.footer-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 1.25rem;
    color: var(--text-main);
}

.footer-links a {
    color: var(--text-muted) !important;
    display: inline-block;
    padding: 0.25rem 0;
}

.footer-links a:hover {
    color: var(--primary) !important;
}

.social-links {
    display: flex;
    gap: 0.75rem;
}

.social-link {
    width: 36px;
    height: 36px;
    border-radius: 6px;
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted) !important;
    transition: var(--transition-fast);
}

.social-link:hover {
    background-color: var(--primary) !important;
    color: var(--text-white) !important;
    border-color: var(--primary) !important;
}

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

.animate-fade-in-up {
    animation: fadeInUp 0.4s ease-out forwards;
}

/* Redesign Styles - Eren Sürücü Kursu styling */
.nav-link-red {
    color: var(--accent) !important;
}
.nav-link-red:hover {
    color: var(--accent-hover) !important;
}

/* Custom Header Logo */
.header-logo-svg {
    height: 40px;
    width: auto;
}

/* Redesigned Hero Section */
.hero-redesigned-full {
    width: 100%;
    position: relative;
    overflow: hidden;
    background-color: #ffffff;
}
.hero-image-wrapper {
    position: relative;
    width: 100%;
    height: 560px;
}
.hero-full-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 25%;
}
.hero-text-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.75) 60%, rgba(255, 255, 255, 0) 100%);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    padding: 40px 0 25px 0;
    text-align: center;
}
.hero-text-red {
    color: var(--accent-text-on-light);
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 2px;
    font-family: var(--font-heading);
    text-shadow: 1px 1px 3px rgba(255, 255, 255, 0.8);
}
.hero-text-blue {
    color: var(--primary-text-on-light);
    font-size: 2.4rem;
    font-weight: 800;
    margin-bottom: 0;
    font-family: var(--font-heading);
    text-shadow: 1px 1px 3px rgba(255, 255, 255, 0.8);
}
.hero-call-btn {
    background-color: var(--accent-bg-for-white-text) !important;
    border-color: var(--accent-bg-for-white-text) !important;
    color: var(--accent-contrast-text) !important;
    box-shadow: 0 8px 25px color-mix(in srgb, var(--accent-bg-for-white-text) 35%, transparent) !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.hero-call-btn:hover {
    transform: translateY(-3px) scale(1.03) !important;
    background-color: var(--accent-hover-bg-for-white-text) !important;
    border-color: var(--accent-hover-bg-for-white-text) !important;
    box-shadow: 0 12px 30px color-mix(in srgb, var(--accent-hover-bg-for-white-text) 50%, transparent) !important;
    color: var(--accent-contrast-text) !important;
}

/* Hero Carousel */
.hero-carousel { width: 100%; position: relative; }
.hero-carousel .carousel-item { transition: transform 0.7s ease-in-out; }
.hero-carousel-arrow {
    width: 48px !important; height: 48px !important;
    top: 50% !important; transform: translateY(-50%) !important;
    opacity: 1 !important; z-index: 20;
}
.hero-carousel-arrow.carousel-control-prev { left: 16px !important; }
.hero-carousel-arrow.carousel-control-next { right: 16px !important; }
.hero-carousel-arrow-icon {
    display: flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; border-radius: 50%;
    background: rgba(255,255,255,0.85); backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px); color: var(--primary); font-size: 1.1rem;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15); transition: all 0.25s ease;
    border: 1.5px solid rgba(255,255,255,0.6);
}
.hero-carousel-arrow:hover .hero-carousel-arrow-icon {
    background-color: var(--accent-bg-for-white-text); color: var(--accent-contrast-text);
    transform: scale(1.08); box-shadow: 0 6px 20px color-mix(in srgb, var(--accent-bg-for-white-text) 40%, transparent);
}
.hero-carousel-indicators {
    bottom: 72px !important; margin-bottom: 0 !important; gap: 6px; z-index: 20;
}
.hero-carousel-indicators button {
    width: 10px !important; height: 10px !important; border-radius: 50% !important;
    background-color: rgba(255,255,255,0.6) !important;
    border: 2px solid rgba(255,255,255,0.85) !important;
    opacity: 1 !important; transition: all 0.3s ease !important;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}
.hero-carousel-indicators button.active {
    background-color: var(--accent-bg-for-white-text) !important; border-color: var(--accent-bg-for-white-text) !important;
    width: 28px !important; border-radius: 5px !important;
}


@media (max-width: 768px) {
    .hero-image-wrapper {
        height: 380px;
    }
    .hero-text-red {
        font-size: 2.2rem;
    }
    .hero-text-blue {
        font-size: 1.8rem;
    }
}

/* Floating Widgets */
.floating-chat-widget {
    position: fixed;
    bottom: 25px;
    left: 25px;
    z-index: 1050;
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: transform 0.2s ease-in-out;
}
.floating-chat-widget:hover {
    transform: scale(1.05);
}
.chat-circle-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--accent-bg-for-white-text);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    color: var(--accent-contrast-text);
    font-size: 1.5rem;
    border: none;
}
.chat-pill-text {
    background-color: white;
    color: #1e293b;
    padding: 8px 16px;
    border-radius: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    margin-left: 10px;
    font-weight: 700;
    font-size: 0.9rem;
    white-space: nowrap;
    border: 1px solid #e2e8f0;
}

.floating-scroll-top-widget {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 1050;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: var(--accent-bg-for-white-text);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    color: var(--accent-contrast-text);
    font-size: 1.2rem;
    border: none;
    text-decoration: none;
    transition: transform 0.2s, background-color 0.2s, opacity 0.3s, visibility 0.3s;
    opacity: 0;
    visibility: hidden;
}
.floating-scroll-top-widget.show {
    opacity: 1;
    visibility: visible;
}
.floating-scroll-top-widget:hover {
    transform: scale(1.05);
    background-color: var(--accent-hover-bg-for-white-text);
    color: var(--accent-contrast-text);
}

/* 3D Flip Card for Pre-Registration */
.prereg-card-wrapper {
    perspective: 1000px;
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
}
.prereg-card-inner {
    position: relative;
    width: 100%;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
}
.prereg-card-inner.flipped {
    transform: rotateY(180deg);
}
.prereg-card-front, .prereg-card-back {
    width: 100%;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
    border: none;
}
.prereg-card-front {
    position: relative;
    z-index: 2;
    transform: rotateY(0deg);
}
.prereg-card-back {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: rotateY(180deg);
    z-index: 1;
}
.prereg-card-body-back {
    background: linear-gradient(135deg, var(--primary) 0%, #0f172a 100%);
    height: calc(100% - 50px);
    padding: 24px 28px;
    overflow-y: auto;
}

/* Premium pre-registration Form Card */
.prereg-card {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
    border: none;
}
.prereg-card-header {
    background-color: var(--primary); /* brand navy blue */
    color: white;
    padding: 12px 15px;
    text-align: center;
    font-weight: 800;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
}
.prereg-card-body {
    background: linear-gradient(135deg, var(--primary) 0%, #0f172a 100%);
    padding: 16px 20px;
}
.prereg-label {
    color: rgba(255, 255, 255, 0.95);
    font-weight: 600;
    font-size: 0.78rem;
    margin-bottom: 3px;
    display: block;
    text-align: left;
}
.prereg-input {
    background-color: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 6px;
    color: white;
    padding: 7px 12px;
    width: 100%;
    font-size: 0.88rem;
    transition: all 0.2s;
    margin-bottom: 10px;
}
.prereg-input::placeholder {
    color: rgba(255, 255, 255, 0.65);
}
.prereg-input:focus {
    background-color: rgba(255, 255, 255, 0.3);
    border-color: white;
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.25);
}
select.prereg-input option {
    background-color: var(--primary);
    color: white;
}
.prereg-checkbox-label {
    color: white;
    font-size: 0.72rem;
    line-height: 1.4;
    cursor: pointer;
}
.prereg-submit-btn {
    background-color: var(--accent-bg-for-white-text);
    color: var(--accent-contrast-text);
    border: none;
    font-weight: 800;
    padding: 9px;
    border-radius: 6px;
    width: 100%;
    font-size: 0.95rem;
    transition: background-color 0.2s, transform 0.1s, color 0.2s;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
    margin-top: 10px;
}
.prereg-submit-btn:hover {
    background-color: var(--accent-hover-bg-for-white-text);
    color: var(--accent-contrast-text);
    transform: translateY(-1px);
}
.prereg-submit-btn:active {
    transform: translateY(0);
}

/* Wood Textured Section for Required Documents */
.wood-board-section {
    background-image: url('/images/wood_bg.png');
    background-repeat: repeat;
    padding: 70px 0;
    border-top: 2px solid #e2e8f0;
    border-bottom: 2px solid #e2e8f0;
    position: relative;
}
.wood-section-title-top {
    color: var(--accent-text-on-light);
    font-size: 1.25rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 5px;
    text-transform: uppercase;
}
.wood-section-title-main {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 45px;
}
.wood-title-gerekli {
    color: var(--primary-text-on-light);
}
.wood-title-evraklar {
    color: var(--accent-text-on-light);
}

/* Polaroid-like Cards styling */
.polaroid-document-card {
    background-color: white;
    padding: 15px 15px 25px 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12), 0 4px 6px rgba(0, 0, 0, 0.06);
    border-radius: 2px;
    text-align: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}
.polaroid-document-card:hover {
    transform: scale(1.04) rotate(0deg) !important;
    box-shadow: 0 15px 30px rgba(0,0,0,0.18);
    z-index: 10;
}
.polaroid-tape {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%) rotate(-2deg);
    width: 80px;
    height: 24px;
    background-color: rgba(241, 245, 249, 0.85);
    border-left: 1px dashed rgba(0,0,0,0.1);
    border-right: 1px dashed rgba(0,0,0,0.1);
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.polaroid-doc-visual {
    background-color: #f8fafc;
    border: 1px solid #f1f5f9;
    height: 140px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    border-radius: 3px;
    overflow: hidden;
}
.polaroid-doc-text {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1.3;
    padding: 0 5px;
    margin-top: 10px;
    text-transform: uppercase;
}

/* Tilts for scattered look */
.tilt-left-1 { transform: rotate(-3deg); }
.tilt-right-1 { transform: rotate(2deg); }
.tilt-left-2 { transform: rotate(-1.5deg); }
.tilt-right-2 { transform: rotate(3deg); }
.tilt-left-3 { transform: rotate(-2deg); }
.tilt-right-3 { transform: rotate(1.5deg); }

/* Video Cards redesign */
.video-preview-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s;
    cursor: pointer;
}
.video-preview-card:hover {
    transform: translateY(-5px);
}
.video-preview-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}
.video-preview-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(0,0,0,0.2), rgba(0,0,0,0.6));
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px;
}
.video-preview-title {
    color: white;
    font-size: 1.15rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    text-align: left;
}
.video-preview-play-icon {
    align-self: center;
    width: 60px;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-text-on-light);
    font-size: 1.5rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    transition: background-color 0.2s, color 0.2s;
    margin-top: 15px;
}
.video-preview-card:hover .video-preview-play-icon {
    background-color: var(--accent-bg-for-white-text);
    color: var(--accent-contrast-text);
}
.video-preview-cta {
    background-color: var(--accent-bg-for-white-text);
    color: var(--accent-contrast-text);
    font-weight: 800;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    align-self: center;
    margin-bottom: 5px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Modals */
.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.85);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    padding: 20px;
}
.video-modal.show {
    opacity: 1;
    visibility: visible;
}
.video-modal-content {
    position: relative;
    width: 100%;
    max-width: 800px;
    background-color: black;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.video-modal-ratio {
    position: relative;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
}
.video-modal-ratio iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}
.video-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    background: none;
    border: none;
    z-index: 10001;
}

/* Mobile Responsiveness & Navigation Layout Extensions */

/* Brand logo styling on mobile */
@media (max-width: 576px) {
    .logo-text {
        font-size: 1.05rem !important;
    }
}

@media (max-width: 430px) {
    .logo-text.mobile-logo-text {
        font-size: 0.85rem !important;
    }
    .logo-text.mobile-logo-text .font-weight-bold {
        font-size: 0.85rem !important;
    }
}

@media (max-width: 365px) {
    .logo-text.mobile-logo-text {
        font-size: 0.8rem !important;
    }
    .logo-text.mobile-logo-text .font-weight-bold {
        display: none; /* Hide 'SÜRÜCÜ KURSU' on extremely narrow viewports to avoid overlapping */
    }
}

/* Reduce Polaroid tilts on mobile to prevent horizontal page overflow */
@media (max-width: 576px) {
    .tilt-left-1, .tilt-left-2, .tilt-left-3 {
        transform: rotate(-1deg) !important;
    }
    .tilt-right-1, .tilt-right-2, .tilt-right-3 {
        transform: rotate(1deg) !important;
    }
    .polaroid-document-card:hover {
        transform: scale(1.02) rotate(0deg) !important;
    }
}

/* Navigation drawer clean animations on mobile */
#mobileNavbarCollapse {
    transition: all 0.35s ease-in-out;
}

#mobileNavbarCollapse .nav-link {
    border-radius: 6px;
    margin: 2px 0;
    transition: background-color 0.2s, color 0.2s;
}

#mobileNavbarCollapse .nav-link:hover {
    background-color: var(--primary-light);
    color: var(--primary) !important;
}

#mobileNavbarCollapse .nav-link-red:hover {
    background-color: color-mix(in srgb, var(--accent-text-on-light) 8%, transparent);
    color: var(--accent-text-on-light) !important;
}

/* Ensure images stack and scale cleanly on mobile */
@media (max-width: 768px) {
    .section-title {
        font-size: 1.75rem !important;
        text-align: center !important;
    }
    .wood-section-title-main {
        font-size: 1.8rem !important;
        margin-bottom: 25px !important;
    }
    .info-section {
        padding: 40px 0 !important;
    }
    .video-preview-card img {
        height: 200px !important;
    }
}

/* =============================================
   COMPREHENSIVE MOBILE RESPONSIVE STYLES
   ============================================= */

/* Tablet (≤991px) */
@media (max-width: 991px) {

    /* ---- Hero ---- */
    .hero-redesigned-full .hero-image-wrapper {
        height: 55vw;
        min-height: 240px;
        max-height: 380px;
    }
    .hero-text-overlay {
        padding: 30px 16px 20px 16px;
    }
    .hero-text-red {
        font-size: 2rem !important;
        line-height: 1.15;
        margin-bottom: 4px;
    }
    .hero-text-blue {
        font-size: 1.5rem !important;
    }
    .hero-text-overlay .btn {
        font-size: 0.95rem !important;
        padding: 0.6rem 1.6rem !important;
    }

    /* ---- Pre-reg Section ---- */
    #preregSection {
        min-height: unset !important;
        padding: 40px 0 !important;
        display: block !important;
        align-items: unset !important;
    }
    #preregSection .row {
        flex-direction: column;
    }
    #preregSection .col-lg-5,
    #preregSection .col-md-6 {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
    }
    #preregSection .col-lg-7 {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
        padding-left: 0 !important;
        margin-top: 32px;
    }
    .prereg-card {
        max-width: 520px;
        margin: 0 auto;
    }

    /* ---- About/Stats Section ---- */
    .info-section.bg-light .row.align-items-center {
        flex-direction: column;
    }
    .info-section.bg-light .col-lg-6 {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
    }
    .info-section.bg-light .col-lg-6:last-child {
        margin-top: 32px;
    }
    .stat-number {
        font-size: 2.2rem !important;
    }
    /* Stat cards: 2 per row on tablet */
    .info-section.bg-light .col-12.animate-fade-in-up {
        width: 100% !important;
    }

    /* ---- Documents Section ---- */
    .wood-board-section {
        padding: 40px 0 !important;
    }
    .wood-board-section .col-lg-4.col-md-6 {
        width: 50% !important;
        flex: 0 0 50% !important;
        max-width: 50% !important;
    }
    .polaroid-document-card {
        margin: 0 auto;
        max-width: 260px;
    }

    /* ---- Link Cards: 2 per row ---- */
    .col-lg-3.col-sm-6 {
        width: 50% !important;
        flex: 0 0 50% !important;
        max-width: 50% !important;
    }

    /* ---- Video Section ---- */
    .video-preview-card img {
        height: 220px !important;
        object-fit: cover;
    }

    /* ---- Footer ---- */
    footer .col-lg-4,
    footer .col-lg-3,
    footer .col-lg-2 {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
        text-align: center;
        margin-bottom: 20px;
    }
    .footer-links, .footer-contact {
        text-align: left !important;
        display: inline-block;
    }
    .social-links {
        justify-content: center;
    }
}

/* Floating contact container (stacks multiple floating widgets) */
.floating-contact-container {
    position: fixed;
    bottom: 25px;
    left: 25px;
    z-index: 1050;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Floating Call Widget */
.floating-call-widget {
    position: relative;
    height: 48px;
    background-color: var(--accent-bg-for-white-text);
    color: var(--accent-contrast-text) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50px;
    padding: 0 20px;
    box-shadow: 0 4px 15px color-mix(in srgb, var(--accent-bg-for-white-text) 35%, transparent);
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}
.floating-call-widget:hover {
    transform: translateY(-3px) scale(1.05);
    background-color: var(--accent-hover-bg-for-white-text);
    color: var(--accent-contrast-text) !important;
    box-shadow: 0 6px 20px color-mix(in srgb, var(--accent-hover-bg-for-white-text) 55%, transparent);
}
.floating-call-widget::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50px;
    background-color: inherit;
    z-index: -1;
    opacity: 0.4;
    animation: call-pulse 2s infinite;
}
.floating-call-widget i {
    color: #ffffff !important;
    font-size: 1.2rem;
    margin-right: 8px;
    animation: phone-shake 1.5s infinite;
}
.floating-call-widget span {
    color: #ffffff !important;
    font-size: 0.95rem;
    white-space: nowrap;
}

/* Floating WhatsApp Widget */
.floating-whatsapp-widget {
    position: relative;
    height: 48px;
    background-color: #25D366;
    color: #ffffff !important;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50px;
    padding: 0 20px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.35);
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}
.floating-whatsapp-widget:hover {
    transform: translateY(-3px) scale(1.05);
    background-color: #20ba5a;
    color: #ffffff !important;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.55);
}
.floating-whatsapp-widget::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50px;
    background-color: inherit;
    z-index: -1;
    opacity: 0.4;
    animation: call-pulse 2s infinite;
}
.floating-whatsapp-widget i {
    color: #ffffff !important;
    font-size: 1.3rem;
    margin-right: 8px;
}
.floating-whatsapp-widget span {
    color: #ffffff !important;
    font-size: 0.95rem;
    white-space: nowrap;
}

@keyframes call-pulse {
    0% { transform: scale(1); opacity: 0.4; }
    100% { transform: scale(1.3); opacity: 0; }
}

@keyframes phone-shake {
    0%, 100% { transform: rotate(0); }
    10%, 30%, 50%, 70%, 90% { transform: rotate(-10deg); }
    20%, 40%, 60%, 80% { transform: rotate(10deg); }
}

/* Mobile (≤576px) */
@media (max-width: 576px) {

    /* ---- General container padding ---- */
    .container {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    /* ---- Hero ---- */
    .hero-redesigned-full .hero-image-wrapper {
        height: 56vw;
        min-height: 210px;
        max-height: 280px;
    }
    .hero-text-overlay {
        padding: 20px 12px 16px 12px;
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
    }
    .hero-text-red {
        font-size: 1.5rem !important;
        margin-bottom: 2px;
    }
    .hero-text-blue {
        font-size: 1.15rem !important;
    }
    .hero-text-overlay .btn {
        font-size: 0.88rem !important;
        padding: 0.5rem 1.2rem !important;
        border-radius: 40px !important;
    }
    .hero-text-overlay .mt-4 {
        margin-top: 12px !important;
    }

    /* ---- Pre-reg card ---- */
    .prereg-card {
        max-width: 100%;
        border-radius: 10px;
    }
    .prereg-card-header {
        font-size: 1rem;
        padding: 10px 12px;
    }
    .prereg-card-body {
        padding: 16px 14px !important;
    }
    .prereg-card-body h4 {
        font-size: 0.9rem !important;
    }

    /* ---- Uzman Kadro / About Section ---- */
    .info-section.bg-light .col-lg-6 > .fs-5 {
        font-size: 0.95rem !important;
    }
    .info-section.bg-light h2 {
        font-size: 1.6rem !important;
    }
    .info-section.bg-light span.d-block {
        font-size: 0.9rem !important;
    }

    /* ---- Stat cards ---- */
    .premium-card.d-flex.align-items-center {
        padding: 14px 16px !important;
        gap: 14px !important;
    }
    .stat-number {
        font-size: 2rem !important;
    }
    .stat-label {
        font-size: 0.9rem !important;
    }
    .premium-card .card-icon[style*="70px"] {
        width: 52px !important;
        height: 52px !important;
        min-width: 52px !important;
        font-size: 1.4rem !important;
    }

    /* ---- Section headings ---- */
    .display-5 {
        font-size: 1.4rem !important;
    }
    .display-6 {
        font-size: 1.3rem !important;
    }
    h2.text-uppercase {
        font-size: 1.35rem !important;
        line-height: 1.25;
    }
    .section-title {
        font-size: 1.6rem !important;
        text-align: center !important;
    }

    /* ---- Documents section: 2 per row on small mobile ---- */
    .wood-board-section {
        padding: 32px 0 !important;
    }
    .wood-section-title-main {
        font-size: 1.6rem !important;
        margin-bottom: 20px !important;
    }
    .wood-board-section .col-lg-4.col-md-6 {
        width: 50% !important;
        flex: 0 0 50% !important;
        max-width: 50% !important;
        padding: 8px !important;
    }
    .polaroid-document-card {
        max-width: 100%;
        width: 100%;
    }
    .polaroid-doc-visual {
        padding: 12px 8px 8px 8px !important;
    }
    .polaroid-doc-visual i.fs-1 {
        font-size: 1.6rem !important;
    }
    .polaroid-doc-text {
        font-size: 0.75rem !important;
        padding: 6px 8px !important;
    }
    .tilt-left-1, .tilt-left-2, .tilt-left-3,
    .tilt-right-1, .tilt-right-2, .tilt-right-3 {
        transform: none !important;
    }

    /* ---- Quick Links: 2 per row ---- */
    .col-lg-3.col-sm-6 {
        width: 50% !important;
        flex: 0 0 50% !important;
        max-width: 50% !important;
    }
    .col-lg-3.col-sm-6 .premium-card {
        padding: 14px 10px !important;
    }
    .col-lg-3.col-sm-6 .card-icon {
        width: 48px !important;
        height: 48px !important;
        font-size: 1.3rem !important;
        margin-bottom: 10px !important;
    }
    .col-lg-3.col-sm-6 h4 {
        font-size: 0.8rem !important;
    }
    .col-lg-3.col-sm-6 p.small {
        display: none;
    }

    /* ---- Info section padding ---- */
    .info-section {
        padding: 28px 0 !important;
    }

    /* ---- Video cards ---- */
    .video-preview-card img {
        height: 170px !important;
    }

    /* ---- Scroll-to-top button ---- */
    .floating-scroll-top-widget {
        width: 38px !important;
        height: 38px !important;
        font-size: 1rem !important;
        bottom: 16px !important;
        right: 16px !important;
    }

    /* ---- Floating Contact Widgets: mobile adjustments ---- */
    .floating-contact-container {
        bottom: 16px !important;
        left: 16px !important;
        gap: 8px !important;
    }
    .floating-call-widget, .floating-whatsapp-widget {
        width: 44px !important;
        height: 44px !important;
        padding: 0 !important;
        border-radius: 50% !important;
        position: relative !important;
        bottom: auto !important;
        left: auto !important;
    }
    .floating-call-widget::before, .floating-whatsapp-widget::before {
        border-radius: 50% !important;
    }
    .floating-call-widget i, .floating-whatsapp-widget i {
        margin-right: 0 !important;
        font-size: 1.2rem !important;
    }
    .floating-whatsapp-widget i {
        font-size: 1.35rem !important;
    }
    .floating-call-widget span, .floating-whatsapp-widget span {
        display: none !important;
    }
}

/* Extra small screens (≤380px) */
@media (max-width: 380px) {
    .hero-text-red {
        font-size: 1.2rem !important;
    }
    .hero-text-blue {
        font-size: 0.95rem !important;
    }
    .logo-text.mobile-logo-text {
        font-size: 0.8rem !important;
    }
    .logo-text.mobile-logo-text .font-weight-bold {
        display: none;
    }
    .wood-board-section .col-lg-4.col-md-6 {
        width: 100% !important;
        flex: 0 0 100% !important;
        max-width: 100% !important;
        padding: 6px 0 !important;
    }
    .polaroid-document-card {
        max-width: 260px;
    }
    .col-lg-3.col-sm-6 {
        width: 100% !important;
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }
}

/* Contact & Maps Section */
.contact-map-section {
    padding: 80px 0;
    background-color: var(--bg-alt);
    border-top: 1px solid var(--border-color);
}
.contact-info-card {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 35px;
    box-shadow: var(--shadow-md);
    height: 100%;
    border: 1px solid var(--border-color);
    transition: var(--transition-normal);
}
.contact-info-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: color-mix(in srgb, var(--primary) 15%, transparent);
}
.contact-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 24px;
    transition: var(--transition-fast);
}
.contact-info-item:last-child {
    margin-bottom: 0;
}
.contact-info-icon {
    width: 48px;
    height: 48px;
    background-color: var(--primary-light);
    color: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-right: 18px;
    flex-shrink: 0;
    transition: var(--transition-fast);
}
.contact-info-item:hover .contact-info-icon {
    background-color: var(--primary);
    color: white;
    transform: translateY(-2px);
}
.contact-info-content h5 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--text-main);
}
.contact-info-content p {
    font-size: 0.92rem;
    color: var(--text-muted);
    margin-bottom: 0;
    line-height: 1.5;
}
.map-widget-container {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    height: 100%;
    min-height: 420px;
    transition: var(--transition-normal);
}
.map-widget-container:hover {
    box-shadow: var(--shadow-xl);
}
.map-widget-container iframe {
    width: 100%;
    height: 100%;
    min-height: 420px;
    border: 0;
    display: block;
}

}

/* Drag and Drop Sorting Styles */
.draggable-menu-row {
    cursor: move;
    transition: background-color 0.2s ease, transform 0.2s ease;
}
.draggable-menu-row.dragging {
    opacity: 0.5;
    background-color: color-mix(in srgb, var(--primary) 10%, transparent) !important;
}
.draggable-menu-row.drag-over {
    border-top: 2px solid var(--primary) !important;
}
.drag-handle {
    cursor: move;
    font-size: 1rem;
    padding: 0 4px;
}

/* Float Alert Toast */
#dragToast {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 9999;
    background-color: #0f172a;
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform: translateY(-20px);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}
#dragToast.show {
    transform: translateY(0);
    opacity: 1;
}

/* Smooth Dropdown Transitions */
.navbar-nav .dropdown-menu {
    display: block !important;
    visibility: hidden;
    opacity: 0;
    transform: translateY(15px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}
.navbar-nav .dropdown:hover .dropdown-menu,
.navbar-nav .dropdown-menu.show {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* Premium Mega-menu dropdown boxes */
.dropdown-mega-box {
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    transition: all 0.25s ease;
}
.dropdown-mega-box:hover {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px color-mix(in srgb, var(--primary) 15%, transparent);
}
.mega-box-icon-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: color-mix(in srgb, var(--primary) 10%, transparent);
    color: var(--primary);
    font-size: 0.85rem;
    transition: all 0.25s ease;
    flex-shrink: 0;
}
.dropdown-mega-box:hover .mega-box-icon-circle {
    background-color: rgba(255, 255, 255, 0.2) !important;
    color: white !important;
}
.mega-box-title {
    color: #0f172a;
    font-weight: 700;
    font-size: 0.82rem;
    line-height: 1.2;
    transition: color 0.25s ease;
}
.dropdown-mega-box:hover .mega-box-title {
    color: white !important;
}
.p-2-5 {
    padding: 0.65rem 0.85rem;
}

/* ==========================================
   DYNAMIC BOOTSTRAP OVERRIDES FOR SYSTEM THEME
   ========================================== */

/* Primary Overrides */
.text-primary {
    color: var(--primary-text-on-light) !important;
}
.bg-primary {
    background-color: var(--primary-bg-for-white-text) !important;
}
.border-primary {
    border-color: var(--primary-bg-for-white-text) !important;
}
.link-primary {
    color: var(--primary-text-on-light) !important;
}
.link-primary:hover, .link-primary:focus {
    color: var(--primary-hover-bg-for-white-text) !important;
}
.btn-primary {
    background-color: var(--primary-bg-for-white-text) !important;
    border-color: var(--primary-bg-for-white-text) !important;
    color: var(--primary-contrast-text) !important;
}
.btn-primary:hover, .btn-primary:focus, .btn-primary:active {
    background-color: var(--primary-hover-bg-for-white-text) !important;
    border-color: var(--primary-hover-bg-for-white-text) !important;
    color: var(--primary-contrast-text) !important;
}
.btn-outline-primary {
    color: var(--primary-text-on-light) !important;
    border-color: var(--primary-text-on-light) !important;
}
.btn-outline-primary:hover, .btn-outline-primary:focus, .btn-outline-primary:active {
    background-color: var(--primary-bg-for-white-text) !important;
    border-color: var(--primary-bg-for-white-text) !important;
    color: var(--primary-contrast-text) !important;
}

/* Accent Overrides (Secondary Theme Color) */
.text-accent {
    color: var(--accent-text-on-light) !important;
}
.bg-accent {
    background-color: var(--accent-bg-for-white-text) !important;
}
.border-accent {
    border-color: var(--accent-bg-for-white-text) !important;
}
.link-accent {
    color: var(--accent-text-on-light) !important;
}
.link-accent:hover, .link-accent:focus {
    color: var(--accent-hover-bg-for-white-text) !important;
}