/* 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;
}

.btn-secondary {
    background-color: transparent;
    color: #333;
    border: 1px solid #d4d4d4;
    padding: 12px 30px;
}

.btn-secondary:hover {
    background-color: #f0f0f0;
}

.btn-outline {
    background-color: transparent;
    color: #333;
    border: 1px solid #dcdcdc;
    border-radius: 20px;
    padding: 10px 24px;
    font-size: 0.9rem;
    font-weight: 500;
}

.btn-outline:hover {
    background-color: #f5f5f5;
    border-color: #b5b5b5;
}

.subtitle {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 2.5px;
    color: #999;
    text-transform: uppercase;
    margin-bottom: 20px;
}

/* Header */
.header {
    position: absolute;
    top: 25px;
    left: 8%;
    right: 8%;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #fff;
    padding: 15px 35px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.logo img {
    width: 140px;
    object-fit: contain;
}

.nav ul {
    display: flex;
    gap: 35px;
}

.nav a {
    font-weight: 500;
    font-size: 0.95rem;
    color: #222;
    transition: color 0.3s;
}

.nav a:hover {
    color: #b18758;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 30px;
}

.login {
    font-weight: 500;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #222;
}

.login i {
    font-size: 1.1rem;
}

/* Hero Section */
.hero {
    position: relative;
    height: 95vh;
    max-height: 600px;
    display: flex;
    align-items: center;
    padding: 0 15%;
    color: #fff;
    overflow: hidden;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center 20%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slider-controls {
    position: absolute;
    bottom: 120px;
    right: 15%;
    z-index: 20;
    display: flex;
    gap: 15px;
}

.slider-controls button {
    background-color: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}

.slider-controls button:hover {
    background-color: #fed217;
    border-color: #fed217;
}

.hero::before {
    content: '';
    position: absolute;
    z-index: 2;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, rgba(11, 28, 44, 0.85) 0%, rgba(11, 28, 44, 0.4) 45%, rgba(0, 0, 0, 0) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 550px;
    margin-top: 130px;
    transition: opacity 0.3s ease;
}

.hero h1 {
    font-size: 3.8rem;
    line-height: 1.05;
    margin-bottom: 25px;
    font-weight: 600;
    letter-spacing: -1px;
}

.hero .highlight {
    color: #fed217;
}

.hero p {
    font-size: 1.15rem;
    color: #fff;
    margin-bottom: 50px;
    line-height: 1.4;
    font-weight: 400;
    font-family: 'Inter', sans-serif;
}

.signature {
    font-family: 'Brush Script MT', 'Cedarville Cursive', cursive;
    font-size: 3rem;
    color: #fff;
    opacity: 0.9;
    transform: rotate(-3deg);
}

/* 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;
}

.intro-search {
    flex: 1;
    max-width: 400px;
    position: relative;
}

.intro-search input {
    width: 100%;
    padding: 12px 20px;
    border: 1px solid #eee;
    border-radius: 30px;
    background-color: #f9f9f9;
    font-family: inherit;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.3s;
}

.intro-search input:focus {
    border-color: #ccc;
}

.intro-search i {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
}

.btn-rounded {
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: #000;
    color: #fff;
    padding: 12px 24px;
    font-weight: 500;
    transition: all 0.3s;
}

.btn-rounded:hover {
    background-color: #222;
}

.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-badge {
    align-self: flex-end;
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: #fff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    backdrop-filter: blur(4px);
    z-index: 2;
}

.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;
}

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

.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;
}

.bottom-desc {
    max-width: 400px;
    text-align: right;
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
}

/* 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-logo {
    font-weight: 700;
    font-size: 1.4rem;
    letter-spacing: 1px;
    opacity: 0.9;
    flex-shrink: 0;
}

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

.story-card.narrow .story-logo {
    text-align: center;
    width: 100%;
}

/* 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-copy {
    margin-bottom: 20px;
}

.footer-copy strong {
    color: #fff;
}

.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,
.fab svg {
    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;
}

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

    .nav ul {
        gap: 20px;
    }

    .hero h1 {
        font-size: 4rem;
    }
}

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

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

    .about-image {
        display: none;
    }

    .tailored-image {
        width: 100%;
    }

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

    .contact-float {
        position: relative;
        bottom: auto;
        right: auto;
        margin-top: -30px;
        margin-bottom: 40px;
        margin-left: 10%;
        width: fit-content;
    }

    .hero {
        min-height: 600px;
        padding-top: 40px;
    }
}

@media (max-width: 768px) {
    .solutions-grid {
        flex-direction: column;
    }

    .solutions-grid img {
        width: 100%;
        height: 300px;
    }
}

/* Services Section (Danismanlik) */
.services-section {
    padding: 160px 8% 100px;
    background-color: #fbfbfa;
}

.services-header {
    text-align: center;
    margin-bottom: 60px;
}

.services-header h1 {
    font-size: 2.8rem;
    color: #0b1c2c;
    margin-bottom: 15px;
    font-weight: 700;
}

.services-header p {
    font-size: 1.15rem;
    color: #777;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.service-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.service-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.service-card-body {
    padding: 35px 25px;
    text-align: center;
}

.service-card-body h3 {
    font-size: 1.45rem;
    color: #222;
    margin-bottom: 15px;
    line-height: 1.4;
    font-weight: 600;
}

.service-card-body p {
    font-size: 1.05rem;
    color: #777;
    line-height: 1.7;
}

@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }

    .services-section {
        padding-top: 130px;
    }
}

/* Sidebar Layout for Trainings */
.sidebar-layout {
    display: flex;
    gap: 50px;
    padding: 160px 8% 100px;
    background: #fff;
    align-items: flex-start;
}

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

.sidebar-title {
    font-size: 1.5rem;
    color: #111;
    margin-bottom: 20px;
    font-weight: 600;
}

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

.sidebar-menu li {
    margin-bottom: 5px;
}

.sidebar-menu li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background-color: #f7f7f7;
    color: #333;
    text-decoration: none;
    font-size: 1.05rem;
    font-weight: 500;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.sidebar-menu li a:hover,
.sidebar-menu li.active a {
    background-color: #222;
    color: #fff;
}

.sidebar-menu li a i {
    font-size: 0.9rem;
    color: inherit;
}

.sidebar-content {
    flex: 1;
}

.sidebar-content h1 {
    font-size: 2.5rem;
    color: #111;
    margin-bottom: 20px;
}

.sidebar-content p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 25px;
}

.sidebar-content img {
    width: 100%;
    border-radius: 12px;
    margin-top: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

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

    .sidebar {
        width: 100%;
    }
}

/* Acik Siniflar */
.classes-section {
    padding: 180px 10% 100px;
    background-color: #fafafa;
}

.classes-intro {
    text-align: left;
    margin: 0 0 60px 0;
}

.classes-intro p {
    font-size: 1.1rem;
    color: #444;
    line-height: 1.8;
    margin-bottom: 15px;
}

.class-card {
    background: #fff;
    border: 1px solid rgba(253, 187, 17, 0.15);
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(253, 187, 17, 0.04);
    padding: 50px;
    margin-bottom: 50px;
}

.class-title {
    font-size: 2rem;
    color: #111;
    margin-bottom: 15px;
    font-weight: 600;
}

.class-desc {
    font-size: 1.05rem;
    color: #555;
    line-height: 1.7;
    margin-bottom: 25px;
}

.class-meta {
    font-size: 1rem;
    font-weight: 700;
    color: #222;
    margin-bottom: 35px;
}

.class-options {
    display: flex;
    gap: 30px;
}

.class-option {
    flex: 1;
    background: #fbfbfa;
    border-radius: 12px;
    padding: 35px 30px;
    border: 1px solid #eee;
}

.class-option h4 {
    font-size: 1.4rem;
    color: #111;
    margin-bottom: 25px;
    font-weight: 500;
}

.class-option ul {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.class-option li {
    margin-bottom: 15px;
    color: #444;
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    gap: 12px;
}

.class-option li i {
    color: #fed217;
    width: 20px;
    font-size: 1.1rem;
}

.class-option .btn {
    width: 100%;
    text-align: center;
    display: block;
    padding: 15px;
    font-weight: 600;
    font-size: 1.05rem;
}

@media (max-width: 768px) {
    .class-options {
        flex-direction: column;
    }

    .class-card {
        padding: 30px;
    }

    .contact-actions {
        flex-direction: column;
    }
}

/* 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:hover .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);
    }
}

.contact-actions {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    border-top: 1px solid #eee;
    padding-top: 20px;
}

.contact-whatsapp {
    flex: 1;
    background-color: #25D366;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 14px 10px;
    font-weight: 600;
    font-size: 1.05rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: background 0.3s;
}

.contact-whatsapp:hover {
    background-color: #128C7E;
    color: white;
}

.contact-call {
    flex: 1;
    background-color: white;
    color: #F39C12;
    border: 2px solid #F39C12;
    border-radius: 8px;
    padding: 14px 10px;
    font-weight: 600;
    font-size: 1.05rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s;
}

.contact-call:hover {
    background-color: #F39C12;
    color: white;
}

/* Blog / Icerikler */
.blog-section {
    padding: 160px 10% 100px;
    background-color: #fbfbfa;
}

.blog-header {
    text-align: center;
    margin-bottom: 60px;
}

.blog-header h1 {
    font-size: 2.8rem;
    color: #111;
    margin-bottom: 15px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.blog-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
}

.blog-card-image {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 20px;
}

.blog-card-image img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.blog-card-content h3 {
    font-size: 1.2rem;
    color: #111;
    margin-bottom: 15px;
    line-height: 1.4;
    transition: color 0.3s;
}

.blog-card:hover .blog-card-content h3 {
    color: #f39c12;
}

.blog-card-content p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    color: #333;
    text-decoration: none;
    font-weight: 600;
    border: 1px solid #ddd;
    transition: all 0.3s;
}

.page-btn:hover,
.page-btn.active {
    background: #fed217;
    color: #fff;
    border-color: #fed217;
}

@media (max-width: 1200px) {
    .blog-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
}

/* Article Detail Layout */
.article-section {
    padding: 160px 10% 100px;
    background-color: #fbfbfa;
}

.article-layout {
    display: grid;
    grid-template-columns: 2.2fr 1fr;
    gap: 50px;
}

.article-header {
    margin-bottom: 30px;
}

.article-header h1 {
    font-size: 2.6rem;
    color: #111;
    margin-bottom: 20px;
    line-height: 1.2;
}

.article-featured-image {
    width: 100%;
    border-radius: 16px;
    margin-bottom: 40px;
    object-fit: cover;
}

.article-body h3 {
    font-size: 1.5rem;
    color: #111;
    margin: 40px 0 20px;
}

.article-body p {
    font-size: 1.1rem;
    color: #444;
    line-height: 1.8;
    margin-bottom: 20px;
}

.article-body ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 30px;
}

.article-body ul li {
    font-size: 1.1rem;
    color: #444;
    line-height: 1.8;
    margin-bottom: 15px;
    padding-left: 20px;
    position: relative;
}

.article-body ul li::before {
    content: "•";
    color: #111;
    position: absolute;
    left: 0;
    top: 0;
}

.article-sidebar h4 {
    font-size: 1.3rem;
    color: #111;
    margin-bottom: 30px;
}

.sidebar-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Reusing .blog-card for sidebar but making images shorter */
.sidebar-grid .blog-card-image img {
    height: 160px;
}

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

/* 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 */
.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}

.delay-4 {
    transition-delay: 0.4s;
}

/* 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: 15px 5%;
        flex-wrap: nowrap;
        position: fixed;
        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);
    }

    .mobile-menu-btn {
        display: block;
        order: 3;
    }

    .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: 20px;
        display: none;
        top: 0;
        margin-top: 10px;
    }

    .nav ul li.dropdown:hover .dropdown-menu,
    .nav ul li.dropdown.active .dropdown-menu {
        display: flex;
    }

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

@media (max-width: 768px) {

    /* Hero Section */
    .hero {
        padding: 0 5%;
        min-height: 500px;
        height: auto;
        padding-top: 100px;
        padding-bottom: 60px;
    }

    .hero-content {
        margin-top: 40px;
        margin-bottom: 60px;
    }

    .hero h1 {
        font-size: 2.5rem;
        margin-bottom: 15px;
    }

    .hero p {
        font-size: 1.05rem;
        margin-bottom: 30px;
    }

    .signature {
        font-size: 2rem;
    }

    .slider-controls {
        bottom: 20px;
        right: 5%;
    }

    /* 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 */
    h1,
    h2 {
        font-size: 2rem !important;
    }

    .about-content h2,
    .tailored-content h2,
    .stories-header h2,
    .services-header h1,
    .sidebar-content h1,
    .blog-header h1,
    .article-header h1,
    .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 */
    .services-section,
    .sidebar-layout,
    .classes-section,
    .blog-section,
    .article-section,
    .contact-page-section {
        padding-top: 100px;
        padding-bottom: 60px;
    }

    .contact-layout {
        padding: 20px;
    }

    .contact-details {
        gap: 20px;
    }

    .class-card {
        padding: 25px;
    }

    .class-title {
        font-size: 1.6rem;
    }

    /* Blog */
    .blog-card-image img {
        height: 250px;
    }

    .article-featured-image {
        height: 250px;
    }

    .article-header h1 {
        font-size: 2rem !important;
    }

    /* 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 */
@media (min-width: 769px) {
    .class-options .class-option:only-child {
        max-width: 50%;
    }
}