:root {
    --primary-red: #dc2626;
    --primary-blue: #1e3a8a;
    --light-gray: #f8f9fa;
    --text-dark: #1f2937;
}

.bg-lightgray {
    background-color: var(--light-gray) !important;
}

.bg-blue {
    background-color: var(--primary-blue);
}

body {
    font-family: 'Poppins', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
}

/* Header Styles */
.top-bar {
    background: var(--primary-blue);
    color: white;
    font-size: 0.875rem;
    padding: 8px 0;
}

.top-bar a {
    color: #fff;
    padding: 0 10px;
    text-transform: uppercase;
    font-family: 'Poppins', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 14px;
    text-decoration: none;
}

.navbar {
    background: white !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
}

.navbar-brand img {
    height: 40px;
}

.navbar-nav .nav-link {
    color: var(--text-dark) !important;
    font-weight: 500;
    margin: 0 15px;
    transition: color 0.3s;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-red) !important;
}

.btn-primary-red {
    background-color: var(--primary-red);
    border-color: var(--primary-red);
    color: white;
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 5px;
    transition: all 0.3s;
}

.btn-primary-red:hover {
    background-color: #b91c1c;
    border-color: #b91c1c;
    color: #fff;
    transform: translateY(-2px);
}

.btn-outline-blue {
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 5px;
    background: transparent;
    transition: all 0.3s;
}

.btn-outline-blue:hover {
    background-color: var(--primary-blue);
    color: white;
}

/* Hero Section */
.hero-section {
    background: transparent;
    color: white;
    padding: 20px 0;
    position: relative;
    overflow: hidden;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 30px;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.custom-caption {
    position: absolute;
    top: 50%;
    left: 5%;
    text-align: left;
    color: #fff;
}

.carousel-item img {
    border-radius: 10px;
    width: 100%;
    height: 380px;
}

.custom-caption h2 {
    font-size: 1.8rem;
    line-height: 1.4;
}

#dil-kocu .btn-danger,
#sss .btn-danger,
.partners-section .btn-danger,
.custom-caption .btn-danger {
    margin-top: 15px;
    background-color: #e50914;
    border: none;
    font-weight: 400;
}

.popular-btn-more .btn-danger {
    margin-top: 15px;
    background-color: #e50914;
    border: none;
    font-weight: 400;
    padding: 10px 20px;
}

.popular-btn-more .btn-danger i {
    padding-left: 50px;
}

.carousel-control-prev.custom-control,
.carousel-control-next.custom-control {
    position: absolute;
    bottom: 15px;
    top: auto;
    transform: translateY(0);
}

.carousel-control-prev.custom-control {
    right: 60px;
    left: auto;
}

.carousel-control-next.custom-control {
    right: 15px;
}

/* Kart yapÃ„Â±sÃ„Â± */
/* ---- Dil Koçu Bölümü Düzenlemesi ---- */

/* Ortak promo kart stilleri */
.promo-card {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    height: 100%;
}

/* Resimlerin orantılı sığması */
.promo-card img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Görseli orantılı şekilde kırparak sığdırır */
    object-position: center;
    transition: transform 0.4s ease;
}

/* Hover efekti (isteğe bağlı) */
.promo-card:hover img {
    transform: scale(1.03);
}

/* Overlay ve yazı katmanı */
.promo-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.1), rgba(0,0,0,0.6));
    transition: opacity 0.3s ease;
}

.promo-card:hover .promo-overlay {
    opacity: 0.8;
}

.promo-text {
    position: absolute;
    bottom: 15px;
    left: 15px;
    right: 15px;
    color: #fff;
    z-index: 2;
    text-shadow: 0 2px 4px rgba(0,0,0,0.6);
}

/* ---- Sağ taraftaki hizalama düzeni ---- */

/* Sağ sütun içindeki satırın yüksekliği sol ile aynı olsun */
#dil-kocu .row.align-items-center {
    display: flex;
    align-items: stretch;
}

/* Sağ taraftaki alt iki görselin yan yana durması */
#dil-kocu .col-lg-6 .row.g-1 {
    margin-left: 0 !important;
    display: flex;
    flex-wrap: wrap;
    gap: 2px; /* görseller arası küçük boşluk */
}

/* Alt iki küçük kartın her biri %50 genişlikte olsun */
#dil-kocu .col-lg-6 .row.g-1 .col-6 {
    flex: 1 1 calc(50% - 8px);
    max-width: calc(50% - 8px);
    display: flex;
}

/* Görseller orantılı sığsın */
#dil-kocu .promo-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 10px;
}

/* Yükseklikleri hizala */
#dil-kocu .col-lg-6 {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding:2px !important;
}

@media (max-width: 768px) {
    #dil-kocu .col-lg-6 .row.g-1 {
        flex-direction: column;
    }

    #dil-kocu .col-lg-6 .row.g-1 .col-6 {
        max-width: 100%;
    }
}

/* Buton */
.promo-text .btn {
    background: transparent;
    color: white;
    font-weight: 600;
    border-radius: 20px;
    padding: 0px;
    font-size: 0.85rem;
}

.fa-chevron-right {
    padding-left: 30px
}

/* Section Styles */
.section-padding {
    padding: 80px 0;
}

.section-title {
    font-size: 48px;
    text-align: center;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0;

}

.sinav-buton1 {
    font-weight: lighter !important;
    background-color: var(--primary-red);
    padding: 20px;
    font-size: 16px;
    color: #fff;
    text-decoration: none;
    border-radius: 15px;
    margin-right: 20px;
    width: 100%;
}

.sinav-buton2 {
    font-weight: lighter !important;
    background-color: var(--primary-blue);
    padding: 20px;
    font-size: 16px;
    color: #fff;
    text-decoration: none;
    border-radius: 15px;
    width: 100%;
}

.section-subtitle {
    color: #6b7280;
    font-size: 1.1rem;
    margin-bottom: 50px;
}

/* Benefit Card */
.benefit-card {
    border-radius: 20px;
    background-color: #ffffff;
    padding: 30px;
    box-shadow: 0 3px 3px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    height: 100%;
}

/* Service Cards */
.service-card {
    background: white;
    border-radius: 15px;
    padding: 40px 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    margin-bottom: 30px;
    height: 100%;
}

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

.service-card h3 {
    color: var(--text-dark);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.service-card p {
    color: #6b7280;
    margin-bottom: 30px;
}

/* Stats Section */
.stats-section {
    background: var(--light-gray);
    padding: 60px 0;
}

.stat-item {
    text-align: center;
    padding: 30px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-red);
    display: block;
}

.stat-label {
    color: var(--text-dark);
    font-weight: 500;
    margin-top: 10px;
}

/* Team Section */
.team-member {
    text-align: center;
    padding: 30px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
}

.team-member:hover {
    transform: translateY(-5px);
}

.team-member img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
}

.team-member h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.team-member p {
    color: var(--primary-red);
    font-weight: 500;
}

/* Contact Section */
.contact-section {
    background: var(--primary-blue);
    color: white;
    padding: 80px 0;
}

.contact-form .form-control {
    border-radius: 8px;
    padding: 15px 20px;
    margin-bottom: 20px;
    font-size: 1rem;
}

.contact-border{
    border: 2px solid #e51515;
    border-radius: 25px;
    background-color: #ffffff;
    padding: 40px;
}

.contact-form .form-select {
    border-radius: 8px;
    padding: 15px 20px;
    margin-bottom: 20px;
    font-size: 1rem;
}

.contact-form .form-control:focus {
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2);
}

/* Partners Section */
.partners-section {
    padding: 60px 0;
}

.partner-logo {
    height: 60px;
    /* opacity: 0.6; */
    /* transition: opacity 0.3s; */
    /* filter: grayscale(100%); */
}

.partner-logo:hover {
    opacity: 1;
    filter: grayscale(0%);
}

/* Footer */
.footer {
    background: #1B3564;
    color: white;
    padding: 0;
}

.footer-main {
    padding-top: 40px;
}

.company-description {
    font-size: 13px;
    line-height: 1.6;
    color: #cbd5e1;
    margin-top: 20px;
}

.phone-buttons .btn {
    background: #2a4a7a;
    border: none;
    color: white;
    font-size: 11px;
    padding: 6px 12px;
    margin-right: 8px;
    margin-bottom: 8px;
}

.phone-buttons .btn:hover {
    background: #3a5a8a;
}

.info-text {
    font-size: 16px;
    color: #cbd5e1;
}

.social-icons a {
    color: white;
    text-decoration: none;
    font-size: 20px;
    margin-right: 8px;
    transition: background 0.3s;
}

.social-icons a:hover {
    background: #3a5a8a;
    color: white;
}

.footer h6 {
    color: white;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.footer .list-unstyled a {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 12px;
    line-height: 1.8;
    transition: color 0.3s;
}

.footer .list-unstyled a:hover {
    color: white;
}

.action-buttons .btn {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    padding: 10px 20px;
    border: none;
    width: 100%;
    margin-bottom: 10px;
}

.btn-online-test {
    background: #dc3545;
    color: white;
}

.btn-online-test:hover {
    background: #c82333;
    color: white;
}

.btn-appointment {
    background: #6c757d;
    color: white;
}

.btn-appointment:hover {
    background: #5a6268;
    color: white;
}

.footer-bottom {
    background: #fff;
    color: black;
    padding: 20px 0;
}

.footer-bottom p {
    margin: 0;
    font-size: 11px;
    color: #6c757d;
    line-height: 1.4;
}

.logo-placeholder {
    width: 80px;
    height: 60px;
    background: white;
    color: #1B3564;
    font-weight: bold;
    font-size: 12px;
    margin-bottom: 15px;
}

@media (max-width: 768px) {
    .footer-main {
        padding: 30px 0;
    }

    .action-buttons {
        margin-top: 30px;
    }
}

/* Animation Classes */
.fade-in {
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Additional styles for enhanced functionality */
.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
}

.form-control.is-invalid {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

/* Hover effects for interactive elements */
.nav-link {
    position: relative;
    overflow: hidden;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: var(--primary-red);
    transition: all 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
    left: 0;
}

/* Mobile optimizations */
@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin-bottom: 15px;
    }

    .service-card {
        margin-bottom: 20px;
    }

    .stat-number {
        font-size: 2.5rem;
    }
}

/* Loading animation */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.fade-in.animate {
    opacity: 1;
    transform: translateY(0);
}

/* Enhanced button styles */
.btn {
    transition: all 0.3s ease;
    border-radius: 8px;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Enhanced card hover effects */
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s;
}

.service-card:hover::before {
    left: 100%;
}

/**Custom CSS**/
.header-button-one {
    background-color: var(--primary-red);
    padding: 10px;
    font-size: 12px;
    color: #fff;
    text-decoration: none;
    border-radius: 15px;
    margin-right: 20px;
}

.header-button-two {
    background-color: var(--primary-blue);
    padding: 10px;
    font-size: 12px;
    color: #fff;
    text-decoration: none;
    border-radius: 15px;
}

/** Slick Slider Modern **/
.slider-container {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
}

.center-slick-slider {
    padding: 50px 0;
}

.slide-item {
    padding: 0 15px;
    transition: all 0.3s ease;
    transform: scale(0.85);
    opacity: 0.6;
    outline: none;
}

.slide-item.slick-center {
    transform: scale(1.05);
    opacity: 1;
    z-index: 2;
}

.course-card {
    background: transparent;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: none;
}

.student-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
}

.student-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    border-radius: 20px;
}

.course-title {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #fff;
    padding: 10px 30px;
    border-radius: 50px;
    color: #111;
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    white-space: nowrap;
}

/* Hover efekti */
.course-card:hover .student-image img {
    transform: scale(1.05);
    transition: 0.4s;
}

.popular-btn-more {
    margin-top: 30px;
}

/* Slick arrows (isteÃ„Å¸e gÃƒÂ¶re gÃƒÂ¶sterebilirsin) */
.slick-prev,
.slick-next {
    display: none !important;
}

@media (max-width: 768px) {
    .course-title {
        font-size: 13px;
        padding: 8px 20px;
    }
}


/* Responsive */
@media (max-width: 768px) {
    .slide-item {
        transform: scale(0.85);
    }

    .slide-item.slick-center {
        transform: scale(1.05);
    }
}

.photo-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    margin-bottom: 50px;
}

@media (max-width: 768px) {
    .photo-gallery {
        grid-template-columns: repeat(1,1fr);
    }

    .section-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .student-image {
        font-size: 18px;
    }

    .age-info {
        font-size: 20px;
    }
}

.testimonials-slider {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.testimonial-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
    margin: 40px 10px;
    height: 300px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-content {
    padding: 20px;
}

.student-name {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.student-info {
    font-size: 13px;
    color: #666;
    margin-bottom: 15px;
}

.play-button {
    position: absolute;
    bottom: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background: #dc3545;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.4);
}

.play-button:hover {
    background: #c82333;
    transform: scale(1.1);
}

.map-info {
    padding-top: 40px;
}

.map-info h4 {
    font-size: 16px;
}

.map-info p {
    font-size: 12px;
}

#ankara-subelerimiz iframe{
    border-radius: 20px;
}

.card-img-top{
    border-radius:15px 15px 0 0;
    width: 100%;
}
.card-egitim{
    box-shadow: 1px 1px 15px rgba(128, 128, 128, 0.43);
    border-radius: 15px;
}
.kampanya-card img{
    border-radius: 20px;
}

/* Sabit WhatsApp butonu */
#whatsapp-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    z-index: 9999;
}
/* BaÃ…Å¸langÃ„Â±ÃƒÂ§ta gizli */
#whatsapp-options {
    position: fixed;
    bottom: 90px;
    right: 20px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 10px;
    flex-direction: column;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    z-index: 9999;
    transform: scale(0);
    transform-origin: bottom right; /* saÃ„Å¸ alttan bÃƒÂ¼yÃƒÂ¼sÃƒÂ¼n */
    opacity: 0;
    transition: transform 0.3s cubic-bezier(0.68,-0.55,0.27,1.55),
    opacity 0.2s ease-in-out;
}

/* AÃƒÂ§Ã„Â±kken */
#whatsapp-options.show {
    transform: scale(1);
    opacity: 1;
}

/* Linkler */
#whatsapp-options a {
    padding: 10px 15px;
    color: #333;
    text-decoration: none;
    /* border-bottom: 1px solid #eee; */
    font-size: 14px;
}

#whatsapp-options a:last-child {
    border-bottom: none;
}

.bg-lightgray {
    background-color: var(--light-gray) !important;
}

.bg-blue {
    background-color: var(--primary-blue);
}

.hero-banner {
    border-radius: 20px;
    padding: 60px 40px;
    color: white;
    position: relative;
    overflow: hidden;
    margin-bottom: 30px;
}

.hero-banner h1 {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0;
}

.hero-banner .kid-image {
    height: 500px;
}

.content-section {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.content-section h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.content-section p {
    color: #6b7280;
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

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

.content-section ul li {
    padding: 8px 0;
    color: #6b7280;
    position: relative;
    padding-left: 25px;
    font-size: 0.95rem;
}

.content-section ul li:before {
    content: "Ã¢â‚¬Â¢";
    position: absolute;
    left: 0;
    color: var(--primary-red);
    font-weight: bold;
    font-size: 1.5rem;
}

.contact-form {
    padding: 40px 30px;
}

.contact-form h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.contact-form p {
    font-size: 0.9rem;
    margin-bottom: 30px;
    opacity: 0.95;
}

.contact-form label {
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 8px;
    display: block;
}

.contact-form .form-control,
.contact-form .form-select {
    padding: 12px 18px;
    font-size: 0.9rem;
    border: 1px solid #ddd;
    margin-bottom: 15px;
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
    /* border-color: white; */
}

.sidebar-menu {
    top: 20px;
    border: 1px solid #e5e7eb;
}

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

.menu-list li {
    margin-bottom: 0;
    border-bottom: 1px solid #e5e7eb;
}

.menu-list li:last-child {
    border-bottom: none;
}

.menu-list li a {
    display: block;
    padding: 15px 20px;
    color: var(--text-dark);
    background: white;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 400;
    transition: all 0.3s;
}

.menu-list li:first-child a {
    border-radius: 15px 15px 0 0;
}

.menu-list li:last-child a {
    border-radius: 0 0 15px 15px;
}

.menu-list li a.active {
    background: var(--primary-blue);
    color: white;
    font-weight: 600;
}

.menu-list li a:hover:not(.active) {
    background: #f3f4f6;
    padding-left: 25px;
}
@media (max-width: 1178px) {
    .custom-caption h2 {
        font-size: .8rem;
        margin-bottom: -10px;
    }
}
@media (max-width: 768px) {
    .hero-banner {
        padding: 40px 30px;
    }

    .hero-banner h1 {
        font-size: 2rem;
    }

    .hero-banner .kid-image {
        width: 200px;
        right: 20px;
        height: auto;
    }

    .content-section {
        padding: 30px 20px;
    }

    .custom-caption h2 {
        font-size: .8rem;
        line-height: 1.4;
    }
}