﻿/* CSS Variables for Dynamic Concept */
:root {
    /* Color Palette 2: Dynamic & Energetic */
    --clr-bg-dark: #120b1f;
    /* Koyu Mor / Siyah */
    --clr-primary: #8a2be2;
    /* Elektrik Mor */
    --clr-accent: #ff6b6b;
    /* Mercan / Şeftali */
    --clr-text-light: #f5f5f5;
    /* Açık Gri / Kırık beyaz */
    --clr-text-muted: #a09eb5;

    /* Glassmorphism Variables */
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    --glass-blur: blur(12px);

    /* Fonts */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Transitions */
    --transition-smooth: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);

    /* Navbar Soft Ivory Palette */
    --nav-bg: #f6f0e8;
    --nav-bg-scrolled: #efe6db;
    --nav-text: #2d2438;
    --nav-text-muted: #5f536f;
    --nav-border: #d9cfc2;
    --nav-shadow: rgba(34, 24, 46, 0.12);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--clr-bg-dark);
    background-image:
        radial-gradient(430px 360px at -100px -120px, rgba(138, 43, 226, 0.34), rgba(138, 43, 226, 0) 65%),
        radial-gradient(380px 320px at calc(100% + 70px) 10%, rgba(255, 107, 107, 0.3), rgba(255, 107, 107, 0) 64%),
        radial-gradient(460px 340px at 16% 36%, rgba(138, 43, 226, 0.18), rgba(138, 43, 226, 0) 68%),
        radial-gradient(420px 330px at 86% 50%, rgba(255, 107, 107, 0.16), rgba(255, 107, 107, 0) 70%),
        radial-gradient(500px 360px at -140px 78%, rgba(138, 43, 226, 0.2), rgba(138, 43, 226, 0) 70%),
        radial-gradient(420px 320px at calc(100% + 90px) 92%, rgba(255, 107, 107, 0.17), rgba(255, 107, 107, 0) 72%);
    background-repeat: no-repeat;
    color: var(--clr-text-light);
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 800;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* Utilities */

.skip-link {
    position: absolute;
    top: -40px;
    left: 1rem;
    background: var(--clr-accent);
    color: #fff;
    padding: 0.5rem 0.8rem;
    border-radius: 8px;
    z-index: 200;
    transition: var(--transition-smooth);
}

.skip-link:focus {
    top: 1rem;
}

.text-gradient {
    background: linear-gradient(135deg, var(--clr-primary), var(--clr-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--glass-shadow);
}

/* Background Orbs (Animated) */
.bg-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
    opacity: 0.5;
    animation: drift 15s infinite alternate ease-in-out;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: var(--clr-primary);
    top: -100px;
    left: -100px;
}

.orb-2 {
    width: 300px;
    height: 300px;
    background: var(--clr-accent);
    bottom: 20%;
    right: -50px;
    animation-delay: -5s;
}

.orb-3 {
    width: 250px;
    height: 250px;
    background: #4facfe;
    top: 40%;
    left: 20%;
    animation-delay: -10s;
    opacity: 0.3;
}


/* Navbar */
.navbar {
    position: fixed;
    top: 1rem;
    left: 50%;
    width: min(1180px, calc(100% - 2.2rem));
    transform: translateX(-50%);
    padding: 0.9rem 0;
    z-index: 100;
    border-radius: 999px;
    border: 1px solid var(--nav-border);
    background: var(--nav-bg);
    box-shadow: 0 10px 30px var(--nav-shadow);
    overflow: hidden;
    transition: top 0.45s cubic-bezier(0.25, 1, 0.5, 1),
        width 0.45s cubic-bezier(0.25, 1, 0.5, 1),
        background 0.45s cubic-bezier(0.25, 1, 0.5, 1),
        box-shadow 0.45s cubic-bezier(0.25, 1, 0.5, 1),
        border-color 0.45s cubic-bezier(0.25, 1, 0.5, 1);
}

.navbar::before {
    content: '';
    display: none;
}

.navbar.is-scrolled {
    top: 0.55rem;
    width: min(1060px, calc(100% - 1.4rem));
    background: var(--nav-bg-scrolled);
    border-color: #cec1b1;
    box-shadow: 0 14px 36px rgba(34, 24, 46, 0.16);
}

.nav-container {
    max-width: none;
    width: 100%;
    margin: 0;
    padding: 0 1.4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--nav-text);
    letter-spacing: -1px;
}

.logo span {
    color: var(--clr-primary);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid #d5c8b8;
    border-radius: 12px;
    background: #f1e9df;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.menu-toggle span {
    width: 18px;
    height: 2px;
    background: #3b3048;
    display: block;
}

.nav-links a {
    font-size: 1rem;
    font-weight: 500;
    color: var(--nav-text-muted);
    transition: var(--transition-smooth);
    position: relative;
}

.nav-links a:hover {
    color: var(--nav-text);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: var(--clr-accent);
    transition: var(--transition-smooth);
}

.nav-links a:hover::after {
    width: 100%;
}

.btn-outline.nav-contact {
    border-color: var(--clr-primary);
    color: #fff;
    background: linear-gradient(135deg, var(--clr-primary), #6f22b8);
    box-shadow: 0 8px 18px rgba(138, 43, 226, 0.28);
}

.btn-outline.nav-contact:hover {
    border-color: #9a4cf0;
    background: linear-gradient(135deg, #9a4cf0, #7c2fd0);
    color: #fff;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--clr-accent);
    outline-offset: 2px;
}

/* Buttons */
.btn-outline {
    padding: 0.6rem 1.5rem;
    border: 1px solid var(--clr-text-muted);
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition-smooth);
}

.btn-outline:hover {
    border-color: var(--clr-primary);
    background: rgba(138, 43, 226, 0.1);
    color: var(--clr-text-light);
}

.btn-primary {
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, var(--clr-primary), #6f22b8);
    border-radius: 50px;
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 10px 20px rgba(138, 43, 226, 0.3);
    transition: var(--transition-smooth);
    display: inline-block;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(138, 43, 226, 0.4);
}

.btn-secondary {
    padding: 1rem 2.5rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: var(--glass-blur);
    border-radius: 50px;
    color: var(--clr-text-light);
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

.play-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: var(--clr-accent);
    color: #fff;
    border-radius: 50%;
    font-size: 0.8rem;
    padding-left: 2px;
    /* Center the play triangle */
}

/* Hero Section */
.hero {
    min-height: 100vh;
    padding-top: 150px;
    /* Offset for navbar */
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-left: 2rem;
    padding-right: 2rem;
    position: relative;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    border: 1px solid rgba(255, 107, 107, 0.3);
    background: rgba(255, 107, 107, 0.1);
    color: var(--clr-accent);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
    color: var(--clr-text-light);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--clr-text-muted);
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.hero-cta-group {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 2rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: var(--glass-blur);
    padding: 1.5rem 2rem;
    border-radius: 20px;
    display: inline-flex;
}

.stat-item h3 {
    font-size: 2rem;
    color: var(--clr-text-light);
    margin-bottom: 0.2rem;
}

.stat-item p {
    font-size: 0.9rem;
    color: var(--clr-text-muted);
}

.stat-divider {
    width: 2px;
    height: 40px;
    background: var(--glass-border);
}

.hero-visual {
    flex: 1;
    position: relative;
    height: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.main-glass-card {
    width: 380px;
    height: auto;
    position: relative;
    z-index: 2;
}

.chat-bubble {
    padding: 1rem 1.5rem;
    border-radius: 20px;
    margin-bottom: 1.5rem;
    font-weight: 500;
    max-width: 80%;
}

.chat-bubble.left {
    background: rgba(255, 255, 255, 0.1);
    border-bottom-left-radius: 5px;
    border: 1px solid var(--glass-border);
}

.chat-bubble.right {
    background: linear-gradient(135deg, var(--clr-primary), #6f22b8);
    border-bottom-right-radius: 5px;
    text-align: right;
    margin-left: auto;
    box-shadow: 0 10px 20px rgba(138, 43, 226, 0.2);
}

.language-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 2rem;
    margin-top: 2rem;
}

.tag {
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
}

.progress-bar-container p {
    font-size: 0.9rem;
    color: var(--clr-text-muted);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.progress-track {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

.progress-fill {
    width: 75%;
    height: 100%;
    background: linear-gradient(90deg, var(--clr-accent), #ffa0a0);
    border-radius: 10px;
    animation: loadProgress 2s ease-out forwards;
}

.support-card {
    position: absolute;
    bottom: 50px;
    left: 0;
    padding: 1.2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 3;
    animation: float 4s ease-in-out infinite reverse;
}

.support-icon {
    font-size: 2rem;
    background: rgba(255, 107, 107, 0.2);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

.support-text h4 {
    font-size: 1rem;
}

.support-text p {
    font-size: 0.8rem;
    color: var(--clr-text-muted);
}

/* Globals for Sections */
.section-padding {
    padding: 100px 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-title {
    margin-bottom: 2.5rem;
}

.section-title span {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
    display: block;
}

.section-title h2 {
    font-size: 3rem;
    color: var(--clr-text-light);
}

.font-bold {
    font-weight: 800;
}

/* Scroll Animation Utilities */
.scroll-anim {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.scroll-anim.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 0.75fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-visual {
    position: relative;
}

.image-wrapper {
    position: relative;
    margin: 0;
    padding: 1rem;
    border-radius: 30px;
}


.instructor-photo {
    width: 100%;
    height: 375px;
    object-fit: cover;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.1));
}


.floating-badge {
    position: absolute;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    padding: 1rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    color: var(--clr-text-light);
    z-index: 10;
}

.badge-1 {
    top: 50px;
    left: -30px;
}

.badge-2 {
    bottom: 50px;
    right: -30px;
}

@keyframes bounceSlow {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.bounce-anim {
    animation: bounceSlow 4s ease-in-out infinite;
}

.bounce-anim-delay {
    animation: bounceSlow 4s ease-in-out infinite;
    animation-delay: 2s;
}

.about-text {
    font-size: 1.1rem;
    color: var(--clr-text-muted);
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.about-features li {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.check-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: rgba(138, 43, 226, 0.1);
    color: var(--clr-primary);
    border-radius: 50%;
    font-weight: bold;
    flex-shrink: 0;
}

.about-features h4 {
    font-size: 1.2rem;
    color: var(--clr-text-light);
    margin-bottom: 0.3rem;
}

.about-features p {
    color: var(--clr-text-muted);
    font-size: 0.95rem;
}

/* Animations */
@keyframes drift {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(50px, 50px) scale(1.1);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

.float-anim {
    animation: float 6s ease-in-out infinite;
}

@keyframes pulseGlow {

    0%,
    100% {
        box-shadow: 0 0 15px rgba(255, 107, 107, 0.5);
    }

    50% {
        box-shadow: 0 0 30px rgba(255, 107, 107, 0.8), 0 0 10px rgba(255, 107, 107, 0.5) inset;
    }
}

.glow-effect {
    animation: pulseGlow 3s infinite;
}

.pulse-effect {
    animation: pulseGlow 2s infinite;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 1s ease-out forwards;
}

@keyframes fade-in {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.fade-in {
    animation: fade-in 1.5s ease-out forwards;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.slide-in-left {
    animation: slideInLeft 0.8s ease-out forwards;
}

.slide-in-right {
    animation: slideInRight 0.8s ease-out forwards;
    animation-delay: 0.4s;
    opacity: 0;
    /* Wait for delay */
}

@keyframes loadProgress {
    from {
        width: 0;
    }

    to {
        width: 75%;
    }
}

/* Responsive */
@media (max-width: 968px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 190px;
    }

    .navbar {
        top: 0.55rem;
        width: calc(100% - 1rem);
        border-radius: 24px;
        padding: 0.75rem 0;
    }

    .navbar.is-scrolled {
        top: 0.35rem;
        width: calc(100% - 0.7rem);
    }

    .hero-title {
        font-size: 3.5rem;
    }

    .hero-content {
        margin-bottom: 4rem;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-cta-group {
        justify-content: center;
    }

    .nav-container {
        flex-wrap: wrap;
        gap: 0.8rem;
    }

    .menu-toggle {
        display: inline-flex;
        margin-left: auto;
    }

    .btn-outline.nav-contact {
        display: none;
    }

    .nav-links {
        display: none;
        width: 100%;
        flex-direction: column;
        gap: 0.8rem;
        padding: 1rem;
        margin-top: 0.3rem;
        border: 1px solid var(--nav-border);
        border-radius: 14px;
        background: #f4ece2;
    }

    .nav-links.is-open {
        display: flex;
    }
}

ul {
    list-style: none;
}

/* Courses Section */
.text-center {
    text-align: center;
}

.subtitle-text {
    font-size: 1.1rem;
    color: var(--clr-text-muted);
    margin-top: 1rem;
}

.course-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    position: relative;
    z-index: 2;
}

.course-card {
    position: relative;
    padding: 2.5rem 2rem;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.course-card:hover {
    transform: translateY(-10px);
    border-color: rgba(138, 43, 226, 0.4);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.course-card.popular {
    border-color: var(--clr-primary);
    background: linear-gradient(180deg, rgba(138, 43, 226, 0.1) 0%, rgba(255, 255, 255, 0.03) 100%);
    transform: scale(1.05);
    /* Slightly larger */
}

.course-card.popular:hover {
    transform: scale(1.05) translateY(-10px);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--clr-primary), var(--clr-accent));
    padding: 0.4rem 1.5rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
}

.card-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--glass-border);
}

.card-header h3 {
    font-size: 1.5rem;
    color: var(--clr-text-light);
    margin-bottom: 1rem;
}

.price {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    font-family: var(--font-heading);
}

.price span {
    font-size: 1rem;
    color: var(--clr-text-muted);
    font-weight: 500;
    -webkit-text-fill-color: var(--clr-text-muted);
    /* Overriding gradient */
}

.card-header p {
    font-size: 0.9rem;
    color: var(--clr-text-muted);
}

.card-features {
    flex-grow: 1;
    margin-bottom: 2.5rem;
}

.card-features li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    color: var(--clr-text-light);
}

.card-features li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--clr-primary);
    font-weight: bold;
}

.w-100 {
    width: 100%;
}

@media (max-width: 968px) {
    .course-grid {
        grid-template-columns: 1fr;
    }

    .course-card.popular {
        transform: scale(1);
    }

    .course-card.popular:hover {
        transform: translateY(-10px);
    }
}

/* Demo Section */
.demo-panel {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 2rem;
    align-items: center;
}

.demo-video {
    min-height: 240px;
    border: 1px dashed var(--glass-border);
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.18), rgba(255, 107, 107, 0.12));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--clr-text-light);
    font-weight: 600;
}

.demo-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.demo-list li {
    padding: 0.9rem 1rem;
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.02);
}

@media (max-width: 968px) {
    .demo-panel {
        grid-template-columns: 1fr;
    }
}

/* FAQ Section */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
}

.faq-item {
    padding: 1.8rem;
}

.faq-item h3 {
    font-size: 1.2rem;
    color: var(--clr-text-light);
    margin-bottom: 0.6rem;
}

.faq-item p {
    color: var(--clr-text-muted);
    line-height: 1.8;
}

@media (max-width: 968px) {
    .faq-grid {
        grid-template-columns: 1fr;
    }
}

/* Testimonials Section */
.marquee-container {
    overflow: hidden;
    position: relative;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    padding: 2rem 0;
    display: flex;
}

.marquee-container::before,
.marquee-container::after {
    content: '';
    position: absolute;
    top: 0;
    width: 15%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.marquee-container::before {
    left: 0;
    background: linear-gradient(to right, var(--clr-bg-dark), transparent);
}

.marquee-container::after {
    right: 0;
    background: linear-gradient(to left, var(--clr-bg-dark), transparent);
}

.marquee-content {
    display: flex;
    gap: 2rem;
    padding-left: 2rem;
    animation: scroll-marquee 80s linear infinite;
}

.marquee-container:hover .marquee-content {
    animation-play-state: paused;
}

.testimonial-card {
    min-width: 400px;
    max-width: 400px;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
    border: none;
}

.testimonial-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 2px;
    background-image: radial-gradient(transparent, transparent, var(--clr-primary), var(--clr-accent), transparent, transparent);
    background-size: 300% 300%;
    animation: shine-border 14s linear infinite;
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    mask-composite: exclude;
    pointer-events: none;
    z-index: 1;
}

@keyframes shine-border {
    0% {
        background-position: 0% 0%;
    }

    50% {
        background-position: 100% 100%;
    }

    100% {
        background-position: 0% 0%;
    }
}

.stars {
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.review-text {
    font-size: 1.05rem;
    color: var(--clr-text-light);
    font-style: italic;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.student-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    border-top: 1px solid var(--glass-border);
    padding-top: 1.5rem;
}

.student-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(138, 43, 226, 0.4);
    flex-shrink: 0;
    transform: scale(1.2);
    transform-origin: center;
}

.student-info h4 {
    font-size: 1rem;
    color: var(--clr-text-light);
    margin-bottom: 0.2rem;
}

.student-info span {
    font-size: 0.85rem;
    color: var(--clr-text-muted);
}

@keyframes scroll-marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-400px * 8 - 2rem * 8));
    }

    /* Calculate based on 8 distinct cards */
}

@media (max-width: 768px) {
    .testimonial-card {
        min-width: 300px;
        max-width: 300px;
    }

    @keyframes scroll-marquee {
        0% {
            transform: translateX(0);
        }

        100% {
            transform: translateX(calc(-300px * 8 - 2rem * 8));
        }
    }
}

/* Contact Section */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    padding: 3rem;
}

.contact-text {
    font-size: 1.1rem;
    color: var(--clr-text-muted);
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.detail-icon {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.detail-item h4 {
    font-size: 1rem;
    color: var(--clr-text-light);
}


.contact-details a {
    text-decoration: underline;
    text-underline-offset: 3px;
}


.social-links {
    display: flex;
    gap: 1rem;
}

.social-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    transition: var(--transition-smooth);
    color: var(--clr-text-light);
}

.social-btn:hover {
    background: var(--clr-primary);
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(138, 43, 226, 0.4);
}

/* Form Styling */
.contact-form {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1.2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: var(--clr-text-light);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition-smooth);
}

.form-group select option {
    background: var(--clr-bg-dark);
    color: var(--clr-text-light);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--clr-primary);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 15px rgba(138, 43, 226, 0.2);
}

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Footer Section */
.footer {
    border-top: 1px solid var(--glass-border);
    background: rgba(18, 11, 31, 0.8);
    backdrop-filter: blur(10px);
    padding: 2rem 0;
    margin-top: 5rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
}

.footer-logo span {
    color: var(--clr-primary);
}

.footer p {
    color: var(--clr-text-muted);
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    color: var(--clr-text-muted);
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}

.footer-links a:hover {
    color: var(--clr-text-light);
}

/* Base Responsive Fixes for New Sections */
@media (max-width: 968px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        padding: 2rem;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}







/* Rehber Merkezi */
.seo-hub {
    position: relative;
    background:
        radial-gradient(70% 90% at 88% 82%, rgba(255, 107, 107, 0.13) 0%, rgba(255, 107, 107, 0) 62%),
        radial-gradient(65% 85% at 10% 8%, rgba(138, 43, 226, 0.15) 0%, rgba(138, 43, 226, 0) 58%),
        linear-gradient(180deg, #171024 0%, #1d1330 52%, #130c20 100%);
}

.seo-hub::before,
.seo-hub::after {
    content: '';
    position: absolute;
    left: 50%;
    width: 100vw;
    height: 1px;
    transform: translateX(-50%);
    background: linear-gradient(90deg, rgba(202, 194, 228, 0.02), rgba(202, 194, 228, 0.3), rgba(202, 194, 228, 0.02));
    pointer-events: none;
}

.seo-hub::before {
    top: 0;
}

.seo-hub::after {
    bottom: 0;
}

.seo-hub-shell {
    position: relative;
    padding: 0.6rem 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    overflow: visible;
}

.seo-hub-aura {
    display: none;
}

.seo-hub .section-title,
.seo-hub-grid,
.seo-hub-cta {
    position: relative;
    z-index: 1;
}

.seo-hub .section-title {
    margin-bottom: 2rem;
}

.seo-hub .section-title h2 {
    color: #f5f2ff;
}

.seo-hub .section-title .subtitle-text {
    color: #c9c2db;
}

.seo-hub-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.2rem;
}

.seo-hub-card {
    --hub-accent: #8a2be2;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-height: 320px;
    padding: 1.25rem 1.2rem 1.15rem;
    border-radius: 24px;
    background: linear-gradient(165deg, rgba(24, 18, 40, 0.84), rgba(24, 18, 40, 0.72));
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 12px 24px rgba(5, 6, 18, 0.3);
    transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1),
        border-color 0.45s cubic-bezier(0.25, 1, 0.5, 1),
        box-shadow 0.45s cubic-bezier(0.25, 1, 0.5, 1);
    overflow: hidden;
}

.seo-hub-card::before {
    content: '';
    position: absolute;
    top: -65%;
    left: -30%;
    width: 160%;
    height: 120%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0));
    opacity: 0.28;
    transform: rotate(8deg);
    transition: transform 0.55s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.55s cubic-bezier(0.25, 1, 0.5, 1);
    pointer-events: none;
}

.seo-hub-card::after {
    content: '';
    position: absolute;
    inset: auto 1.2rem 0.85rem;
    height: 3px;
    border-radius: 99px;
    background: linear-gradient(90deg, var(--hub-accent), rgba(255, 255, 255, 0));
    opacity: 0.5;
}

.hub-card-1 {
    --hub-accent: #70d0ff;
}

.hub-card-2 {
    --hub-accent: #ff8ea2;
}

.hub-card-3 {
    --hub-accent: #b9a4ff;
}

.seo-hub-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.22);
    box-shadow: 0 16px 28px rgba(5, 6, 18, 0.4);
}

.seo-hub-card:hover::before {
    opacity: 0.38;
    transform: rotate(10deg) translateY(3%);
}

.hub-card-top {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 0.8rem;
}

.hub-pill {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 0 0 0.45rem;
    border: 0;
    border-radius: 0;
    background: transparent;
    font-size: 0.74rem;
    letter-spacing: 0.03em;
    font-weight: 700;
    color: var(--hub-accent);
}

.hub-pill::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0), var(--hub-accent), rgba(255, 255, 255, 0.95), var(--hub-accent), rgba(255, 255, 255, 0));
    background-size: 220% 100%;
    animation: hubLabelFlow 3.2s linear infinite;
    opacity: 0.9;
}

@keyframes hubLabelFlow {
    0% {
        background-position: 200% 50%;
    }

    100% {
        background-position: -20% 50%;
    }
}

.seo-hub-card h3 {
    font-size: 1.32rem;
    line-height: 1.3;
    color: #f5f2ff;
}

.seo-hub-card p {
    color: #c9c2db;
    flex-grow: 1;
}

.seo-hub-card .btn-outline {
    position: relative;
    align-self: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 176px;
    padding: 0.72rem 1.2rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 12px;
    color: #f6f2ff;
    background: linear-gradient(135deg, rgba(49, 34, 77, 0.92), rgba(34, 24, 55, 0.92));
    font-weight: 700;
    letter-spacing: 0.01em;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.seo-hub-card .btn-outline::after {
    content: "->";
    margin-left: 0.45rem;
    font-size: 0.82rem;
    opacity: 0.85;
    transition: transform 0.3s ease;
}

.seo-hub-card .btn-outline:hover {
    border-color: var(--hub-accent);
    background: linear-gradient(135deg, var(--hub-accent), rgba(72, 50, 115, 0.95));
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.28);
}

.seo-hub-card .btn-outline:hover::after {
    transform: translateX(2px);
}

.seo-hub-cta {
    margin-top: 2rem;
    text-align: center;
}

@media (max-width: 968px) {
    .seo-hub-shell {
        padding: 0;
    }

    .seo-hub-card .btn-outline {
        width: 100%;
        max-width: 220px;
    }

    .seo-hub-grid {
        grid-template-columns: 1fr;
        gap: 0.9rem;
    }

    .seo-hub-card {
        min-height: auto;
    }
}

/* Global Mobile Responsiveness Improvements */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }

    .section-padding {
        padding: 72px 0;
    }

    .hero {
        padding-top: 150px;
    }

    .hero-title {
        font-size: clamp(2rem, 10vw, 2.8rem);
        line-height: 1.15;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-cta-group {
        width: 100%;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero-cta-group .btn-primary,
    .hero-cta-group .btn-secondary {
        width: 100%;
        text-align: center;
    }

    .hero-visual {
        height: auto;
        min-height: 420px;
    }

    .main-glass-card {
        width: min(100%, 330px);
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .subtitle-text {
        font-size: 1rem;
    }

    .marquee-content {
        gap: 1rem;
        padding-left: 1rem;
    }

    .review-text {
        font-size: 0.98rem;
        line-height: 1.65;
    }

    .student-info {
        gap: 0.8rem;
        padding-top: 1.15rem;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 0.85rem;
    }

    .navbar {
        width: calc(100% - 0.6rem);
        border-radius: 18px;
    }

    .nav-container {
        padding: 0 0.9rem;
    }

    .hero {
        padding-top: 132px;
    }

    .hero-title {
        font-size: clamp(1.8rem, 11vw, 2.35rem);
    }

    .hero-visual {
        min-height: 360px;
    }

    .main-glass-card {
        width: min(100%, 295px);
    }

    .section-title h2 {
        font-size: 1.7rem;
    }

    .course-card,
    .faq-item {
        padding: 1.2rem;
    }

    .contact-wrapper {
        padding: 1.2rem;
    }

    .testimonial-card {
        min-width: 300px;
        max-width: 300px;
    }

    .student-avatar {
        transform: scale(1.1);
    }

    .seo-hub-card .btn-outline {
        max-width: 100%;
    }
}

