/* =============================================
   GLOBAL VARIABLES & RESET
============================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #e63946;
    --primary-dark: #c1121f;
    --primary-light: #ff6b6b;
    --secondary: #1d3557;
    --accent: #f4a261;
    --light-bg: #f8f9fa;
    --dark-bg: #0a192f;
    --light-card: #ffffff;
    --dark-card: #112240;
    --light-text: #2d3e50;
    --dark-text: #e2e8f0;
    --light-heading: #0a192f;
    --dark-heading: #f1f5f9;
    --border-light: #e2e8f0;
    --border-dark: #334155;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 8px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 35px -8px rgba(0, 0, 0, 0.15);
    --shadow-hover: 0 25px 35px -12px rgba(0, 0, 0, 0.25);
    --transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);

    --cookie-bg: #ffffff;
    --cookie-text: #111827;
    --cookie-border: #e5e7eb;

    --cookie-btn: #111827;
    --cookie-btn-text: #ffffff;

    --cookie-secondary: #f3f4f6;

    --cookie-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

body {
    font-family: "Inter", sans-serif;
    background-color: var(--light-bg);
    color: var(--light-text);
    line-height: 1.6;
    transition:
        background-color 0.3s,
        color 0.3s;
    overflow-x: hidden;
}

body.dark-mode {
    background-color: var(--dark-bg);
    color: var(--dark-text);

    --cookie-bg: #111827;

    --cookie-text: #f9fafb;

    --cookie-border: #374151;

    --cookie-btn: #ffffff;

    --cookie-btn-text: #111827;

    --cookie-secondary: #1f2937;

    --cookie-shadow: 0 10px 40px rgba(0, 0, 0, 0.45);
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* =============================================
   STICKY NAVBAR
============================================= */
.sticky-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    transition: all 0.3s ease;
    backdrop-filter: blur(0px);
    border-bottom: none;
}

.sticky-nav.scrolled {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: var(--shadow-sm);
}

body.dark-mode .sticky-nav.scrolled {
    background: rgba(10, 25, 47, 0.96);
    border-bottom-color: rgba(35, 53, 84, 0.8);
}


.sticky-nav:not(.scrolled) .nav-links a,
.sticky-nav:not(.scrolled) .lang-trigger,
.sticky-nav:not(.scrolled) .theme-toggle,
.sticky-nav:not(.scrolled) .mobile-menu-btn {
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}


.sticky-nav.scrolled .nav-links a,
.sticky-nav.scrolled .lang-trigger,
.sticky-nav.scrolled .theme-toggle,
.sticky-nav.scrolled .mobile-menu-btn {
    color: var(--light-heading);
}

body.dark-mode .sticky-nav.scrolled .nav-links a,
body.dark-mode .sticky-nav.scrolled .lang-trigger,
body.dark-mode .sticky-nav.scrolled .theme-toggle,
body.dark-mode .sticky-nav.scrolled .mobile-menu-btn {
    color: var(--dark-heading);
}

.sticky-nav.scrolled .nav-links a:hover {
    color: var(--primary);
}


.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    height: 64px; 
    width: auto;
    max-width: none; 
    display: block;
    transition: var(--transition);
    image-rendering: crisp-edges;
}

.logo a:hover .logo-img {
    transform: scale(1.02);
}

body.dark-mode .logo-img {
    filter: brightness(0.95) drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}


.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 2rem;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 1.8rem;
}

.nav-links {
    display: flex;
    gap: 1.4rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
    padding: 0.4rem 0;
}

.nav-links a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2.5px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transition: width 0.25s ease;
    border-radius: 2px;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    transform: translateY(-2px);
    color: var(--primary);
}

/* ----- LANG DROPDOWN ----- */
.lang-dropdown {
    position: relative;
}

.lang-trigger {
    background: rgba(37, 99, 235, 0.1);
    border: none;
    font-weight: 600;
    cursor: pointer;
    padding: 0.4rem 1rem;
    border-radius: 2rem;
    transition: var(--transition);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

body.dark-mode .lang-trigger {
    background: rgba(255, 255, 255, 0.15);
    color: var(--dark-heading);
}

body.dark-mode .sticky-nav.scrolled .lang-trigger {
    background: rgba(0, 0, 0, 0.1);
    color: var(--dark-heading);
}

.lang-trigger:hover {
    background: var(--primary);
    color: white !important;
}

.lang-menu {
    position: absolute;
    top: 42px;
    right: 0;
    background: var(--light-card);
    backdrop-filter: blur(12px);
    border-radius: 1rem;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.2s ease;
    z-index: 200;
    min-width: 120px;
    border: 1px solid var(--border-light);
}

body.dark-mode .lang-menu {
    background: var(--dark-card);
    border-color: var(--border-dark);
}

.lang-dropdown:hover .lang-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 0.6rem 1.2rem;
    background: none;
    border: none;
    text-align: left;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    color: var(--light-text);
    text-decoration: none;
}

body.dark-mode .lang-menu a {
    color: var(--dark-text);
}

.lang-menu a:hover {
    background: var(--primary);
    color: white;
}

.flag svg {
    width: 20px;
    height: 14px;
    display: block;
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

/* ----- THEME TOGGLE ----- */
.theme-toggle {
    background: rgba(0, 0, 0, 0.05);
    border: none;
    font-size: 1.1rem;
    cursor: pointer;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

body.dark-mode .theme-toggle {
    background: rgba(255, 255, 255, 0.15);
    color: var(--dark-heading);
}

body.dark-mode .sticky-nav.scrolled .theme-toggle {
    background: rgba(0, 0, 0, 0.1);
    color: var(--dark-heading);
}

.theme-toggle:hover {
    background: var(--primary);
    color: white !important;
    transform: rotate(15deg);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

/* ----- MOBILE BUTTON ----- */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 1001;
}

body.dark-mode .mobile-menu-btn {
    color: var(--dark-heading);
}

/* ----- MOBILE OVERLAY ----- */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100vh;
    background: var(--light-card);
    z-index: 2000;
    transition: left 0.3s ease;
    display: flex;
    flex-direction: column;
    padding: 5rem 2rem;
    box-shadow: var(--shadow-lg);
}

body.dark-mode .mobile-nav-overlay {
    background: var(--dark-card);
}

.mobile-nav-overlay.active {
    left: 0;
}

.close-mobile-menu {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--light-heading);
}

body.dark-mode .close-mobile-menu {
    color: var(--dark-heading);
}

.mobile-nav-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
    margin-top: 2rem;
}

.mobile-nav-links a {
    font-size: 1.3rem;
    font-weight: 600;
    text-decoration: none;
    color: var(--light-heading);
    transition: var(--transition);
}

body.dark-mode .mobile-nav-links a {
    color: var(--dark-heading);
}

.mobile-nav-links a:hover {
    color: var(--primary);
    padding-left: 0.5rem;
}

.mobile-nav-actions {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
    align-items: center;
}

/* =============================================
   BUTTONS & TYPOGRAPHY
============================================= */
.btn {
    display: inline-block;
    padding: 0.85rem 2rem;
    border-radius: 2rem;
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}
.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
}

.section {
    padding: 5rem 0;
}
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}
.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

/* =============================================
   FOOTER
============================================= */

.site-footer {
    background: linear-gradient(135deg, var(--secondary), #0b1120);
    color: #a0aec0;
    padding: 3rem 0 1.5rem;
    margin-top: 3rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.footer-col h3,
.footer-col h4 {
    color: #ffffff;
    margin: 0 0 0.8rem 0;
    line-height: 1.2;
}

.footer-col p {
    margin: 0;
    line-height: 1.4;
}

.social-icons {
    display: flex;
    gap: 8px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.social-icons a {
    display: inline-flex;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;

    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    text-decoration: none;

    transition: 0.2s ease;
}

.social-icons a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-col ul li {
    margin: 0 0 6px 0;
}

.footer-col ul li a {
    color: #a0aec0;
    text-decoration: none;
    transition: 0.2s;
}

.footer-col ul li a:hover {
    color: var(--primary);
    padding-left: 3px;
}

.footer-col a[href^="tel"] {
    color: #a0aec0;
    text-decoration: none;
}

.footer-col a[href^="tel"]:hover {
    color: var(--primary);
}

.footer-bottom {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;

    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);

    font-size: 0.8rem;
    flex-wrap: wrap;
}

.footer-bottom .copyright {
    margin: 0;
    padding: 0;
    line-height: 1;
    white-space: nowrap;
}

.footer-legal {
    display: flex;
    align-items: center;
    gap: 0;
    line-height: 1;
}

.footer-legal a {
    color: #a0aec0;
    text-decoration: none;
    margin: 0;
    padding: 0;
    line-height: 1;
    transition: 0.2s;
}

.footer-legal a:hover {
    color: var(--primary);
}

.divider {
    margin: 0 4px;
    color: #4a5568;
    line-height: 1;
}

@media (max-width: 600px) {
    .footer-bottom {
        flex-direction: column;
        gap: 6px;
        text-align: center;
    }
}
/* =============================================
   SCROLL TO TOP BUTTON
============================================= */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: var(--shadow-md);
    border: none;
}
.scroll-top.show {
    opacity: 1;
    visibility: visible;
}
.scroll-top:hover {
    background: var(--primary-dark);
    transform: translateY(-5px);
}
@media (max-width: 480px) {
    .scroll-top {
        width: 44px;
        height: 44px;
        bottom: 20px;
        right: 20px;
    }
}

/* =============================================
   Whatsapp Button
============================================= */



.wa-widget {
    position: fixed;
    left: 20px;
    bottom: 25px;
    z-index: 9999;

    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.wa-widget.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.wa-button {
    width: 64px;
    height: 64px;
    border: none;
    border-radius: 50%;
    background: linear-gradient(135deg, #25d366, #1ebe5d);
    color: #fff;
    font-size: 34px;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.35);
    transition: 0.35s;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: waPulse 2s infinite;
}

.wa-button:hover {
    transform: scale(1.08);
    box-shadow: 0 15px 35px rgba(37, 211, 102, 0.45);
}

@keyframes waPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.45);
    }
    70% {
        box-shadow: 0 0 0 18px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

.wa-popup {
    position: absolute;
    bottom: 80px;
    left: 0;
    width: 300px;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.18);
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: 0.35s;
}

body.dark-mode .wa-popup {
    background: #112240;
}

.wa-widget:hover .wa-popup {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.wa-widget.active .wa-popup {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.wa-header {
    background: linear-gradient(135deg, #25d366, #1ebe5d);
    color: #fff;
    padding: 16px;
    display: flex;
    gap: 12px;
    align-items: center;
}

.wa-header i {
    font-size: 28px;
}

.wa-header strong {
    display: block;
    font-size: 15px;
}

.wa-header span {
    font-size: 12px;
    opacity: 0.9;
}

.wa-body {
    padding: 16px;
    font-size: 14px;
    color: #444;
}

body.dark-mode .wa-body {
    color: #e2e8f0;
}

.wa-chat-btn {
    margin: 0 16px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px;
    border-radius: 12px;
    background: #25d366;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.wa-chat-btn:hover {
    background: #1ebe5d;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .wa-popup {
        width: 270px;
    }

    .wa-button {
        width: 58px;
        height: 58px;
        font-size: 30px;
    }
}


/* =============================================
   RESPONSIVE FIXES (GLOBAL & LOGO)
  
============================================= */

@media (max-width: 1024px) {
    .mobile-menu-btn {
        display: block;
    }
    .main-nav {
        display: none;
    }
    .nav-container {
        padding: 0.8rem 1.5rem;
    }
    .hero-content h1 {
        font-size: 2.8rem;
    }
    
    .logo-img {
        height: 64px;
    }
}

@media (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
    .hero-content h1 {
        font-size: 2.4rem;
    }
    .hero-content p {
        font-size: 1rem;
    }
    .container {
        padding: 0 1.5rem;
    }
    .hero-slider {
        min-height: 550px;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    .section {
        padding: 3rem 0;
    }
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }
    .container {
        padding: 0 1.2rem;
    }
   
    .logo-img {
        height: 60px;
    }
}

@media (max-width: 580px) {
   
    .logo-img {
        height: 56px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }
    .container {
        padding: 0 1rem;
    }
    .nav-container {
        padding: 0.6rem 1rem;
    }
    .mobile-menu-btn {
        font-size: 1.3rem;
    }
   
    .logo-img {
        height: 61px;
    }
}

@media (max-width: 400px) {
   
    .logo-img {
        height: 48px;
    }
}

@media (max-width: 360px) {
    
    .logo-img {
        height: 46px;
    }
}


@media (max-width: 320px) {
    .logo-img {
        height: 44px;
    }
}


.logo-light {
    display: block;
}
.logo-scrolled,
.logo-dark {
    display: none;
}


.sticky-nav.scrolled .logo-light {
    display: none;
}
.sticky-nav.scrolled .logo-scrolled {
    display: block;
}


body.dark-mode .logo-light {
    display: none !important;
}
body.dark-mode .logo-scrolled {
    display: none !important;
}
body.dark-mode .logo-dark {
    display: block !important;
}


body.dark-mode .sticky-nav.scrolled .logo-dark {
    display: block !important;
}



.driving-hero {
    --hero-primary: var(--primary);
    --hero-primary-dark: var(--primary-dark);
    --hero-primary-light: rgba(230, 57, 70, 0.35);
    --hero-accent: var(--accent);
    --hero-accent-light: rgba(244, 162, 97, 0.35);
    --hero-dark: var(--dark-bg);

    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 720px;
    max-height: 900px;
    overflow: hidden;
    isolation: isolate;
    background: var(--hero-dark);
    color: #fff;
}

/* ================================================================
   BACKGROUND SLIDER
================================================================ */

.driving-hero__slides {
    position: absolute;
    inset: 0;
    z-index: -3;
    overflow: hidden;
}

.driving-hero__slide {
    position: absolute;
    inset: -20px;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    opacity: 0;
    visibility: hidden;
    transform: scale(1.045);
    transition:
        opacity 1s ease,
        visibility 1s ease,
        transform 7s ease;
}

.driving-hero__slide.is-active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

/* ================================================================
   AMBIENT LIGHT
================================================================ */

.driving-hero__light {
    position: absolute;
    z-index: -1;
    right: 0;
    top: 0;
    width: 60%;
    height: 100%;
    background: radial-gradient(
        ellipse at 70% 50%,
        rgba(230, 57, 70, 0.08),
        rgba(244, 162, 97, 0.05),
        transparent 70%
    );
    pointer-events: none;
    animation: lightPulse 6s ease-in-out infinite alternate;
}

@keyframes lightPulse {
    0%   { opacity: 0.4; transform: scale(1); }
    100% { opacity: 1;   transform: scale(1.2); }
}

/* ================================================================
   MAIN CONTAINER 
================================================================ */

.driving-hero__container {
    position: relative;
    z-index: 5;
    width: min(1280px, calc(100% - 70px));
    height: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    justify-content: space-between;
    gap: 40px;
    padding-top: 55px;
}



.driving-hero__content {
    flex: 0 0 48%;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-top: 0;
    min-width: 0;
}

.driving-hero__eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.68);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    overflow-wrap: anywhere;
}

.driving-hero__eyebrow-line {
    width: 28px;
    height: 2px;
    background: var(--hero-primary);
    flex-shrink: 0;
}

.driving-hero__title {
    margin: 0;
    max-width: 650px;
    color: #fff;
    font-size: clamp(46px, 5.1vw, 74px);
    font-weight: 850;
    line-height: 1;
    letter-spacing: -0.055em;
    text-wrap: balance;
    overflow-wrap: anywhere;
    word-break: break-word;
    text-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
    transition: opacity 0.4s ease;
}

.driving-hero__text {
    max-width: 530px;
    margin: 22px 0 0;
    color: rgba(255, 255, 255, 0.68);
    font-size: 15px;
    line-height: 1.7;
    overflow-wrap: anywhere;
    transition: opacity 0.4s ease;
}

/* ================================================================
   CTA + LOCATION
================================================================ */

.driving-hero__actions {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
    gap: 25px;
    margin-top: 30px;
    min-width: 0;
}

.driving-hero__cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 5px 21px 5px 5px;
    min-height: 54px;
    border-radius: 100px;
    background: #fff;
    color: #121212;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.22);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    flex-shrink: 0;
    white-space: nowrap;
    max-width: 100%;
}

.driving-hero__cta > span:last-child {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.driving-hero__cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.3);
}

.driving-hero__cta-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--hero-primary);
    color: #fff;
    transition: transform 0.35s ease;
    flex-shrink: 0;
}

.driving-hero__cta:hover .driving-hero__cta-icon {
    transform: rotate(-35deg);
}

.driving-hero__location {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.48);
    font-size: 11px;
    font-weight: 600;
    flex-shrink: 0;
    white-space: nowrap;
    min-width: 0;
}

.driving-hero__location span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.driving-hero__location i {
    color: var(--hero-accent);
    flex-shrink: 0;
}



.driving-hero__licenses {
    flex: 0 0 48%;
    max-width: 620px;
    margin-top: auto;
    margin-bottom: 38px;
    min-width: 0;
}



.driving-hero__licenses-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    padding: 0 3px;
    gap: 10px;
    min-width: 0;
}

.driving-hero__licenses-title div {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.driving-hero__licenses-title span {
    color: rgba(255, 255, 255, 0.4);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.18em;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.driving-hero__licenses-title strong {
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    font-weight: 650;
    overflow-wrap: anywhere;
}

.driving-hero__licenses-title > i {
    color: var(--hero-accent);
    font-size: 11px;
    animation: heroArrowDown 1.8s infinite;
    flex-shrink: 0;
}

@keyframes heroArrowDown {
    0%, 100% { transform: translateY(0); opacity: 0.6; }
    50%      { transform: translateY(4px); opacity: 1; }
}

/* ================================================================
   CARDS WRAPPER – GRID
================================================================ */

.driving-hero__cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    width: 100%;
    perspective: 1200px;
}

/* ================================================================
   LICENSE CARD
================================================================ */

.license-card {
    position: relative;
    min-width: 0;
    padding: 22px 16px 18px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-radius: 18px;
    background: rgba(18, 22, 28, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #fff;
    text-align: left;
    cursor: pointer;
    transition:
        transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
        box-shadow 0.4s ease,
        border-color 0.4s ease,
        background 0.4s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transform: translateY(40px) scale(0.95);
    animation: cardEntrance 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    overflow: hidden;
}

.license-card:nth-child(1) { animation-delay: 0.10s; }
.license-card:nth-child(2) { animation-delay: 0.25s; }
.license-card:nth-child(3) { animation-delay: 0.40s; }
.license-card:nth-child(4) { animation-delay: 0.55s; }

@keyframes cardEntrance {
    0%   { opacity: 0; transform: translateY(40px) scale(0.95); }
    100% { opacity: 1; transform: translateY(0)    scale(1);    }
}

/* ---- Border renkleri ---- */
.license-card:nth-child(1) { border-color: rgba(230, 57, 70, 0.3); }
.license-card:nth-child(1) .license-card__glow {
    background: radial-gradient(circle at 30% 30%, rgba(230, 57, 70, 0.15), transparent 70%);
}

.license-card:nth-child(2) { border-color: rgba(244, 162, 97, 0.3); }
.license-card:nth-child(2) .license-card__glow {
    background: radial-gradient(circle at 30% 30%, rgba(244, 162, 97, 0.15), transparent 70%);
}

.license-card:nth-child(3) { border-color: rgba(230, 57, 70, 0.3); }
.license-card:nth-child(3) .license-card__glow {
    background: radial-gradient(circle at 30% 30%, rgba(230, 57, 70, 0.15), transparent 70%);
}

.license-card:nth-child(4) { border-color: rgba(244, 162, 97, 0.3); }
.license-card:nth-child(4) .license-card__glow {
    background: radial-gradient(circle at 30% 30%, rgba(244, 162, 97, 0.15), transparent 70%);
}

.license-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.5),
        0 0 30px var(--hero-primary-light);
    border-color: var(--hero-primary);
    background: rgba(24, 28, 35, 0.92);
}



.license-card__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 10px;
    gap: 6px;
    min-width: 0;
}

.license-card__label {
    color: rgba(255, 255, 255, 0.3);
    font-size: 7px;
    font-weight: 700;
    letter-spacing: 0.15em;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
    flex: 1;
}

.license-card__number {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 46px;
    height: 46px;
    padding: 0 6px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 18px;
    font-weight: 850;
    letter-spacing: -0.05em;
    transition: all 0.35s ease;
    flex-shrink: 0;
}

.license-card:nth-child(1) .license-card__number { color: var(--hero-primary); }
.license-card:nth-child(2) .license-card__number { color: var(--hero-accent); }
.license-card:nth-child(3) .license-card__number { color: var(--hero-primary); }
.license-card:nth-child(4) .license-card__number { color: var(--hero-accent); }

.license-card:hover .license-card__number {
    border-color: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

.license-card__bottom {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.license-card__bottom strong {
    display: block;
    color: rgba(255, 255, 255, 0.95);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.25;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.license-card__more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.35);
    font-size: 11px;
    font-weight: 600;
    transition: color 0.3s ease, gap 0.3s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.license-card:hover .license-card__more {
    color: var(--hero-accent);
    gap: 10px;
}

.license-card__more i {
    font-size: 9px;
    flex-shrink: 0;
}

/* ================================================================
   CARD GLOW & ACCENT
================================================================ */

.license-card__glow {
    position: absolute;
    top: -30%;
    left: -20%;
    width: 140%;
    height: 140%;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.6s ease;
    border-radius: 50%;
    filter: blur(40px);
}

.license-card:hover .license-card__glow { opacity: 1; }

.license-card__accent {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 3px;
    background: var(--hero-primary);
    transition: width 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
    border-bottom-left-radius: 18px;
    border-bottom-right-radius: 18px;
}

.license-card:hover .license-card__accent { width: 100%; }

/* ================================================================
   SLIDER NAVIGATION
================================================================ */

.driving-hero__navigation {
    position: absolute;
    left: max(35px, calc((100% - 1280px) / 2));
    bottom: 28px;
    z-index: 20;
    display: flex;
    align-items: center;
    gap: 9px;
}

.driving-hero__nav {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(10px);
    color: #fff;
    cursor: pointer;
    transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
    flex-shrink: 0;
}

.driving-hero__nav:hover {
    background: var(--hero-primary);
    border-color: var(--hero-primary);
    transform: translateY(-2px);
}

.driving-hero__dots {
    display: flex;
    align-items: center;
    gap: 5px;
}

.driving-hero__dots .dot {
    width: 18px;
    height: 2px;
    padding: 0;
    border: 0;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.24);
    cursor: pointer;
    transition: width 0.3s ease, background 0.3s ease;
}

.driving-hero__dots .dot.active {
    width: 38px;
    background: var(--hero-primary);
}

/* ================================================================
   MODAL
================================================================ */

.license-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.license-modal.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.license-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(4, 6, 9, 0.8);
    backdrop-filter: blur(15px);
}

.license-modal__box {
    position: relative;
    z-index: 2;
    width: min(620px, 100%);
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 22px;
    background: #111419;
    box-shadow: 0 35px 90px rgba(0, 0, 0, 0.55);
    opacity: 0;
    transform: translateY(25px) scale(0.96);
    transition:
        opacity 0.4s ease,
        transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.license-modal.is-open .license-modal__box {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.license-modal__close {
    position: absolute;
    top: 17px;
    right: 17px;
    z-index: 5;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.65);
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
    flex-shrink: 0;
}

.license-modal__close:hover {
    background: var(--hero-primary);
    color: #fff;
    transform: rotate(90deg);
}

.license-modal__header {
    display: flex;
    align-items: center;
    gap: 17px;
    padding: 27px 60px 25px 27px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.license-modal__class {
    width: 60px;
    height: 60px;
    flex: 0 0 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    background: var(--hero-primary);
    color: #fff;
    font-size: 18px;
    font-weight: 850;
    box-shadow: 0 12px 30px rgba(230, 57, 70, 0.16);
}

.license-modal__header span {
    display: block;
    margin-bottom: 4px;
    color: rgba(255, 255, 255, 0.32);
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 0.17em;
}

.license-modal__header h2 {
    margin: 0;
    color: #fff;
    font-size: 21px;
    font-weight: 750;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.license-modal__content {
    padding: 25px 27px 28px;
}

.license-modal__content > p {
    margin: 0 0 20px;
    color: rgba(255, 255, 255, 0.63);
    font-size: 13px;
    line-height: 1.75;
    overflow-wrap: anywhere;
}

.license-modal__info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.license-modal__info-item {
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.025);
    min-width: 0;
}

.license-modal__info-item span {
    display: block;
    margin-bottom: 5px;
    color: rgba(255, 255, 255, 0.3);
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.license-modal__info-item strong {
    color: rgba(255, 255, 255, 0.9);
    font-size: 11px;
    line-height: 1.4;
    display: block;
    overflow-wrap: anywhere;
}

.license-modal__cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    padding: 12px 18px;
    border-radius: 100px;
    background: var(--hero-primary);
    color: #fff;
    text-decoration: none;
    font-size: 11px;
    font-weight: 700;
    transition: transform 0.3s ease;
}

.license-modal__cta:hover {
    transform: translateY(-2px);
}



@media (min-width: 1001px) and (max-width: 1280px) {
    .driving-hero__container {
        width: calc(100% - 50px);
        gap: 30px;
    }

    .driving-hero__licenses {
        max-width: 560px;
        flex: 0 0 50%;
    }

    .driving-hero__cards { gap: 10px; }

    .license-card {
        padding: 20px 12px 16px;
        border-radius: 14px;
    }

    .license-card__number {
        min-width: 42px;
        height: 42px;
        font-size: 16px;
        border-radius: 10px;
    }

    .license-card__bottom strong { font-size: 13px; }
    .license-card__more          { font-size: 10px; }
    .license-card__more i        { font-size: 8px;  }
}



@media (min-width: 769px) and (max-width: 1000px) {
    .driving-hero {
        min-height: 750px;
        max-height: none;
        height: auto;
    }

    .driving-hero__container {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: calc(100% - 40px);
        gap: 30px;
        padding: 90px 0 60px;
        height: auto;
        min-height: 750px;
    }

    .driving-hero__content {
        flex: 0 0 auto;
        width: 100%;
        max-width: 100%;
        display: block;
        margin-top: 0;
    }

    .driving-hero__title {
        font-size: clamp(40px, 6vw, 54px);
    }

    .driving-hero__licenses {
        flex: 0 0 auto;
        width: 100%;
        max-width: 720px;
        margin-top: 0;
        margin-bottom: 0;
    }

    .driving-hero__cards {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 10px;
    }

    .license-card {
        padding: 18px 12px 16px;
        border-radius: 14px;
        background: rgba(14, 17, 22, 0.92);
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    .license-card__number {
        min-width: 40px;
        height: 40px;
        font-size: 15px;
        border-radius: 10px;
    }

    .license-card__bottom strong { font-size: 13px; }
    .license-card__more          { font-size: 10px; }
    .license-card__more i        { font-size: 8px;  }

    .license-card:hover {
        transform: translateY(-8px) scale(1.02);
    }
}



@media (max-width: 768px) {
    .driving-hero {
        height: auto;
        min-height: 100vh;
        max-height: none;
    }

    .driving-hero__container {
        width: calc(100% - 30px);
        padding: 90px 0 90px;
        gap: 28px;
        min-height: 100vh;
        justify-content: flex-start;
        align-items: flex-start;
        flex-direction: column;
    }

    .driving-hero__content {
        width: 100%;
        margin: 0;
        flex: 0 0 auto;
        display: block;
    }

    .driving-hero__title {
        font-size: clamp(36px, 9vw, 46px);
    }

    .driving-hero__text {
        font-size: 14px;
        margin-top: 18px;
    }

    .driving-hero__actions {
        margin-top: 25px;
        gap: 16px;
        flex-wrap: nowrap;
    }

    .driving-hero__cta {
        font-size: 12.5px;
        min-height: 50px;
        padding: 4px 18px 4px 4px;
    }

    .driving-hero__cta-icon {
        width: 42px;
        height: 42px;
        font-size: 14px;
    }

    .driving-hero__location {
        font-size: 11px;
    }

    .driving-hero__licenses {
        max-width: 100%;
        margin-top: 0;
        margin-bottom: 0;
        flex: 0 0 auto;
        width: 100%;
    }

    .driving-hero__licenses-title strong { font-size: 15px; }

    .driving-hero__cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .license-card {
        padding: 18px 16px 16px;
        border-radius: 14px;
        background: rgba(14, 17, 22, 0.92);
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    .license-card__number {
        min-width: 42px;
        height: 42px;
        font-size: 16px;
        padding: 0 6px;
        border-radius: 10px;
    }

    .license-card__bottom strong { font-size: 14px; }
    .license-card__more          { font-size: 10px; }
    .license-card__more i        { font-size: 8px;  }

    .license-card:hover {
        transform: translateY(-6px) scale(1.02);
    }

    .driving-hero__navigation {
        left: 15px;
        bottom: 20px;
    }
}



@media (max-width: 600px) {
    .driving-hero {
        height: auto;
        min-height: 100vh;
        max-height: none;
    }

    .driving-hero__container {
        width: calc(100% - 30px);
        padding: 95px 0 90px;
        gap: 20px;
        min-height: 100vh;
        justify-content: flex-start;
    }

    .driving-hero__eyebrow {
        margin-bottom: 14px;
        font-size: 9.5px;
    }

    .driving-hero__title {
        font-size: clamp(30px, 8.5vw, 40px);
        line-height: 1.05;
        letter-spacing: -0.04em;
    }

    .driving-hero__text {
        font-size: 13px;
        margin-top: 14px;
        line-height: 1.6;
    }

    .driving-hero__actions {
        margin-top: 20px;
        gap: 12px;
        flex-wrap: nowrap;
        align-items: center;
    }

    .driving-hero__cta {
        font-size: 12px;
        min-height: 46px;
        padding: 4px 16px 4px 4px;
        gap: 10px;
    }

    .driving-hero__cta-icon {
        width: 38px;
        height: 38px;
        font-size: 13px;
    }

    .driving-hero__location {
        font-size: 10.5px;
        gap: 6px;
    }

    .driving-hero__licenses-title strong { font-size: 14px; }
    .driving-hero__licenses-title span   { font-size: 9px;  }

    .driving-hero__cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .license-card {
        padding: 16px 14px 14px;
        border-radius: 14px;
        background: rgba(14, 17, 22, 0.92);
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    .license-card__number {
        min-width: 40px;
        height: 40px;
        font-size: 15px;
        padding: 0 6px;
        border-radius: 10px;
    }

    .license-card__bottom strong { font-size: 13px; }
    .license-card__more          { font-size: 10px; }
    .license-card__more i        { font-size: 8px;  }

    .license-card:hover {
        transform: translateY(-4px) scale(1.02);
    }

    .license-modal__info {
        grid-template-columns: 1fr;
    }

    .license-modal__box {
        border-radius: 18px;
        max-height: calc(100vh - 30px);
    }

    .license-modal__header {
        padding: 22px 55px 20px 22px;
        gap: 14px;
    }

    .license-modal__class {
        width: 52px;
        height: 52px;
        flex: 0 0 52px;
        font-size: 16px;
        border-radius: 13px;
    }

    .license-modal__header h2 { font-size: 18px; }

    .license-modal__content { padding: 20px 22px 24px; }
}



@media (max-width: 480px) {
    .driving-hero__container {
        width: calc(100% - 24px);
        padding: 100px 0 90px;
        gap: 18px;
        justify-content: flex-start;
    }

    .driving-hero__eyebrow {
        font-size: 9px;
        margin-bottom: 12px;
        gap: 8px;
    }

    .driving-hero__eyebrow-line { width: 22px; }

    .driving-hero__title {
        font-size: clamp(26px, 8vw, 32px);
        line-height: 1.08;
        letter-spacing: -0.03em;
    }

    .driving-hero__text {
        font-size: 12.5px;
        line-height: 1.6;
        margin-top: 12px;
    }

    .driving-hero__actions {
        margin-top: 18px;
        gap: 10px;
        flex-wrap: nowrap;
        width: 100%;
        align-items: center;
        justify-content: flex-start;
    }

    .driving-hero__cta {
        font-size: 11.5px;
        min-height: 42px;
        padding: 3px 14px 3px 3px;
        gap: 8px;
        flex-shrink: 1;
        min-width: 0;
    }

    .driving-hero__cta-icon {
        width: 34px;
        height: 34px;
        font-size: 12px;
    }

    .driving-hero__location {
        font-size: 10px;
        gap: 5px;
        flex-shrink: 1;
        min-width: 0;
    }

    .driving-hero__location i {
        font-size: 10px;
    }

    .driving-hero__licenses-title { margin-bottom: 12px; gap: 8px; }
    .driving-hero__licenses-title strong { font-size: 13px; }
    .driving-hero__licenses-title span   { font-size: 8px;  }
    .driving-hero__licenses-title > i    { font-size: 10px; }

    .driving-hero__cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 9px;
    }

    .license-card {
        padding: 14px 12px 12px;
        border-radius: 13px;
    }

    .license-card__label {
        font-size: 6.5px;
        letter-spacing: 0.12em;
    }

    .license-card__number {
        min-width: 38px;
        height: 38px;
        font-size: 14px;
        padding: 0 5px;
        border-radius: 9px;
    }

    .license-card__top { margin-bottom: 8px; }
    .license-card__bottom strong { font-size: 13px; }
    .license-card__more          { font-size: 10px; gap: 5px; }
    .license-card__more i        { font-size: 8px;  }

    .driving-hero__navigation {
        left: 12px;
        bottom: 16px;
        gap: 7px;
    }

    .driving-hero__nav {
        width: 34px;
        height: 34px;
        font-size: 12px;
    }

    .driving-hero__dots .dot        { width: 14px; }
    .driving-hero__dots .dot.active { width: 28px; }

    .license-modal { padding: 12px; }
    .license-modal__box { border-radius: 16px; max-height: calc(100vh - 24px); }

    .license-modal__close {
        top: 12px;
        right: 12px;
        width: 32px;
        height: 32px;
    }

    .license-modal__header {
        padding: 20px 50px 16px 18px;
        gap: 12px;
    }

    .license-modal__class {
        width: 46px;
        height: 46px;
        flex: 0 0 46px;
        font-size: 14px;
        border-radius: 12px;
    }

    .license-modal__header h2   { font-size: 16px; }
    .license-modal__header span { font-size: 7px;  }

    .license-modal__content { padding: 18px 18px 22px; }

    .license-modal__content > p {
        font-size: 12px;
        line-height: 1.7;
        margin-bottom: 16px;
    }

    .license-modal__info-item {
        padding: 12px;
        border-radius: 10px;
    }

    .license-modal__info-item strong { font-size: 10.5px; }

    .license-modal__cta {
        font-size: 10.5px;
        padding: 11px 16px;
        width: 100%;
        justify-content: center;
    }
}



@media (max-width: 360px) {
    .driving-hero__container {
        width: calc(100% - 20px);
        padding: 90px 0 80px;
        gap: 14px;
    }

    .driving-hero__title {
        font-size: clamp(23px, 7.5vw, 28px);
        letter-spacing: -0.03em;
    }

    .driving-hero__text {
        font-size: 11.5px;
        margin-top: 10px;
        line-height: 1.55;
    }

    .driving-hero__eyebrow {
        font-size: 8px;
        gap: 7px;
        margin-bottom: 12px;
    }

    .driving-hero__eyebrow-line { width: 20px; }

    .driving-hero__actions {
        margin-top: 16px;
        gap: 9px;
        flex-wrap: nowrap;
        align-items: center;
    }

    .driving-hero__cta {
        font-size: 10.5px;
        min-height: 38px;
        padding: 3px 11px 3px 3px;
        gap: 6px;
    }

    .driving-hero__cta-icon {
        width: 30px;
        height: 30px;
        font-size: 10px;
    }

    .driving-hero__location {
        font-size: 9px;
        gap: 4px;
    }

    .driving-hero__location i {
        font-size: 8.5px;
    }

    .driving-hero__licenses-title strong { font-size: 12px; }
    .driving-hero__licenses-title span   { font-size: 7.5px; }

    .driving-hero__cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .license-card {
        padding: 11px 9px 9px;
        border-radius: 12px;
    }

    .license-card__label {
        font-size: 6px;
        letter-spacing: 0.1em;
    }

    .license-card__number {
        min-width: 32px;
        height: 32px;
        font-size: 12px;
        padding: 0 5px;
        border-radius: 8px;
    }

    .license-card__bottom strong { font-size: 11.5px; }
    .license-card__more          { font-size: 9px;  }
    .license-card__more i        { display: none;   }

    .driving-hero__navigation {
        left: 10px;
        bottom: 14px;
    }

    .driving-hero__nav {
        width: 32px;
        height: 32px;
        font-size: 11px;
    }

    .license-modal__class {
        width: 42px;
        height: 42px;
        flex: 0 0 42px;
        font-size: 13px;
    }

    .license-modal__header h2 { font-size: 15px; }

    .license-modal__content > p { font-size: 11.5px; }
}



@media (max-width: 320px) {
    .driving-hero__container {
        width: calc(100% - 16px);
        padding: 85px 0 75px;
        gap: 12px;
    }

    .driving-hero__title { font-size: 21px; }
    .driving-hero__text  { font-size: 11px; }

    .driving-hero__licenses-title strong { font-size: 11px; }
    .driving-hero__licenses-title span   { font-size: 7px;  }

    .driving-hero__actions {
        gap: 8px;
        margin-top: 14px;
        flex-wrap: nowrap;
        align-items: center;
    }

    .driving-hero__cta {
        font-size: 10px;
        min-height: 36px;
        padding: 3px 10px 3px 3px;
        gap: 6px;
    }

    .driving-hero__cta-icon {
        width: 28px;
        height: 28px;
        font-size: 10px;
    }

    .driving-hero__location {
        font-size: 8.5px;
        gap: 3px;
    }

    .driving-hero__location i {
        font-size: 8px;
    }

    .driving-hero__cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 7px;
    }

    .license-card {
        padding: 10px 8px 9px;
    }

    .license-card__number {
        min-width: 30px;
        height: 30px;
        font-size: 11px;
    }

    .license-card__bottom strong { font-size: 11px; }
    .license-card__more          { font-size: 8.5px; }
}



@media (max-width: 480px) and (max-height: 700px) {
    .driving-hero__container {
        padding: 90px 0 80px;
        gap: 14px;
    }

    .driving-hero__title {
        font-size: clamp(24px, 7.5vw, 30px);
        line-height: 1.08;
    }

    .driving-hero__text {
        font-size: 12px;
        margin-top: 10px;
        line-height: 1.5;
        display: -webkit-box;
        -webkit-line-clamp: 4;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .driving-hero__actions {
        margin-top: 14px;
        gap: 10px;
    }

    .license-card {
        padding: 12px 10px 10px;
    }

    .license-card__number {
        min-width: 34px;
        height: 34px;
        font-size: 13px;
    }

    .license-card__bottom strong { font-size: 12px; }
    .license-card__more          { font-size: 9.5px; }
}



@media (max-height: 500px) and (orientation: landscape) {
    .driving-hero {
        min-height: 100vh;
        height: auto;
        max-height: none;
    }

    .driving-hero__container {
        padding: 70px 0 50px;
        gap: 18px;
        min-height: 100vh;
    }

    .driving-hero__title { font-size: clamp(24px, 4.5vw, 34px); }
    .driving-hero__text  {
        font-size: 12px;
        margin-top: 10px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .driving-hero__actions {
        margin-top: 12px;
        gap: 14px;
        flex-wrap: nowrap;
    }

    .driving-hero__cards {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 8px;
    }

    .driving-hero__navigation { bottom: 12px; }

    .license-card { padding: 12px 10px 10px; }

    .license-card__number {
        min-width: 34px;
        height: 34px;
        font-size: 13px;
    }

    .license-card__bottom strong { font-size: 12px; }
    .license-card__more          { font-size: 9px;  }
}



@media (hover: none) and (pointer: coarse) {
    .license-card:hover {
        transform: none;
        border-color: inherit;
        background: rgba(18, 22, 28, 0.75);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    }

    .license-card:hover .license-card__number { transform: none; }
    .license-card:hover .license-card__glow   { opacity: 0;    }
    .license-card:hover .license-card__accent { width: 0;      }
    .license-card:hover .license-card__more   { color: rgba(255, 255, 255, 0.35); gap: 6px; }

    .license-card:active {
        transform: scale(0.98);
        background: rgba(24, 28, 35, 0.92);
    }

    .driving-hero__cta:hover,
    .driving-hero__nav:hover,
    .license-modal__close:hover,
    .license-modal__cta:hover {
        transform: none;
    }
}



@media (prefers-reduced-motion: reduce) {
    .driving-hero__light,
    .driving-hero__slide,
    .license-card,
    .driving-hero__licenses-title > i,
    .license-modal,
    .license-modal__box {
        animation: none !important;
        transition: none !important;
    }

    .license-card {
        opacity: 1;
        transform: none;
    }
}



@media only screen
    and (min-width: 390px)
    and (max-width: 500px)
    and (min-height: 800px)
    and (orientation: portrait) {

    .driving-hero__container {
        width: calc(100% - 32px);
        padding: 110px 0 100px;
        gap: 26px;
        justify-content: flex-start;
    }

    .driving-hero__eyebrow { font-size: 10.5px; margin-bottom: 16px; gap: 10px; }
    .driving-hero__eyebrow-line { width: 26px; }

    .driving-hero__title { font-size: 42px; line-height: 1.05; letter-spacing: -0.04em; }

    .driving-hero__text {
        font-size: 15px;
        line-height: 1.65;
        margin-top: 18px;
        display: block;
        -webkit-line-clamp: unset;
        overflow: visible;
    }

    .driving-hero__actions { margin-top: 26px; gap: 18px; flex-wrap: nowrap; align-items: center; }

    .driving-hero__cta {
        font-size: 14px;
        min-height: 54px;
        padding: 5px 22px 5px 5px;
        gap: 12px;
    }

    .driving-hero__cta-icon { width: 44px; height: 44px; font-size: 15px; }
    .driving-hero__location { font-size: 12.5px; gap: 7px; }
    .driving-hero__location i { font-size: 12px; }

    .driving-hero__licenses-title { margin-bottom: 18px; gap: 10px; }
    .driving-hero__licenses-title strong { font-size: 17px; }
    .driving-hero__licenses-title span   { font-size: 10px; }
    .driving-hero__licenses-title > i    { font-size: 12px; }

    .driving-hero__cards { gap: 14px; }

    .license-card { padding: 20px 18px 18px; border-radius: 16px; }
    .license-card__top { margin-bottom: 12px; gap: 8px; }
    .license-card__label { font-size: 8px; letter-spacing: 0.14em; }

    .license-card__number {
        min-width: 48px;
        height: 48px;
        font-size: 18px;
        padding: 0 7px;
        border-radius: 12px;
    }

    .license-card__bottom strong { font-size: 15.5px; line-height: 1.25; }
    .license-card__more          { font-size: 12px;   gap: 7px; }
    .license-card__more i        { font-size: 10px; }

    .driving-hero__navigation { left: 16px; bottom: 22px; gap: 9px; }
    .driving-hero__nav { width: 40px; height: 40px; font-size: 13px; }
    .driving-hero__dots .dot        { width: 16px; }
    .driving-hero__dots .dot.active { width: 32px; }

    .license-modal { padding: 18px; }
    .license-modal__box { border-radius: 20px; max-height: calc(100vh - 36px); }

    .license-modal__header { padding: 24px 56px 22px 24px; gap: 15px; }
    .license-modal__class {
        width: 56px;
        height: 56px;
        flex: 0 0 56px;
        font-size: 16px;
        border-radius: 14px;
    }
    .license-modal__header h2   { font-size: 20px; }
    .license-modal__header span { font-size: 9px;  }
    .license-modal__content { padding: 22px 24px 26px; }
    .license-modal__content > p { font-size: 14px; line-height: 1.75; margin-bottom: 18px; }
    .license-modal__info-item { padding: 15px; border-radius: 12px; }
    .license-modal__info-item span   { font-size: 9px;    }
    .license-modal__info-item strong { font-size: 12.5px; }
    .license-modal__cta { font-size: 12.5px; padding: 13px 22px; }
}



@media only screen
    and (min-width: 390px)
    and (max-width: 500px)
    and (max-height: 799px)
    and (orientation: portrait) {

    .driving-hero__container { padding: 95px 0 85px; gap: 22px; }
    .driving-hero__title     { font-size: 36px; line-height: 1.05; }
    .driving-hero__text      { font-size: 14px; margin-top: 14px; }

    .driving-hero__cta { font-size: 13px; min-height: 50px; padding: 4px 18px 4px 4px; }
    .driving-hero__cta-icon { width: 40px; height: 40px; font-size: 14px; }
    .driving-hero__location { font-size: 11.5px; }

    .license-card { padding: 17px 15px 15px; }
    .license-card__number { min-width: 44px; height: 44px; font-size: 17px; }
    .license-card__bottom strong { font-size: 14.5px; }
    .license-card__more          { font-size: 11px;   }
}



@media only screen
    and (min-width: 360px)
    and (max-width: 375px)
    and (max-height: 667px)
    and (orientation: portrait) {

    .driving-hero__container { padding: 100px 0 80px; gap: 16px; justify-content: flex-start; }

    .driving-hero__title {
        font-size: 28px;
        line-height: 1.05;
        letter-spacing: -0.03em;
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    .driving-hero__text {
        font-size: 12px;
        line-height: 1.5;
        margin-top: 12px;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .driving-hero__eyebrow { font-size: 8.5px; margin-bottom: 12px; gap: 8px; }
    .driving-hero__eyebrow-line { width: 22px; }

    .driving-hero__actions { margin-top: 16px; gap: 10px; flex-wrap: nowrap; align-items: center; }

    .driving-hero__cta { font-size: 11px; min-height: 40px; padding: 3px 14px 3px 3px; gap: 8px; }
    .driving-hero__cta-icon { width: 34px; height: 34px; font-size: 12px; }
    .driving-hero__location { font-size: 10px; gap: 5px; }
    .driving-hero__location i { font-size: 10px; }

    .driving-hero__licenses-title strong { font-size: 13px; }
    .driving-hero__licenses-title span   { font-size: 8px;  }
    .driving-hero__licenses-title > i    { font-size: 10px; }
    .driving-hero__licenses-title        { margin-bottom: 12px; gap: 8px; }

    .driving-hero__cards { gap: 9px; }

    .license-card { padding: 13px 11px 11px; border-radius: 12px; }
    .license-card__label { font-size: 6.5px; letter-spacing: 0.12em; }

    .license-card__number {
        min-width: 36px;
        height: 36px;
        font-size: 13px;
        padding: 0 5px;
        border-radius: 9px;
    }

    .license-card__top { margin-bottom: 8px; }
    .license-card__bottom strong { font-size: 12px; line-height: 1.2; }
    .license-card__more          { font-size: 9.5px; gap: 5px; }
    .license-card__more i        { font-size: 8px;  }

    .driving-hero__navigation { left: 12px; bottom: 14px; gap: 7px; }
    .driving-hero__nav { width: 32px; height: 32px; font-size: 11px; }
    .driving-hero__dots .dot        { width: 14px; }
    .driving-hero__dots .dot.active { width: 28px; }

    .license-modal { padding: 12px; }
    .license-modal__box { border-radius: 16px; max-height: calc(100vh - 24px); }
    .license-modal__header { padding: 20px 48px 16px 18px; gap: 12px; }

    .license-modal__class {
        width: 46px;
        height: 46px;
        flex: 0 0 46px;
        font-size: 14px;
        border-radius: 12px;
    }

    .license-modal__header h2 { font-size: 16px; }
    .license-modal__header span { font-size: 7px; }
    .license-modal__content { padding: 18px 18px 22px; }
    .license-modal__content > p { font-size: 12px; line-height: 1.7; margin-bottom: 16px; }
    .license-modal__info-item { padding: 12px; border-radius: 10px; }
    .license-modal__info-item strong { font-size: 10.5px; }
    .license-modal__cta { font-size: 10.5px; padding: 11px 16px; width: 100%; justify-content: center; }
}



@media only screen
    and (max-width: 320px)
    and (max-height: 568px)
    and (orientation: portrait) {

    .driving-hero__container { padding: 90px 0 70px; gap: 14px; }
    .driving-hero__title { font-size: 24px; line-height: 1.08; }
    .driving-hero__text  { font-size: 11.5px; -webkit-line-clamp: 3; }

    .driving-hero__cta { font-size: 10.5px; min-height: 38px; padding: 3px 12px 3px 3px; }
    .driving-hero__cta-icon { width: 30px; height: 30px; font-size: 11px; }
    .driving-hero__location { font-size: 9.5px; }

    .license-card { padding: 11px 9px 9px; }
    .license-card__number { min-width: 32px; height: 32px; font-size: 12px; }
    .license-card__bottom strong { font-size: 11.5px; }
    .license-card__more          { font-size: 9px; }
}



@media only screen
    and (min-width: 740px)
    and (max-width: 900px)
    and (min-height: 1000px)
    and (orientation: portrait) {

    .driving-hero {
        height: auto;
        min-height: auto;
        max-height: none;
        padding-bottom: 60px;
    }

    .driving-hero__container {
        width: calc(100% - 80px);
        max-width: 780px;
        height: auto;
        min-height: auto;
        padding: 120px 0 60px;
        gap: 44px;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
    }

    .driving-hero__content { flex: 0 0 auto; width: 100%; max-width: 100%; display: block; margin-top: 0; }

    .driving-hero__eyebrow { font-size: 11px; margin-bottom: 20px; gap: 11px; letter-spacing: 0.19em; }
    .driving-hero__eyebrow-line { width: 30px; height: 2px; }

    .driving-hero__title { font-size: clamp(46px, 6vw, 62px); line-height: 1.03; letter-spacing: -0.045em; }

    .driving-hero__text {
        font-size: 16px;
        line-height: 1.7;
        margin-top: 20px;
        max-width: 640px;
        display: block;
        -webkit-line-clamp: unset;
        overflow: visible;
    }

    .driving-hero__actions { margin-top: 28px; gap: 22px; flex-wrap: nowrap; align-items: center; }
    .driving-hero__cta { font-size: 14px; min-height: 56px; padding: 5px 24px 5px 5px; gap: 13px; }
    .driving-hero__cta-icon { width: 46px; height: 46px; font-size: 15px; }
    .driving-hero__location { font-size: 13px; gap: 8px; }
    .driving-hero__location i { font-size: 13px; }

    .driving-hero__licenses { flex: 0 0 auto; width: 100%; max-width: 100%; margin-top: 0; margin-bottom: 0; }
    .driving-hero__licenses-title { margin-bottom: 20px; gap: 12px; }
    .driving-hero__licenses-title strong { font-size: 18px; }
    .driving-hero__licenses-title span   { font-size: 11px; }
    .driving-hero__licenses-title > i    { font-size: 13px; }

    .driving-hero__cards { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }

    .license-card {
        padding: 22px 16px 18px;
        border-radius: 16px;
        background: rgba(14, 17, 22, 0.92);
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    .license-card__top { margin-bottom: 10px; gap: 7px; }
    .license-card__label { font-size: 8px; letter-spacing: 0.15em; }

    .license-card__number {
        min-width: 52px;
        height: 52px;
        font-size: 19px;
        padding: 0 8px;
        border-radius: 13px;
    }

    .license-card__bottom strong { font-size: 15.5px; line-height: 1.25; }
    .license-card__more { font-size: 12px; gap: 7px; }
    .license-card__more i { font-size: 10px; }

    .driving-hero__navigation {
        position: relative;
        left: auto;
        bottom: auto;
        margin-top: 40px;
        align-self: flex-start;
        gap: 10px;
    }

    .driving-hero__nav { width: 42px; height: 42px; font-size: 14px; }
    .driving-hero__dots .dot        { width: 18px; height: 2.5px; }
    .driving-hero__dots .dot.active { width: 38px; }

    .license-modal { padding: 34px; }
    .license-modal__box { width: min(720px, 100%); border-radius: 22px; max-height: calc(100vh - 68px); }
    .license-modal__header { padding: 28px 70px 26px 28px; gap: 20px; }

    .license-modal__class {
        width: 68px;
        height: 68px;
        flex: 0 0 68px;
        font-size: 20px;
        border-radius: 16px;
    }

    .license-modal__header h2   { font-size: 24px; }
    .license-modal__header span { font-size: 10px; }
    .license-modal__content { padding: 28px 30px 32px; }
    .license-modal__content > p { font-size: 15px; line-height: 1.8; margin-bottom: 22px; }
    .license-modal__info { gap: 10px; }
    .license-modal__info-item { padding: 16px; border-radius: 14px; }
    .license-modal__info-item span   { font-size: 9.5px; }
    .license-modal__info-item strong { font-size: 13px;  }
    .license-modal__cta { font-size: 13px; padding: 14px 22px; gap: 11px; }
}



@media only screen
    and (min-width: 901px)
    and (max-width: 1100px)
    and (min-height: 1200px)
    and (orientation: portrait) {

    .driving-hero {
        height: auto;
        min-height: auto;
        max-height: none;
        padding-bottom: 80px;
    }

    .driving-hero__container {
        width: calc(100% - 100px);
        max-width: 1200px;
        height: auto;
        min-height: auto;
        padding: 130px 0 60px;
        gap: 60px;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .driving-hero__content { flex: 0 0 46%; max-width: 560px; display: flex; flex-direction: column; justify-content: center; }
    .driving-hero__eyebrow { font-size: 12px; margin-bottom: 22px; gap: 12px; }
    .driving-hero__eyebrow-line { width: 32px; height: 2px; }
    .driving-hero__title { font-size: clamp(52px, 5.5vw, 68px); line-height: 1.03; letter-spacing: -0.05em; }
    .driving-hero__text { font-size: 16px; line-height: 1.7; margin-top: 22px; }

    .driving-hero__actions { margin-top: 30px; gap: 22px; flex-wrap: nowrap; align-items: center; }
    .driving-hero__cta { font-size: 14px; min-height: 56px; padding: 5px 24px 5px 5px; gap: 13px; }
    .driving-hero__cta-icon { width: 46px; height: 46px; font-size: 15px; }
    .driving-hero__location { font-size: 13px; gap: 8px; }
    .driving-hero__location i { font-size: 13px; }

    .driving-hero__licenses { flex: 0 0 50%; max-width: 100%; margin-top: 0; margin-bottom: 0; }
    .driving-hero__licenses-title { margin-bottom: 20px; gap: 12px; }
    .driving-hero__licenses-title strong { font-size: 18px; }
    .driving-hero__licenses-title span   { font-size: 11px; }
    .driving-hero__licenses-title > i    { font-size: 13px; }

    .driving-hero__cards { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }

    .license-card {
        padding: 22px 16px 18px;
        border-radius: 16px;
        background: rgba(14, 17, 22, 0.92);
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    .license-card__number {
        min-width: 50px;
        height: 50px;
        font-size: 18px;
        padding: 0 8px;
        border-radius: 12px;
    }

    .license-card__bottom strong { font-size: 15px; line-height: 1.25; }
    .license-card__more          { font-size: 11.5px; }
    .license-card__more i        { font-size: 10px; }

    .driving-hero__navigation { position: absolute; left: 50px; bottom: 30px; gap: 10px; }
    .driving-hero__nav { width: 42px; height: 42px; font-size: 14px; }
    .driving-hero__dots .dot        { width: 18px; }
    .driving-hero__dots .dot.active { width: 36px; }

    .license-modal { padding: 40px; }
    .license-modal__box { width: min(760px, 100%); border-radius: 22px; max-height: calc(100vh - 80px); }
    .license-modal__header { padding: 30px 74px 28px 30px; gap: 20px; }

    .license-modal__class {
        width: 70px;
        height: 70px;
        flex: 0 0 70px;
        font-size: 20px;
        border-radius: 16px;
    }

    .license-modal__header h2   { font-size: 24px; }
    .license-modal__header span { font-size: 10px; }
    .license-modal__content { padding: 28px 30px 32px; }
    .license-modal__content > p { font-size: 15px; line-height: 1.8; margin-bottom: 22px; }
    .license-modal__info-item { padding: 16px; border-radius: 14px; }
    .license-modal__info-item span   { font-size: 9.5px; }
    .license-modal__info-item strong { font-size: 13px;  }
    .license-modal__cta { font-size: 13px; padding: 14px 22px; }
}



@media only screen
    and (min-width: 1000px)
    and (max-width: 1400px)
    and (max-height: 1100px)
    and (min-height: 700px)
    and (orientation: landscape) {

    .driving-hero {
        height: 100vh;
        min-height: 700px;
        max-height: 100vh;
    }

    .driving-hero__container {
        width: calc(100% - 100px);
        max-width: 1300px;
        height: 100%;
        padding: 60px 0 60px;
        gap: 50px;
        flex-direction: row;
        align-items: stretch;
        justify-content: space-between;
    }

    .driving-hero__content { flex: 0 0 46%; max-width: 580px; display: flex; flex-direction: column; justify-content: center; margin-top: 0; }
    .driving-hero__eyebrow { font-size: 11px; margin-bottom: 20px; gap: 11px; }
    .driving-hero__eyebrow-line { width: 30px; height: 2px; }
    .driving-hero__title { font-size: clamp(42px, 4.2vw, 58px); line-height: 1.03; letter-spacing: -0.05em; }

    .driving-hero__text {
        font-size: 15px;
        line-height: 1.7;
        margin-top: 20px;
        max-width: 540px;
        display: block;
        -webkit-line-clamp: unset;
        overflow: visible;
    }

    .driving-hero__actions { margin-top: 26px; gap: 22px; flex-wrap: nowrap; align-items: center; }
    .driving-hero__cta { font-size: 13.5px; min-height: 54px; padding: 5px 22px 5px 5px; gap: 12px; }
    .driving-hero__cta-icon { width: 44px; height: 44px; font-size: 14px; }
    .driving-hero__location { font-size: 12.5px; gap: 7px; }
    .driving-hero__location i { font-size: 12px; }

    .driving-hero__licenses { flex: 0 0 50%; max-width: 100%; margin-top: auto; margin-bottom: 40px; }
    .driving-hero__licenses-title { margin-bottom: 18px; gap: 10px; }
    .driving-hero__licenses-title strong { font-size: 17px; }
    .driving-hero__licenses-title span   { font-size: 10.5px; }
    .driving-hero__licenses-title > i    { font-size: 12px; }

    .driving-hero__cards { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }

    .license-card {
        padding: 20px 14px 16px;
        border-radius: 16px;
        background: rgba(14, 17, 22, 0.92);
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    .license-card__top { margin-bottom: 10px; gap: 6px; }
    .license-card__label { font-size: 7.5px; letter-spacing: 0.14em; }

    .license-card__number {
        min-width: 46px;
        height: 46px;
        font-size: 17px;
        padding: 0 7px;
        border-radius: 11px;
    }

    .license-card__bottom strong { font-size: 14.5px; line-height: 1.25; }
    .license-card__more          { font-size: 11px; gap: 6px; }
    .license-card__more i        { font-size: 9px; }

    .driving-hero__navigation { left: max(40px, calc((100% - 1300px) / 2)); bottom: 26px; gap: 10px; }
    .driving-hero__nav { width: 42px; height: 42px; font-size: 13px; }
    .driving-hero__dots .dot        { width: 18px; }
    .driving-hero__dots .dot.active { width: 36px; }

    .license-modal { padding: 30px; }
    .license-modal__box { width: min(720px, 100%); border-radius: 22px; max-height: calc(100vh - 60px); }
    .license-modal__header { padding: 28px 70px 26px 28px; gap: 20px; }

    .license-modal__class {
        width: 66px;
        height: 66px;
        flex: 0 0 66px;
        font-size: 20px;
        border-radius: 16px;
    }

    .license-modal__header h2   { font-size: 24px; }
    .license-modal__header span { font-size: 10px; }
    .license-modal__content { padding: 28px 30px 32px; }
    .license-modal__content > p { font-size: 15px; line-height: 1.8; margin-bottom: 22px; }
    .license-modal__info { gap: 10px; }
    .license-modal__info-item { padding: 16px; border-radius: 14px; }
    .license-modal__info-item span   { font-size: 9.5px; }
    .license-modal__info-item strong { font-size: 13px;  }
    .license-modal__cta { font-size: 13px; padding: 14px 22px; gap: 11px; }
}



@media only screen
    and (min-width: 1300px)
    and (max-width: 1450px)
    and (max-height: 1100px)
    and (min-height: 900px)
    and (orientation: landscape) {

    .driving-hero__container { width: calc(100% - 120px); max-width: 1300px; gap: 60px; }
    .driving-hero__title     { font-size: clamp(52px, 4.2vw, 66px); }
    .driving-hero__text      { font-size: 15.5px; }
    .driving-hero__cards     { gap: 16px; }
    .license-card            { padding: 22px 16px 18px; }
    .license-card__number    { min-width: 52px; height: 52px; font-size: 19px; }
    .license-card__bottom strong { font-size: 15.5px; }
    .license-card__more          { font-size: 12px; }
    .driving-hero__licenses-title strong { font-size: 18px; }
}



@media only screen
    and (min-width: 320px)
    and (max-width: 380px)
    and (orientation: portrait) {

    .driving-hero { height: auto; min-height: 100vh; max-height: none; }

    .driving-hero__container {
        width: calc(100% - 28px);
        padding: 100px 0 80px;
        gap: 18px;
        min-height: 100vh;
        justify-content: flex-start;
    }

    .driving-hero__eyebrow { font-size: 8.5px; gap: 8px; margin-bottom: 12px; }
    .driving-hero__eyebrow-line { width: 22px; }

    .driving-hero__title { font-size: clamp(26px, 8vw, 32px); line-height: 1.08; letter-spacing: -0.03em; }

    .driving-hero__text {
        font-size: 12.5px;
        line-height: 1.55;
        margin-top: 12px;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .driving-hero__actions { margin-top: 18px; gap: 10px; flex-wrap: nowrap; align-items: center; }
    .driving-hero__cta { font-size: 11.5px; min-height: 42px; padding: 3px 14px 3px 3px; gap: 8px; }
    .driving-hero__cta-icon { width: 34px; height: 34px; font-size: 12px; }
    .driving-hero__location { font-size: 10px; gap: 5px; }

    .driving-hero__licenses-title { margin-bottom: 12px; gap: 8px; }
    .driving-hero__licenses-title strong { font-size: 13px; }
    .driving-hero__licenses-title span   { font-size: 8px;  }
    .driving-hero__licenses-title > i    { font-size: 10px; }

    .driving-hero__cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
    .license-card { padding: 13px 11px 11px; border-radius: 12px; }
    .license-card__label { font-size: 6.5px; letter-spacing: 0.1em; }

    .license-card__number {
        min-width: 36px;
        height: 36px;
        font-size: 13px;
        padding: 0 5px;
        border-radius: 9px;
    }

    .license-card__bottom strong { font-size: 12px; line-height: 1.2; }
    .license-card__more          { font-size: 9.5px; gap: 5px; }
    .license-card__more i        { font-size: 8px;  }

    .driving-hero__navigation { left: 12px; bottom: 16px; gap: 7px; }
    .driving-hero__nav { width: 34px; height: 34px; font-size: 12px; }
    .driving-hero__dots .dot        { width: 14px; }
    .driving-hero__dots .dot.active { width: 28px; }

    .license-modal { padding: 12px; }
    .license-modal__box { border-radius: 16px; }

    .license-modal__class {
        width: 46px;
        height: 46px;
        flex: 0 0 46px;
        font-size: 14px;
        border-radius: 12px;
    }

    .license-modal__header { padding: 20px 48px 16px 18px; gap: 12px; }
    .license-modal__header h2 { font-size: 16px; }
    .license-modal__info { grid-template-columns: 1fr; }
}



@media only screen
    and (min-width: 660px)
    and (max-width: 820px)
    and (orientation: portrait) {

    .driving-hero { height: auto; min-height: auto; max-height: none; padding-bottom: 60px; }

    .driving-hero__container {
        width: calc(100% - 50px);
        max-width: 720px;
        padding: 110px 0 50px;
        gap: 30px;
        min-height: auto;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
    }

    .driving-hero__content { flex: 0 0 auto; width: 100%; max-width: 100%; display: block; margin-top: 0; }
    .driving-hero__eyebrow { font-size: 10px; gap: 10px; margin-bottom: 16px; }
    .driving-hero__eyebrow-line { width: 26px; }
    .driving-hero__title { font-size: clamp(38px, 6vw, 48px); line-height: 1.03; letter-spacing: -0.04em; }

    .driving-hero__text {
        font-size: 14.5px;
        line-height: 1.65;
        margin-top: 16px;
        max-width: 100%;
        display: block;
        -webkit-line-clamp: unset;
        overflow: visible;
    }

    .driving-hero__actions { margin-top: 24px; gap: 18px; flex-wrap: nowrap; align-items: center; }
    .driving-hero__cta { font-size: 13px; min-height: 50px; padding: 4px 20px 4px 4px; gap: 11px; }
    .driving-hero__cta-icon { width: 42px; height: 42px; font-size: 14px; }
    .driving-hero__location { font-size: 11.5px; gap: 7px; }
    .driving-hero__location i { font-size: 11.5px; }

    .driving-hero__licenses { width: 100%; max-width: 100%; margin-top: 0; margin-bottom: 0; }
    .driving-hero__licenses-title { margin-bottom: 16px; gap: 10px; }
    .driving-hero__licenses-title strong { font-size: 16px; }
    .driving-hero__licenses-title span   { font-size: 10px; }
    .driving-hero__licenses-title > i    { font-size: 11px; }

    .driving-hero__cards { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }

    .license-card {
        padding: 18px 12px 15px;
        border-radius: 14px;
        background: rgba(14, 17, 22, 0.92);
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    .license-card__top { margin-bottom: 8px; gap: 5px; }
    .license-card__label { font-size: 7px; letter-spacing: 0.13em; }

    .license-card__number {
        min-width: 42px;
        height: 42px;
        font-size: 15px;
        padding: 0 6px;
        border-radius: 10px;
    }

    .license-card__bottom strong { font-size: 13px; line-height: 1.22; }
    .license-card__more          { font-size: 10px; gap: 5px; }
    .license-card__more i        { font-size: 8px;  }

    .driving-hero__navigation { left: 20px; bottom: 20px; gap: 8px; }
    .driving-hero__nav { width: 38px; height: 38px; font-size: 12px; }
    .driving-hero__dots .dot        { width: 16px; }
    .driving-hero__dots .dot.active { width: 32px; }

    .license-modal { padding: 22px; }
    .license-modal__box { border-radius: 20px; }
    .license-modal__header { padding: 24px 56px 22px 24px; gap: 16px; }

    .license-modal__class {
        width: 58px;
        height: 58px;
        flex: 0 0 58px;
        font-size: 17px;
        border-radius: 14px;
    }

    .license-modal__header h2 { font-size: 20px; }
    .license-modal__content { padding: 22px 24px 26px; }
    .license-modal__content > p { font-size: 14px; margin-bottom: 18px; }
    .license-modal__cta { font-size: 12px; padding: 12px 20px; }
}



@media only screen
    and (min-width: 660px)
    and (max-width: 820px)
    and (max-height: 560px)
    and (orientation: landscape) {

    .driving-hero { height: 100vh; min-height: 500px; max-height: 100vh; }

    .driving-hero__container {
        width: calc(100% - 50px);
        max-width: 780px;
        height: 100%;
        padding: 50px 0 40px;
        gap: 30px;
        flex-direction: row;
        align-items: stretch;
    }

    .driving-hero__content { flex: 0 0 46%; max-width: 380px; display: flex; flex-direction: column; justify-content: center; }
    .driving-hero__title { font-size: clamp(30px, 4.5vw, 40px); line-height: 1.05; }

    .driving-hero__text {
        font-size: 12px;
        line-height: 1.55;
        margin-top: 12px;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .driving-hero__actions { margin-top: 16px; gap: 14px; flex-wrap: nowrap; align-items: center; }
    .driving-hero__cta { font-size: 11.5px; min-height: 42px; padding: 3px 16px 3px 3px; gap: 8px; }
    .driving-hero__cta-icon { width: 34px; height: 34px; font-size: 12px; }
    .driving-hero__location { font-size: 10.5px; gap: 5px; }

    .driving-hero__licenses { flex: 0 0 50%; max-width: 100%; margin-top: auto; margin-bottom: 20px; }
    .driving-hero__licenses-title strong { font-size: 14px; }
    .driving-hero__cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
    .license-card { padding: 12px 10px 10px; border-radius: 12px; }
    .license-card__number { min-width: 36px; height: 36px; font-size: 13px; }
    .license-card__bottom strong { font-size: 12px; }
    .license-card__more          { font-size: 9px;  }

    .driving-hero__navigation { left: 20px; bottom: 14px; }
    .driving-hero__nav { width: 32px; height: 32px; font-size: 11px; }
}



@media only screen
    and (min-width: 380px)
    and (max-width: 432px)
    and (min-height: 800px)
    and (orientation: portrait) {

    .driving-hero__container { padding: 105px 0 95px; gap: 22px; }
    .driving-hero__title     { font-size: clamp(36px, 9vw, 44px); }
    .driving-hero__text      { font-size: 14.5px; line-height: 1.65; }

    .driving-hero__cta { font-size: 13.5px; min-height: 52px; padding: 4px 20px 4px 4px; }
    .driving-hero__cta-icon { width: 42px; height: 42px; font-size: 14px; }
    .driving-hero__location { font-size: 12px; }

    .license-card { padding: 18px 16px 16px; }
    .license-card__number { min-width: 46px; height: 46px; font-size: 17px; }
    .license-card__bottom strong { font-size: 15px; }
    .license-card__more          { font-size: 11.5px; }
}



@media only screen
    and (min-width: 1281px)
    and (max-width: 1500px)
    and (min-height: 850px)
    and (max-height: 1050px)
    and (orientation: landscape) {

    .driving-hero {
        height: 100vh;
        min-height: 100vh;
        max-height: 100vh;
    }

    .driving-hero__container {
        width: calc(100% - 80px);
        max-width: 1300px;
        height: 100%;
        padding: 50px 0 70px;
        gap: 44px;
        flex-direction: row;
        align-items: stretch;
    }

    .driving-hero__content {
        flex: 0 0 46%;
        max-width: 620px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        margin-top: 0;
    }


    .driving-hero__title {
        font-size: clamp(46px, 4.7vw, 62px);
        line-height: 1.03;
        letter-spacing: -0.05em;
    }

    .driving-hero__text {
        font-size: 14.5px;
        line-height: 1.68;
        margin-top: 20px;
        max-width: 540px;
        display: block;
        -webkit-line-clamp: unset;
        overflow: visible;
    }


    .driving-hero__actions {
        margin-top: 26px;
        gap: 22px;
        flex-wrap: nowrap;
        align-items: center;
    }

    .driving-hero__cta {
        font-size: 13px;
        min-height: 52px;
        padding: 5px 22px 5px 5px;
        gap: 12px;
    }

    .driving-hero__cta-icon {
        width: 42px;
        height: 42px;
        font-size: 14px;
    }

    .driving-hero__location {
        font-size: 12px;
        gap: 7px;
    }

    .driving-hero__location i { font-size: 12px; }


    .driving-hero__licenses {
        flex: 0 0 50%;
        max-width: 100%;
        margin-top: auto;
        margin-bottom: 40px;
    }

    .driving-hero__licenses-title {
        margin-bottom: 16px;
        gap: 10px;
    }

    .driving-hero__licenses-title strong { font-size: 16px; }
    .driving-hero__licenses-title span   { font-size: 10px; }
    .driving-hero__licenses-title > i    { font-size: 11px; }

    /* 4'lü grid – sabit, kaymaz */
    .driving-hero__cards {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 12px;
    }

    .license-card {
        padding: 20px 14px 16px;
        border-radius: 15px;
        background: rgba(14, 17, 22, 0.92);
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    .license-card__top { margin-bottom: 9px; gap: 6px; }
    .license-card__label { font-size: 7.5px; letter-spacing: 0.14em; }

    .license-card__number {
        min-width: 46px;
        height: 46px;
        font-size: 16px;
        padding: 0 7px;
        border-radius: 11px;
    }

    .license-card__bottom strong { font-size: 13.5px; line-height: 1.25; }
    .license-card__more          { font-size: 10.5px; gap: 6px; }
    .license-card__more i        { font-size: 8.5px; }

    /* Slider navigasyon – alt kenar */
    .driving-hero__navigation {
        left: max(40px, calc((100% - 1300px) / 2));
        bottom: 24px;
        gap: 10px;
    }

    .driving-hero__nav {
        width: 40px;
        height: 40px;
        font-size: 13px;
    }

    .driving-hero__dots .dot        { width: 18px; }
    .driving-hero__dots .dot.active { width: 36px; }

    /* Modal */
    .license-modal { padding: 30px; }

    .license-modal__box {
        width: min(700px, 100%);
        border-radius: 22px;
        max-height: calc(100vh - 60px);
    }

    .license-modal__header {
        padding: 26px 66px 24px 26px;
        gap: 18px;
    }

    .license-modal__class {
        width: 64px;
        height: 64px;
        flex: 0 0 64px;
        font-size: 19px;
        border-radius: 15px;
    }

    .license-modal__header h2   { font-size: 22px; }
    .license-modal__header span { font-size: 9.5px; }

    .license-modal__content { padding: 26px 28px 30px; }
    .license-modal__content > p { font-size: 14px; line-height: 1.78; margin-bottom: 20px; }
    .license-modal__info-item { padding: 15px; border-radius: 13px; }
    .license-modal__info-item span   { font-size: 9px;    }
    .license-modal__info-item strong { font-size: 12.5px; }
    .license-modal__cta { font-size: 12.5px; padding: 13px 20px; }
}



@media only screen
    and (min-width: 880px)
    and (max-width: 950px)
    and (min-height: 1300px)
    and (orientation: portrait) {

    .driving-hero {
        height: auto;
        min-height: auto;
        max-height: none;
        padding-bottom: 70px;
    }

    .driving-hero__container {
        width: calc(100% - 90px);
        max-width: 820px;
        height: auto;
        min-height: auto;
        padding: 130px 0 60px;
        gap: 48px;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
    }

    .driving-hero__content {
        flex: 0 0 auto;
        width: 100%;
        max-width: 100%;
        display: block;
        margin-top: 0;
    }

    .driving-hero__eyebrow {
        font-size: 11px;
        margin-bottom: 20px;
        gap: 11px;
    }

    .driving-hero__eyebrow-line { width: 30px; height: 2px; }

    .driving-hero__title {
        font-size: clamp(50px, 5.8vw, 64px);
        line-height: 1.03;
        letter-spacing: -0.045em;
    }

    .driving-hero__text {
        font-size: 16px;
        line-height: 1.72;
        margin-top: 22px;
        max-width: 720px;
        display: block;
        -webkit-line-clamp: unset;
        overflow: visible;
    }

    .driving-hero__actions {
        margin-top: 28px;
        gap: 22px;
        flex-wrap: nowrap;
        align-items: center;
    }

    .driving-hero__cta {
        font-size: 14px;
        min-height: 56px;
        padding: 5px 24px 5px 5px;
        gap: 13px;
    }

    .driving-hero__cta-icon {
        width: 46px;
        height: 46px;
        font-size: 15px;
    }

    .driving-hero__location {
        font-size: 13px;
        gap: 8px;
    }

    .driving-hero__location i { font-size: 13px; }

    .driving-hero__licenses {
        flex: 0 0 auto;
        width: 100%;
        max-width: 100%;
        margin-top: 0;
        margin-bottom: 0;
    }

    .driving-hero__licenses-title {
        margin-bottom: 20px;
        gap: 12px;
    }

    .driving-hero__licenses-title strong { font-size: 18px; }
    .driving-hero__licenses-title span   { font-size: 11px; }
    .driving-hero__licenses-title > i    { font-size: 13px; }

    .driving-hero__cards {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 14px;
    }

    .license-card {
        padding: 22px 16px 18px;
        border-radius: 16px;
        background: rgba(14, 17, 22, 0.92);
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    .license-card__number {
        min-width: 52px;
        height: 52px;
        font-size: 19px;
        padding: 0 8px;
        border-radius: 13px;
    }

    .license-card__bottom strong { font-size: 15.5px; line-height: 1.25; }
    .license-card__more          { font-size: 12px; gap: 7px; }
    .license-card__more i        { font-size: 10px; }

    .driving-hero__navigation {
        position: relative;
        left: auto;
        bottom: auto;
        margin-top: 40px;
        align-self: flex-start;
        gap: 10px;
    }

    .driving-hero__nav {
        width: 42px;
        height: 42px;
        font-size: 14px;
    }

    .driving-hero__dots .dot        { width: 18px; height: 2.5px; }
    .driving-hero__dots .dot.active { width: 38px; }

    .license-modal { padding: 40px; }
    .license-modal__box { width: min(760px, 100%); border-radius: 22px; max-height: calc(100vh - 80px); }
    .license-modal__header { padding: 30px 74px 28px 30px; gap: 20px; }

    .license-modal__class {
        width: 70px;
        height: 70px;
        flex: 0 0 70px;
        font-size: 20px;
        border-radius: 16px;
    }

    .license-modal__header h2   { font-size: 24px; }
    .license-modal__header span { font-size: 10px; }
    .license-modal__content { padding: 28px 30px 32px; }
    .license-modal__content > p { font-size: 15px; line-height: 1.8; margin-bottom: 22px; }
    .license-modal__info-item { padding: 16px; border-radius: 14px; }
    .license-modal__info-item span   { font-size: 9.5px; }
    .license-modal__info-item strong { font-size: 13px;  }
    .license-modal__cta { font-size: 13px; padding: 14px 22px; }
}



@media only screen
    and (min-width: 900px)
    and (max-width: 1100px)
    and (max-height: 650px)
    and (orientation: landscape) {

    .driving-hero {
        height: 100vh;
        min-height: 100vh;
        max-height: 100vh;
    }

    .driving-hero__container {
        width: calc(100% - 50px);
        max-width: 1024px;
        height: 100%;
        padding: 40px 0 50px;
        gap: 30px;
        flex-direction: row;
        align-items: stretch;
    }

   
    .driving-hero__content {
        flex: 0 0 44%;
        max-width: 440px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        margin-top: 0;
    }

    .driving-hero__eyebrow {
        font-size: 9.5px;
        gap: 8px;
        margin-bottom: 12px;
    }

    .driving-hero__eyebrow-line { width: 22px; }

    .driving-hero__title {
        font-size: clamp(34px, 3.8vw, 44px);
        line-height: 1.05;
        letter-spacing: -0.04em;
    }

    .driving-hero__text {
        font-size: 12px;
        line-height: 1.55;
        margin-top: 12px;
        max-width: 420px;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

  
    .driving-hero__actions {
        margin-top: 16px;
        gap: 14px;
        flex-wrap: nowrap;
        align-items: center;
    }

    .driving-hero__cta {
        font-size: 11.5px;
        min-height: 42px;
        padding: 3px 16px 3px 3px;
        gap: 8px;
    }

    .driving-hero__cta-icon {
        width: 34px;
        height: 34px;
        font-size: 12px;
    }

    .driving-hero__location {
        font-size: 10.5px;
        gap: 5px;
    }

    .driving-hero__location i { font-size: 10px; }

   
    .driving-hero__licenses {
        flex: 0 0 52%;
        max-width: 100%;
        margin-top: auto;
        margin-bottom: 20px;
    }

    .driving-hero__licenses-title {
        margin-bottom: 10px;
        gap: 8px;
    }

    .driving-hero__licenses-title strong { font-size: 14px; }
    .driving-hero__licenses-title span   { font-size: 9px;  }
    .driving-hero__licenses-title > i    { font-size: 10px; }

    .driving-hero__cards {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 8px;
    }

    .license-card {
        padding: 13px 9px 11px;
        border-radius: 12px;
        background: rgba(14, 17, 22, 0.92);
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    .license-card__top { margin-bottom: 6px; gap: 4px; }
    .license-card__label { font-size: 6px; letter-spacing: 0.1em; }

    .license-card__number {
        min-width: 34px;
        height: 34px;
        font-size: 13px;
        padding: 0 5px;
        border-radius: 9px;
    }

    .license-card__bottom strong { font-size: 11.5px; line-height: 1.2; }
    .license-card__more          { font-size: 9px;   gap: 4px; }
    .license-card__more i        { font-size: 7.5px; }

   
    .driving-hero__navigation {
        left: 20px;
        bottom: 12px;
        gap: 7px;
    }

    .driving-hero__nav {
        width: 32px;
        height: 32px;
        font-size: 11px;
    }

    .driving-hero__dots .dot        { width: 12px; }
    .driving-hero__dots .dot.active { width: 26px; }

  
    .license-modal { padding: 16px; }
    .license-modal__box { border-radius: 16px; max-height: calc(100vh - 32px); }

    .license-modal__header {
        padding: 16px 48px 14px 18px;
        gap: 12px;
    }

    .license-modal__class {
        width: 44px;
        height: 44px;
        flex: 0 0 44px;
        font-size: 14px;
        border-radius: 11px;
    }

    .license-modal__header h2   { font-size: 16px; }
    .license-modal__header span { font-size: 7px;  }

    .license-modal__content { padding: 16px 18px 20px; }
    .license-modal__content > p { font-size: 12px; line-height: 1.65; margin-bottom: 14px; }

    .license-modal__info { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .license-modal__info-item { padding: 10px; border-radius: 9px; }
    .license-modal__info-item span   { font-size: 7.5px; }
    .license-modal__info-item strong { font-size: 10.5px; }

    .license-modal__cta { font-size: 10.5px; padding: 10px 16px; margin-top: 16px; }
}



@media only screen
    and (min-width: 1150px)
    and (max-width: 1350px)
    and (min-height: 750px)
    and (max-height: 850px)
    and (orientation: landscape) {

    .driving-hero {
        height: 100vh;
        min-height: 100vh;
        max-height: 100vh;
    }

    .driving-hero__container {
        width: calc(100% - 70px);
        max-width: 1220px;
        height: 100%;
        padding: 50px 0 60px;
        gap: 38px;
        flex-direction: row;
        align-items: stretch;
    }

    .driving-hero__content {
        flex: 0 0 46%;
        max-width: 560px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        margin-top: 0;
    }

    .driving-hero__eyebrow {
        font-size: 10px;
        gap: 10px;
        margin-bottom: 16px;
    }

    .driving-hero__eyebrow-line { width: 26px; }

    .driving-hero__title {
        font-size: clamp(40px, 4.2vw, 54px);
        line-height: 1.03;
        letter-spacing: -0.045em;
    }

    .driving-hero__text {
        font-size: 13.5px;
        line-height: 1.65;
        margin-top: 16px;
        max-width: 500px;
        display: block;
        -webkit-line-clamp: unset;
        overflow: visible;
    }

    .driving-hero__actions {
        margin-top: 22px;
        gap: 18px;
        flex-wrap: nowrap;
        align-items: center;
    }

    .driving-hero__cta {
        font-size: 12.5px;
        min-height: 48px;
        padding: 4px 18px 4px 4px;
        gap: 10px;
    }

    .driving-hero__cta-icon {
        width: 38px;
        height: 38px;
        font-size: 13px;
    }

    .driving-hero__location {
        font-size: 11px;
        gap: 6px;
    }

    .driving-hero__location i { font-size: 11px; }

    .driving-hero__licenses {
        flex: 0 0 50%;
        max-width: 100%;
        margin-top: auto;
        margin-bottom: 30px;
    }

    .driving-hero__licenses-title {
        margin-bottom: 14px;
        gap: 10px;
    }

    .driving-hero__licenses-title strong { font-size: 15px; }
    .driving-hero__licenses-title span   { font-size: 9.5px; }
    .driving-hero__licenses-title > i    { font-size: 10.5px; }

    .driving-hero__cards {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 10px;
    }

    .license-card {
        padding: 16px 12px 13px;
        border-radius: 13px;
        background: rgba(14, 17, 22, 0.92);
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    .license-card__top { margin-bottom: 8px; gap: 5px; }
    .license-card__label { font-size: 7px; letter-spacing: 0.12em; }

    .license-card__number {
        min-width: 40px;
        height: 40px;
        font-size: 15px;
        padding: 0 6px;
        border-radius: 10px;
    }

    .license-card__bottom strong { font-size: 13px; line-height: 1.22; }
    .license-card__more          { font-size: 10px; gap: 5px; }
    .license-card__more i        { font-size: 8px;  }

    .driving-hero__navigation {
        left: max(35px, calc((100% - 1220px) / 2));
        bottom: 20px;
        gap: 8px;
    }

    .driving-hero__nav {
        width: 36px;
        height: 36px;
        font-size: 12px;
    }

    .driving-hero__dots .dot        { width: 15px; }
    .driving-hero__dots .dot.active { width: 30px; }

    .license-modal { padding: 24px; }
    .license-modal__box { width: min(680px, 100%); border-radius: 20px; max-height: calc(100vh - 48px); }

    .license-modal__header {
        padding: 22px 60px 20px 22px;
        gap: 16px;
    }

    .license-modal__class {
        width: 56px;
        height: 56px;
        flex: 0 0 56px;
        font-size: 16px;
        border-radius: 14px;
    }

    .license-modal__header h2   { font-size: 20px; }
    .license-modal__header span { font-size: 9px;  }

    .license-modal__content { padding: 22px 24px 26px; }
    .license-modal__content > p { font-size: 13px; line-height: 1.7; margin-bottom: 18px; }
    .license-modal__info-item { padding: 13px; border-radius: 11px; }
    .license-modal__info-item span   { font-size: 8.5px; }
    .license-modal__info-item strong { font-size: 12px;  }
    .license-modal__cta { font-size: 11.5px; padding: 12px 18px; }
}



@media only screen
    and (min-width: 950px)
    and (max-width: 1100px)
    and (min-height: 1200px)
    and (orientation: portrait) {

    .driving-hero {
        height: auto;
        min-height: auto;
        max-height: none;
        padding-bottom: 80px;
        overflow: visible;
    }

    .driving-hero__container {
        width: calc(100% - 100px);
        max-width: 1000px;
        height: auto;
        min-height: auto;
        padding: 125px 0 70px;
        gap: 55px;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
    }

    .driving-hero__content {
        width: 100%;
        max-width: 900px;
        flex: 0 0 auto;
        display: flex;
        flex-direction: column;
        justify-content: center;
        margin-top: 0;
        min-width: 0;
    }

    .driving-hero__eyebrow {
        font-size: 12px;
        margin-bottom: 22px;
        gap: 12px;
        letter-spacing: 0.18em;
    }

    .driving-hero__eyebrow-line {
        width: 34px;
        height: 2px;
    }

    .driving-hero__title {
        max-width: 900px;
        font-size: clamp(52px, 6vw, 68px);
        line-height: 1.04;
        letter-spacing: -0.045em;
        overflow-wrap: break-word;
        word-break: normal;
    }

    .driving-hero__text {
        width: 100%;
        max-width: 760px;
        font-size: 17px;
        line-height: 1.72;
        margin-top: 22px;
        overflow-wrap: break-word;
        word-break: normal;
    }

    .driving-hero__actions {
        width: 100%;
        margin-top: 30px;
        gap: 24px;
        flex-wrap: nowrap;
        align-items: center;
        min-width: 0;
    }

    .driving-hero__cta {
        min-width: 0;
        min-height: 58px;
        padding: 5px 25px 5px 5px;
        gap: 13px;
        font-size: 14px;
        flex-shrink: 1;
    }

    .driving-hero__cta-icon {
        width: 48px;
        height: 48px;
        flex: 0 0 48px;
        font-size: 16px;
    }

    .driving-hero__cta > span:last-child {
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .driving-hero__location {
        min-width: 0;
        max-width: 360px;
        font-size: 13px;
        gap: 8px;
        flex-shrink: 1;
    }

    .driving-hero__location span {
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .driving-hero__licenses {
        width: 100%;
        max-width: 100%;
        flex: 0 0 auto;
        margin: 0;
        min-width: 0;
    }

    .driving-hero__licenses-title {
        width: 100%;
        margin-bottom: 20px;
        padding: 0 4px;
        gap: 12px;
    }

    .driving-hero__licenses-title div {
        min-width: 0;
    }

    .driving-hero__licenses-title span {
        font-size: 11px;
        white-space: normal;
        overflow-wrap: break-word;
    }

    .driving-hero__licenses-title strong {
        font-size: 19px;
        line-height: 1.3;
        overflow-wrap: break-word;
    }

    .driving-hero__licenses-title > i {
        flex-shrink: 0;
        font-size: 13px;
    }

  
    .driving-hero__cards {
        width: 100%;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
        perspective: 1200px;
    }

    .license-card {
        width: 100%;
        min-width: 0;
        min-height: 175px;
        padding: 22px 20px 19px;
        border-radius: 17px;
        background: rgba(14, 17, 22, 0.92);
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        box-sizing: border-box;
    }

    .license-card__top {
        width: 100%;
        min-width: 0;
        margin-bottom: 14px;
        gap: 10px;
    }

    .license-card__label {
        min-width: 0;
        max-width: calc(100% - 62px);
        font-size: 8px;
        line-height: 1.35;
        letter-spacing: 0.13em;
        white-space: normal;
        overflow-wrap: break-word;
        word-break: normal;
    }

    .license-card__number {
        min-width: 52px;
        width: auto;
        height: 52px;
        flex: 0 0 auto;
        padding: 0 9px;
        border-radius: 13px;
        font-size: 19px;
        line-height: 1;
    }

    .license-card__bottom {
        width: 100%;
        min-width: 0;
        gap: 8px;
    }

    .license-card__bottom strong {
        width: 100%;
        min-width: 0;
        font-size: 16px;
        line-height: 1.35;
        overflow-wrap: break-word;
        word-break: normal;
        white-space: normal;
    }

    .license-card__more {
        max-width: 100%;
        min-width: 0;
        font-size: 12px;
        line-height: 1.35;
        gap: 7px;
        white-space: normal;
        overflow-wrap: break-word;
    }

    .license-card__more i {
        flex-shrink: 0;
        font-size: 10px;
    }

    .driving-hero__navigation {
        position: relative;
        left: auto;
        bottom: auto;
        margin-top: 40px;
        align-self: flex-start;
        gap: 10px;
    }

    .driving-hero__nav {
        width: 44px;
        height: 44px;
        flex: 0 0 44px;
        font-size: 14px;
    }

    .driving-hero__dots .dot {
        width: 20px;
        height: 3px;
    }

    .driving-hero__dots .dot.active {
        width: 40px;
    }

   
    .license-modal {
        padding: 32px;
    }

    .license-modal__box {
        width: min(780px, 100%);
        max-height: calc(100vh - 64px);
        border-radius: 22px;
    }

    .license-modal__header {
        padding: 30px 72px 28px 30px;
        gap: 20px;
    }

    .license-modal__class {
        width: 70px;
        height: 70px;
        flex: 0 0 70px;
        font-size: 20px;
        border-radius: 16px;
    }

    .license-modal__header h2 {
        min-width: 0;
        font-size: 24px;
        line-height: 1.3;
        overflow-wrap: break-word;
    }

    .license-modal__header span {
        font-size: 10px;
    }

    .license-modal__content {
        padding: 30px 32px 34px;
    }

    .license-modal__content > p {
        font-size: 15px;
        line-height: 1.8;
        overflow-wrap: break-word;
    }

    .license-modal__info {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .license-modal__info-item {
        min-width: 0;
        padding: 17px;
        border-radius: 14px;
    }

    .license-modal__info-item span {
        font-size: 9.5px;
        line-height: 1.35;
        overflow-wrap: break-word;
    }

    .license-modal__info-item strong {
        font-size: 13px;
        line-height: 1.45;
        overflow-wrap: break-word;
        word-break: normal;
    }

    .license-modal__cta {
        font-size: 13px;
        padding: 14px 24px;
    }
}


@media only screen
    and (min-width: 1200px)
    and (max-width: 1450px)
    and (min-height: 850px)
    and (max-height: 1100px)
    and (orientation: landscape) {

    .driving-hero {
        height: 100vh;
        min-height: 850px;
        max-height: 100vh;
    }

    .driving-hero__container {
        width: calc(100% - 110px);
        max-width: 1300px;
        height: 100%;
        padding: 70px 0 75px;
        gap: 55px;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .driving-hero__content {
        flex: 0 0 45%;
        max-width: 580px;
        min-width: 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
        margin-top: 0;
    }

    .driving-hero__eyebrow {
        font-size: 11.5px;
        margin-bottom: 20px;
        gap: 11px;
    }

    .driving-hero__title {
        max-width: 580px;
        font-size: clamp(48px, 4.5vw, 62px);
        line-height: 1.04;
        letter-spacing: -0.05em;
        overflow-wrap: break-word;
    }

    .driving-hero__text {
        max-width: 540px;
        font-size: 15.5px;
        line-height: 1.7;
        margin-top: 20px;
        overflow-wrap: break-word;
    }

    .driving-hero__actions {
        margin-top: 26px;
        gap: 20px;
        flex-wrap: nowrap;
        min-width: 0;
    }

    .driving-hero__cta {
        min-width: 0;
        min-height: 54px;
        padding: 5px 22px 5px 5px;
        gap: 12px;
        font-size: 13.5px;
        flex-shrink: 1;
    }

    .driving-hero__cta-icon {
        width: 44px;
        height: 44px;
        flex: 0 0 44px;
        font-size: 15px;
    }

    .driving-hero__location {
        min-width: 0;
        max-width: 320px;
        font-size: 12px;
        gap: 7px;
    }

    .driving-hero__location span {
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .driving-hero__licenses {
        flex: 0 0 50%;
        width: 50%;
        max-width: none;
        min-width: 0;
        margin: 0;
    }

    .driving-hero__licenses-title {
        margin-bottom: 18px;
        gap: 10px;
    }

    .driving-hero__licenses-title strong {
        font-size: 17px;
        line-height: 1.3;
    }

    .driving-hero__licenses-title span {
        font-size: 10px;
    }


    .driving-hero__cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
        width: 100%;
    }

    .license-card {
        min-width: 0;
        min-height: 150px;
        padding: 20px 18px 17px;
        border-radius: 16px;
        background: rgba(14, 17, 22, 0.92);
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        box-sizing: border-box;
    }

    .license-card__top {
        min-width: 0;
        margin-bottom: 11px;
        gap: 8px;
    }

    .license-card__label {
        min-width: 0;
        max-width: calc(100% - 58px);
        font-size: 7.5px;
        line-height: 1.35;
        letter-spacing: 0.12em;
        white-space: normal;
        overflow-wrap: break-word;
    }

    .license-card__number {
        min-width: 48px;
        width: auto;
        height: 48px;
        flex: 0 0 auto;
        padding: 0 8px;
        border-radius: 12px;
        font-size: 18px;
    }

    .license-card__bottom {
        min-width: 0;
        gap: 7px;
    }

    .license-card__bottom strong {
        min-width: 0;
        font-size: 15px;
        line-height: 1.32;
        overflow-wrap: break-word;
        word-break: normal;
        white-space: normal;
    }

    .license-card__more {
        min-width: 0;
        max-width: 100%;
        font-size: 11px;
        line-height: 1.35;
        gap: 6px;
        white-space: normal;
        overflow-wrap: break-word;
    }

    .license-card__more i {
        flex-shrink: 0;
        font-size: 9px;
    }

    .driving-hero__navigation {
        left: max(40px, calc((100% - 1300px) / 2));
        bottom: 26px;
        gap: 9px;
    }

    .driving-hero__nav {
        width: 40px;
        height: 40px;
        flex: 0 0 40px;
        font-size: 13px;
    }

    .driving-hero__dots .dot {
        width: 18px;
    }

    .driving-hero__dots .dot.active {
        width: 36px;
    }

    /* Modal */
    .license-modal {
        padding: 30px;
    }

    .license-modal__box {
        width: min(740px, 100%);
        max-height: calc(100vh - 60px);
        border-radius: 22px;
    }

    .license-modal__header {
        padding: 28px 70px 26px 28px;
        gap: 18px;
    }

    .license-modal__class {
        width: 66px;
        height: 66px;
        flex: 0 0 66px;
        font-size: 19px;
        border-radius: 15px;
    }

    .license-modal__header h2 {
        min-width: 0;
        font-size: 23px;
        line-height: 1.3;
        overflow-wrap: break-word;
    }

    .license-modal__content {
        padding: 28px 30px 32px;
    }

    .license-modal__content > p {
        font-size: 14px;
        line-height: 1.78;
        overflow-wrap: break-word;
    }

    .license-modal__info {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .license-modal__info-item {
        min-width: 0;
        padding: 15px;
    }

    .license-modal__info-item strong {
        font-size: 12.5px;
        line-height: 1.45;
        overflow-wrap: break-word;
    }

    .license-modal__cta {
        font-size: 12.5px;
        padding: 13px 22px;
    }
}


/* ============================================
   FEATURES SECTION
============================================ */
.features-section {
    padding: 4rem 1rem;
    background: linear-gradient(
        145deg,
        rgba(230, 57, 70, 0.03),
        rgba(244, 162, 97, 0.02)
    );
    overflow-x: hidden;
}

.section-title {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 2.5rem;

    background: linear-gradient(135deg, #dc2626 0%, #c1121f 50%, #991b1b 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

body.dark-mode .section-title {
    background: linear-gradient(135deg, #ff4d4d 0%, #e60026 50%, #b3001b 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ============================================
   MASAÜSTÜ GRID
============================================ */
.features-radial {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.3rem;
    align-items: center;
    justify-items: center;
    position: relative;
    width: 100%;
    max-width: 100%;
    overflow: visible;
}


.feature-radial-item {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    width: 100%;
    max-width: 320px;
    height: 450px;
    min-width: 0;
    perspective: 1600px;
}

.flip-card {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 1.3rem;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    transform-style: preserve-3d;
    transform: rotateY(0deg);
    will-change: transform;
}

.feature-radial-item.flipped .flip-card {
    transform: rotateY(180deg);
}


.flip-card-front,
.flip-card-back {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border-radius: 1.3rem;
    padding: 1.6rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transform-style: preserve-3d;
    transform: translateZ(0);
    overflow: hidden;
    box-sizing: border-box;

    
    overflow-wrap: break-word;
    word-wrap: break-word;
    min-width: 0;
    min-height: 0;
    max-width: 100%;
}


.flip-card-back {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    transform: rotateY(0deg);
    box-shadow: 0 18px 30px rgba(0, 0, 0, 0.22);

  
    justify-content: center;
}

.flip-card-back .feature-icon {
    color: white;
    background: none;
    font-size: 2.4rem;
    margin-bottom: 0.7rem;
    flex-shrink: 0;
}

.flip-card-back h3 {
    color: white;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.45rem;
    line-height: 1.25;
    max-width: 100%;
}

.flip-card-back .short-desc {
    font-size: 0.9rem;
    line-height: 1.45;
    font-weight: 500;
    opacity: 0.95;
    max-width: 100%;
}


.flip-card-front {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(230, 57, 70, 0.3);
    box-shadow: 0 18px 28px -10px rgba(0, 0, 0, 0.1);
    transform: rotateY(180deg);

   
    overflow: hidden;
    justify-content: flex-start;
}


.flip-card-front > *:first-child {
    margin-top: auto;
}

.flip-card-front > *:last-child {
    margin-bottom: auto;
}


.feature-radial-item.flipped .flip-card-front {
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
    overscroll-behavior: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(230, 57, 70, 0.35) transparent;
}

.feature-radial-item.flipped .flip-card-front::-webkit-scrollbar {
    width: 5px;
}

.feature-radial-item.flipped .flip-card-front::-webkit-scrollbar-track {
    background: transparent;
}

.feature-radial-item.flipped .flip-card-front::-webkit-scrollbar-thumb {
    background: rgba(230, 57, 70, 0.35);
    border-radius: 999px;
}

.feature-radial-item.flipped .flip-card-front::-webkit-scrollbar-thumb:hover {
    background: rgba(230, 57, 70, 0.55);
}

body.dark-mode .flip-card-front {
    background: rgba(17, 34, 64, 0.92);
    border-color: rgba(244, 162, 97, 0.4);
}

body.dark-mode .feature-radial-item.flipped .flip-card-front {
    scrollbar-color: rgba(244, 162, 97, 0.4) transparent;
}

body.dark-mode .feature-radial-item.flipped .flip-card-front::-webkit-scrollbar-thumb {
    background: rgba(244, 162, 97, 0.4);
}

.feature-icon {
    font-size: 2.4rem;
    margin-bottom: 0.7rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    flex-shrink: 0;
}

.flip-card-front h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.25;
    color: var(--light-heading);
    max-width: 100%;
    flex-shrink: 0;
}

body.dark-mode .flip-card-front h3 {
    color: var(--dark-heading);
}

.full-desc {
    font-size: 0.9rem;
    line-height: 1.45;
    margin-bottom: 0.55rem;
    color: var(--light-text);
    font-weight: 500;
    max-width: 100%;
}

body.dark-mode .full-desc {
    color: var(--dark-text);
}

/* ============================================
   FEATURE LIST
============================================ */
.feature-list {
    list-style: none;
    padding: 0;
    margin: 14px auto 0;
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    max-width: 100%;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 8px;
    width: 100%;
    max-width: 100%;
    font-size: 0.85rem;
    line-height: 1.45;
    color: var(--light-text);
    overflow-wrap: break-word;
}

body.dark-mode .feature-list li {
    color: var(--dark-text);
}

.feature-list li i {
    width: 18px;
    min-width: 18px;
    flex-shrink: 0;
    text-align: center;
    margin-top: 2px;
    color: var(--primary);
}

.feature-list li.no-icon {
    padding-left: 28px;
}

.feature-list li.no-icon::before {
    content: "+";
    color: var(--primary);
    font-weight: bold;
}


.center-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    grid-column: 2 / 3;
    grid-row: 2 / 3;
    z-index: 10;
    margin-bottom: 2rem;
    min-width: 0;
}

.round-image-center {
    position: relative;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    overflow: visible;
    border: 4px solid transparent;
    transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    margin: 0 auto;
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    max-width: 100%;
}

.round-image-center img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.hint-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 16px;
    white-space: nowrap;
    pointer-events: none;
    color: #0f60ae;
    font-size: 1rem;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(15, 96, 174, 0.12);
    border-radius: 999px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    z-index: 20;
    transition: all 0.3s ease;
}

body.dark-mode .hint-badge {
    background: rgba(17, 34, 64, 0.82);
    color: #6bb6ff;
    border-color: rgba(255, 255, 255, 0.08);
}

.hint-badge i {
    font-size: 1rem;
    animation: spinHint 3s linear infinite;
}

/* ============================================
   GRID POZİSYON
============================================ */
.pos-1 { grid-column: 1 / 2; grid-row: 1 / 2; justify-self: end; }
.pos-2 { grid-column: 3 / 4; grid-row: 1 / 2; justify-self: start; }
.pos-3 { grid-column: 1 / 2; grid-row: 2 / 3; justify-self: end; }
.pos-4 { grid-column: 3 / 4; grid-row: 2 / 3; justify-self: start; }
.pos-5 { grid-column: 1 / 2; grid-row: 3 / 4; justify-self: end; }
.pos-6 { grid-column: 3 / 4; grid-row: 3 / 4; justify-self: start; }


@media (min-width: 901px) and (max-width: 1280px) {
    .features-section {
        padding: 3rem 0.75rem;
    }

    .features-radial {
        gap: 1rem;
    }

    .feature-radial-item {
        max-width: 270px;
        height: 420px;
    }

    .round-image-center {
        width: 180px;
        height: 180px;
    }

    .hint-badge {
        transform: translateY(-140px);
        font-size: 0.9rem;
        padding: 7px 14px;
    }

    .flip-card-front,
    .flip-card-back {
        padding: 1.3rem;
    }

    .feature-icon {
        font-size: 2.1rem;
        margin-bottom: 0.55rem;
    }

    .flip-card-front h3,
    .flip-card-back h3 {
        font-size: 1.25rem;
        margin-bottom: 0.4rem;
    }

    .full-desc,
    .short-desc {
        font-size: 0.85rem;
        line-height: 1.42;
    }

    .feature-list li {
        font-size: 0.82rem;
        margin-bottom: 6px;
    }
}


@media (max-width: 900px) {
    .features-radial {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }

    .center-item {
        order: -1;
        margin-bottom: 3rem;
    }

    .feature-radial-item {
        max-width: 100%;
        height: 370px;
        min-height: unset;
    }

    .flip-card {
        height: 100%;
        display: block;
    }

    .flip-card-front,
    .flip-card-back {
        position: absolute;
        inset: 0;
        height: 100%;
        padding: 1.3rem;
        border-radius: 1.2rem;
    }

    .flip-card-front {
        backdrop-filter: none;
        background: rgba(255, 255, 255, 0.98);
    }

    body.dark-mode .flip-card-front {
        background: rgba(17, 34, 64, 0.98);
    }

    .feature-icon {
        font-size: 2.2rem;
        margin-bottom: 0.45rem;
    }

    .flip-card-front h3,
    .flip-card-back h3 {
        font-size: 1.3rem;
        margin-bottom: 0.35rem;
        line-height: 1.2;
    }

    .full-desc,
    .short-desc {
        font-size: 0.86rem;
        line-height: 1.4;
        margin-bottom: 0.45rem;
    }

    .flip-card-front ul {
        margin: 0.3rem 0 0;
        padding: 0;
    }

    .flip-card-front li {
        font-size: 0.82rem;
        line-height: 1.4;
        margin-bottom: 4px;
    }

    .feature-details {
        font-size: 0.72rem;
        margin-top: 0.4rem;
    }

    .round-image-center {
        width: 170px;
        height: 170px;
    }

    .hint-badge {
        bottom: -34px;
        font-size: 0.88rem;
        padding: 7px 14px;
        transform: none;
    }
}


@media (max-width: 480px) {
    .features-section {
        padding: 3rem 0.75rem;
    }

    .features-radial {
        gap: 0.8rem;
    }

    .feature-radial-item {
        height: 355px;
    }

    .flip-card-front,
    .flip-card-back {
        padding: 1.1rem;
    }

    .feature-icon {
        font-size: 2rem;
        margin-bottom: 0.4rem;
    }

    .flip-card-front h3,
    .flip-card-back h3 {
        font-size: 1.18rem;
        margin-bottom: 0.3rem;
    }

    .full-desc,
    .short-desc {
        font-size: 0.8rem;
        line-height: 1.35;
    }

    .flip-card-front ul {
        margin-top: 0.25rem;
    }

    .flip-card-front li {
        font-size: 0.77rem;
        line-height: 1.35;
        margin-bottom: 3px;
    }

    .flip-card-front li i {
        width: 16px;
        font-size: 0.82rem;
        margin-right: 6px;
    }

    .feature-details {
        font-size: 0.68rem;
        padding: 0.25rem 0.65rem;
    }

    .round-image-center {
        width: 145px;
        height: 145px;
    }

    .hint-badge {
        bottom: -30px;
        font-size: 0.78rem;
        padding: 6px 12px;
    }
}


@media (min-width: 768px) and (max-width: 1024px) {
    .feature-radial-item {
        height: 340px !important;
    }

    .flip-card-front,
    .flip-card-back {
        padding: 1.15rem;
    }

    .feature-icon {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }

    .flip-card-front h3,
    .flip-card-back h3 {
        font-size: 1.25rem;
        line-height: 1.2;
        margin-bottom: 0.4rem;
    }

    .full-desc,
    .short-desc {
        font-size: 0.82rem;
        line-height: 1.35;
        margin-bottom: 0.45rem;
    }

    .flip-card-front ul {
        margin-top: 0.25rem;
        padding: 0;
    }

    .flip-card-front li {
        font-size: 0.79rem;
        line-height: 1.35;
        margin-bottom: 3px;
    }

    .flip-card-front li i {
        width: 16px;
        font-size: 0.82rem;
        margin-right: 6px;
        flex-shrink: 0;
    }

    .round-image-center {
        width: 160px;
        height: 160px;
    }
}


@media (min-width: 1281px) {
    .hint-badge {
        transform: translateY(-170px);
    }
}


@keyframes spinHint {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}






.info-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    margin-bottom: 5rem;
    flex-wrap: nowrap;
}

.info-row.reverse {
    flex-direction: row-reverse;
}


.info-image {
    flex: 0 0 45%;
}

.info-image img {
    width: 100%;
    border-radius: 1.5rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    display: block;
}

.info-image img:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-lg);
}


.info-text {
    flex: 0 0 50%;
    max-width: 600px;
}

.info-text h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    line-height: 1.3;
    color: var(--light-heading);
}

body.dark-mode .info-text h2 {
    color: var(--dark-heading);
}

.info-text p {
    margin-bottom: 1rem;
    color: var(--light-text);
    line-height: 1.9;
    font-size: 1.05rem;
    text-align: justify;
}

body.dark-mode .info-text p {
    color: var(--dark-text);
}

.check-list {
    list-style: none;
    margin-top: 1.5rem;
}

.check-list li {
    color: var(--light-text);
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    margin-bottom: 1rem;
    line-height: 1.7;
}

body.dark-mode .check-list li {
    color: var(--dark-text);
}

.check-list i {
    color: var(--primary);
    margin-top: 4px;
    flex-shrink: 0;
}

/* Tablet */
@media (max-width: 992px) {
    .info-row,
    .info-row.reverse {
        gap: 2rem;
    }

    .info-text h2 {
        font-size: 1.75rem;
    }

    .info-text p,
    .check-list li {
        font-size: 1rem;
    }
}

/* Mobil */
@media (max-width: 768px) {
    .info-row,
    .info-row.reverse {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
        margin-bottom: 4rem;
    }

    .info-image,
    .info-text {
        flex: 1 1 100%;
        max-width: 100%;
    }

    .info-text h2 {
        font-size: 1.6rem;
    }

    .info-text p {
        text-align: left;
        font-size: 1rem;
        line-height: 1.8;
    }

    .check-list li {
        justify-content: flex-start;
        text-align: left;
    }
}


@media (max-width: 480px) {
    .info-text h2 {
        font-size: 1.4rem;
    }

    .info-text p,
    .check-list li {
        font-size: 0.95rem;
        line-height: 1.7;
    }
}



.octagon-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2.5rem;
    margin-top: 2rem;
}

.octagon-card {
    width: 255px; /* 240 → 255 */
    height: 275px; /* 260 → 275 */

    background: linear-gradient(145deg, var(--primary), var(--primary-dark));

    clip-path: polygon(
        30% 0%,
        70% 0%,
        100% 30%,
        100% 70%,
        70% 100%,
        30% 100%,
        0% 70%,
        0% 30%
    );

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;

    padding: 1.6rem;

    color: white;

    transition:
        transform 0.75s cubic-bezier(0.2, 0.9, 0.4, 1.1),
        box-shadow 0.3s;

    cursor: pointer;

    box-shadow: var(--shadow-md);

    will-change: transform;
    transform: translateZ(0) rotate(0deg);

    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;

    transform-style: preserve-3d;
    -webkit-transform-style: preserve-3d;
}

.octagon-card i {
    font-size: 2.9rem;
    margin-bottom: 0.9rem;
}

.octagon-card h3 {
    font-size: 1.2rem;
    line-height: 1.3;
    margin-bottom: 0.6rem;
}

.octagon-card p {
    font-size: 0.95rem;
    line-height: 1.45;
    margin: 0;
    max-width: 90%;
    word-break: break-word;
}

/* =============================================
   TABLET
============================================= */

@media (max-width: 768px) {
    .octagon-grid {
        gap: 1.2rem;
    }

    .octagon-card {
        width: 200px;
        height: 220px;
        padding: 1.3rem;
    }

    .octagon-card i {
        font-size: 2.2rem;
        margin-bottom: 0.6rem;
    }

    .octagon-card h3 {
        font-size: 1rem;
        margin-bottom: 0.45rem;
    }

    .octagon-card p {
        font-size: 0.82rem;
        line-height: 1.35;
        max-width: 88%;
    }
}

/* =============================================
   Small Mobile
============================================= */

@media (max-width: 480px) {
    .octagon-grid {
        gap: 1rem;
    }

    .octagon-card {
        width: 185px;
        height: 210px;
        padding: 1.15rem;
    }

    .octagon-card i {
        font-size: 2rem;
    }

    .octagon-card h3 {
        font-size: 0.95rem;
    }

    .octagon-card p {
        font-size: 0.75rem;
        line-height: 1.3;
    }
}
/* ==========================================
   COURSE GRID
========================================== */

.card-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 40px;
}

/* ==========================================
   CARD
========================================== */

.modern-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 16px;
    overflow: hidden;
    height: 100%;
    transition: all 0.2s ease;
}

body.dark-mode .modern-card {
    background: var(--dark-card);
    border-color: var(--border-dark);
}

.modern-card:hover {
    transform: translateY(-3px);
    border-color: #d0d0d0;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

/* ==========================================
   IMAGE
========================================== */

.card-img-top {
    height: 160px;
    background-size: cover;
    background-position: center;
    border-bottom: 1px solid #efefef;
}

/* ==========================================
   CONTENT
========================================== */

.card-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 18px;
    text-align: center;
}

/* title + text */
.card-content h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary);
    margin: 0 0 10px;
    line-height: 1.3;
}

.card-content p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--light-text);
    margin: 0;
}

body.dark-mode .card-content p {
    color: var(--dark-text);
}

/* ==========================================
   PRICE (FIXED POSITION)
========================================== */

.price-tag {
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid #ececec;
    font-size: 28px;
    font-weight: 700;
    color: #d92f3f;
}

/* ==========================================
   BUTTON (FIXED UNDER PRICE)
========================================== */

.btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 44px;
    margin-top: 12px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.btn-primary {
    background: #d92f3f;
    color: #fff;
    border: 1px solid #d92f3f;
    transition: 0.2s ease;
}

.btn-primary:hover {
    background: #c32635;
}

/* ==========================================
   RESPONSIVE
========================================== */

@media (max-width: 1200px) {
    .card-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .card-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .card-img-top {
        height: 150px;
    }

    .card-content {
        padding: 16px;
    }

    .card-content h3 {
        font-size: 20px;
    }

    .card-content p {
        font-size: 13px;
    }

    .price-tag {
        font-size: 24px;
    }
}

/* ==========================================
   CARD HOVER
========================================== */

.modern-card {
    position: relative;
    overflow: hidden;

    transition:
        box-shadow 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease;
}


.modern-card::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 4px;
    height: 0;

    background: var(--primary);

    transition: height 0.25s ease;
}



.modern-card:hover {
    border-color: #d7d7d7;

    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.08);

    transform: translateY(-4px);
}



.modern-card:hover::before {
    height: 100%;
}

/* Başlık */

.modern-card h3 {
    transition: color 0.25s ease;
}

.modern-card:hover h3 {
    color: var(--primary);
}

/* Fiyat */

.price-tag {
    transition: color 0.25s ease;
}

.modern-card:hover .price-tag {
    color: #c62839;
}



.btn-primary {
    transition:
        background 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease;
}

.modern-card:hover .btn-primary {
    background: #c62839;

    border-color: #c62839;
}



.card-img-top {
    transition: filter 0.25s ease;
}

.modern-card:hover .card-img-top {
    filter: brightness(0.96);
}








/* ============================================================
   VIDEO SECTION
============================================================ */

.video-section {
    padding: 3rem 0;
}


/* ============================================================
   VIDEO PREVIEW CONTAINER
============================================================ */

.video-preview-container {
    width: 100%;

    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;      
    gap: 2rem;           

    margin-top: 2rem;
}



.video-wrapper {
    position: relative;

    width: 300px;
    aspect-ratio: 9 / 16;

    overflow: hidden;

    background: #000;

    border-radius: 18px;

    box-shadow: var(--shadow-lg);

    cursor: pointer;

    isolation: isolate;
}

/* ============================================================
   PREVIEW IFRAME
============================================================ */

.video-wrapper iframe {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    border: none;

    display: block;

    pointer-events: none;
}

/* ============================================================
   PLAY OVERLAY
============================================================ */

.play-overlay {
    position: absolute;

    inset: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(0, 0, 0, 0.3);

    z-index: 2;

    transition: background 0.3s ease;
}

/* ============================================================
   PLAY ICON
============================================================ */

.play-overlay i {
    font-size: 4rem;

    color: #fff;

    transition: transform 0.3s ease;
}

/* ============================================================
   HOVER
============================================================ */

.video-wrapper:hover .play-overlay {
    background: rgba(0, 0, 0, 0.45);
}

.video-wrapper:hover .play-overlay i {
    transform: scale(1.08);
}

/* ============================================================
   VIDEO MODAL
============================================================ */

.video-modal {
    position: fixed;

    inset: 0;

    display: none;

    align-items: center;
    justify-content: center;

    padding: 20px;

    background: rgba(0, 0, 0, 0.94);

    z-index: 9999;

    opacity: 0;

    transition: opacity 0.25s ease;
}

/* ============================================================
   ACTIVE MODAL
============================================================ */

.video-modal.active {
    display: flex;

    opacity: 1;
}



.modal-content {
    position: relative;

    width: min(90vw, 360px);

    aspect-ratio: 9 / 16;

    max-height: 88vh;

    background: #000;

    border-radius: 18px;

    overflow: hidden;

    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.6);

    transform: scale(0.95);

    transition: transform 0.25s ease;
}

/* ============================================================
   MODAL OPEN
============================================================ */

.video-modal.active .modal-content {
    transform: scale(1);
}

/* ============================================================
   MODAL IFRAME
============================================================ */

.modal-content iframe {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    display: block;

    border: none;

    border-radius: 18px;
}

/* ============================================================
   TABLET
============================================================ */

@media (max-width: 768px) {
    .video-section {
        padding: 2.5rem 0;
    }

    .video-wrapper {
        width: 280px;

        border-radius: 16px;
    }

    .play-overlay i {
        font-size: 3.5rem;
    }

    .video-modal {
        padding: 15px;
    }

    .modal-content {
        width: min(88vw, 350px);

        max-height: 85vh;

        border-radius: 16px;
    }

    .modal-content iframe {
        border-radius: 16px;
    }
}

/* ============================================================
   MOBILE
============================================================ */

@media (max-width: 480px) {
    .video-section {
        padding: 2rem 0;
    }

    .video-wrapper {
        width: 250px;

        border-radius: 14px;
    }

    .play-overlay i {
        font-size: 3.2rem;
    }

    .video-modal {
        padding: 10px;
    }

    .modal-content {
        width: min(88vw, 330px);

        max-height: 82vh;

        border-radius: 14px;
    }

    .modal-content iframe {
        border-radius: 14px;
    }
}

/* ============================================================
   SHORT SCREEN
============================================================ */

@media (max-height: 650px) {
    .modal-content {
        height: 78vh;

        width: auto;

        aspect-ratio: 9 / 16;

        max-height: none;
    }
}

/* ============================================================
   VERY SHORT SCREEN
============================================================ */

@media (max-height: 500px) {
    .modal-content {
        height: 74vh;
    }
}

/* ============================================================
   ACCESSIBILITY
============================================================ */

@media (prefers-reduced-motion: reduce) {
    .video-modal,
    .modal-content,
    .play-overlay,
    .play-overlay i {
        transition: none;
    }
}






/* =============================================
   PRICING CARDS
============================================= */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}
.pricing-card {
    background: var(--light-card);
    border-radius: 2rem;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    min-height: 520px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    backdrop-filter: blur(4px);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-md);
}
body.dark-mode .pricing-card {
    background: var(--dark-card);
    border-color: var(--border-dark);
}
.pricing-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary);
}
.pricing-card.recommended {
    border: 2px solid var(--accent);
    background: linear-gradient(135deg, var(--light-card), #fff5eb);
    transform: scale(1.02);
}
body.dark-mode .pricing-card.recommended {
    background: linear-gradient(135deg, var(--dark-card), #1e2a47);
}
.recommended-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: var(--accent);
    color: white;
    padding: 0.3rem 1rem;
    border-radius: 30px;
    font-weight: bold;
    font-size: 0.8rem;
}
.price {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--primary);
    margin: 1rem 0;
}
.pricing-card ul {
    list-style: none;
    margin: 1.5rem 0;
    text-align: left;
    padding-left: 0.5rem;
}
.pricing-card ul li {
    margin-bottom: 0.7rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.pricing-card ul li i {
    color: var(--primary);
    width: 20px;
}
.card-btn {
    margin-top: auto;
}
@media (max-width: 768px) {
    .pricing-card {
        min-height: auto;
    }
}
/* ========== DARK MODE ========== */
body.dark-mode {
    --light-card: #2d3748;
    --dark-card: #1a202c;
    --light-bg-start: #1a1a2e;
    --light-bg-end: #16213e;

    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 20px 40px -12px rgba(0, 0, 0, 0.5);
    --shadow-hover: 0 30px 50px -12px rgba(0, 0, 0, 0.6);
}

/* ========== SECTION ========== */
.gallery-section {
    padding: 5rem 0;
    background: linear-gradient(
        135deg,
        var(--light-bg-start) 0%,
        var(--light-bg-end) 100%
    );
}


.gallery-wrapper {
    position: relative;
}

/* ========== DESKTOP GRID ========== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

/* ========== CARD ========== */
.gallery-card {
    position: relative;
    border-radius: 1.5rem;
    overflow: hidden;
    cursor: pointer;
    background: var(--light-card);
    box-shadow: var(--shadow-sm);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
    aspect-ratio: 4 / 3;
}

.gallery-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-hover);
}

.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ========== OVERLAY ========== */
.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(3px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: 0.3s ease;
}

.gallery-card:hover .gallery-overlay {
    opacity: 1;
}

/* ========== OVERLAY CONTENT ========== */
.overlay-content {
    background: var(--primary);
    color: #fff;
    padding: 0.8rem 1.6rem;
    border-radius: 40px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}


.gallery-nav {
    display: none;
}


@media (max-width: 768px) {
    /* GRID -> HORIZONTAL SLIDER */
    .gallery-grid {
        display: flex;
        overflow: hidden;
        gap: 0;
        scroll-behavior: smooth;
        margin-top: 2rem;
    }

    .gallery-card {
        min-width: 100%;
        flex: 0 0 100%;
    }


    .gallery-nav {
        display: flex;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 50px;
        height: 50px;

        border-radius: 50%;

        background: rgba(220, 38, 38, 0.9);
        color: #fff;

        border: 2px solid rgba(255, 255, 255, 0.7);

        font-size: 1.6rem;

        align-items: center;
        justify-content: center;

        z-index: 50;
        cursor: pointer;

        box-shadow: 0 10px 30px rgba(220, 38, 38, 0.5);
        transition: all 0.25s ease;
    }

    .gallery-nav:hover {
        background: #ef4444;
        transform: translateY(-50%) scale(1.15);
        box-shadow: 0 15px 40px rgba(239, 68, 68, 0.7);
    }

    .gallery-prev {
        left: 10px;
    }

    .gallery-next {
        right: 10px;
    }
}


.lightbox-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.96);
    backdrop-filter: blur(12px);
    z-index: 2100;
    align-items: center;
    justify-content: center;
}

.lightbox-modal.active {
    display: flex;
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 85vh;
    border-radius: 1.2rem;
}

/* NAV */
.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 56px;
    height: 56px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;

    border: 2px solid rgba(255, 255, 255, 0.3);
    font-size: 1.8rem;

    cursor: pointer;
    z-index: 2101;
}

.lightbox-nav:hover {
    background: var(--primary);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
    left: 2rem;
}

.lightbox-next {
    right: 2rem;
}

.close-lightbox {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    font-size: 2.5rem;
    color: white;
    background: none;
    border: none;
    cursor: pointer;
}


@media (max-width: 768px) {
    .lightbox-nav {
        width: 44px;
        height: 44px;
        font-size: 1.4rem;
    }

    .lightbox-prev {
        left: 0.5rem;
    }

    .lightbox-next {
        right: 0.5rem;
    }

    .close-lightbox {
        top: 1rem;
        right: 1rem;
        font-size: 2rem;
    }
}








.testimonial-section {
    padding: 5rem 0;

    position: relative;
    overflow: hidden;
}


.testimonial-slider-wrapper {
    position: relative;
    max-width: 1200px;
    margin: 3rem auto 0;
    padding: 0 50px;
}

.testimonial-slider-container {
    overflow: hidden;
    border-radius: 2rem;
}


.testimonial-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    gap: 2rem;
}


.testimonial-card {
    flex: 0 0 calc(33.333% - 1.333rem);
    min-width: 0;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-6px);
}

.card-inner {
    background: var(--light-card, #ffffff);
    border-radius: 2rem;
    padding: 2rem 1.8rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
    border: 1px solid rgba(230, 57, 70, 0.08);
    height: 100%;
    display: flex;
    flex-direction: column;
    text-align: center;
    position: relative;
}

.testimonial-card:hover .card-inner {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-light, #e63946);
}


.quote-icon-wrapper {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 2.2rem;
    color: var(--primary, #e63946);
    opacity: 0.15;
    pointer-events: none;
}

.avatar-wrapper {
    margin-bottom: 1rem;
}

.avatar-circle {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    background: linear-gradient(135deg, var(--primary, #e63946), var(--accent, #f4a261));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(230, 57, 70, 0.2);
}

.avatar-circle i {
    font-size: 3.2rem;
    color: #fff;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.15));
}

.testimonial-card h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0.4rem 0 0.2rem;
    color: var(--dark, #1a1a2e);
}

.stars {
    color: var(--accent, #f4a261);
    font-size: 1.1rem;
    letter-spacing: 2px;
    margin: 0.4rem 0;
}

.testimonial-text {
    font-style: italic;
    line-height: 1.6;
    color: var(--gray, #6c757d);
    margin: 0.8rem 0;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.verified-badge {
    font-size: 0.75rem;
    color: var(--secondary, #2a9d8f);
    background: rgba(42, 157, 143, 0.1);
    padding: 0.3rem 1rem;
    border-radius: 30px;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    width: fit-content;
    margin: 0.5rem auto 0.8rem;
}


.read-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    margin-top: 0.5rem;
    padding: 0.5rem 1.4rem;
    background: var(--primary, #e63946);
    color: #fff !important;
    border: none;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: background 0.25s, transform 0.2s, box-shadow 0.25s;
    cursor: pointer;
    align-self: center;
    box-shadow: 0 4px 12px rgba(230, 57, 70, 0.25);
}

.read-more-btn i {
    font-size: 0.8rem;
    transition: transform 0.25s;
}

.read-more-btn:hover {
    background: var(--primary-dark, #c1121f);
    transform: scale(1.04);
    box-shadow: 0 8px 20px rgba(230, 57, 70, 0.35);
}

.read-more-btn:hover i {
    transform: translateX(5px);
}


.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--slider-btn-bg, #ffffff);
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    transition: 0.25s;
    z-index: 10;
    color: var(--slider-btn-color, #1a1a2e);
    font-size: 1.2rem;
}

.slider-btn:hover {
    background: var(--primary, #e63946);
    color: #fff;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 25px rgba(230, 57, 70, 0.3);
}

.slider-prev { left: 0; }
.slider-next { right: 0; }


.slider-dots {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    margin-top: 2rem;
}

.slider-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--gray, #adb5bd);
    cursor: pointer;
    transition: 0.3s ease;
    opacity: 0.5;
}

.slider-dots .dot.active {
    opacity: 1;
    background: var(--primary, #e63946);
    width: 28px;
    border-radius: 10px;
}



/* ---------- OVERLAY ---------- */
.testimonial-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    padding: 1.5rem;
}

.testimonial-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}


.testimonial-modal-box {
    background: var(--light-card, #ffffff);
    max-width: 640px;
    width: 100%;
    border-radius: 2.5rem;
    padding: 2.5rem 2.5rem 2rem;
    position: relative;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.2);
    transform: scale(0.95) translateY(20px);
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.4s ease;
    opacity: 0;
    max-height: 90vh;
    overflow-y: auto;
    border: 1px solid rgba(0, 0, 0, 0.04);
}


.testimonial-modal-box::-webkit-scrollbar {
    width: 7px;
}

.testimonial-modal-box::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.04);
    border-radius: 20px; 
    margin: 0.8rem 0;
}

.testimonial-modal-box::-webkit-scrollbar-thumb {
    background: var(--primary, #e63946);
    border-radius: 20px; 
    transition: background 0.2s;
}

.testimonial-modal-box::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark, #c1121f);
}


.testimonial-modal-box {
    scrollbar-width: thin;
    scrollbar-color: var(--primary, #e63946) rgba(0, 0, 0, 0.04);
}


.testimonial-modal-overlay.active .testimonial-modal-box {
    transform: scale(1) translateY(0);
    opacity: 1;
}


.testimonial-modal-close {
    position: absolute;
    top: 1rem;
    right: 1.2rem;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.04);
    border: none;
    font-size: 1.5rem;
    color: var(--gray, #6c757d);
    cursor: pointer;
    transition: background 0.2s, color 0.2s, transform 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.testimonial-modal-close:hover {
    background: var(--primary, #e63946);
    color: #fff;
    transform: rotate(90deg);
}


.modal-avatar {
    width: 90px;
    height: 90px;
    margin: 0 auto 0.8rem;
    background: linear-gradient(135deg, var(--primary, #e63946), var(--accent, #f4a261));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.6rem;
    color: #fff;
    box-shadow: 0 12px 30px rgba(230, 57, 70, 0.2);
}

.modal-name {
    text-align: center;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--dark, #1a1a2e);
    margin: 0.1rem 0 0.1rem;
    letter-spacing: -0.3px;
}

.modal-stars {
    text-align: center;
    font-size: 1.4rem;
    letter-spacing: 4px;
    color: var(--accent, #f4a261);
    margin: 0.2rem 0 0.8rem;
}


.modal-full-text {
    font-size: 1.15rem;
    line-height: 2;
    color: var(--gray, #343a40);
    text-align: left;
    padding: 1.5rem 1.2rem 1rem;
    margin: 0.8rem 0 0.5rem;
    background: rgba(230, 57, 70, 0.02);
    border-radius: 1.2rem;
    border-left: 4px solid var(--primary, #e63946);
    position: relative;
    font-style: normal;
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.02);
}


.modal-full-text::before {
    content: '\201C';
    font-size: 4.5rem;
    color: var(--primary, #e63946);
    opacity: 0.12;
    position: absolute;
    top: -0.2rem;
    left: 0.2rem;
    font-family: Georgia, 'Times New Roman', serif;
    line-height: 1;
}


.modal-full-text::after {
    content: '—';
    display: block;
    text-align: right;
    font-size: 2rem;
    color: var(--primary, #e63946);
    opacity: 0.2;
    margin-top: 0.5rem;
    font-family: Georgia, serif;
}


.modal-verified {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(42, 157, 143, 0.1);
    padding: 0.4rem 1.4rem;
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--secondary, #2a9d8f);
    margin: 0.8rem auto 0;
    width: fit-content;
    justify-content: center;
}


body.dark-mode .testimonial-section {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
}

body.dark-mode .card-inner {
    background: var(--dark-card, #2d2d44);
    border-color: rgba(255, 255, 255, 0.05);
}

body.dark-mode .testimonial-card:hover .card-inner {
    border-color: var(--primary-light, #e63946);
}

body.dark-mode .testimonial-modal-box {
    background: var(--dark-card, #2d2d44);
    border-color: rgba(255, 255, 255, 0.06);
}

body.dark-mode .modal-name {
    color: #f8f9fa;
}

body.dark-mode .modal-full-text {
    color: #e9ecef;
    background: rgba(255, 255, 255, 0.03);
    border-left-color: var(--primary-light, #e63946);
}

body.dark-mode .modal-full-text::before {
    color: var(--primary-light, #e63946);
}

body.dark-mode .testimonial-modal-close {
    background: rgba(255, 255, 255, 0.08);
    color: #ced4da;
}

body.dark-mode .testimonial-modal-close:hover {
    background: var(--primary, #e63946);
    color: #fff;
}

body.dark-mode .modal-verified {
    background: rgba(42, 157, 143, 0.2);
}

body.dark-mode .slider-btn {
    background: var(--dark-card, #2d2d44);
    color: #f8f9fa;
}

body.dark-mode .slider-btn:hover {
    background: var(--primary, #e63946);
    color: #fff;
}


body.dark-mode .testimonial-modal-box::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

body.dark-mode .testimonial-modal-box::-webkit-scrollbar-thumb {
    background: var(--primary-light, #e63946);
}

body.dark-mode .testimonial-modal-box::-webkit-scrollbar-thumb:hover {
    background: var(--primary, #e63946);
}

body.dark-mode .testimonial-modal-box {
    scrollbar-color: var(--primary-light, #e63946) rgba(255, 255, 255, 0.05);
}


@media (max-width: 992px) {
    .testimonial-card {
        flex: 0 0 calc(50% - 1rem);
    }
}

@media (max-width: 768px) {
    .testimonial-slider-wrapper {
        padding: 0 30px;
    }
    .testimonial-card {
        flex: 0 0 100%;
    }
    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    .slider-prev { left: -10px; }
    .slider-next { right: -10px; }

    .testimonial-modal-box {
        padding: 1.8rem 1.5rem 1.5rem;
        border-radius: 2rem;
        max-width: 95%;
    }
    .modal-avatar {
        width: 70px;
        height: 70px;
        font-size: 2.8rem;
    }
    .modal-name {
        font-size: 1.3rem;
    }
    .modal-stars {
        font-size: 1.2rem;
    }
    .modal-full-text {
        font-size: 1rem;
        padding: 1rem 0.8rem;
        line-height: 1.8;
    }
    .modal-full-text::before {
        font-size: 3rem;
    }
}

@media (max-width: 480px) {
    .testimonial-modal-box {
        padding: 1.2rem 1rem 1.2rem;
        border-radius: 1.5rem;
    }
    .modal-avatar {
        width: 60px;
        height: 60px;
        font-size: 2.4rem;
    }
    .modal-full-text {
        font-size: 0.95rem;
        padding: 0.8rem 0.6rem;
    }
}







.page-hero {
    background:
        linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
        url("https://images.unsplash.com/photo-1485291571150-772bcfc10da5?w=1600&h=600&fit=crop");
    background-size: cover;
    background-position: center;
    height: 50vh;
    min-height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    margin-top: 0;
}

.page-hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.page-hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
}


.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text p {
    margin-bottom: 1rem;
    line-height: 1.8;
    font-size: 1.05rem;
    letter-spacing: 0.2px;
}

.about-text p:first-of-type {
    font-weight: 500;
    color: var(--light-heading);
}

body.dark-mode .about-text p:first-of-type {
    color: var(--dark-heading);
}

.about-image img {
    width: 100%;
    border-radius: 1.5rem;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.about-image img:hover {
    transform: scale(1.02);
}


.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.value-card {
    background: var(--light-card);
    padding: 2rem;
    border-radius: 1.5rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
    backdrop-filter: blur(4px);
    position: relative;
    overflow: hidden;
}

body.dark-mode .value-card {
    background: var(--dark-card);
    border-color: var(--border-dark);
}

.value-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(230, 57, 70, 0.1),
        transparent
    );
    transition: left 0.6s ease;
}

.value-card:hover::before {
    left: 100%;
}

.value-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary);
}

.value-card i {
    font-size: 2.8rem;
    color: var(--primary);
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.value-card:hover i {
    transform: scale(1.1);
}

.value-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--light-heading);
}

body.dark-mode .value-card h3 {
    color: var(--dark-heading);
}

.value-card p {
    color: var(--light-text);
    line-height: 1.5;
}

body.dark-mode .value-card p {
    color: var(--dark-text);
}


.instructors-carousel-container {
    position: relative;
    overflow: hidden;
    margin-top: 2rem;
}

.instructors-carousel {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    gap: 2rem;
}

.instructor-card {
    flex: 0 0 calc(33.333% - 1.34rem);
    background: var(--light-card);
    border-radius: 1.8rem;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    box-shadow: var(--shadow-md);
    text-align: center;
    border: 1px solid var(--border-light);
    backdrop-filter: blur(4px);
}

body.dark-mode .instructor-card {
    background: var(--dark-card);
    border-color: var(--border-dark);
}

.instructor-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary);
}

.instructor-img {
    height: 300px;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}

.instructor-card:hover .instructor-img {
    transform: scale(1.05);
}

.instructor-card h3 {
    font-size: 1.6rem;
    margin-top: 1.2rem;
    color: var(--light-heading);
}

body.dark-mode .instructor-card h3 {
    color: var(--dark-heading);
}

.badge {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 0.35rem 1.2rem;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
    margin: 0.75rem 0;
    transition: var(--transition);
}

.instructor-card:hover .badge {
    background: var(--accent);
    transform: scale(1.05);
}

.instructor-card p {
    padding: 0 1.5rem 1.5rem;
    color: var(--light-text);
}

body.dark-mode .instructor-card p {
    color: var(--dark-text);
}


.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary);
    color: white;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    z-index: 20;
    box-shadow: var(--shadow-md);
}

.carousel-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-50%) scale(1.05);
}

.carousel-btn.prev {
    left: -20px;
}

.carousel-btn.next {
    right: -20px;
}


.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    margin-top: 2rem;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--light-text);
    cursor: pointer;
    transition: 0.3s;
}

body.dark-mode .carousel-dot {
    background: var(--dark-text);
}

.carousel-dot.active {
    background: var(--primary);
    width: 28px;
    border-radius: 10px;
}


.mission-badge {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 40px;
    font-weight: 700;
    margin-top: 1rem;
    transition: var(--transition);
}

.mission-badge:hover {
    background: var(--accent);
    transform: translateY(-3px);
}


@media (max-width: 900px) {
    .instructor-card {
        flex: 0 0 calc(50% - 1rem);
    }
    .carousel-btn {
        width: 38px;
        height: 38px;
        font-size: 1rem;
    }
    .carousel-btn.prev {
        left: -15px;
    }
    .carousel-btn.next {
        right: -15px;
    }
}

@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
    .page-hero h1 {
        font-size: 2.2rem;
    }
    .instructors-carousel {
        gap: 0;
    }
    .instructor-card {
        flex: 0 0 100%;
        margin: 0;
    }
    .carousel-btn {
        width: 36px;
        height: 36px;
        left: 5px;
        right: auto;
    }
    .carousel-btn.prev {
        left: 5px;
    }
    .carousel-btn.next {
        right: 5px;
        left: auto;
    }
}



.page-hero {
    background:
        linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
        url("https://images.unsplash.com/photo-1549317661-bd32c8ce0db2?w=1600&h=600&fit=crop");
    background-size: cover;
    background-position: center;
    height: 50vh;
    min-height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    margin-top: 0;
}

.page-hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.page-hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
}

/* Courses Grid */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}


.course-card {
    background: var(--light-card);
    border-radius: 1.8rem;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
    backdrop-filter: blur(4px);
}

body.dark-mode .course-card {
    background: var(--dark-card);
    border-color: var(--border-dark);
}

.course-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary);
}

.course-img {
    height: 220px;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
    
    image-rendering: auto; 
    image-rendering: crisp-edges;
    image-rendering: -webkit-optimize-contrast; 
    transform: translateZ(0); 
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    will-change: transform;
    
}


.course-card:hover .course-img {
    transform: scale(1.05);
    image-rendering: -webkit-optimize-contrast;
}

.course-content {
    padding: 1.8rem;
}

.course-content h3 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--light-heading);
}

body.dark-mode .course-content h3 {
    color: var(--dark-heading);
}

.course-badge {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 0.25rem 1rem;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 600;
    margin: 0.5rem 0;
}

.course-meta {
    display: flex;
    gap: 1rem;
    margin: 1rem 0;
    font-size: 0.9rem;
    color: var(--light-text);
}

body.dark-mode .course-meta {
    color: var(--dark-text);
}

.course-meta i {
    color: var(--primary);
    width: 20px;
}

.course-price {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
    margin: 1rem 0;
}


.btn-outline {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 2rem;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid var(--primary);
    color: var(--primary);
    background: transparent;
    width: 100%;
    text-align: center;
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
}


.extra-info {
    background: linear-gradient(
        120deg,
        rgba(230, 57, 70, 0.03),
        rgba(244, 162, 97, 0.03)
    );
    border-radius: 2rem;
    padding: 2rem;
    margin-top: 3rem;
    text-align: center;
}

.extra-info h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.extra-info p {
    max-width: 700px;
    margin: 0 auto;
}


@media (max-width: 768px) {
    .page-hero h1 {
        font-size: 2.2rem;
    }
    .courses-grid {
        grid-template-columns: 1fr;
    }

    
    .course-img {
        height: 200px; 
        background-size: cover;
        background-position: center center;
      
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
       
        overflow: hidden;
    }

   
    .course-card:hover .course-img {
        transform: none;
    }

  
    .course-content {
        padding: 1.2rem;
    }

    
    .course-price {
        font-size: 1.5rem;
    }
}


@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .course-img {
       
        image-rendering: -webkit-optimize-contrast;
        background-size: cover;
    }
}


.page-hero {
    background:
        linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
        url("https://images.unsplash.com/photo-1549317661-bd32c8ce0db2?w=1600&h=600&fit=crop");
    background-size: cover;
    background-position: center;
    height: 50vh;
    min-height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}

.page-hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.page-hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: auto;
}

/* =============================================
   PRICING GRID
============================================= */

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.pricing-card {
    background: var(--light-card);
    border-radius: 2rem;
    padding: 2rem;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-md);
    transition: 0.35s;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}

body.dark-mode .pricing-card {
    background: var(--dark-card);
    border-color: var(--border-dark);
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary);
}

.pricing-card.recommended {
    border: 2px solid var(--accent);
    background: linear-gradient(135deg, var(--light-card), #fff5eb);
}

body.dark-mode .pricing-card.recommended {
    background: linear-gradient(135deg, var(--dark-card), #1d2742);
}

.recommended-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: var(--accent);
    color: #fff;
    padding: 0.35rem 1rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
}

.price {
    font-size: 3rem;
    color: var(--primary);
    font-weight: 800;
    margin: 1rem 0;
}

.pricing-card ul {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.pricing-card li {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 0.8rem;
}

.pricing-card li i {
    color: var(--primary);
}

.btn-primary {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.9rem 1.6rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    border-radius: 999px;
    text-decoration: none;
    transition: 0.3s;
}

.btn-primary:hover {
    transform: translateY(-3px);
}

/* =============================================
   PRICE TABLE
============================================= */

.price-table-container {
    margin-top: 3rem;
}

.price-table {
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    background: var(--light-card);
    box-shadow: var(--shadow-md);
}

body.dark-mode .price-table {
    background: var(--dark-card);
}

/* =============================================
   DESKTOP TABLE
============================================= */

@media (min-width: 993px) {
    .price-table {
        display: table;
        border-collapse: collapse;
    }

    .price-table th,
    .price-table td {
        padding: 18px 24px;
        border-bottom: 1px solid var(--border-light);
        text-align: left;
        vertical-align: top;
    }

    body.dark-mode .price-table th,
    body.dark-mode .price-table td {
        border-color: var(--border-dark);
    }

    .price-table th {
        background: var(--primary);
        color: #fff;
        font-weight: 700;
    }

    .price-table tr:last-child td {
        border-bottom: none;
    }

    .price-table tr:hover {
        background: rgba(230, 57, 70, 0.05);
    }
}

/* =============================================
   TABLET & MOBILE
============================================= */

@media (max-width: 992px) {
    .price-table,
    .price-table table,
    .price-table tbody,
    .price-table thead,
    .price-table tr,
    .price-table td {
        display: block;
        width: 100%;
    }

    .price-table {
        background: transparent;
        box-shadow: none;
    }

    .price-table thead {
        display: none;
    }

    .price-table tr {
        background: var(--light-card);

        border: 1px solid var(--border-light);

        border-radius: 18px;

        padding: 20px;

        margin-bottom: 18px;

        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
    }

    body.dark-mode .price-table tr {
        background: var(--dark-card);
        border-color: var(--border-dark);
    }

    .price-table td {
        display: block;
        padding: 0;
        margin-bottom: 16px;
        border: none;
        text-align: left;
        word-break: break-word;
    }

    .price-table td:last-child {
        margin-bottom: 0;
    }

    .price-table td::before {
        content: attr(data-label);
        display: block;
        color: var(--primary);
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.4px;
        margin-bottom: 6px;
        font-size: 0.8rem;
    }

    .price-table td:nth-child(1) {
        font-size: 1.08rem;
        font-weight: 700;
        line-height: 1.45;
    }

    .price-table td:nth-child(2) {
        font-size: 1.5rem;
        /* color:var(--primary); */
        font-weight: 800;
    }

    .price-table td:nth-child(2) strong {
        color: inherit;
    }

    .price-table td:nth-child(3) {
        color: var(--light-text);
        line-height: 1.6;
    }

    body.dark-mode .price-table td:nth-child(3) {
        color: var(--dark-text);
    }
}

/* =============================================
   LARGE PHONES
============================================= */

@media (max-width: 768px) {
    .page-hero {
        min-height: 300px;
    }

    .page-hero h1 {
        font-size: 2.3rem;
    }

    .page-hero p {
        font-size: 1rem;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .pricing-card {
        padding: 1.6rem;
    }

    .price {
        font-size: 2.5rem;
    }

    .price-table tr {
        padding: 18px;
    }

    .price-table td:nth-child(1) {
        font-size: 1rem;
    }

    .price-table td:nth-child(2) {
        font-size: 1.35rem;
    }

    .price-table td:nth-child(3) {
        font-size: 0.92rem;
    }
}

/* =============================================
   SMALL PHONES
============================================= */

@media (max-width: 576px) {
    .page-hero {
        height: 42vh;
        min-height: 260px;
    }

    .page-hero h1 {
        font-size: 1.9rem;
    }

    .page-hero p {
        font-size: 0.95rem;
    }

    .pricing-card {
        padding: 1.4rem;
        border-radius: 1.4rem;
    }

    .price {
        font-size: 2.2rem;
    }

    .price-table tr {
        padding: 16px;
        border-radius: 16px;
    }

    .price-table td {
        margin-bottom: 14px;
    }

    .price-table td::before {
        font-size: 0.75rem;
    }

    .price-table td:nth-child(1) {
        font-size: 0.95rem;
    }

    .price-table td:nth-child(2) {
        font-size: 1.25rem;
    }

    .price-table td:nth-child(3) {
        font-size: 0.87rem;
        line-height: 1.55;
    }
}

/* =============================================
   VERY SMALL DEVICES
============================================= */

@media (max-width: 390px) {
    .page-hero h1 {
        font-size: 1.7rem;
    }

    .page-hero p {
        font-size: 0.9rem;
    }

    .pricing-card {
        padding: 1.2rem;
    }

    .price {
        font-size: 2rem;
    }

    .price-table tr {
        padding: 14px;
    }

    .price-table td:nth-child(1) {
        font-size: 0.9rem;
    }

    .price-table td:nth-child(2) {
        font-size: 1.1rem;
    }

    .price-table td:nth-child(3) {
        font-size: 0.82rem;
    }

    .price-table td::before {
        font-size: 0.7rem;
    }
}

/* =============================================
   PRICE NOTE
============================================= */

.price-note {
    text-align: center;
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--light-text);
}

body.dark-mode .price-note {
    color: var(--dark-text);
}

/* =============================================
   EXTRA INFO
============================================= */

.extra-info {
    margin-top: 3rem;
    padding: 2rem;
    text-align: center;
    border-radius: 2rem;
    background: linear-gradient(
        120deg,
        rgba(230, 57, 70, 0.03),
        rgba(244, 162, 97, 0.03)
    );
}

.extra-info h3 {
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.extra-info p {
    max-width: 700px;
    margin: auto;
    line-height: 1.8;
}

@media (max-width: 576px) {
    .extra-info {
        padding: 1.5rem;
    }

    .extra-info h3 {
        font-size: 1.4rem;
    }

    .extra-info p {
        font-size: 0.95rem;
    }
}

.price-table-wrapper {
    width: 100%;
}

@media (max-width: 992px) {
    .price-table-wrapper {
        overflow: visible;
    }
}

/* =============================================
   CONTACT PAGE SPECIFIC STYLES
============================================= */

/* Hero Section */
.page-hero {
    background:
        linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
        url("../images/res2.png");
    background-size: cover;
    background-position: center;
    height: 50vh;
    min-height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    margin-top: 0;
}

.page-hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.page-hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
}

/* Contact Grid (2 columns) */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

/* Contact Info Card */
.contact-info {
    background: var(--light-card);
    border-radius: 1.8rem;
    padding: 2rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
}

body.dark-mode .contact-info {
    background: var(--dark-card);
    border-color: var(--border-dark);
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.8rem;
}

.info-icon {
    width: 50px;
    height: 50px;
    background: rgba(230, 57, 70, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.3rem;
    transition: var(--transition);
    flex-shrink: 0;
}

.info-item:hover .info-icon {
    background: var(--primary);
    color: white;
    transform: scale(1.05);
}

.info-text h3 {
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
    color: var(--light-heading);
}

body.dark-mode .info-text h3 {
    color: var(--dark-heading);
}

.info-text p,
.info-text a {
    color: var(--light-text);
    text-decoration: none;
    transition: var(--transition);
    word-break: break-word;
}

body.dark-mode .info-text p,
body.dark-mode .info-text a {
    color: var(--dark-text);
}

.info-text a:hover {
    color: var(--primary);
}

/* Social Links */
.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.social-links a {
    width: 44px;
    height: 44px;
    background: rgba(230, 57, 70, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
}

/* Contact Form */
.contact-form {
    background: var(--light-card);
    border-radius: 1.8rem;
    padding: 2rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
}

body.dark-mode .contact-form {
    background: var(--dark-card);
    border-color: var(--border-dark);
}

.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--border-light);
    border-radius: 1rem;
    background: var(--light-bg);
    color: var(--light-text);
    font-family: inherit;
    transition: var(--transition);
    font-size: 1rem;
}

body.dark-mode .form-group input,
body.dark-mode .form-group select,
body.dark-mode .form-group textarea {
    background: var(--dark-bg);
    border-color: var(--border-dark);
    color: var(--dark-text);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.2);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 2rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
    font-size: 1rem;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* Map Section */
.map-section {
    margin-top: 2rem;
}

.map-container {
    border-radius: 1.8rem;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.map-container iframe {
    width: 100%;
    height: 400px;
    border: none;
}

/* =============================================
   OPENING HOURS
============================================= */

.hours-grid {
    width: 100%;
    margin-top: 1rem;
}

.hours-item {
    display: grid;
    grid-template-columns: minmax(240px, 1fr) 140px;
    align-items: center;
    gap: 1rem;

    padding: 0.9rem 0;
    border-bottom: 1px solid var(--border-light);
}

body.dark-mode .hours-item {
    border-bottom-color: var(--border-dark);
}

.hours-day {
    font-size: 1rem;
    font-weight: 600;
    color: var(--light-heading);
    white-space: nowrap;
}

body.dark-mode .hours-day {
    color: var(--dark-heading);
}

.hours-time {
    font-size: 1rem;
    font-weight: 500;
    color: var(--light-text);
    text-align: right;
    white-space: nowrap;
}

body.dark-mode .hours-time {
    color: var(--dark-text);
}

.error-message {
    color: #e63946;
    font-size: 0.8rem;
    margin-top: 5px;
    display: block;
}


.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: #e63946 !important;
    box-shadow: 0 0 0 2px rgba(230, 57, 70, 0.2);
}

.char-count {
    text-align: right;
    font-size: 0.75rem;
    margin-top: 5px;
    color: #888;
}

.contact-form h3 {
    margin-bottom: 1.7rem;
    font-weight: 700;
}
/* =============================================
   Responsive
============================================= */

@media (max-width: 768px) {
    .page-hero {
        min-height: 320px;
    }

    .page-hero h1 {
        font-size: 2.2rem;
    }

    .page-hero p {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-info,
    .contact-form {
        padding: 1.5rem;
    }

    .info-item {
        gap: 1rem;
        margin-bottom: 1.5rem;
    }

    .info-icon {
        width: 44px;
        height: 44px;
        font-size: 1.15rem;
        flex-shrink: 0;
    }

    .info-text {
        width: 100%;
    }

    .info-text h3 {
        font-size: 1.05rem;
        margin-bottom: 0.4rem;
    }

    .info-text p,
    .info-text a {
        font-size: 0.95rem;
    }

    /* Opening Hours */

    .hours-grid {
        margin-top: 0.8rem;
    }

    .hours-item {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 0.8rem;
        padding: 0.8rem 0;
    }

    .hours-day {
        font-size: 0.95rem;
        white-space: normal;
    }

    .hours-time {
        font-size: 0.95rem;
        white-space: nowrap;
        text-align: right;
    }

   

    .social-links {
        justify-content: center;
        gap: 0.8rem;
    }

    .social-links a {
        width: 42px;
        height: 42px;
    }

    .submit-btn {
        padding: 0.95rem;
        font-size: 1rem;
    }

    .map-container iframe {
        height: 300px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .page-hero {
        min-height: 260px;
    }

    .page-hero h1 {
        font-size: 1.8rem;
    }

    .page-hero p {
        font-size: 0.9rem;
    }

    .contact-info,
    .contact-form {
        padding: 1.2rem;
        border-radius: 1.2rem;
    }

    .info-item {
        gap: 0.8rem;
        margin-bottom: 1.3rem;
    }

    .info-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .info-text h3 {
        font-size: 1rem;
    }

    .info-text p,
    .info-text a {
        font-size: 0.9rem;
    }

    /* Opening Hours */

    .hours-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }

    .hours-day,
    .hours-time {
        width: 100%;
        text-align: left;
        font-size: 0.9rem;
    }

    .social-links {
        justify-content: center;
    }

    .social-links a {
        width: 40px;
        height: 40px;
    }

    .submit-btn {
        padding: 0.85rem;
        font-size: 0.95rem;
    }

    .map-container iframe {
        height: 240px;
    }
}

@media (min-width: 768px) and (max-width: 1368px) {
    /* grid yan yana kalsın */
    .contact-grid {
        grid-template-columns: 1fr 1fr;
    }

    .hours-item {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .hours-day {
        width: 100%;
        font-weight: 600;
    }

    .hours-time {
        width: 100%;
        text-align: left;
        opacity: 0.85;
    }
}


.cookie-banner {
    position: fixed;

    left: 20px;
    right: 20px;
    bottom: 20px;

    max-width: 1000px;
    margin: 0 auto;

    z-index: 5000;

    background: var(--cookie-bg);

    color: var(--cookie-text);

    border: 1px solid var(--cookie-border);

    border-radius: 20px;

    padding: 32px 36px;

    display: none;

    flex-direction: column;

    align-items: flex-start;

    gap: 24px;

    box-shadow: var(--cookie-shadow);

    animation: cookieFade 0.3s ease;

    transition:
        background-color 0.3s ease,
        color 0.3s ease,
        border-color 0.3s ease;
}

@keyframes cookieFade {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cookie-content {
    width: 100%;
}

.cookie-title {
    font-size: 22px;

    font-weight: 700;

    margin-bottom: 12px;

    line-height: 1.3;
}

.cookie-text {
    max-width: 780px;

    font-size: 15px;

    line-height: 1.8;
}

/* =========================================
BUTTONS
========================================= */

.cookie-buttons {
    width: 100%;

    display: flex;

    justify-content: flex-end;

    align-items: center;

    gap: 12px;

    flex-wrap: wrap;
}

.cookie-btn {
    border: none;

    padding: 13px 20px;

    border-radius: 10px;

    cursor: pointer;

    font-size: 14px;

    font-weight: 600;

    transition:
        transform 0.2s ease,
        opacity 0.2s ease;
}

.cookie-btn:hover {
    transform: translateY(-2px);
}

.cookie-btn-primary {
    background: var(--cookie-btn);

    color: var(--cookie-btn-text);
}

.cookie-btn-secondary {
    background: var(--cookie-secondary);

    color: var(--cookie-text);
}
/* =========================================
MODAL
========================================= */

.cookie-modal {
    position: fixed;

    inset: 0;

    z-index: 6000;

    background: rgba(0, 0, 0, 0.5);

    display: none;

    align-items: center;

    justify-content: center;

    padding: 20px;
}

.cookie-modal.active {
    display: flex;
}

.cookie-modal-content {
    width: 100%;

    max-width: 520px;

    background: var(--cookie-bg);

    color: var(--cookie-text);

    border-radius: 20px;

    padding: 25px;

    box-shadow: var(--cookie-shadow);
}

/* =========================================
OPTIONS
========================================= */

.cookie-option {
    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 15px;

    padding: 16px 0;

    border-bottom: 1px solid var(--cookie-border);
}

.cookie-option strong {
    display: block;

    margin-bottom: 5px;
}

.cookie-option p {
    font-size: 14px;

    line-height: 1.5;

    opacity: 0.8;
}

/* =========================================
SWITCH
========================================= */

.cookie-switch {
    width: 52px;

    height: 28px;

    border-radius: 999px;

    background: #d1d5db;

    position: relative;

    cursor: pointer;

    transition: 0.2s;

    flex-shrink: 0;
}

.cookie-switch.active {
    background: #10b981;
}

.cookie-switch::before {
    content: "";

    position: absolute;

    top: 3px;
    left: 3px;

    width: 22px;
    height: 22px;

    border-radius: 50%;

    background: white;

    transition: 0.2s;
}

.cookie-switch.active::before {
    left: 27px;
}

/* =========================================
MOBILE
========================================= */

@media (max-width: 768px) {
    .cookie-banner {
        flex-direction: column;

        align-items: flex-start;

        left: 10px;
        right: 10px;
        bottom: 10px;

        padding: 16px;
    }

    .cookie-buttons {
        width: 100%;

        display: grid;

        grid-template-columns: 1fr;
    }

    .cookie-btn {
        width: 100%;
    }

    .cookie-option {
        align-items: flex-start;
    }

    .cookie-modal-content {
        padding: 20px;
    }
}

/* =============================================
   LEGAL PAGES
============================================= */

.legal-page {
    min-height: 70vh;
    padding-top: 4rem;
}

.legal-page a{
    color:inherit;
    font-weight: 600;
    text-decoration: none;

}

.legal-page a:hover{
    color: red;
}

.legal-container {
    max-width: 900px;
    background: var(--light-card);
    padding: 3rem;
    border-radius: 24px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
}

body.dark-mode .legal-container {
    background: var(--dark-card);
    border-color: var(--border-dark);
}

.legal-container h1 {
    font-size: 2.2rem;
    margin-bottom: 2rem;
    color: var(--light-heading);
}

body.dark-mode .legal-container h1 {
    color: var(--dark-heading);
}

.legal-container h2 {
    margin-top: 2rem;
    margin-bottom: 0.8rem;
    font-size: 1.2rem;
    color: var(--primary);
}

.legal-container p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

@media (max-width: 768px) {
    .legal-container {
        padding: 2rem;
        border-radius: 18px;
    }

    .legal-container h1 {
        font-size: 1.8rem;
    }
}
