
    :root {
      --primary: #1A4FD8;
      --primary-dark: #1E3A8A;
      --secondary: #0B1D3A;
      --text: #374151;
      --text-light: #6B7280;
      --bg-gray: #F9FAFB;
      --border: #E5E7EB;
      --white: #FFFFFF;
      --radius: 8px;
      --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    }
    
    * { margin: 0; padding: 0; box-sizing: border-box; }
    body { font-family: 'Inter', sans-serif; color: var(--text); line-height: 1.6; }
    a { text-decoration: none; color: inherit; }
    ul { list-style: none; }
    
    .container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
    .text-center { text-align: center; }
    .text-blue { color: var(--primary); }
    .bg-gray { background-color: var(--bg-gray); }
    .section { padding: 80px 0; }
    
    /* Typography */
    h1, h2, h3, h4 { color: var(--secondary); font-weight: 700; line-height: 1.2; }
    .section-title { margin-bottom: 40px; }
    .section-title h2 { font-size: 32px; margin-bottom: 10px; }
    .section-title p { color: var(--text-light); }
    .eyebrow { text-transform: uppercase; color: var(--primary); font-weight: 700; font-size: 14px; letter-spacing: 1px; display: block; margin-bottom: 10px;}
    
    /* Buttons */
    .btn { display: inline-flex; align-items: center; justify-content: center; padding: 12px 24px; border-radius: var(--radius); font-weight: 600; transition: all 0.2s; cursor: pointer; border: none;}
    .btn-primary { background: var(--primary); color: var(--white); }
    .btn-primary:hover { background: var(--primary-dark); }
    .btn-outline { background: transparent; border: 2px solid var(--border); color: var(--secondary); }
    .btn-outline:hover { border-color: var(--secondary); }
    .btn-whatsapp { background: #25D366; color: white; gap: 8px; }
    .btn-whatsapp:hover { background: #20BA56; }
    
    /* Navbar */
    .navbar { background: var(--white); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 1000; }
    .nav-container { display: flex; justify-content: space-between; align-items: center; height: 80px; }
    .nav-brand { display: flex; align-items: center; gap: 12px; }
    .nav-brand img { width: 50px; border-radius: 50%; }
    .brand-text strong { display: block; color: var(--secondary); font-size: 16px; }
    .brand-text span { font-size: 12px; color: var(--text-light); }
    .nav-menu { display: flex; gap: 24px; }
    .nav-link { font-weight: 500; font-size: 15px; color: var(--text-light); transition: color 0.2s; }
    .nav-link:hover, .nav-link.active { color: var(--primary); }
    .hamburger { display: none; font-size: 24px; cursor: pointer; color: var(--secondary); }
    
    /* Hero */
    .hero { background: var(--bg-gray); padding: 80px 0; overflow: hidden; }
    .hero-container { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
    .hero-content h1 { font-size: 48px; margin-bottom: 20px; }
    .hero-content p { font-size: 18px; color: var(--text-light); margin-bottom: 30px; }
    .hero-btns { display: flex; gap: 16px; }
    .hero-image { position: relative; }
    .hero-image img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }
    .hero-badge { position: absolute; bottom: -20px; left: -20px; background: var(--white); padding: 15px 20px; border-radius: var(--radius); box-shadow: var(--shadow); display: flex; align-items: center; gap: 15px; }
    .hero-badge i { font-size: 30px; color: var(--primary); }
    .hero-badge strong { display: block; font-size: 20px; color: var(--secondary); line-height: 1; }
    .hero-badge span { font-size: 13px; color: var(--text-light); }
    
    /* Grids */
    .grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
    .grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
    .align-center { align-items: center; }
    
    /* Feature Cards */
    .feature-card { background: var(--white); border: 1px solid var(--border); padding: 30px; border-radius: var(--radius); transition: transform 0.2s, box-shadow 0.2s; }
    .feature-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
    .icon-box { width: 50px; height: 50px; background: #EEF2FF; color: var(--primary); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; font-size: 20px; margin-bottom: 20px; }
    
    /* Page Headers */
    .page-header { background: var(--secondary); color: var(--white); padding: 60px 0; }
    .page-header h1 { color: var(--white); margin-bottom: 10px; font-size: 36px; }
    .page-header p { opacity: 0.8; }
    
    /* Classes */
    .class-card { background: var(--white); border: 1px solid var(--border); padding: 30px; border-radius: var(--radius); text-align: center; }
    .class-letter { font-size: 40px; font-weight: 800; color: var(--primary); margin-bottom: 10px; }
    .class-card hr { border: none; border-top: 1px solid var(--border); margin: 20px 0; }
    .class-reqs { text-align: left; font-size: 14px; color: var(--text-light); }
    .class-reqs li { margin-bottom: 8px; display: flex; gap: 10px; align-items: center; }
    .class-reqs i { color: var(--secondary); width: 16px; }
    
    /* Gallery */
    .gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .gallery-item { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; }
    .gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
    .gallery-item:hover img { transform: scale(1.05); }
    
    /* Signs */
    .signs-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 15px; }
    .sign-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 15px; text-align: center; transition: all 0.2s; }
    .sign-card:hover { box-shadow: var(--shadow); border-color: var(--primary); }
    .sign-img-wrapper { height: 80px; display: flex; align-items: center; justify-content: center; margin-bottom: 10px; }
    .sign-img-wrapper img { max-height: 100%; max-width: 100%; object-fit: contain; }
    .sign-name { font-size: 12px; font-weight: 600; color: var(--secondary); }
    
    /* Quiz */
    .quiz-container { max-width: 600px; margin: 0 auto; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
    .quiz-header { background: var(--secondary); color: white; padding: 15px 20px; display: flex; justify-content: space-between; align-items: center; }
    .quiz-body { padding: 30px 20px; }
    .quiz-image-box { height: 150px; display: flex; justify-content: center; margin-bottom: 20px; }
    .quiz-image-box img { max-height: 100%; object-fit: contain; }
    .quiz-options { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }
    .quiz-btn { padding: 12px 20px; border: 1px solid var(--border); background: var(--bg-gray); border-radius: var(--radius); text-align: left; cursor: pointer; transition: 0.2s; font-size: 15px; }
    .quiz-btn:hover { background: #EEF2FF; border-color: var(--primary); }
    .quiz-btn.correct { background: #D1FAE5; border-color: #10B981; color: #065F46; }
    .quiz-btn.wrong { background: #FEE2E2; border-color: #EF4444; color: #991B1B; }
    .quiz-result { padding: 40px 20px; text-align: center; }
    .quiz-result h2 { font-size: 48px; color: var(--primary); margin-bottom: 10px; }
    
    /* FAQ */
    .faq-container { max-width: 700px; margin: 0 auto; }
    .faq-item { border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 15px; background: var(--white); overflow: hidden; }
    .faq-q { padding: 20px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; margin:0;}
    .faq-a { padding: 0 20px; max-height: 0; overflow: hidden; transition: max-height 0.3s ease; color: var(--text-light); }
    .faq-item.active .faq-a { max-height: 200px; padding-bottom: 20px; }
    .faq-item.active .faq-q i { transform: rotate(180deg); }
    
    /* Footer & Floating */
    .footer { background: var(--secondary); color: var(--white); padding-top: 60px; }
    .footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
    .footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; }
    .footer-brand img { width: 40px; border-radius: 50%; }
    .footer p { color: #9CA3AF; font-size: 14px; }
    .social-links { display: flex; gap: 15px; margin-top: 20px; }
    .social-links a { color: var(--white); font-size: 20px; transition: color 0.2s; }
    .social-links a:hover { color: var(--primary); }
    .footer h4 { color: var(--white); margin-bottom: 20px; }
    .footer ul li { margin-bottom: 10px; font-size: 14px; color: #9CA3AF; display:flex; gap:10px; align-items:center; }
    .footer ul li a { transition: color 0.2s; }
    .footer ul li a:hover { color: var(--white); }
    .footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 20px 0; text-align: center; color: #9CA3AF; font-size: 13px; }
    
    .floating-wa { position: fixed; bottom: 30px; right: 30px; width: 60px; height: 60px; background: #25D366; color: white; border-radius: 50%; display: flex; justify-content: center; align-items: center; font-size: 30px; box-shadow: var(--shadow); z-index: 999; transition: transform 0.2s; }
    .floating-wa:hover { transform: scale(1.1); }
    
    @media (max-width: 768px) {
      .nav-menu, .nav-wa { display: none; }
      .hamburger { display: block; }
      .hero-container, .grid-2, .grid-3, .footer-grid { grid-template-columns: 1fr; }
      .hero-content h1 { font-size: 36px; }
      .hero { padding: 40px 0; text-align: center; }
      .hero-btns { justify-content: center; }
      .gallery-grid { grid-template-columns: 1fr; }
    }
    
    /* Smaller hero image */
    .hero-image img {
        max-width: 380px; /* Görseli küçülttüm */
        width: 100%;
        border-radius: var(--radius);
        box-shadow: var(--shadow);
        position: relative;
        z-index: 2;
    }
    
    /* Hero animations & background */
    .hero {
        position: relative;
        background: var(--secondary); /* Dark navy */
        color: white;
        padding: 100px 0;
        overflow: hidden;
    }
    .hero-content h1, .hero-content p, .hero-content .eyebrow {
        color: white;
    }
    .hero-content h1 span {
        color: #60A5FA; /* Lighter blue for dark bg */
    }
    
    /* Bubbles/Particles */
    .hero-particles {
        position: absolute;
        top: 0; left: 0; width: 100%; height: 100%;
        overflow: hidden;
        z-index: 0;
    }
    .particle {
        position: absolute;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 50%;
        animation: floatUp 15s infinite linear;
    }
    .particle.p1 { width: 80px; height: 80px; left: 10%; bottom: -80px; animation-duration: 25s; }
    .particle.p2 { width: 40px; height: 40px; left: 25%; bottom: -40px; animation-duration: 20s; animation-delay: 2s; }
    .particle.p3 { width: 120px; height: 120px; left: 55%; bottom: -120px; animation-duration: 30s; animation-delay: 5s; }
    .particle.p4 { width: 60px; height: 60px; left: 80%; bottom: -60px; animation-duration: 22s; animation-delay: 1s; }
    .particle.p5 { width: 30px; height: 30px; left: 95%; bottom: -30px; animation-duration: 18s; animation-delay: 4s; }
    
    @keyframes floatUp {
        0% { transform: translateY(0) rotate(0deg); opacity: 1; }
        100% { transform: translateY(-1000px) rotate(360deg); opacity: 0; }
    }
    
    /* Road Animation */
    .hero-road {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 60px;
        background: #111;
        z-index: 1;
        border-top: 2px solid #333;
    }
    .hero-road::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 0;
        width: 100%;
        height: 4px;
        background-image: linear-gradient(90deg, #FACC15 50%, transparent 50%);
        background-size: 60px 100%;
        animation: roadMove 1s linear infinite;
    }
    @keyframes roadMove {
        from { background-position: 0 0; }
        to { background-position: -60px 0; }
    }
    
    /* Smaller hero image */
    .hero-image img {
        max-width: 320px;
        width: 100%;
        border-radius: var(--radius);
        box-shadow: var(--shadow);
        position: relative;
        z-index: 2;
    }
    
    /* Fixed Hero Badge Positioning */
    .hero-image { position: relative; display: inline-block; }
    .hero-badge {
        position: absolute;
        bottom: 20px;
        left: -40px;
        z-index: 10;
    }

    /* Fixed Outline Button visibility on Dark BG */
    .hero-btn-outline {
        border-color: rgba(255, 255, 255, 0.7) !important;
        color: white !important;
    }
    .hero-btn-outline:hover {
        background: white !important;
        color: var(--secondary) !important;
    }
    
    /* Hero animations & background */
    .hero {
        position: relative;
        background: var(--secondary);
        color: white;
        padding: 100px 0;
        overflow: hidden;
    }
    .hero-content h1, .hero-content p, .hero-content .eyebrow { color: white; }
    .hero-content h1 span { color: #60A5FA; }
    
    .hero-particles {
        position: absolute; top: 0; left: 0; width: 100%; height: 100%;
        overflow: hidden; z-index: 0;
    }
    .particle {
        position: absolute; background: rgba(255, 255, 255, 0.08); border-radius: 50%;
        animation: floatUp 15s infinite linear;
    }
    .particle.p1 { width: 80px; height: 80px; left: 10%; bottom: -80px; animation-duration: 25s; }
    .particle.p2 { width: 40px; height: 40px; left: 25%; bottom: -40px; animation-duration: 20s; animation-delay: 2s; }
    .particle.p3 { width: 120px; height: 120px; left: 55%; bottom: -120px; animation-duration: 30s; animation-delay: 5s; }
    .particle.p4 { width: 60px; height: 60px; left: 80%; bottom: -60px; animation-duration: 22s; animation-delay: 1s; }
    .particle.p5 { width: 30px; height: 30px; left: 95%; bottom: -30px; animation-duration: 18s; animation-delay: 4s; }
    
    @keyframes floatUp {
        0% { transform: translateY(0) rotate(0deg); opacity: 1; }
        100% { transform: translateY(-1000px) rotate(360deg); opacity: 0; }
    }
    
    .hero-road {
        position: absolute; bottom: 0; left: 0; width: 100%; height: 60px;
        background: #111; z-index: 1; border-top: 2px solid #333;
    }
    .hero-road::after {
        content: ''; position: absolute; top: 50%; left: 0; width: 100%; height: 4px;
        background-image: linear-gradient(90deg, #FACC15 50%, transparent 50%);
        background-size: 60px 100%; animation: roadMove 1s linear infinite;
    }
    @keyframes roadMove { from { background-position: 0 0; } to { background-position: -60px 0; } }

    /* Shrink Hakkımızda images */
    .image-stack .img-main {
        max-width: 280px; 
        border-radius: var(--radius);
        box-shadow: var(--shadow);
    }
    .image-stack .img-sub {
        max-width: 220px;
        border-radius: var(--radius);
        box-shadow: var(--shadow);
        position: absolute;
        bottom: -30px;
        right: 0;
        border: 4px solid white;
    }

    /* Ehliyet siniflari box graphics */
    .has-graphic {
        position: relative;
        overflow: hidden;
    }
    .vehicle-graphic {
        position: absolute;
        top: -10px;
        right: -10px;
        font-size: 100px;
        color: #F1F5F9;
        z-index: 0;
        transform: rotate(-10deg);
        opacity: 0.6;
    }
    .class-card h3, .class-card .class-letter, .class-card p, .class-card ul {
        position: relative;
        z-index: 2;
    }

    /* Levhalar Tabs CSS */
    .tabs-header {
        display: flex;
        justify-content: center;
        gap: 15px;
        margin-bottom: 40px;
    }
    .tab-btn {
        padding: 12px 24px;
        background: var(--white);
        border: 1px solid var(--border);
        border-radius: 30px;
        font-size: 16px;
        font-weight: 600;
        color: var(--text-light);
        cursor: pointer;
        transition: 0.3s;
    }
    .tab-btn.active, .tab-btn:hover {
        background: var(--primary);
        color: white;
        border-color: var(--primary);
    }
    
    /* Shrink Gallery Images */
    .gallery-grid.compact {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 15px;
    }
    
    /* Fixed Real Background Images for Ehliyet Siniflari */
    .class-card.has-real-img {
        position: relative;
        overflow: hidden;
        color: white;
        padding: 30px;
        text-align: left;
    }
    .class-card.has-real-img .class-bg {
        position: absolute; top: 0; left: 0; width: 100%; height: 100%;
        object-fit: cover; z-index: 0;
        filter: brightness(0.35);
        transition: transform 0.4s ease, filter 0.4s ease;
    }
    .class-card.has-real-img:hover .class-bg {
        transform: scale(1.08);
        filter: brightness(0.25);
    }
    .class-card.has-real-img .class-content {
        position: relative; z-index: 2;
    }
    .class-card.has-real-img h3 { color: white; margin-bottom: 10px; font-size: 24px; }
    .class-card.has-real-img .class-letter { font-size: 48px; color: #60A5FA; font-weight: 800; line-height: 1; margin-bottom: 15px;}
    .class-card.has-real-img .text-sm { color: #E2E8F0; }
    .class-card.has-real-img hr { border-color: rgba(255,255,255,0.2); }
    .class-card.has-real-img .class-reqs { color: #F8FAFC; }
    .class-card.has-real-img .class-reqs i { color: #60A5FA; width: 24px; }
    
    /* Lightbox (Album) CSS */
    .lightbox {
        display: none; position: fixed; z-index: 99999; left: 0; top: 0; width: 100%; height: 100%;
        background-color: rgba(11, 29, 58, 0.95); /* navy dark with opacity */
        align-items: center; justify-content: center; flex-direction: column;
    }
    .lightbox-content {
        max-width: 90%; max-height: 85vh; border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,0.5);
        animation: zoomIn 0.3s ease;
    }
    .close-lightbox {
        position: absolute; top: 20px; right: 40px; color: white; font-size: 50px; font-weight: 300;
        cursor: pointer; transition: 0.2s;
    }
    .close-lightbox:hover { color: #60A5FA; }
    @keyframes zoomIn { from {transform: scale(0.9); opacity: 0;} to {transform: scale(1); opacity: 1;} }
    
/* --- MOBILE RESPONSIVE FIXES --- */
@media (max-width: 992px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: white;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 50px;
        gap: 30px;
        transition: 0.4s ease-in-out;
        z-index: 999;
        box-shadow: 0 10px 15px rgba(0,0,0,0.1);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hamburger {
        display: block !important;
        font-size: 28px;
        cursor: pointer;
        color: var(--secondary);
    }
    
    .nav-wa { display: none; } /* Hide quick WA button in header on mobile to save space */
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .hero-btns {
        justify-content: center;
        flex-direction: column;
        gap: 15px;
    }
    
    .hero-btns .btn {
        width: 100%;
    }
    
    .hero-image {
        margin: 0 auto;
    }
    
    /* Fix Badge on mobile */
    .hero-badge {
        left: 10px;
        bottom: -15px;
        transform: scale(0.85);
    }
    
    .image-stack .img-sub {
        right: auto;
        left: 10px;
        bottom: -20px;
        max-width: 160px;
    }
    
    .grid-2, .grid-3 {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .gallery-grid.compact {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-list.large li {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
}
@media (max-width: 480px) {
    .hero-content h1 { font-size: 32px; }
    .gallery-grid.compact { grid-template-columns: 1fr; }
    .tabs-header { flex-direction: column; }
    .tabs-header .tab-btn { width: 100%; }
}

/* Z-Index Fix for Hamburger */
.hamburger {
    position: relative;
    z-index: 10000 !important;
}
.navbar {
    position: relative;
    z-index: 9999;
}

/* Force menu visibility override */
@media (max-width: 992px) {
    .nav-menu {
        display: flex !important;
    }
    .nav-menu.active {
        display: flex !important;
    }
}

/* Super strong mobile menu overrides */
@media (max-width: 992px) {
    .nav-menu.active {
        left: 0 !important;
        display: flex !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
}
