/* Root Colors - yeni renk şeması */
:root {
    --white-color: #ffffff;
    --primary-color: #21014A;
    --secondary-color: #FF8A1D;
    --tertiary-color: #AF8FD1;
    --section-bg-color: #f9f9f9;
    --dark-color: #000000;
    --p-color: #717275;
    --border-color: #e9eaeb;
    --featured-border-color: #AF8FD1;
}

/* General Body Styling */
body {
    font-family: 'DM Sans', sans-serif;
    background-color: var(--section-bg-color);
    color: #ffffff;
    line-height: 1.6;
}

/* Section Padding */
.section-padding {
    padding: 100px 0;
}

/* Hero Section */
.hero-online-courses {
    background: linear-gradient(rgba(33, 1, 74, 0.85), rgba(33, 1, 74, 0.95)), url('../images/language.image.jpg');
    background-size: cover;
    background-position: center;
    padding: 140px 0;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.hero-online-courses .display-4 {
    font-weight: 800;
    margin-bottom: 1.5rem;
    font-size: 3.2rem;
}


.hero-online-courses .lead {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.btn-outline-light:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

/* Navbar */
.navbar {
    background-color: var(--primary-color) !important;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-link {
    color: white !important;
  }
  

.navbar-brand .h4 {
    font-weight: 700;
    letter-spacing: 1px;
}

.navbar-nav .nav-link {
    font-weight: 500;
    padding: 10px 15px !important;
    transition: all 0.3s ease;
}

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

/* Section Titles */
.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

.section-title:after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 3px;
    background-color: var(--secondary-color);
}

.why-choose-us .section-title {
    color: var(--white-color);
}

.why-choose-us .section-title:after {
    background-color: var(--white-color);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--p-color);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.btn-primary {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    font-weight: 600;
    padding: 12px 25px;
    border-radius: 5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(255, 138, 29, 0.25);
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: #E87400;
    border-color: #E87400;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(255, 138, 29, 0.35);
}

.btn-light {
    font-weight: 600;
    padding: 12px 25px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.btn-light:hover {
    background-color: var(--secondary-color);
    color: white;
    transform: translateY(-2px);
}

.btn-outline-light {
    font-weight: 600;
    padding: 12px 25px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

/* Course Section */
.course-section {
    background-color: var(--white-color);
    position: relative;
}

.course-section:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(var(--tertiary-color) 2px, transparent 2px);
    background-size: 30px 30px;
    opacity: 0.05;
    pointer-events: none;
}

.course-card {
    background-color: var(--white-color);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.course-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 15px 35px rgba(33, 1, 74, 0.15);
}

.course-image {
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(175, 143, 209, 0.1);
    padding: 25px;
    position: relative;
    overflow: hidden;
}

.course-image:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30%;
    background: linear-gradient(to top, rgba(255, 255, 255, 0.9), transparent);
}

.course-image img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.course-card:hover .course-image img {
    transform: scale(1.08);
}

.course-content {
    padding: 30px;
}

.course-content h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.course-content p {
    color: var(--p-color);
    margin-bottom: 20px;
}

.course-features {
    list-style: none;
    padding: 0;
    margin: 25px 0;
}

.course-features li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}

.course-features li i {
    color: var(--secondary-color);
    margin-right: 12px;
    font-size: 1.1rem;
}

.zoom-button {
    width: 100%;
    padding: 14px;
    background-color: var(--primary-color);
    border: none;
    transition: all 0.3s ease;
    font-weight: 600;
    border-radius: 5px;
    position: relative;
    overflow: hidden;
}

.zoom-button:after {
    content: "";
    position: absolute;
    width: 0;
    height: 100%;
    top: 0;
    left: 0;
    background-color: var(--secondary-color);
    transition: width 0.3s ease;
    z-index: 0;
}

.zoom-button:hover:after {
    width: 100%;
}

.zoom-button span,
.zoom-button i {
    position: relative;
    z-index: 1;
}

/* Why Choose Us Section */
.why-choose-us {
    background: linear-gradient(rgba(33, 1, 74, 0.92), rgba(33, 1, 74, 0.95)), url('../images/language.image.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.3);
}

.feature-card {
    background-color: rgba(255, 255, 255, 0.98);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    height: 100%;
    border-bottom: 4px solid transparent;
}

.feature-card:hover {
    transform: translateY(-15px);
    border-bottom: 4px solid var(--secondary-color);
}

.feature-icon {
    font-size: 3.2rem;
    color: var(--secondary-color);
    margin-bottom: 25px;
    display: inline-block;
    background-color: rgba(255, 138, 29, 0.1);
    width: 90px;
    height: 90px;
    line-height: 90px;
    border-radius: 50%;
    transition: all 0.4s ease;
}

.feature-card:hover .feature-icon {
    background-color: var(--primary-color);
    color: var(--white-color);
    transform: rotateY(180deg);
}

.feature-card h3 {
    color: var(--primary-color);
    font-size: 1.35rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.feature-card p {
    color: var(--p-color);
}

/* Contact Section */
.contact-section {
    background-color: var(--white-color);
    position: relative;
}

.contact-section:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(var(--tertiary-color) 2px, transparent 2px);
    background-size: 30px 30px;
    opacity: 0.05;
    pointer-events: none;
}

.contact-form {
    background-color: var(--white-color);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
}

.contact-form .form-control,
.contact-form .form-select {
    padding: 14px 18px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
    border-color: var(--tertiary-color);
    box-shadow: 0 0 0 0.25rem rgba(175, 143, 209, 0.25);
}

.contact-form textarea.form-control {
    min-height: 140px;
}

.contact-info {
    background: linear-gradient(135deg, var(--primary-color) 0%, #310273 100%);
    padding: 35px;
    border-radius: 15px;
    height: 100%;
    color: var(--white-color);
    box-shadow: 0 5px 25px rgba(33, 1, 74, 0.2);
}

.contact-item {
    display: flex;
    margin-bottom: 30px;
    padding-bottom: 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.contact-item i {
    font-size: 2.2rem;
    color: var(--secondary-color);
    margin-right: 25px;
    flex-shrink: 0;
}

.contact-item h4 {
    color: var(--white-color);
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 1.2rem;
}

.contact-item p {
    margin-bottom: 8px;
    opacity: 0.9;
}

/* Footer */
.site-footer {
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 25px 0;
    text-align: center;
}

.copyright-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

.copyright-text a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.copyright-text a:hover {
    color: #FFB06B;
}

/* Responsive Adjustments */
@media (max-width: 1199px) {
    .hero-online-courses .display-4 {
        font-size: 2.8rem;
    }
}

@media (max-width: 991px) {
    .hero-online-courses {
        padding: 100px 0;
    }

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

    .hero-online-courses .display-4 {
        font-size: 2.5rem;
    }
}

@media (max-width: 767px) {
    .hero-online-courses {
        padding: 80px 0;
    }

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

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

    .hero-online-courses .display-4 {
        font-size: 2.2rem;
    }

    .contact-info {
        margin-top: 30px;
    }
}

@media (max-width: 575px) {
    .hero-online-courses .display-4 {
        font-size: 1.8rem;
    }

    .hero-online-courses .lead {
        font-size: 1.1rem;
    }

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

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