/* ============================================
   DOĞRU AKADEMİ - Main Stylesheet
   Modern, Professional, Trust-Building Design
   ============================================ */

/* ---------- CSS Variables / Design Tokens ---------- */
:root {
    --primary: #C41E3A;
    --primary-dark: #9B1830;
    --primary-light: #E8354F;
    --secondary: #0A1628;
    --secondary-light: #1A2A4A;
    --accent: #1E5AAF;
    --accent-light: #2E7ADF;
    --white: #FFFFFF;
    --gray-50: #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;
    --success: #10B981;
    --warning: #F59E0B;
    --danger: #EF4444;
    --whatsapp: #25D366;

    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
    --shadow-2xl: 0 25px 50px -12px rgba(0,0,0,0.25);

    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ---------- Top Bar ---------- */
.top-bar {
    background: linear-gradient(135deg, var(--secondary) 0%, #0D1F3C 100%);
    color: var(--white);
    padding: 0;
    font-size: 0.8rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 36px;
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 0;
}

.top-bar-left a,
.top-bar-left span {
    color: rgba(255,255,255,0.7);
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    transition: var(--transition);
}

.top-bar-left a:hover { color: var(--white); }

.top-bar-left a i,
.top-bar-left span i {
    font-size: 0.7rem;
    color: var(--primary-light);
}

.top-bar-divider {
    width: 1px;
    height: 14px;
    background: rgba(255,255,255,0.15);
    margin: 0 16px;
}

.top-bar-right {
    display: flex;
    align-items: center;
}

.top-bar-social {
    display: flex;
    gap: 4px;
}

.top-bar-social a {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.5);
    font-size: 0.7rem;
    transition: var(--transition);
}

.top-bar-social a:hover {
    color: var(--white);
    background: rgba(255,255,255,0.1);
}

/* ---------- Header Middle (Logo Row) ---------- */
.header-middle {
    background: var(--white);
    padding: 20px 0;
    border-bottom: 1px solid var(--gray-100);
}

.header-middle-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-info-boxes {
    display: flex;
    gap: 32px;
}

.header-info-box {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-left: 32px;
    border-left: 1px solid var(--gray-200);
}

.header-info-box:first-child {
    border-left: none;
    padding-left: 0;
}

.header-info-icon {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(196,30,58,0.08), rgba(196,30,58,0.04));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1rem;
    flex-shrink: 0;
    transition: var(--transition);
}

.header-info-icon.whatsapp-icon {
    background: linear-gradient(135deg, rgba(37,211,102,0.1), rgba(37,211,102,0.04));
    color: var(--whatsapp);
}

.header-info-text {
    display: flex;
    flex-direction: column;
}

.header-info-text span {
    font-size: 0.75rem;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
    line-height: 1;
    margin-bottom: 4px;
}

.header-info-text strong {
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1;
}

.header-info-text strong a {
    color: var(--secondary);
    text-decoration: none;
}

.header-info-text strong a:hover {
    color: var(--primary);
}

/* ---------- Navigation Bar ---------- */
.main-nav {
    background: linear-gradient(135deg, var(--secondary) 0%, #0D1F3C 50%, var(--secondary-light) 100%);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(10, 22, 40, 0.15);
}

.main-nav.scrolled {
    box-shadow: 0 4px 30px rgba(10, 22, 40, 0.25);
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 52px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--secondary);
    text-decoration: none;
}

.logo:hover { color: var(--secondary); }

.logo-img {
    height: 56px;
    width: auto;
    object-fit: contain;
}

.footer-logo-img {
    height: 48px;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2px;
}

.nav-menu a {
    padding: 14px 16px;
    color: rgba(255,255,255,0.8);
    font-weight: 500;
    font-size: 0.9rem;
    position: relative;
    transition: var(--transition);
    border-radius: 0;
    text-decoration: none;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--primary-light);
    border-radius: 3px 3px 0 0;
    transition: width 0.3s ease;
}

.nav-menu a:hover {
    color: var(--white);
    background: rgba(255,255,255,0.06);
}

.nav-menu a:hover::after {
    width: 60%;
}

.nav-menu a.active {
    color: var(--white);
    background: rgba(255,255,255,0.08);
}

.nav-menu a.active::after {
    width: 60%;
    background: var(--primary);
}

.nav-cta {
    background: var(--primary) !important;
    color: var(--white) !important;
    padding: 10px 24px !important;
    border-radius: var(--radius-md) !important;
    font-weight: 600 !important;
    font-size: 0.875rem !important;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(196, 30, 58, 0.3);
}

.nav-cta:hover {
    background: var(--primary-dark) !important;
    color: var(--white) !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(196, 30, 58, 0.4);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--secondary);
    transition: var(--transition);
    border-radius: 2px;
}

/* ---------- Breadcrumb ---------- */
.breadcrumb-section {
    background: var(--gray-50);
    border-bottom: 1px solid var(--gray-200);
    padding: 12px 0;
}

.breadcrumb {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    font-size: 0.8125rem;
    color: var(--gray-500);
}

.breadcrumb li::after {
    content: '/';
    margin-left: 8px;
    color: var(--gray-400);
}

.breadcrumb li:last-child::after { display: none; }
.breadcrumb li:last-child { color: var(--primary); font-weight: 500; }
.breadcrumb a { color: var(--gray-500); }
.breadcrumb a:hover { color: var(--primary); }

/* ---------- Hero Section ---------- */
.hero {
    position: relative;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 50%, var(--accent) 100%);
    overflow: hidden;
    /* header-middle ~86px + main-nav ~52px = ~138px */
    --header-total-height: 138px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: url('data:image/svg+xml,<svg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"><circle cx="100" cy="100" r="80" fill="rgba(196,30,58,0.1)"/></svg>') no-repeat center;
    background-size: contain;
    opacity: 0.3;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to top, rgba(255,255,255,0.05), transparent);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    padding: 80px 0;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 50px;
    padding: 8px 20px;
    color: rgba(255,255,255,0.9);
    font-size: 0.8125rem;
    font-weight: 500;
    margin-bottom: 24px;
    animation: fadeInUp 0.6s ease;
}

.hero-badge i { color: var(--primary-light); }

.hero h1 {
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 800;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 20px;
    animation: fadeInUp 0.6s ease 0.1s both;
}

.hero h1 span {
    background: linear-gradient(90deg, var(--primary-light), #FF6B6B);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-text {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.8);
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 580px;
    animation: fadeInUp 0.6s ease 0.2s both;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    animation: fadeInUp 0.6s ease 0.3s both;
}

/* ---------- Stats Section ---------- */
.stats-section {
    position: relative;
    z-index: 10;
    margin-top: -50px;
    padding-bottom: 40px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.stat-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--gray-100);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.stat-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12);
}

.stat-card:hover::before {
    transform: scaleX(1);
}

.stat-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(196, 30, 58, 0.08), rgba(196, 30, 58, 0.04));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: var(--primary);
    font-size: 1.25rem;
    transition: var(--transition);
}

.stat-card:hover .stat-icon {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
    transform: scale(1.1);
}

.stat-number {
    font-size: 2.25rem;
    font-weight: 900;
    color: var(--secondary);
    line-height: 1;
    margin-bottom: 6px;
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* Slider controls */
.hero-slider {
    position: relative;
    width: 100%;
}

.hero-slide {
    display: none;
    width: 100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    position: relative;
    height: calc(100vh - var(--header-total-height));
    min-height: 480px;
    padding: 0;
}

.hero-slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10,22,40,0.82) 0%, rgba(26,42,74,0.7) 50%, rgba(30,90,175,0.6) 100%);
    z-index: 1;
}

.hero-slide .container {
    position: relative;
    z-index: 2;
}

.hero-slide .hero-content {
    position: relative;
    z-index: 2;
}

.hero-slide.active {
    display: flex;
    align-items: center;
    animation: fadeIn 0.8s ease;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.9375rem;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    line-height: 1.4;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(196, 30, 58, 0.3);
}
.btn-primary:hover {
    background: var(--primary-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(196, 30, 58, 0.4);
}

.btn-secondary {
    background: var(--white);
    color: var(--secondary);
    box-shadow: var(--shadow-md);
}
.btn-secondary:hover {
    background: var(--gray-50);
    color: var(--secondary);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.3);
}
.btn-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.6);
    color: var(--white);
}

.btn-whatsapp {
    background: var(--whatsapp);
    color: var(--white);
}
.btn-whatsapp:hover {
    background: #1DA851;
    color: var(--white);
    transform: translateY(-2px);
}

.btn-sm { padding: 10px 20px; font-size: 0.875rem; }
.btn-lg { padding: 16px 36px; font-size: 1rem; }

/* ---------- Section Styling ---------- */
.section {
    padding: 80px 0;
}

.section-alt {
    background: var(--gray-50);
}

.section-dark {
    background: var(--secondary);
    color: var(--white);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 48px;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(196, 30, 58, 0.08);
    color: var(--primary);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.section-header h2 {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 800;
    color: var(--secondary);
    line-height: 1.2;
    margin-bottom: 16px;
}

.section-dark .section-header h2 { color: var(--white); }

.section-header p {
    font-size: 1.05rem;
    color: var(--gray-500);
    line-height: 1.7;
}

.section-dark .section-header p { color: rgba(255,255,255,0.7); }

/* ---------- Service Cards ---------- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 24px;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid var(--gray-100);
    position: relative;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary);
}

.service-card-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 20px;
    transition: var(--transition);
}

.service-card:hover .service-card-icon {
    transform: scale(1.1);
}

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

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

.service-card:hover .service-card-image img {
    transform: scale(1.08);
}

.service-card-body {
    padding: 32px;
}

.service-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 12px;
    line-height: 1.3;
}

.service-card p {
    color: var(--gray-500);
    font-size: 0.9375rem;
    margin-bottom: 20px;
}

.service-card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
}

.service-card-link:hover { gap: 10px; }

/* ---------- Why Us / Features ---------- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 24px;
}

.feature-card {
    text-align: center;
    padding: 40px 24px;
    border-radius: var(--radius-lg);
    background: var(--white);
    border: 1px solid var(--gray-100);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.feature-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(196,30,58,0.1), rgba(196,30,58,0.05));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--primary);
    font-size: 1.75rem;
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
    transform: scale(1.1);
}

.feature-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--gray-500);
}

/* ---------- Region Cards ---------- */
.regions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.region-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px;
    background: var(--white);
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
    text-decoration: none;
}

.region-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
    color: var(--secondary);
}

.region-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(196, 30, 58, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.region-card h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 4px;
}

.region-card p {
    font-size: 0.8125rem;
    color: var(--gray-500);
    margin: 0;
}

/* ---------- Process Steps ---------- */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 24px;
    counter-reset: step;
}

.process-step {
    text-align: center;
    padding: 32px 20px;
    position: relative;
}

.process-step::before {
    counter-increment: step;
    content: counter(step);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
    font-size: 1.25rem;
    font-weight: 800;
    margin: 0 auto 20px;
    box-shadow: 0 4px 14px rgba(196, 30, 58, 0.3);
}

.process-step h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 8px;
}

.process-step p {
    font-size: 0.875rem;
    color: var(--gray-500);
}

/* ---------- FAQ ---------- */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    margin-bottom: 12px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item.active {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    cursor: pointer;
    background: var(--white);
    font-weight: 600;
    color: var(--secondary);
    transition: var(--transition);
    gap: 16px;
}

.faq-question:hover { background: var(--gray-50); }

.faq-question i {
    color: var(--primary);
    transition: var(--transition);
    flex-shrink: 0;
}

.faq-item.active .faq-question i { transform: rotate(180deg); }

.faq-answer {
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    color: var(--gray-600);
    font-size: 0.9375rem;
    line-height: 1.7;
}

.faq-item.active .faq-answer {
    padding: 0 24px 24px;
    max-height: 500px;
}

/* ---------- Testimonials / References ---------- */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 24px;
}

.testimonial-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-100);
    position: relative;
}

.testimonial-card::before {
    content: '\f10d';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 24px;
    right: 24px;
    font-size: 2rem;
    color: rgba(196, 30, 58, 0.1);
}

.testimonial-stars {
    display: flex;
    gap: 2px;
    margin-bottom: 16px;
    color: var(--warning);
    font-size: 0.875rem;
}

.testimonial-text {
    font-size: 0.9375rem;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 1.1rem;
}

.testimonial-info h4 {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--secondary);
}

.testimonial-info span {
    font-size: 0.8125rem;
    color: var(--gray-500);
}

/* ---------- CTA Section ---------- */
.cta-section {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    padding: 64px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
}

.cta-section h2 {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 16px;
}

.cta-section p {
    color: rgba(255,255,255,0.85);
    font-size: 1.05rem;
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

/* ---------- Blog Cards ---------- */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 24px;
}

.blog-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-100);
    transition: var(--transition);
}

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

.blog-card-image {
    height: 220px;
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.3);
    font-size: 3rem;
    overflow: hidden;
}

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

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

.blog-card-body {
    padding: 24px;
}

.blog-card-meta {
    display: flex;
    gap: 16px;
    font-size: 0.8125rem;
    color: var(--gray-400);
    margin-bottom: 12px;
}

.blog-card-meta i { margin-right: 4px; }

.blog-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 10px;
    line-height: 1.4;
}

.blog-card h3 a { color: var(--secondary); }
.blog-card h3 a:hover { color: var(--primary); }

.blog-card p {
    color: var(--gray-500);
    font-size: 0.9rem;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ---------- Contact / Forms ---------- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-info-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px 0;
    border-bottom: 1px solid var(--gray-100);
}

.contact-info-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: rgba(196, 30, 58, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.contact-info-text h4 {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 4px;
}

.contact-info-text p,
.contact-info-text a {
    font-size: 0.9rem;
    color: var(--gray-500);
}

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

.form-group label {
    display: block;
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--gray-700);
    margin-bottom: 6px;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-md);
    font-family: var(--font-primary);
    font-size: 0.9375rem;
    transition: var(--transition);
    background: var(--white);
    color: var(--gray-800);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(196, 30, 58, 0.1);
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

.form-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.8125rem;
    color: var(--gray-600);
}

.form-check input[type="checkbox"] {
    margin-top: 3px;
    accent-color: var(--primary);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* Alert Messages */
.alert {
    padding: 16px 20px;
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    font-size: 0.9375rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert-success {
    background: rgba(16, 185, 129, 0.1);
    color: #065F46;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.alert-danger {
    background: rgba(239, 68, 68, 0.1);
    color: #991B1B;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

/* ---------- Page Header ---------- */
.page-header {
    background: linear-gradient(135deg, var(--secondary), var(--secondary-light));
    padding: 64px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: rgba(196, 30, 58, 0.1);
    border-radius: 50%;
}

.page-header h1 {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 12px;
}

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

/* ---------- Content Styles ---------- */
.content-area {
    max-width: 800px;
    margin: 0 auto;
}

.content-area h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--secondary);
    margin: 32px 0 16px;
}

.content-area h3 {
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--secondary);
    margin: 24px 0 12px;
}

.content-area p {
    margin-bottom: 16px;
    color: var(--gray-600);
}

.content-area ul, .content-area ol {
    margin: 16px 0;
    padding-left: 24px;
}

.content-area li {
    margin-bottom: 8px;
    color: var(--gray-600);
}

/* ---------- Map ---------- */
.map-container {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    height: 400px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* ---------- Blog Detail ---------- */
.blog-detail-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
}

.blog-detail-meta {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 0.875rem;
    color: var(--gray-500);
    margin-bottom: 24px;
}

.blog-detail-meta span { display: flex; align-items: center; gap: 6px; }

.blog-share {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid var(--gray-200);
}

.blog-share span {
    font-weight: 600;
    color: var(--secondary);
    font-size: 0.9rem;
}

.blog-share a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-600);
    transition: var(--transition);
}

.blog-share a:hover {
    background: var(--primary);
    color: var(--white);
}

.blog-sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-widget {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 24px;
    border: 1px solid var(--gray-100);
}

.sidebar-widget h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary);
}

.sidebar-widget ul {
    list-style: none;
}

.sidebar-widget li {
    margin-bottom: 8px;
}

.sidebar-widget li a {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    color: var(--gray-600);
    border-bottom: 1px solid var(--gray-100);
    font-size: 0.9rem;
}

.sidebar-widget li a:hover { color: var(--primary); }

/* ---------- Pagination ---------- */
.pagination-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.pagination {
    display: flex;
    gap: 4px;
    list-style: none;
}

.pagination li a,
.pagination li span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gray-600);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}

.pagination li.active span,
.pagination li a:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

/* ---------- Footer ---------- */
.main-footer {
    background: var(--secondary);
    color: rgba(255,255,255,0.7);
}

.footer-top {
    padding: 64px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.25fr;
    gap: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    color: var(--white);
}

.footer-logo .logo-icon {
    font-size: 1.75rem;
    color: var(--primary-light);
}

.footer-logo .logo-text {
    font-size: 1.15rem;
    color: var(--white);
}

.footer-col h4 {
    color: var(--white);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 32px;
    height: 2px;
    background: var(--primary);
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 10px;
}

.footer-col li a {
    color: rgba(255,255,255,0.65);
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-col li a:hover {
    color: var(--white);
    padding-left: 4px;
}

.footer-col .contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.875rem;
    color: rgba(255,255,255,0.65);
}

.footer-col .contact-list li i {
    color: var(--primary-light);
    margin-top: 4px;
}

.footer-col .contact-list li a {
    color: rgba(255,255,255,0.65);
}

.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 16px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.7);
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary);
    color: var(--white);
}

.footer-seo {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 24px 0;
}

.footer-seo p {
    font-size: 0.8125rem;
    color: rgba(255,255,255,0.4);
    line-height: 1.7;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 20px 0;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 0.8125rem;
}

.footer-bottom a { color: rgba(255,255,255,0.5); }
.footer-bottom a:hover { color: var(--white); }

/* ---------- Mobile Bottom Bar ---------- */
.mobile-bottom-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
    z-index: 999;
    padding: 0;
}

.mobile-bar-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 12px 8px;
    color: var(--gray-600);
    font-size: 0.7rem;
    font-weight: 600;
    text-decoration: none;
    gap: 4px;
    transition: var(--transition);
}

.mobile-bar-item i { font-size: 1.2rem; }

.mobile-bar-item.whatsapp {
    background: var(--whatsapp);
    color: var(--white);
}

.mobile-bar-item:first-child {
    background: var(--primary);
    color: var(--white);
}

.mobile-bar-item:last-child {
    background: var(--accent);
    color: var(--white);
}

/* ---------- WhatsApp Float ---------- */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 60px;
    height: 60px;
    background: var(--whatsapp);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.75rem;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 998;
    transition: var(--transition);
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: var(--white);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}

/* ---------- Animations ---------- */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- Service / Region Detail ---------- */
.service-detail-sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-cta {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: var(--radius-lg);
    padding: 32px;
    text-align: center;
    color: var(--white);
    margin-bottom: 24px;
}

.sidebar-cta h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.sidebar-cta p {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 20px;
}

.sidebar-cta .btn {
    width: 100%;
    justify-content: center;
    margin-bottom: 8px;
}

.sidebar-services {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 24px;
    border: 1px solid var(--gray-100);
}

.sidebar-services h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary);
}

.sidebar-services ul { list-style: none; }

.sidebar-services li {
    margin-bottom: 2px;
}

.sidebar-services li a {
    display: block;
    padding: 10px 14px;
    color: var(--gray-600);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    transition: var(--transition);
}

.sidebar-services li a:hover,
.sidebar-services li a.active {
    background: rgba(196, 30, 58, 0.06);
    color: var(--primary);
    font-weight: 500;
}

/* Two column layout */
.detail-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 40px;
    align-items: start;
}

/* ---------- Importance Section ---------- */
.importance-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.importance-content h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 16px;
}

.importance-content p {
    color: var(--gray-500);
    margin-bottom: 16px;
}

.importance-list {
    list-style: none;
    margin-top: 20px;
}

.importance-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 8px 0;
    color: var(--gray-600);
}

.importance-list li i {
    color: var(--success);
    margin-top: 4px;
}

.importance-visual {
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    border-radius: var(--radius-xl);
    padding: 48px;
    text-align: center;
    color: var(--white);
    min-height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.importance-visual i {
    font-size: 4rem;
    margin-bottom: 24px;
    opacity: 0.8;
}

.importance-visual h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.importance-visual p {
    opacity: 0.8;
    max-width: 300px;
}

/* ---------- Trust Badges ---------- */
.trust-section {
    background: var(--gray-50);
    padding: 40px 0;
    border-top: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
}

.trust-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 48px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--gray-600);
}

.trust-item i {
    font-size: 1.5rem;
    color: var(--primary);
}

.trust-item span {
    font-weight: 600;
    font-size: 0.9rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .header-info-boxes {
        display: none;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .detail-layout {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 768px) {
    .top-bar { display: none; }
    .header-info-boxes { display: none; }

    .header-middle { padding: 12px 0; }

    .mobile-toggle { display: flex; }

    .main-nav { position: relative; }

    .nav-content {
        display: block;
    }

    .nav-cta { display: none !important; }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 16px;
        box-shadow: var(--shadow-lg);
        z-index: 999;
    }

    .nav-menu.open { display: flex; }

    .nav-menu a {
        padding: 12px 16px;
        width: 100%;
        color: var(--gray-700);
        border-radius: var(--radius-sm);
    }

    .nav-menu a::after { display: none; }

    .nav-menu a:hover,
    .nav-menu a.active {
        color: var(--primary);
        background: rgba(196, 30, 58, 0.06);
    }

    .hero { min-height: 500px; }
    .hero-content { padding: 48px 0; }
    .hero-stats { flex-wrap: wrap; gap: 24px; }

    .services-grid,
    .blog-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

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

    .contact-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }

    .footer-grid { grid-template-columns: 1fr; gap: 32px; }

    .mobile-bottom-bar { display: flex; }
    .whatsapp-float { bottom: 80px; right: 16px; width: 52px; height: 52px; font-size: 1.5rem; }

    body { padding-bottom: 64px; }

    .section { padding: 48px 0; }
    .page-header { padding: 40px 0; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 1.75rem; }
    .hero-text { font-size: 0.95rem; }
    .hero-buttons { flex-direction: column; }
    .hero-buttons .btn { width: 100%; justify-content: center; }
    .process-steps { grid-template-columns: 1fr 1fr; }
    .features-grid { grid-template-columns: 1fr; }
}


/* ---------- Test Page ---------- */
/* Registration Form */
.test-reg-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 32px 36px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.06);
    text-align: center;
}

.test-reg-header {
    margin-bottom: 20px;
}

.test-reg-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(196,30,58,0.1), rgba(196,30,58,0.04));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    font-size: 1.35rem;
    color: var(--primary);
}

.test-reg-header h2 {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 4px;
}

.test-reg-header p {
    color: var(--gray-500);
    font-size: 0.85rem;
    max-width: 450px;
    margin: 0 auto;
}

.test-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    text-align: left;
    margin-bottom: 14px;
}

.test-form-group.full-width {
    grid-column: 1 / -1;
}

.test-form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 6px;
}

.test-form-group label i {
    color: var(--primary);
    margin-right: 4px;
    font-size: 0.8rem;
}

.test-form-group label span {
    color: var(--primary);
}

.test-form-group input {
    width: 100%;
    padding: 10px 14px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    color: var(--secondary);
    transition: border-color 0.2s ease;
    background: var(--gray-50);
}

.test-form-group input:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(196,30,58,0.08);
}

.test-form-group input::placeholder {
    color: var(--gray-400);
}

.test-kvkk {
    margin-bottom: 16px;
    text-align: left;
}

.test-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-size: 0.85rem;
    color: var(--gray-600);
    line-height: 1.5;
}

.test-checkbox input[type="checkbox"] {
    display: none;
}

.test-checkbox .checkmark {
    width: 22px;
    height: 22px;
    border: 2px solid var(--gray-300);
    border-radius: 6px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    margin-top: 1px;
}

.test-checkbox input[type="checkbox"]:checked + .checkmark {
    background: var(--primary);
    border-color: var(--primary);
}

.test-checkbox input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 700;
}

.test-checkbox .checkbox-text a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: underline;
}

.test-checkbox .checkbox-text span {
    color: var(--primary);
}

.test-start-btn {
    width: 100%;
    justify-content: center;
    padding: 14px !important;
    font-size: 1rem !important;
    border-radius: 12px !important;
    margin-bottom: 16px;
}

.test-reg-features {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.test-reg-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--gray-500);
    font-weight: 500;
}

.test-reg-feature i {
    color: var(--primary);
    font-size: 0.9rem;
}

.test-result-user {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--gray-500);
    margin-bottom: 16px;
}

@media (max-width: 768px) {
    .test-reg-card {
        padding: 32px 20px;
    }
    .test-form-grid {
        grid-template-columns: 1fr;
    }
    .test-reg-header h2 {
        font-size: 1.4rem;
    }
}

.test-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.test-header-bar {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 16px 24px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
}

.test-header-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.test-header-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--gray-500);
}

.test-header-item i { color: var(--primary); }
.test-header-item strong { color: var(--secondary); }

.test-progress {
    height: 6px;
    background: var(--gray-100);
    border-radius: 6px;
    overflow: hidden;
}

.test-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    border-radius: 6px;
    transition: width 0.4s ease;
}

.test-question-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 32px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
    animation: fadeInUp 0.4s ease;
}

.test-question-card.compact { padding: 24px; animation: none; }

.test-question-number {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 16px;
    white-space: nowrap;
}

.test-question-text {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--secondary);
    line-height: 1.6;
    margin-bottom: 24px;
}

.test-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.test-option {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.2s ease;
    background: var(--white);
}

.test-option:hover {
    border-color: var(--primary);
    background: rgba(196, 30, 58, 0.03);
    transform: translateX(4px);
}

.test-option.correct {
    border-color: #10b981;
    background: rgba(16, 185, 129, 0.06);
    cursor: default;
}

.test-option.correct:hover { transform: none; }

.test-option.wrong {
    border-color: #ef4444;
    background: rgba(239, 68, 68, 0.06);
    cursor: default;
}

.test-option.wrong:hover { transform: none; }

.test-option-letter {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--gray-500);
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.test-option:hover .test-option-letter { background: var(--primary); color: var(--white); }
.test-option.correct .test-option-letter { background: #10b981; color: var(--white); }
.test-option.wrong .test-option-letter { background: #ef4444; color: var(--white); }

.test-option-text {
    flex: 1;
    font-size: 0.95rem;
    color: var(--gray-700);
    line-height: 1.5;
}

.test-option-icon { font-size: 1.2rem; flex-shrink: 0; }
.test-option-icon.correct-icon { color: #10b981; }
.test-option-icon.wrong-icon { color: #ef4444; }

.test-feedback {
    margin-top: 16px;
    padding: 12px 18px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.correct-feedback {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.25);
    color: #059669;
}

.wrong-feedback {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.25);
    color: #dc2626;
}

.test-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 8px;
}

.test-nav-dots {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
    flex: 1;
}

.test-dot {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid var(--gray-200);
    background: var(--white);
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--gray-400);
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.test-dot:hover { border-color: var(--primary); color: var(--primary); }
.test-dot.active { border-color: var(--primary); background: var(--primary); color: var(--white); }
.test-dot.correct { border-color: #10b981; background: #10b981; color: var(--white); }
.test-dot.wrong { border-color: #ef4444; background: #ef4444; color: var(--white); }

/* Test Results */
.test-result {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.test-result-circle {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    border: 6px solid;
}

.test-result-circle.pass { border-color: #10b981; background: rgba(16, 185, 129, 0.08); }
.test-result-circle.fail { border-color: #ef4444; background: rgba(239, 68, 68, 0.08); }

.test-result-pct {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--secondary);
}

.test-result-badge {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.test-result-badge.pass { color: #059669; }
.test-result-badge.fail { color: #dc2626; }

.test-result-text {
    font-size: 1.1rem;
    color: var(--gray-500);
    margin-bottom: 24px;
}

.test-result-stats {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.result-stat {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.95rem;
}

.correct-stat { background: rgba(16, 185, 129, 0.08); color: #059669; }
.wrong-stat { background: rgba(239, 68, 68, 0.08); color: #dc2626; }
.empty-stat { background: var(--gray-50); color: var(--gray-400); }

.test-result-questions { text-align: left; margin-top: 32px; }

.test-result-actions {
    margin-top: 32px;
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Test Responsive */
@media (max-width: 768px) {
    .test-question-card { padding: 20px 16px; }
    .test-question-text { font-size: 1rem; }
    .test-option { padding: 12px 14px; gap: 10px; }
    .test-option-letter { width: 32px; height: 32px; font-size: 0.75rem; }
    .test-option-text { font-size: 0.85rem; }
    .test-nav-dots { display: none; }
    .test-header-bar { padding: 12px 16px; }
    .test-result-circle { width: 110px; height: 110px; }
    .test-result-pct { font-size: 2rem; }
    .test-result-badge { font-size: 1.25rem; }
    .test-result-stats { gap: 10px; }
    .result-stat { padding: 10px 14px; font-size: 0.85rem; }
}

@media (max-width: 480px) {
    .test-nav { flex-wrap: wrap; justify-content: center; }
    .test-nav .btn { flex: 1; min-width: 120px; justify-content: center; }
}

/* ---------- CTA Section ---------- */
.cta-section {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 50%, var(--accent) 100%);
    background-image: url('../images/cta-bg.png');
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 80px 0;
    text-align: center;
    color: var(--white);
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10,22,40,0.88), rgba(26,42,74,0.82), rgba(30,90,175,0.75));
}

.cta-section .container {
    position: relative;
    z-index: 2;
}

.cta-section h2 {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 16px;
}

.cta-section p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.85);
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}

/* ---------- Blog Card Image ---------- */
.blog-card-image {
    height: 220px;
    overflow: hidden;
    position: relative;
    background: var(--gray-100);
}

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

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

.blog-card-image i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    color: var(--gray-300);
}

/* ---------- About Page Image ---------- */
.about-image-section {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

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

/* ---------- Test Page Styles ---------- */
.test-container {
    max-width: 800px;
    margin: 0 auto;
}

.test-header {
    text-align: center;
    margin-bottom: 40px;
}

.test-progress {
    background: var(--gray-200);
    border-radius: 50px;
    height: 12px;
    margin-bottom: 32px;
    overflow: hidden;
}

.test-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    border-radius: 50px;
    transition: width 0.5s ease;
}

.test-progress-text {
    text-align: center;
    font-size: 0.875rem;
    color: var(--gray-500);
    margin-top: 8px;
    font-weight: 500;
}

.test-question-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 40px;
    margin-bottom: 24px;
    border: 1px solid var(--gray-100);
    animation: fadeInUp 0.4s ease;
}

.test-question-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 16px;
}

.test-question-text {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--secondary);
    line-height: 1.6;
    margin-bottom: 24px;
}

.test-options {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.test-option {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 20px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.95rem;
    color: var(--gray-700);
    line-height: 1.5;
}

.test-option:hover {
    border-color: var(--accent-light);
    background: rgba(30, 90, 175, 0.04);
}

.test-option.selected {
    border-color: var(--accent);
    background: rgba(30, 90, 175, 0.08);
    font-weight: 500;
}

.test-option.correct {
    border-color: var(--success);
    background: rgba(16, 185, 129, 0.08);
    color: #065F46;
}

.test-option.wrong {
    border-color: var(--danger);
    background: rgba(239, 68, 68, 0.08);
    color: #991B1B;
}

.test-option-letter {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--gray-100);
    color: var(--gray-600);
    font-weight: 700;
    font-size: 0.85rem;
    flex-shrink: 0;
    transition: var(--transition);
}

.test-option.selected .test-option-letter {
    background: var(--accent);
    color: var(--white);
}

.test-option.correct .test-option-letter {
    background: var(--success);
    color: var(--white);
}

.test-option.wrong .test-option-letter {
    background: var(--danger);
    color: var(--white);
}

.test-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 32px;
    flex-wrap: wrap;
    gap: 12px;
}

.test-result {
    text-align: center;
    padding: 48px 32px;
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--gray-100);
}

.test-result-score {
    font-size: 4rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.test-result-text {
    font-size: 1.25rem;
    color: var(--secondary);
    font-weight: 600;
    margin-bottom: 8px;
}

.test-result-detail {
    color: var(--gray-500);
    font-size: 1rem;
    margin-bottom: 32px;
}

.test-result-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 24px;
}

.test-result-badge.pass {
    background: rgba(16, 185, 129, 0.1);
    color: #065F46;
}

.test-result-badge.fail {
    background: rgba(239, 68, 68, 0.1);
    color: #991B1B;
}

@media (max-width: 768px) {
    .test-question-card {
        padding: 24px 20px;
    }
    .test-option {
        padding: 14px 16px;
        font-size: 0.9rem;
    }
    .test-question-text {
        font-size: 1rem;
    }
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    .cta-buttons .btn {
        width: 100%;
        max-width: 320px;
        justify-content: center;
    }
}
