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

body {
    font-family: 'Inter', sans-serif;
    color: #333;
    background-color: #fbfbfa;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* Utilities */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 6px;
    font-weight: 500;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: #0b1c2c;
    color: #fff;
    border: 1px solid #0b1c2c;
}

.btn-primary:hover {
    background-color: #1a3048;
}

.btn-primary-dark {
    background-color: #112030;
    color: #fff;
    border: 1px solid #112030;
    padding: 12px 30px;
}

.btn-primary-dark:hover {
    background-color: #000;
}

/* --- Top Banner --- */
.top-banner {
    background-color: #fed217;
    color: #1c1d1f;
    text-align: center;
    padding: 10px 20px;
    font-size: 0.95rem;
    font-weight: 700;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

.btn-banner {
    background-color: #000;
    color: #fff;
    padding: 8px 16px;
    font-weight: 700;
    border-radius: 4px;
}

.btn-banner:hover {
    background-color: #3b3b3b;
}

/* --- Udemy Style Header --- */
.header.udemy-style {
    position: static;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
    border-radius: 0;
    width: 100%;
    padding: 12px 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    z-index: 1000;
    background: #fff;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

.header.udemy-style .logo img {
    height: 34px;
    width: auto;
    object-fit: contain;
}

.udemy-nav-left,
.udemy-nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.udemy-nav-left a,
.udemy-nav-right a {
    color: #1c1d1f;
    font-size: 0.9rem;
    font-weight: 400;
}

.udemy-nav-left a:hover,
.udemy-nav-right a:hover {
    color: #c99300;
}

/* Nav Dropdown */
.nav-dropdown {
    position: relative;
    display: flex;
    align-items: center;
    height: 100%;
}

.nav-dropdown-toggle {
    cursor: pointer;
    padding: 10px 0;
}

.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 220px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0f0f0;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 100;
    padding: 10px 0;
}

.nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown-menu a {
    padding: 12px 20px !important;
    color: #111 !important;
    font-size: 0.95rem !important;
    display: block;
    width: 100%;
    transition: background 0.2s, color 0.2s;
}

.nav-dropdown-menu a:hover {
    color: #000 !important;
    background: #f5f5f5;
}

.udemy-search {
    flex: 1;
    display: flex;
    align-items: center;
    border: 1px solid #1c1d1f;
    border-radius: 9999px;
    background-color: #f7f9fa;
    padding: 0 16px;
    height: 48px;
    margin: 0 10px;
}

.udemy-search i {
    color: #6a6f73;
    font-size: 1rem;
    margin-right: 12px;
}

.udemy-search input {
    flex: 1;
    border: none;
    background: transparent;
    outline: none;
    font-size: 0.95rem;
}

.udemy-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cart-icon {
    font-size: 1.4rem;
    color: #1c1d1f;
    margin-right: 10px;
}

.cart-icon:hover {
    color: #fed217;
}

.btn-udemy-login {
    border: 1px solid #000;
    background: #fff;
    color: #000;
    font-weight: 700;
    padding: 0 20px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    font-size: 0.9rem;
}

.btn-udemy-login:hover {
    background: rgba(135, 16, 216, 0.04);
}

.btn-udemy-signup {
    background: #fed217;
    color: #000;
    border: 1px solid transparent;
    font-weight: 700;
    padding: 0 20px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    font-size: 0.9rem;
}

.btn-udemy-signup:hover {
    background: #000;
    color: #fed217;
}

@media (max-width: 992px) {
    .hide-mobile {
        display: none !important;
    }

    .top-banner {
        flex-direction: column;
        font-size: 0.85rem;
    }
    .udemy-search {
        order: 0;
        width: auto;
        flex: 1;
        margin-top: 0;
    }

    .header.udemy-style {
        justify-content: space-between;
    }
}

/* Hero Section */

/* Intro Slider Section */
.intro-slider-section {
    padding: 100px 8%;
    background-color: #fff;
    border-radius: 50px 50px 0 0;
    margin-top: -50px;
    position: relative;
    z-index: 20;
}

.intro-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
    gap: 30px;
}

.intro-title-group {
    display: flex;
    align-items: center;
    gap: 15px;
}

.intro-title-group .badge {
    border: 1px solid #ddd;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.intro-title-group h2 {
    font-size: 2.2rem;
    font-weight: 500;
    letter-spacing: -0.5px;
}

.cards-container {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding-bottom: 20px;
    scrollbar-width: none;
}

.cards-container::-webkit-scrollbar {
    display: none;
}

.intro-card {
    min-width: 320px;
    height: 420px;
    border-radius: 24px;
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
}

.intro-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    z-index: 1;
    pointer-events: none;
}

.card-glass-box {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 20px;
    border-radius: 16px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    z-index: 2;
    color: #fff;
}

.card-glass-box h4 {
    font-size: 1.05rem;
    font-weight: 500;
    max-width: 75%;
    line-height: 1.4;
}

.card-arrow-btn {
    width: 40px;
    height: 40px;
    background-color: #000;
    color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s;
}

.card-arrow-btn:hover {
    background-color: #444;
}

.slider-arrows {
    display: flex;
    gap: 15px;
}

.arrow-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid #ddd;
    background-color: #fff;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.1rem;
    color: #333;
    transition: all 0.3s;
}

.arrow-btn:hover {
    background-color: #f5f5f5;
}

/* About Us Section */
.about-us {
    display: flex;
    padding: 120px 15%;
    background-color: #fdfdfd;
    align-items: center;
    gap: 100px;
}

.about-content {
    flex: 1.1;
}

.about-content h2 {
    font-size: 2.2rem;
    line-height: 1.2;
    margin-bottom: 25px;
    color: #111;
    font-weight: 500;
    letter-spacing: -0.5px;
}

.about-content p {
    color: #555;
    margin-bottom: 50px;
    font-size: 1.05rem;
    line-height: 1.7;
}

.accordion {
    border-top: 1px solid #eee;
}

.accordion li {
    border-bottom: 1px solid #eee;
}

.accordion-header {
    padding: 16px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 500;
    font-size: 1.05rem;
    cursor: pointer;
    color: #111;
    transition: color 0.3s;
}

.accordion-header:hover {
    color: #b18758;
}

.accordion-header i {
    font-size: 1rem;
    color: #999;
    font-weight: 300;
    transition: transform 0.3s;
}

.accordion-content {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.4s ease-out;
}

.accordion-content p {
    overflow: hidden;
    min-height: 0;
    font-size: 0.95rem;
    color: #666;
    padding: 0 10px 0 0;
    margin: 0;
    opacity: 0;
    transition: padding 0.4s ease-out, opacity 0.3s ease-out;
}

.accordion li.active .accordion-content {
    grid-template-rows: 1fr;
}

.accordion li.active .accordion-content p {
    padding-bottom: 16px;
    opacity: 1;
}

.accordion li.active .accordion-header i {
    transform: rotate(45deg);
    color: #111;
}

.about-image {
    flex: 1;
}

.about-image img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    object-position: top;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

/* Tailored Section */
.tailored {
    background-color: #efece8;
    padding: 80px 15%;
}

.tailored-container {
    display: flex;
    gap: 60px;
    align-items: center;
}

.tailored-image {
    flex: 1;
}

.tailored-image img {
    width: 100%;
    max-height: 450px;
    border-radius: 24px;
    object-fit: cover;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.tailored-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.tailored-content h2 {
    font-size: 2.2rem;
    line-height: 1.2;
    margin-bottom: 30px;
    color: #111;
    font-weight: 500;
    letter-spacing: -0.5px;
}

.tailored-content p {
    color: #555;
    margin-bottom: 45px;
    font-size: 1.05rem;
    max-width: 450px;
}

.tailored-actions {
    display: flex;
    gap: 20px;
}

/* Success Stories Section */
.success-stories-section {
    padding: 100px 15%;
    background-color: #fff;
}

.stories-header {
    margin-bottom: 35px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    text-align: center;
}

.stories-header h2 {
    font-size: 2.2rem;
    color: #111;
    font-weight: 500;
}

.stories-header p {
    color: #555;
    font-size: 1.1rem;
    max-width: 600px;
}

.success-stories {
    display: flex;
    gap: 20px;
    height: 420px;
}

.story-card {
    border-radius: 24px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding: 30px;
    color: #fff;
    cursor: pointer;
    transition: flex 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.story-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0) 60%);
    z-index: 1;
    pointer-events: none;
}

.story-card>* {
    position: relative;
    z-index: 2;
}

.story-card.wide {
    flex: 2.5;
    justify-content: space-between;
}

.story-card.narrow {
    flex: 1;
    justify-content: flex-end;
}

.read-more {
    align-self: flex-end;
    color: #4a4a4a;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    background-color: #fdbb11;
    padding: 10px 24px;
    border-radius: 6px;
    transition: opacity 0.4s ease, visibility 0.4s ease, background 0.3s;
}

.read-more:hover {
    background-color: #e0a30b;
}

.story-info {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
}

.story-info h3 {
    font-size: 1.8rem;
    min-width: 300px;
    font-weight: 500;
    line-height: 1.3;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.story-card.narrow .read-more,
.story-card.narrow .story-info h3 {
    opacity: 0;
    visibility: hidden;
}

/* Footer Section */
.footer {
    background-color: #0f1c2b;
    color: #fff;
    padding: 80px 15% 40px;
    font-size: 0.9rem;
    line-height: 1.6;
}

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

.footer-logo {
    color: #fff;
    font-size: 1.6rem;
    font-weight: 500;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 20px;
}

.footer-logo::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: #e74c3c;
}

.footer-col h3 {
    color: #fff;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 25px;
    font-weight: 600;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-col ul li a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-col ul li a:hover {
    color: #fbf125;
}

.footer-address {
    margin-bottom: 20px;
}

.footer-credit {
    font-size: 0.75rem;
    margin-top: 30px;
}

.contact-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    color: #fff;
    font-size: 0.95rem;
}

.contact-list li i {
    font-size: 1.2rem;
    width: 20px;
    text-align: center;
}

/* Floating Action Buttons */
.floating-buttons {
    position: fixed;
    right: 30px;
    bottom: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 100;
}

.fab {
    position: relative;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: block;
    color: #fff;
    font-size: 1.4rem;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s, filter 0.3s;
}

.fab i {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1 !important;
    display: block !important;
}

.fab:hover {
    transform: translateY(-5px);
    filter: brightness(1.1);
}

.btn-up {
    background-color: #f39c12;
}

.btn-map {
    background-color: #2980b9;
}

.btn-whatsapp {
    background-color: #2ecc71;
    font-size: 1.6rem;
}

/* Mobile Nav Hidden on Desktop */
.nav {
    display: none;
}

/* Responsive */
@media (max-width: 1200px) {
    .header {
        left: 2%;
        right: 2%;
        padding: 15px 20px;
    }

    .nav ul {
        gap: 20px;
    }
}

@media (max-width: 992px) {
    .header {
        position: relative;
        top: 0;
        border-radius: 0;
        box-shadow: none;
        flex-wrap: wrap;
    }

    .about-us,
    .tailored-container {
        flex-direction: column;
        align-items: stretch;
        gap: 50px;
    }

    .about-image {
        display: none;
    }

    .tailored-image {
        width: 100%;
    }
}

/* Services Section (Danismanlik) */

/* Sidebar Layout for Trainings */

/* Acik Siniflar */

/* Dropdown Menu */
.nav ul li.dropdown {
    position: relative;
}

.nav ul .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    min-width: 200px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 10px 0;
    z-index: 1000;
    flex-direction: column;
    gap: 0;
}

.nav ul li.dropdown.active .dropdown-menu {
    display: flex;
    animation: fadeIn 0.3s ease;
}

.nav ul .dropdown-menu li {
    display: block;
    margin: 0;
}

.nav ul .dropdown-menu li a {
    color: #444;
    padding: 12px 25px;
    display: block;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s;
}

.nav ul .dropdown-menu li a:hover {
    background-color: #fafafa;
    color: #b18758;
    padding-left: 30px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Blog / Icerikler */

/* Article Detail Layout */

/* Reusing .blog-card for sidebar but making images shorter */

/* Contact Page Styles */
.contact-page-section {
    padding: 160px 10% 100px;
    background-color: #fbfbfa;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    background: #fff;
    padding: 60px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
}

.contact-info h2 {
    font-size: 2.5rem;
    color: #111;
    margin-bottom: 20px;
}

.contact-info p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.contact-detail-item i {
    font-size: 1.5rem;
    color: #fed217;
    margin-top: 5px;
}

.contact-detail-text h4 {
    font-size: 1.2rem;
    color: #111;
    margin-bottom: 5px;
}

.contact-detail-text p {
    font-size: 1rem;
    color: #555;
    margin: 0;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form .form-group {
    display: flex;
    flex-direction: column;
}

.contact-form label {
    font-size: 0.95rem;
    color: #333;
    margin-bottom: 8px;
    font-weight: 500;
}

.contact-form input,
.contact-form textarea {
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #fed217;
    outline: none;
}

.contact-form textarea {
    resize: vertical;
    min-height: 150px;
}

.contact-form .btn-submit {
    background-color: #111;
    color: #fff;
    border: none;
    padding: 18px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-top: 10px;
}

.contact-form .btn-submit:hover {
    background-color: #fed217;
    color: #111;
}

@media (max-width: 992px) {
    .contact-layout {
        grid-template-columns: 1fr;
        padding: 40px;
    }
}

@media (max-width: 768px) {
    .contact-layout {
        padding: 30px 20px;
    }
}

/* Scroll Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    will-change: opacity, transform;
}

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

/* Staggered delays for child elements if needed */

/* Partners Carousel Section */
.partners-carousel-section {
    background-color: #142438;
    padding: 20px 0;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.partners-carousel-section h2 {
    text-align: center;
    color: #fff;
    font-size: 2rem;
    margin-bottom: 40px;
    font-weight: 600;
}

.partners-track {
    display: flex;
    width: calc(220px * 40);
    /* 20 logos * 2 for infinite loop */
    animation: scroll 70s linear infinite;
    align-items: center;
}

.partners-track:hover {
    animation-play-state: paused;
}

.partner-logo {
    width: 220px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
    overflow: hidden;
    /* Added to crop if scaled */
}

.partner-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* This makes it cropped and larger */
    opacity: 0.6;
    transition: opacity 0.3s, transform 0.3s;
}

.partner-logo img:hover {
    opacity: 1;
    transform: scale(1.15);
    /* Hover effect scales even more */
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-220px * 20));
    }
}

@media (max-width: 768px) {
    .partners-carousel-section {
        padding: 40px 0;
    }

    .partners-carousel-section h2 {
        font-size: 1.5rem;
        margin-bottom: 30px;
    }
}

/* --- GLOBAL MOBILE RESPONSIVENESS OVERRIDES --- */
.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #111;
    z-index: 101;
}

@media (max-width: 992px) {
    .header {
        padding: 10px 5%;
        flex-wrap: nowrap;
        gap: 10px;
        position: sticky;
        top: 0;
        left: 0;
        right: 0;
        border-radius: 0;
        z-index: 100;
        background-color: #fff;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    }

    .udemy-actions {
        position: static;
    }

    .mobile-menu-btn {
        display: block;
        font-size: 2.2rem !important;
    }

    .header-actions {
        display: none;
        /* Hide button on mobile */
    }

    .nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        transform: translateX(-100%);
        background: #fff;
        padding: 80px 30px 40px;
        box-shadow: none;
        display: flex;
        flex-direction: column;
        border-radius: 0;
        z-index: 99;
        transition: transform 0.4s cubic-bezier(0.77, 0, 0.175, 1);
        overflow-y: auto;
    }

    .nav.active {
        transform: translateX(0);
    }

    .nav ul {
        flex-direction: column;
        gap: 20px;
    }

    .nav ul li a {
        font-size: 1.25rem;
        display: block;
        padding: 5px 0;
    }

    .nav ul .dropdown-menu {
        position: relative;
        box-shadow: none;
        padding-left: 15px;
        display: none;
        top: 0;
        margin-top: 10px;
        border-left: 2px solid #eee;
        margin-left: 10px;
    }

    .nav ul .dropdown-menu li a {
        font-size: 1.15rem;
        padding: 10px 0 10px 15px;
        color: #555;
        position: relative;
    }

    .nav ul .dropdown-menu li a::before {
        content: "";
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 5px;
        height: 5px;
        border-radius: 50%;
        background-color: #fed217; /* Yellow dot */
    }

    .nav ul li.dropdown.active .dropdown-menu {
        display: flex;
        flex-direction: column;
    }

    /* Global Padding Reductions */
    .about-us,
    .tailored,
    .success-stories-section,
    .contact-page-section {
        padding-left: 5%;
        padding-right: 5%;
    }
}

@media (max-width: 768px) {

    /* Hero Section */

    /* Intro Slider Section */
    .intro-slider-section {
        padding: 50px 5%;
        border-radius: 30px 30px 0 0;
        margin-top: -30px;
    }

    .intro-top {
        margin-bottom: 30px;
    }

    .intro-title-group {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .intro-title-group h2 {
        font-size: 1.8rem;
    }

    .cards-container {
        gap: 15px;
    }

    .intro-card {
        min-width: 280px;
        height: 360px;
    }

    .card-glass-box {
        padding: 15px;
    }

    .card-glass-box h4 {
        font-size: 0.95rem;
    }

    /* General Typography & Margins */

    h2 {
        font-size: 2rem !important;
    }

    .about-content h2,
    .tailored-content h2,
    .stories-header h2,
    .contact-info h2 {
        font-size: 1.8rem !important;
        margin-bottom: 15px;
    }

    /* Layout Adjustments */
    .about-us {
        padding-top: 80px;
        padding-bottom: 60px;
        gap: 40px;
    }

    .about-image img {
        height: 350px;
    }

    .tailored {
        padding-top: 60px;
        padding-bottom: 60px;
        gap: 40px;
    }

    .tailored-image img {
        max-height: 250px;
    }

    .success-stories {
        flex-direction: column;
        height: auto;
    }

    .story-card {
        height: 250px;
        padding: 20px;
    }

    .story-card.wide,
    .story-card.narrow {
        flex: none;
        justify-content: space-between;
    }

    .story-info {
        gap: 10px;
        flex-direction: column;
        align-items: flex-start;
    }

    .story-info h3 {
        font-size: 1.3rem !important;
        min-width: 0;
        line-height: 1.4;
    }

    .story-card .read-more,
    .story-card .story-info h3,
    .story-card.narrow .read-more,
    .story-card.narrow .story-info h3 {
        opacity: 1;
        visibility: visible;
    }

    /* Footer */
    .footer {
        padding: 60px 5% 30px;
    }

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

    /* Services & Content Pages */

    .contact-page-section {
        padding-top: 100px;
        padding-bottom: 60px;
    }

    .contact-layout {
        padding: 20px;
    }

    .contact-details {
        gap: 20px;
    }

    /* Blog */

    /* Floating Buttons */
    .floating-buttons {
        right: 15px;
        bottom: 15px;
        gap: 10px;
    }

    .fab {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }

    .btn-whatsapp {
        font-size: 1.5rem;
    }
}

/* Fix for single class options */

/* --- E-commerce Style Slider --- */
.ecommerce-slider {
    padding: 0 8%;
    margin-top: 40px;
    margin-bottom: 60px;
}

.slider-grid {
    display: grid;
    grid-template-columns: 1.8fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 25px;
    height: 520px;
}

.slider-item {
    border-radius: 25px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
}

.slider-item.pos-1 {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
    padding: 60px;
}

.slider-item.pos-2 {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
    padding: 30px 40px;
}

.slider-item.pos-3 {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
    padding: 30px 40px;
}

.item-content {
    position: relative;
    z-index: 2;
    max-width: 55%;
}

.slider-item:not(.pos-1) .item-content {
    max-width: 65%;
}

.bg-yellow {
    background-color: #fdf6e2;
    background-image: url('images/egitim-gorsel.jpg');
    background-size: cover;
    background-position: center right;
    position: relative;
    overflow: hidden;
}

.bg-yellow::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(253, 246, 226, 0.95) 0%, rgba(253, 246, 226, 0.4) 100%);
    z-index: 1;
}

.bg-yellow .item-content,
.bg-yellow .item-img {
    position: relative;
    z-index: 2;
}

.bg-green {
    background-color: #d8e5b4;
    background-image: url('images/hero2.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.bg-green::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(216, 229, 180, 0.95) 0%, rgba(216, 229, 180, 0.4) 100%);
    z-index: 1;
}

.bg-green .item-content {
    position: relative;
    z-index: 2;
}

.bg-dark {
    background-color: #3a2224;
    background-image: url('images/hero3.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    color: #fff;
}

.bg-dark::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(58, 34, 36, 0.95) 0%, rgba(58, 34, 36, 0.6) 100%);
    z-index: 1;
}

.bg-dark .item-content {
    position: relative;
    z-index: 2;
}

.item-content .badge {
    color: #cda434;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    display: block;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.slider-item.pos-1 h2 {
    font-size: 3rem;
    font-weight: 800;
    color: #222;
    line-height: 1.15;
    margin-bottom: 20px;
}

.slider-item:not(.pos-1) h2 {
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.25;
    color: #222;
}

.bg-dark h2 {
    color: #fff !important;
}

.item-content p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 30px;
}

.bg-dark p {
    color: #ddd;
}

.slider-item:not(.pos-1) p {
    display: none;
}

.btn-shop {
    background-color: #f8c23a;
    color: #222;
    border: none;
    padding: 14px 34px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: background 0.3s;
    display: inline-block;
}

.btn-shop:hover {
    background-color: #e5b026;
}

.slider-item:not(.pos-1) .btn-shop {
    display: none;
}

.slider-item:not(.pos-1) .badge {
    display: none;
}

/* Floating Images */
.item-img {
    position: absolute;
    right: -20px;
    bottom: -10%;
    height: 120%;
    width: auto;
    object-fit: contain;
    z-index: 1;
    transition: all 0.4s ease;
}

.slider-item:not(.pos-1) .item-img {
    height: 140%;
    right: -30px;
    bottom: -30px;
}

.slider-item.pos-1 .item-img {
    right: 5%;
    bottom: -5%;
    height: 100%;
}

/* Abstract blob on yellow bg */


@media (max-width: 992px) {
    .slider-grid {
        grid-template-columns: 1fr;
        grid-template-rows: 1.5fr 1fr 1fr;
        height: auto;
        min-height: 800px;
    }

    .slider-item.pos-1 {
        grid-column: 1 / 2;
        grid-row: 1 / 2;
        padding: 40px;
    }

    .slider-item.pos-2 {
        grid-column: 1 / 2;
        grid-row: 2 / 3;
    }

    .slider-item.pos-3 {
        grid-column: 1 / 2;
        grid-row: 3 / 4;
    }
}

/* --- Shop Page Layout (Kesfedin) --- */
.shop-container {
    display: flex;
    max-width: 1300px;
    margin: 40px auto;
    padding: 0 24px;
    gap: 40px;
    font-family: 'Inter', sans-serif;
}

.shop-sidebar {
    width: 250px;
    flex-shrink: 0;
}

.sidebar-widget {
    margin-bottom: 30px;
}

.sidebar-divider {
    border: none;
    border-top: 1px solid #eee;
    margin: 30px 0;
}

.widget-title {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: #111;
}

.widget-list li {
    margin-bottom: 12px;
}

.widget-list a {
    color: #444;
    font-size: 0.95rem;
}

.widget-list a.active {
    color: #111;
    font-weight: 700;
}

.price-slider-wrap {
    margin-top: 20px;
}

.price-slider-track {
    height: 8px;
    background-color: #f0f0f0;
    position: relative;
    margin-bottom: 30px;
    border-radius: 4px;
}

.price-slider-range {
    position: absolute;
    height: 100%;
    left: 0%;
    right: 30%;
    background-color: #fed217;
    border-radius: 4px;
}

.price-slider-handle {
    position: absolute;
    top: -4px;
    width: 16px;
    height: 16px;
    background-color: #333;
    cursor: pointer;
}

.price-slider-handle.left {
    left: 0;
}

.price-slider-handle.right {
    right: 30%;
    margin-right: -8px;
}

.price-inputs {
    display: flex;
    justify-content: space-between;
}

.price-input {
    background-color: #f8f8f8;
    padding: 8px 15px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #111;
    border-radius: 4px;
}

.btn-filter-yellow {
    width: 100%;
    background-color: #fed217;
    color: #000;
    border: none;
    padding: 14px;
    border-radius: 25px;
    font-weight: 800;
    font-size: 1rem;
    cursor: pointer;
    transition: 0.2s;
}

.btn-filter-yellow:hover {
    background-color: #000;
    color: #fff;
}

/* Main content */
.shop-content {
    flex: 1;
}

.shop-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.stock-checkbox {
    font-size: 0.85rem;
    font-weight: 500;
    color: #111;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.shop-sort-view {
    display: flex;
    align-items: center;
    gap: 40px;
}

.sort-links {
    display: flex;
    gap: 20px;
}

.sort-links a {
    font-size: 0.8rem;
    color: #666;
}

.sort-links a:hover {
    color: #111;
}

.view-icons {
    display: flex;
    gap: 10px;
    color: #aaa;
    font-size: 1.1rem;
}

.view-icons i.active {
    color: #fed217;
}

/* Products Grid */
.shop-products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.shop-product-card {
    display: flex;
    flex-direction: column;
}

.product-img-wrap {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 15px;
    aspect-ratio: 1.1;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e9e9e9;
}

.product-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-info h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #111;
    line-height: 1.4;
    margin-bottom: 10px;
    min-height: 40px;
}

.product-desc {
    font-size: 0.85rem;
    color: #777;
    line-height: 1.5;
    margin-bottom: 15px;
}

.product-action {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.price-text.yellow {
    color: #000;
    font-size: 1.15rem;
    font-weight: 800;
}

.btn-add-cart-yellow {
    background-color: #fed217;
    color: #000;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    transition: 0.2s;
}

.btn-add-cart-yellow:hover {
    background-color: #000;
    color: #fff;
}

@media (max-width: 992px) {
    .shop-container {
        flex-direction: column;
    }

    .shop-sidebar {
        width: 100%;
    }

    .shop-products-grid {
        grid-template-columns: 1fr;
    }
}

/* --- Product Detail Page --- */
.product-detail-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 24px;
    font-family: 'Inter', sans-serif;
}

.breadcrumb {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 30px;
}

.breadcrumb a {
    color: #000;
    text-decoration: underline;
}

.product-detail-row {
    display: flex;
    gap: 50px;
    align-items: flex-start;
    /* Required for sticky column */
}

.product-left-col {
    flex: 1.4;
    min-width: 0;
}

.product-right-col {
    flex: 1;
    min-width: 0;
    position: sticky;
    top: 40px;
    /* Sticks the column to top while scrolling */
}

.product-gallery {
    width: 100%;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.product-main-image {
    background: #e9e9e9;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.product-main-image img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 1.1;
    object-fit: cover;
}

.product-thumbnails {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 5px;
}

.product-thumbnails .thumbnail {
    flex-shrink: 0;
    width: 85px;
    height: 85px;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
    transition: 0.3s;
    background: #e9e9e9;
}

.product-thumbnails .thumbnail.active {
    border-color: #fed217;
}

.product-thumbnails .thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    /* helps with click target */
}

.product-detail-info {
    display: flex;
    flex-direction: column;
    background: #fff;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
    border: 1px solid #f5f5f5;
}

.product-detail-info h1 {
    font-size: 2.2rem;
    color: #111;
    margin-bottom: 15px;
    line-height: 1.3;
    font-weight: 800;
}

.product-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    font-size: 0.9rem;
    color: #555;
}

.product-meta .rating i {
    color: #fed217;
}

.product-price-large {
    font-size: 2.5rem;
    font-weight: 800;
    color: #111;
    margin-bottom: 20px;
}

.product-short-desc {
    font-size: 1rem;
    line-height: 1.6;
    color: #444;
    margin-bottom: 30px;
}

.product-add-to-cart {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
}

.btn-large-yellow {
    flex: 1;
    background-color: #fed217;
    color: #000;
    border: none;
    padding: 16px 20px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;

}

.btn-large-yellow:hover {
    background-color: #000;
    color: #fff;
    transform: translateY(-2px);

}

.btn-large-outline {
    flex: 1;
    background-color: #fff;
    color: #111;
    border: 2px solid #e0e0e0;
    padding: 16px 20px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-large-outline:hover {
    border-color: #111;
    background-color: #fafafa;
}

.product-features h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #111;
    font-weight: 700;
}

.product-features ul {
    list-style: none;
    padding: 0;
}

.product-features li {
    font-size: 0.95rem;
    color: #444;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.product-features li i {
    color: #666;
    width: 20px;
    text-align: center;
}

/* --- Course Content Accordion (Modernized) --- */
.course-content-section {
    margin-top: 50px;
    max-width: 100%;
}

.course-content-section h2 {
    font-size: 1.7rem;
    font-weight: 800;
    color: #111;
    margin-bottom: 25px;
    letter-spacing: -0.5px;
}

.course-content-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 20px;
}

.course-content-meta .expand-all {
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 20px;
    background: #000;
    transition: all 0.2s ease;
}

.course-content-meta .expand-all:hover {
    background: #222;
    color: #fed217;
}

.accordion-container {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    border: 1px solid #f0f0f0;
    overflow: hidden;
}

.accordion-item {
    border-bottom: 1px solid #f0f0f0;
}

.accordion-item:last-child {
    border-bottom: none;
}

.accordion-header {
    background-color: #fafafa;
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.accordion-header:hover {
    background-color: #f3f4f6;
}

.accordion-item.expanded .accordion-header {
    background-color: #fff;
    border-bottom: 1px solid #f0f0f0;
}

.accordion-title {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.05rem;
    color: #111;
}

.accordion-title .icon-down-wrap {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    color: #555;
    transition: transform 0.3s ease;
}

.accordion-title .icon-down-wrap i {
    font-size: 0.85rem;
}

.accordion-item.expanded .accordion-title .icon-down-wrap {
    transform: rotate(180deg);
}

.accordion-stats {
    font-size: 0.9rem;
    color: #666;
    background: #f0f0f0;
    padding: 4px 10px;
    border-radius: 20px;
    font-weight: 500;
}

.accordion-body {
    display: none;
    padding: 20px 24px;
    background: #fff;
    animation: fadeDown 0.3s ease forwards;
}

.accordion-item.expanded .accordion-body {
    display: block;
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

.lesson-list li {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 12px 0;
    font-size: 0.95rem;
    border-bottom: 1px dashed #eee;
}

.lesson-list li:first-child {
    padding-top: 0;
}

.lesson-list li:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.lesson-left {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    color: #333;
    font-weight: 500;
}

.lesson-left i {
    color: #a0aab2;
    margin-top: 3px;
    font-size: 1rem;
}

.lesson-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.preview-link {
    color: #111;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 4px;
    transition: 0.2s;
}

.preview-link:hover {
    background: #f5f5f5;
    color: #000;
}

.lesson-time {
    color: #888;
    font-variant-numeric: tabular-nums;
    font-size: 0.9rem;
}

@media (max-width: 992px) {
    .product-detail-row {
        flex-direction: column;
    }

    .product-right-col {
        position: static;
    }

    .product-detail-info {
        padding: 0;
        box-shadow: none;
        border: none;
        background: transparent;
    }
}

/* --- Product Discovery Section --- */
.product-discovery-section {
    padding: 80px 5%;
    background: #fff;
    text-align: center;
}

.discovery-header {
    margin-bottom: 50px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.discovery-header h2 {
    font-size: 2.2rem;
    color: #111;
    font-weight: 800;
    margin-bottom: 15px;
}

.discovery-header p {
    color: #666;
    font-size: 1.05rem;
    line-height: 1.6;
}

.discovery-carousel-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
}

.discovery-arrow {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #eaeaea;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    color: #333;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.discovery-arrow:hover {
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    background: #f8c23a;
    color: #000;
    border-color: #f8c23a;
}

.discovery-cards {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    width: 100%;
    padding-bottom: 20px;
}

.discovery-cards::-webkit-scrollbar {
    display: none;
}

.discovery-card {
    flex: 0 0 calc(25% - 15px);
    scroll-snap-align: start;
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 16px;
    padding: 15px;
    text-align: left;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.discovery-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    transform: translateY(-5px);
}

.discovery-card-link {
    text-decoration: none;
    flex: 1;
    /* Pushes the footer down */
    display: flex;
    flex-direction: column;
}

.discovery-img-wrap {
    background: #f5f5f5;
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 20px;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.discovery-img-wrap img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
    mix-blend-mode: multiply;
}

.discovery-cat {
    display: block;
    color: #c99300;
    /* Darker yellow for legibility on white */
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.discovery-title {
    color: #111;
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.4;
}

.discovery-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
}

.discovery-price {
    font-size: 1.2rem;
    font-weight: 800;
    color: #111;
}

.discovery-btn-cart {
    background: #f5f5f5;
    border: none;
    color: #111;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: all 0.2s;
}

.discovery-btn-cart:hover {
    background: #fed217;
}

@media (max-width: 1100px) {
    .discovery-card {
        flex: 0 0 calc(33.333% - 14px);
    }
}

@media (max-width: 850px) {
    .discovery-card {
        flex: 0 0 calc(50% - 10px);
    }
}

@media (max-width: 600px) {
    .discovery-card {
        flex: 0 0 100%;
    }

    .discovery-arrow {
        display: none;
    }
}

/* --- Minimal Footer --- */
.footer-minimal {
    background: #fff;
    padding: 60px 5% 30px;
    border-top: 1px solid #eaeaea;
    text-align: center;
}

.footer-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 40px;
}

.footer-logo-link {
    display: block;
    margin-bottom: 30px;
}

.footer-logo-link img {
    height: 45px;
    object-fit: contain;
}

.footer-nav {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 35px;
}

.footer-nav a {
    text-decoration: none;
    color: #444;
    font-size: 1rem;
    font-weight: 500;
    transition: color 0.2s;
}

.footer-nav a:hover {
    color: #f8c23a;
}

.footer-divider {
    height: 1px;
    background-color: #f0f0f0;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 30px;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    text-align: left;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-subscribe {
    display: flex;
    align-items: center;
    gap: 15px;
}

.subscribe-input-group {
    display: flex;
    align-items: center;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 30px;
    padding: 0 15px;
    height: 45px;
    width: 280px;
}

.subscribe-input-group i {
    color: #999;
    font-size: 1.1rem;
}

.subscribe-input-group input {
    border: none;
    background: transparent;
    padding: 0 10px;
    width: 100%;
    height: 100%;
    outline: none;
    font-family: inherit;
    font-size: 0.95rem;
    color: #333;
}

.subscribe-input-group input::placeholder {
    color: #aaa;
}

.btn-subscribe {
    background-color: #f8c23a;
    color: #222;
    border: none;
    border-radius: 30px;
    padding: 0 25px;
    height: 45px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-subscribe:hover {
    background-color: #e5b026;
}

.footer-copyright {
    color: #666;
    font-size: 0.9rem;
    font-weight: 500;
}

@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        justify-content: center;
        text-align: center;
    }
    
    .footer-subscribe {
        flex-direction: column;
        width: 100%;
    }

    .subscribe-input-group {
        width: 100%;
        max-width: 350px;
    }

    .btn-subscribe {
        width: 100%;
        max-width: 350px;
    }
}

/* --- Video Preview Modal --- */
.video-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    padding: 20px;
}

.video-modal-overlay.show {
    display: flex;
}

.video-modal-content {
    background: #1c1d1f;
    width: 100%;
    max-width: 700px;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    max-height: 90vh;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    animation: zoomIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.video-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 20px;
    color: #fff;
    background: #1c1d1f;
}

.modal-subtitle {
    font-size: 0.8rem;
    color: #a1a7b3;
    margin-bottom: 5px;
}

.modal-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.4;
}

.close-modal {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    transition: 0.2s;
    padding: 5px;
}

.close-modal:hover {
    color: #a1a7b3;
}

.video-player-container {
    background: #000;
    width: 100%;
    display: flex;
    justify-content: center;
}

.video-player-container video {
    display: block;
    width: 100%;
    max-height: 400px;
}

.free-samples-section {
    background: #1c1d1f;
    padding: 20px 0;
    color: #fff;
    overflow-y: auto;
}

.free-samples-section h4 {
    font-size: 0.95rem;
    padding: 0 20px 15px 20px;
    margin: 0;
    border-bottom: 1px solid #3e4143;
}

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

.sample-videos-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    border-bottom: 1px solid #3e4143;
    cursor: pointer;
    transition: background 0.2s;
}

.sample-videos-list li:hover {
    background: #2d2f31;
}

.sample-videos-list li.active {
    background: #2d2f31;
    border-left: 4px solid #fff;
}

.sample-videos-list li img {
    width: 90px;
    height: 50px;
    object-fit: cover;
    border-radius: 4px;
}

.sample-info {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sample-title {
    font-size: 0.95rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
}

.sample-title i {
    color: #a1a7b3;
}

.sample-videos-list li.active .sample-title {
    font-weight: 700;
}

.sample-videos-list li.active .sample-title i {
    color: #fff;
}

.sample-time {
    font-size: 0.85rem;
    color: #a1a7b3;
}
/* --- Search Dropdown Styles --- */
.udemy-search {
    position: relative;
}

.search-results-dropdown {
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    width: 100%;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    display: none;
    z-index: 9999;
    max-height: 350px;
    overflow-y: auto;
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 15px;
    color: #333;
    text-decoration: none;
    font-size: 0.95rem;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.2s;
    text-align: left;
}

.search-result-img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
}

.search-result-text {
    font-weight: 500;
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-item:hover {
    background: #fdf6e2; /* light yellow matching brand */
    color: #c99300;
}

.search-result-none {
    padding: 15px 20px;
    color: #888;
    font-size: 0.95rem;
    text-align: left;
    font-style: italic;
}

@media (max-width: 768px) {
    .slider-item.pos-1 h2 {
        font-size: 1.7rem;
        line-height: 1.25;
        margin-bottom: 10px;
    }
    
    .slider-item.pos-1 p {
        font-size: 1rem;
    }
}
