/**
 * Rize Salarha Deresi Vakfı - Main Stylesheet
 * Color palette based on logo: Navy Blue, Teal, Green, White
 */

/* ========================================
   CSS Variables (Design Tokens)
======================================== */
:root {
    /* Primary Colors from Logo */
    --primary-navy: #1a3a5c;
    --primary-navy-dark: #0f2540;
    --primary-navy-light: #2d5a87;
    
    /* Accent Colors */
    --accent-teal: #2d8a8a;
    --accent-teal-light: #3da5a5;
    --accent-green: #4a7c3f;
    --accent-green-light: #5f9f4f;
    
    /* Neutral Colors */
    --white: #ffffff;
    --off-white: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    
    /* Semantic Colors */
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --info: #3b82f6;
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-heading: 'Outfit', 'Inter', sans-serif;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-normal: 300ms ease;
    --transition-slow: 500ms ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--gray-700);
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--primary-navy);
    line-height: 1.3;
}

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

a:hover {
    color: var(--accent-teal-light);
}

img {
    max-width: 100%;
    height: auto;
}

/* ========================================
   Utility Classes
======================================== */
.section-padding {
    padding: 5rem 0;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-teal), var(--accent-green));
    margin: 1rem auto 0;
    border-radius: var(--radius-full);
}

.section-subtitle {
    text-align: center;
    color: var(--gray-500);
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto 3rem;
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary-navy), var(--accent-teal));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-pattern {
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%231a3a5c' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* ========================================
   Navbar Styles
======================================== */
.navbar {
    transition: all var(--transition-normal);
    padding: 1rem 0;
}

.navbar.scrolled {
    background-color: var(--white) !important;
    box-shadow: var(--shadow-lg);
    padding: 0.5rem 0;
}

.navbar-brand img {
    height: 50px;
    transition: height var(--transition-normal);
}

.navbar.scrolled .navbar-brand img {
    height: 40px;
}

.navbar-transparent {
    background-color: transparent !important;
    position: absolute;
    width: 100%;
    z-index: 1000;
}

.navbar-transparent .nav-link {
    color: var(--white) !important;
    font-weight: 500;
    padding: 0.5rem 1rem;
    position: relative;
}

.navbar-transparent .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent-teal);
    transition: all var(--transition-normal);
    transform: translateX(-50%);
}

.navbar-transparent .nav-link:hover::after {
    width: 80%;
}

.navbar.scrolled .nav-link {
    color: var(--primary-navy) !important;
}

.navbar .btn-primary {
    background: linear-gradient(135deg, var(--accent-teal), var(--accent-green));
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: var(--radius-full);
    font-weight: 600;
}

.navbar .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* ========================================
   Hero Section
======================================== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-carousel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-carousel .carousel-item {
    height: 100vh;
}

.hero-carousel .carousel-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(26, 58, 92, 0.9) 0%,
        rgba(45, 138, 138, 0.7) 100%
    );
    z-index: 1;
}

.hero-carousel .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding-top: 80px;
}

.hero-content h1 {
    font-size: 3.5rem;
    color: var(--white);
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, var(--accent-teal), var(--accent-green));
    color: var(--white);
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 1.125rem;
    transition: all var(--transition-normal);
    border: none;
    cursor: pointer;
}

.hero-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(45, 138, 138, 0.4);
    color: var(--white);
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* ========================================
   About Section
======================================== */
.about-section {
    background-color: var(--off-white);
}

.about-image-wrapper {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.about-image-wrapper::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 4px solid var(--accent-teal);
    border-radius: var(--radius-xl);
    z-index: -1;
}

.about-image-wrapper img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.about-content h2 {
    font-size: 2.25rem;
    margin-bottom: 1.5rem;
}

.about-content p {
    margin-bottom: 1rem;
    color: var(--gray-600);
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.feature-list li {
    padding: 0.5rem 0;
    padding-left: 2rem;
    position: relative;
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-green);
    font-weight: bold;
}

/* ========================================
   Stats Section
======================================== */
.stats-section {
    background: linear-gradient(135deg, var(--primary-navy), var(--primary-navy-light));
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
}

.stat-item {
    text-align: center;
    padding: 2rem;
    position: relative;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    display: block;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--white), var(--accent-teal-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 1.125rem;
    opacity: 0.9;
}

/* ========================================
   Board Members Section
======================================== */
.board-section {
    background-color: var(--off-white);
}

.board-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    height: 100%;
}

.board-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.board-card-image {
    height: 280px;
    overflow: hidden;
    position: relative;
}

.board-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.board-card:hover .board-card-image img {
    transform: scale(1.1);
}

.board-card-image .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(26, 58, 92, 0.8));
    padding: 1rem;
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.board-card:hover .board-card-image .overlay {
    opacity: 1;
}

.board-card-content {
    padding: 1.5rem;
    text-align: center;
}

.board-card-content h5 {
    margin-bottom: 0.5rem;
    color: var(--primary-navy);
}

.board-card-content .position {
    color: var(--accent-teal);
    font-weight: 500;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ========================================
   News Section
======================================== */
.news-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    height: 100%;
    display: flex;
    flex-direction: column;
}

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

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

.news-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.news-card:hover .news-card-image img {
    transform: scale(1.1);
}

.news-card-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.news-card-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
    color: var(--gray-500);
}

.news-card-meta .category {
    background: var(--primary-navy);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 500;
}

.news-card-content h5 {
    margin-bottom: 0.75rem;
    color: var(--primary-navy);
    line-height: 1.4;
}

.news-card-content p {
    color: var(--gray-600);
    font-size: 0.9375rem;
    flex-grow: 1;
}

.news-card-content .read-more {
    color: var(--accent-teal);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: auto;
}

.news-card-content .read-more:hover {
    gap: 0.75rem;
}

/* ========================================
   Contact Section
======================================== */
.contact-section {
    background: linear-gradient(135deg, var(--off-white), var(--white));
}

.contact-info-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    height: 100%;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-info-item:last-child {
    margin-bottom: 0;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--accent-teal), var(--accent-green));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.contact-info-item h6 {
    margin-bottom: 0.25rem;
    color: var(--primary-navy);
}

.contact-info-item p {
    margin: 0;
    color: var(--gray-600);
}

.contact-form-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.form-control, .form-select {
    padding: 0.875rem 1rem;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.form-control:focus, .form-select:focus {
    border-color: var(--accent-teal);
    box-shadow: 0 0 0 3px rgba(45, 138, 138, 0.1);
}

.form-label {
    font-weight: 500;
    color: var(--gray-700);
    margin-bottom: 0.5rem;
}

/* ========================================
   Buttons
======================================== */
.btn-primary {
    background: linear-gradient(135deg, var(--accent-teal), var(--accent-green));
    border: none;
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: all var(--transition-normal);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, var(--accent-teal-light), var(--accent-green-light));
}

.btn-outline-primary {
    border: 2px solid var(--accent-teal);
    color: var(--accent-teal);
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: all var(--transition-normal);
}

.btn-outline-primary:hover {
    background: var(--accent-teal);
    border-color: var(--accent-teal);
    color: var(--white);
}

/* ========================================
   Footer
======================================== */
.footer {
    background: linear-gradient(135deg, var(--primary-navy), var(--primary-navy-dark));
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer-brand img {
    height: 60px;
    margin-bottom: 1rem;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9375rem;
}

.footer h5 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
    position: relative;
}

.footer h5::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--accent-teal);
    border-radius: var(--radius-full);
}

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

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: all var(--transition-fast);
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 5px;
}

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

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: all var(--transition-fast);
}

.social-links a:hover {
    background: var(--accent-teal);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    margin-top: 3rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
}

/* ========================================
   Scholarship Form
======================================== */
.scholarship-form-container {
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    padding: 3rem;
    margin: 2rem 0;
}

.form-step {
    display: none;
}

.form-step.active {
    display: block;
}

.step-indicator {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
}

.step {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray-400);
    font-weight: 500;
}

.step.active {
    color: var(--accent-teal);
}

.step.completed {
    color: var(--success);
}

.step-number {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-full);
    border: 2px solid currentColor;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.step.active .step-number {
    background: var(--accent-teal);
    border-color: var(--accent-teal);
    color: var(--white);
}

.step.completed .step-number {
    background: var(--success);
    border-color: var(--success);
    color: var(--white);
}

.step-connector {
    width: 60px;
    height: 2px;
    background: var(--gray-300);
    margin: 0 1rem;
}

.step-connector.completed {
    background: var(--success);
}

/* ========================================
   Page Headers
======================================== */
.page-header {
    background: linear-gradient(135deg, var(--primary-navy), var(--primary-navy-light));
    padding: 8rem 0 4rem;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.page-header h1 {
    color: var(--white);
    font-size: 3rem;
    margin-bottom: 1rem;
}

.page-header .breadcrumb {
    background: none;
    padding: 0;
    margin: 0;
}

.page-header .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.7);
}

.page-header .breadcrumb-item.active {
    color: var(--white);
}

.page-header .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.5);
}

/* ========================================
   Alert Styles
======================================== */
.alert {
    border: none;
    border-radius: var(--radius-lg);
    padding: 1rem 1.5rem;
}

.alert-success {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
}

.alert-warning {
    background: rgba(245, 158, 11, 0.1);
    color: var(--warning);
}

.alert-danger {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger);
}

/* ========================================
   Responsive Design
======================================== */
@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .page-header {
        padding: 6rem 0 3rem;
    }
    
    .page-header h1 {
        font-size: 2.25rem;
    }
}

@media (max-width: 768px) {
    .section-padding {
        padding: 3rem 0;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .navbar-transparent {
        background-color: rgba(26, 58, 92, 0.95) !important;
    }
    
    .scholarship-form-container {
        padding: 1.5rem;
    }
    
    .step-connector {
        width: 30px;
    }
    
    .step-label {
        display: none;
    }
}

/* ========================================
   Loading & Animation States
======================================== */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.skeleton {
    background: linear-gradient(90deg, var(--gray-200) 25%, var(--gray-100) 50%, var(--gray-200) 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: var(--radius-md);
}

@keyframes skeleton-loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* ========================================
   CKEditor Content Styles
======================================== */
.ck-content {
    line-height: 1.8;
}

.ck-content h2 {
    font-size: 1.75rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.ck-content h3 {
    font-size: 1.5rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.ck-content p {
    margin-bottom: 1rem;
}

.ck-content ul, .ck-content ol {
    margin-bottom: 1rem;
    padding-left: 2rem;
}

.ck-content img {
    border-radius: var(--radius-lg);
    margin: 1rem 0;
}

.ck-content blockquote {
    border-left: 4px solid var(--accent-teal);
    padding-left: 1.5rem;
    margin: 1.5rem 0;
    font-style: italic;
    color: var(--gray-600);
}

/* =============================================
   NEW PAGES STYLING - RİSAVA
   ============================================= */

/* Brand Text in Navbar */
.brand-text {
    font-size: 1rem;
    color: white;
    font-weight: 700;
    letter-spacing: 0.5px;
    line-height: 1.2;
}

@media (max-width: 991px) {
    .brand-text {
        font-size: 0.8rem;
    }
}

/* Dropdown Menus */
.navbar .dropdown-menu {
    border: none;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    padding: 0.5rem 0;
    min-width: 220px;
}

.navbar .dropdown-item {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.navbar .dropdown-item:hover {
    background: rgba(45, 138, 138, 0.1);
    color: var(--accent-teal);
    padding-left: 1.5rem;
}

.navbar .dropdown-item i {
    width: 20px;
}

/* Icon Box Large */
.icon-box-large {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, var(--primary-navy), var(--accent-teal));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.icon-box-large i {
    font-size: 5rem;
    color: white;
}

/* Mission Cards */
.mission-card {
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    text-align: center;
    transition: transform 0.3s ease;
}

.mission-card:hover {
    transform: translateY(-5px);
}

.mission-card i {
    font-size: 2rem;
    color: var(--accent-teal);
    margin-bottom: 0.5rem;
}

.mission-card h5 {
    color: var(--primary-navy);
    margin-bottom: 0.5rem;
}

/* Principle Cards */
.principle-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    text-align: center;
    height: 100%;
    transition: all 0.3s ease;
}

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

.principle-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--accent-teal), var(--accent-green));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.principle-icon i {
    font-size: 1.8rem;
    color: white;
}

/* Institutional Card */
.institutional-card {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
}

.structure-item {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

.structure-item i {
    font-size: 2rem;
    color: var(--accent-teal);
    margin-bottom: 0.5rem;
}

/* Organ Cards */
.organ-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

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

.organ-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-navy), var(--accent-teal));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.organ-icon i {
    font-size: 1.5rem;
    color: white;
}

.organ-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0;
}

.organ-list li {
    padding: 0.4rem 0;
    color: var(--gray-600);
    font-size: 0.9rem;
}

.organ-list li::before {
    content: "•";
    color: var(--accent-teal);
    margin-right: 0.5rem;
}

/* Commission Cards */
.commission-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    height: 100%;
    transition: all 0.3s ease;
}

.commission-card:hover {
    transform: translateY(-5px);
}

.commission-card i {
    font-size: 2.5rem;
    color: var(--accent-teal);
    margin-bottom: 1rem;
}

/* Organization Chart */
.org-chart {
    text-align: center;
    padding: 2rem;
}

.org-level {
    margin: 1rem 0;
}

.org-box {
    display: inline-block;
    background: white;
    padding: 1.5rem 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    margin: 0.5rem;
}

.org-box.main {
    background: linear-gradient(135deg, var(--primary-navy), var(--accent-teal));
    color: white;
}

.org-box.main i {
    color: white;
}

.org-box i {
    font-size: 1.5rem;
    color: var(--accent-teal);
    display: block;
    margin-bottom: 0.5rem;
}

.org-box.small {
    padding: 1rem 1.5rem;
    font-size: 0.85rem;
}

.org-row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.org-connector {
    width: 2px;
    height: 30px;
    background: var(--accent-teal);
    margin: 0 auto;
}

/* Document Cards */
.document-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    height: 100%;
}

.doc-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #dc3545, #c82333);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.doc-icon i {
    font-size: 1.5rem;
    color: white;
}

/* Activity Icon Box */
.activity-icon-box {
    width: 250px;
    height: 250px;
    background: linear-gradient(135deg, var(--primary-navy), var(--accent-teal));
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    box-shadow: 0 20px 60px rgba(26, 58, 92, 0.3);
}

.activity-icon-box i {
    font-size: 6rem;
    color: white;
}

.activity-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.activity-list li {
    padding: 0.6rem 0;
    font-size: 1rem;
}

.activity-list li i {
    color: var(--accent-green);
    margin-right: 0.75rem;
}

/* Youth Cards */
.youth-image {
    text-align: center;
}

.icon-large {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, var(--accent-teal), var(--accent-green));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.icon-large i {
    font-size: 5rem;
    color: white;
}

.vm-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.vm-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-navy), var(--accent-teal));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.vm-icon i {
    font-size: 1.5rem;
    color: white;
}

.youth-leader-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.leader-avatar {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent-teal), var(--accent-green));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.leader-avatar i {
    font-size: 2rem;
    color: white;
}

.youth-activity-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    height: 100%;
    transition: transform 0.3s ease;
}

.youth-activity-card:hover {
    transform: translateY(-5px);
}

.youth-activity-card .activity-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent-teal), var(--accent-green));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.youth-activity-card .activity-icon i {
    font-size: 1.5rem;
    color: white;
}

.career-box {
    background: linear-gradient(135deg, var(--primary-navy), var(--accent-teal));
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    color: white;
}

.career-box i {
    font-size: 4rem;
    margin-bottom: 1rem;
}

/* Volunteer Cards */
.volunteer-image {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, var(--accent-green), var(--accent-teal));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.volunteer-image i {
    font-size: 5rem;
    color: white;
}

.volunteer-area-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    height: 100%;
    transition: all 0.3s ease;
}

.volunteer-area-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.volunteer-area-card i {
    font-size: 2.5rem;
    color: var(--accent-teal);
    margin-bottom: 1rem;
}

.volunteer-form-card {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

/* Donation Cards */
.donation-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    text-align: center;
    height: 100%;
    transition: all 0.3s ease;
    position: relative;
}

.donation-card.featured {
    border: 3px solid var(--accent-teal);
}

.donation-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.donation-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--accent-teal), var(--accent-green));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.donation-icon i {
    font-size: 1.8rem;
    color: white;
}

.donation-details {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
    text-align: left;
}

.donation-details li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

.bank-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    height: 100%;
}

.bank-logo {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-navy), var(--accent-teal));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.bank-logo i {
    font-size: 1.5rem;
    color: white;
}

.bank-info {
    text-align: left;
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 10px;
    margin-top: 1rem;
}

.bank-info p {
    margin: 0.5rem 0;
    font-size: 0.9rem;
    word-break: break-all;
}

.donate-note {
    background: #fff3cd;
    padding: 1.5rem;
    border-radius: 15px;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.donate-note i {
    font-size: 1.5rem;
    color: #856404;
}

.impact-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.impact-amount {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-teal);
    margin-bottom: 0.5rem;
}

/* Scholarship Page Styles */
.scholarship-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    position: relative;
    overflow: hidden;
}

.scholarship-card.featured {
    border: 3px solid var(--accent-green);
}

.scholarship-badge {
    position: absolute;
    top: 15px;
    right: -35px;
    background: linear-gradient(135deg, #ffc107, #ff9800);
    color: white;
    padding: 5px 40px;
    font-size: 0.75rem;
    font-weight: 600;
    transform: rotate(45deg);
}

.scholarship-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.scholarship-details {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0;
}

.scholarship-details li {
    padding: 0.6rem 0;
    border-bottom: 1px solid #eee;
}

.scholarship-details li i {
    color: var(--accent-teal);
    margin-right: 0.5rem;
    width: 20px;
}

.info-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    height: 100%;
}

.info-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent-teal), var(--accent-green));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.info-icon i {
    font-size: 1.5rem;
    color: white;
}

.document-list-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    height: 100%;
}

.document-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.document-list li {
    padding: 0.6rem 0;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
}

.document-list li i {
    color: var(--accent-green);
    margin-right: 0.75rem;
    flex-shrink: 0;
}

.document-list.additional li i {
    color: var(--gray-500);
}

.exclusion-card {
    background: #fff5f5;
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid #ffdddd;
}

.exclusion-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.exclusion-list li {
    padding: 0.6rem 0;
    border-bottom: 1px solid #ffdddd;
}

.exclusion-list li i {
    color: #dc3545;
    margin-right: 0.75rem;
}

.priority-card {
    background: #fff9e6;
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid #ffe066;
}

.priority-list {
    padding-left: 1.5rem;
    margin: 0;
}

.priority-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #ffe066;
}

.result-announcement-card {
    background: linear-gradient(135deg, var(--primary-navy), var(--accent-teal));
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    color: white;
}

.announcement-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.social-follow .social-btn {
    display: inline-flex;
    width: 45px;
    height: 45px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    color: white;
    margin: 0 0.5rem;
    transition: all 0.3s ease;
}

.social-follow .social-btn:hover {
    background: white;
    color: var(--primary-navy);
}

/* =============================================
   IMPROVED NAVBAR STYLING
   ============================================= */

/* Navbar Container */
#mainNavbar {
    padding: 1rem 0;
    transition: all 0.3s ease;
}

#mainNavbar.scrolled {
    padding: 0.5rem 0;
    background: rgba(26, 58, 92, 0.98) !important;
    backdrop-filter: blur(10px);
}

/* Brand Area */
.navbar-brand {
    gap: 12px;
}

.navbar-brand img {
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.brand-text {
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    color: white !important;
    line-height: 1.3;
    max-width: 180px;
}

/* Nav Items Container */
.navbar-nav {
    gap: 0.25rem;
}

/* Nav Links */
.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.6rem 1rem !important;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.navbar-nav .nav-link:hover {
    color: white !important;
    background: rgba(255, 255, 255, 0.1);
}

.navbar-nav .nav-link.active {
    color: white !important;
    background: rgba(45, 138, 138, 0.3);
}

/* Dropdown Toggle - Remove default arrow */
.navbar-nav .dropdown-toggle::after {
    display: none !important;
}

/* Custom Dropdown Arrow */
.navbar-nav .dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
}

.navbar-nav .dropdown-toggle::before {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--accent-teal);
    transition: width 0.3s ease;
}

.navbar-nav .dropdown:hover .dropdown-toggle::before {
    width: 70%;
}

/* Dropdown Menu Styling */
.navbar .dropdown-menu {
    border: none;
    border-radius: 12px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
    padding: 0.75rem;
    min-width: 240px;
    background: white;
    margin-top: 10px;
    animation: dropdownFade 0.2s ease;
}

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

/* Dropdown Items */
.navbar .dropdown-item {
    padding: 0.7rem 1rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gray-700);
    border-radius: 8px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.navbar .dropdown-item:hover {
    background: linear-gradient(135deg, rgba(45, 138, 138, 0.1), rgba(74, 124, 63, 0.1));
    color: var(--primary-navy);
    transform: translateX(5px);
    padding-left: 1.2rem;
}

.navbar .dropdown-item i {
    width: 18px;
    text-align: center;
    color: var(--accent-teal);
}

.navbar .dropdown-item.text-primary {
    background: linear-gradient(135deg, rgba(45, 138, 138, 0.15), rgba(74, 124, 63, 0.1));
    border: 1px solid rgba(45, 138, 138, 0.2);
}

/* Dropdown Divider */
.navbar .dropdown-divider {
    margin: 0.5rem 0;
    border-color: rgba(0,0,0,0.08);
}

/* Mobile Responsive */
@media (max-width: 991px) {
    .brand-text {
        font-size: 0.75rem;
        max-width: 150px;
    }
    
    .navbar-collapse {
        background: rgba(26, 58, 92, 0.98);
        margin-top: 1rem;
        padding: 1rem;
        border-radius: 12px;
    }
    
    .navbar-nav .nav-link {
        padding: 0.8rem 1rem !important;
    }
    
    .navbar .dropdown-menu {
        background: rgba(255, 255, 255, 0.1);
        box-shadow: none;
        border-left: 3px solid var(--accent-teal);
        margin-left: 1rem;
        padding: 0.5rem;
    }
    
    .navbar .dropdown-item {
        color: rgba(255, 255, 255, 0.9);
    }
    
    .navbar .dropdown-item:hover {
        background: rgba(255, 255, 255, 0.1);
        color: white;
    }
}

/* Navbar Toggler */
.navbar-toggler {
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    padding: 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Additional Navbar Fine-tuning */
.navbar .dropdown-menu {
    padding: 0.5rem !important;
    border-radius: 12px !important;
}

.navbar .dropdown-item {
    margin: 2px 0;
    border-radius: 8px !important;
}

.navbar .dropdown-item:first-child {
    margin-top: 0;
}

.navbar .dropdown-item:last-child {
    margin-bottom: 0;
}

/* Subtle separator between items */
.navbar .dropdown-item:not(:last-child)::after {
    content: '';
    display: block;
    position: absolute;
    bottom: -2px;
    left: 10%;
    width: 80%;
    height: 1px;
    background: rgba(0,0,0,0.05);
}

/* Make dropdown arrow more subtle */
.navbar-nav > .nav-item > .dropdown-toggle::after {
    content: '▾';
    font-size: 0.65rem;
    margin-left: 5px;
    opacity: 0.7;
    vertical-align: middle;
    border: none !important;
    display: inline-block !important;
}

/* Remove the underline indicator, keep arrow only */
.navbar-nav .dropdown-toggle::before {
    display: none !important;
}

/* Hover effect on dropdown toggle */
.navbar-nav .dropdown:hover > .dropdown-toggle {
    background: rgba(255, 255, 255, 0.15);
}
