/* Genel Stiller */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
    background-color: #e6f0ff; /* Açık mavi arka plan */
}

/* Sayfa geçiş animasyonu */
body {
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

body.loaded {
    opacity: 1;
}


header {
    background: #00254b; /* Koyu mavi */
    color: #fff;
    padding: 10px 0;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 80%;
    margin: auto;
}

header h1 {
    margin: 0;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    padding: 8px 12px;
    border-radius: 4px;
    position: relative;
    display: inline-block;
    transition: color 0.5s;
}

nav ul li a:hover {
    color: #56cfff; /* Normal mavi */
}

/* Tooltip Stilleri */
.tooltip .tooltiptext {
    visibility: hidden;
    width: 160px;
    background-color: #0074D9; /* Normal mavi */
    color: #fff;
    text-align: center;
    border-radius: 5px;
    padding: 5px 0;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    margin-left: -80px;
    opacity: 0;
    transition: opacity 0.3s;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}

.hem-tooltip {
    text-transform: uppercase;
    position: relative;
    cursor: pointer;
}

.hem-tooltip .hem-tooltiptext {
    visibility: hidden;
    width: 160px;
    background-color: #0074D9; /* Normal mavi */
    color: #fff;
    text-align: center;
    border-radius: 5px;
    padding: 5px 0;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    margin-left: -80px;
    opacity: 0;
    transition: opacity 0.3s;
}

.hem-tooltip:hover .hem-tooltiptext {
    visibility: visible;
    opacity: 1;
}

/* İçerik Alanları */
section {
    padding: 80px 20px 20px;
}

section#about {
    background: #d4e3f0; /* Açık mavi */
}

.about-box {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}


.container {
    width: 80%;
    margin: auto;
    max-width: 1200px;
}

/* Footer */
footer {
    background: #001f3f; /* Koyu mavi */
    color: #fff;
    text-align: center;
    padding: 10px 0;
    margin-top: 20px;
}

footer .container {
    width: 80%;
    margin: auto;
    max-width: 1200px;
}




/* Featured Courses Bölümü */
#featured-courses {
    background: linear-gradient(135deg, #001f3f 0%, #0074D9 100%);
    padding: 60px 20px;
    color: #fff;
}

#featured-courses .container {
    width: 90%;
    margin: auto;
    max-width: 1200px;
}

#featured-courses h2 {
    font-size: 2.5em;
    margin-bottom: 30px;
    text-align: center;
}

.course-container1 {
    display: flex;
    flex-wrap: wrap;
    gap: 30px; /* Kurslar arasındaki boşluk */
    justify-content: center; /* Merkezi hizalama */
}

.course1 {
    background-color: #e6f1f8; /* Açık mavi */
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    max-width: 500px;
    width: 100%;
    box-sizing: border-box; /* Padding ve border'ları genişlik hesaplamasına dahil et */
    transition: box-shadow 0.3s;
    text-align: center;
    display: flex;
    flex-direction: column; /* İçeriği dikey olarak hizala */
    align-items: center; /* İçeriği yatay olarak ortala */
}

.course1:hover {
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.course1 h3 {
    font-size: 1.8em;
    margin-bottom: 10px;
    color: #0074D9; /* Normal mavi */
}

.course1 p {
    font-size: 1.1em;
    line-height: 1.6;
    color: #333;
    margin-bottom: 20px;
}

.course1 a {
    background-color: #0074D9; /* Normal mavi */
    color: #fff;
    padding: 10px 20px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s, transform 0.3s;
    display: inline-block;
}

.course1 a:hover {
    background-color: #005bb5; /* Daha koyu mavi */
    transform: scale(1.05);
}



/* Güncel Haberler Bölümü */
section#news {
    background: linear-gradient(135deg, #bfdfff 0%, #0074d93d 100%);
    padding: 40px 0;
}

section#news .container {
    width: 80%;
    margin: auto;
    max-width: 1600px;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

section#news h2 {
    color: #002c58; /* Koyu mavi */
    text-align: center;
    margin-bottom: 20px;
}

section#news article {
    margin-bottom: 20px;
    padding: 15px;
    border-bottom: 1px solid #002c58;
}

section#news article:last-child {
    border-bottom: none;
}

section#news article h3 {
    color: #0074D9; /* Normal mavi */
    margin-bottom: 10px;
}

section#news article p {
    color: #333;
    line-height: 1.6;
}

section#news article a {
    color: #0074D9; /* Normal mavi */
    background-color: #e6f2ff;
    padding: 2px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s, background-color 0.3s;
}

section#news article a:hover {
    color: #ffffff; /* Koyu mavi */
    background-color: #002a55;
}

/* Öğrenci Yorumları Bölümü */
section#testimonials {
    background: linear-gradient(135deg, #0074d93d 0%,  #bfdfff 100%);
    padding: 40px 0;
}

section#testimonials .container {
    width: 80%;
    margin: auto;
    max-width: 1600px;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

section#testimonials h2 {
    color: #001f3f; /* Koyu mavi */
    text-align: center;
    margin-bottom: 20px;
}

section#testimonials .testimonial {
    background: #e6f0f8; /* Daha açık mavi */
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

section#testimonials .testimonial p {
    color: #333;
    font-style: italic;
    line-height: 1.6;
}

section#testimonials .testimonial p::before {
    content: "“";
    font-size: 2em;
    color: #0074D9; /* Normal mavi */
    vertical-align: middle;
    margin-right: 5px;
}

section#testimonials .testimonial p::after {
    content: "”";
    font-size: 2em;
    color: #0074D9; /* Normal mavi */
    vertical-align: middle;
    margin-left: 5px;
}

/* Call to Action Bölümü */
section#call-to-action {
    background-image: url(images/background3.png);
    padding: 100px 0;
    text-align: center;
    color: #001f2e;
}

section#call-to-action .container {
    width: 80%;
    margin: auto;
}

section#call-to-action h2 {
    font-size: 2em;
    margin-bottom: 15px;
}

section#call-to-action p {
    font-size: 25px;
    line-height: 1.6;
    margin-bottom: 20px;
}

section#call-to-action a.cta-button {
    background: #fff;
    color: #0074D9;
    padding: 10px 20px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    font-size: 25px;
    transition: background 0.3s, color 0.3s, transform 0.3s;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
}

section#call-to-action a.cta-button:hover {
    background: #e6f1f8; /* Açık mavi */
    color: #001f3f;
    transform: scale(1.03);
}

/* Sosyal Medya Bölümü */
section#social-media {
    background: #e6f0ff; /* Açık mavi arka plan */
    padding: 30px 0;
    text-align: center;
    color: #003366;
}

section#social-media .container {
    width: 80%;
    margin: auto;
    max-width: 1000px;
}

section#social-media h2 {
    font-size: 2em;
    margin-bottom: 20px;
    position: relative;
}

section#social-media h2::after {
    content: "";
    display: block;
    width: 200px;
    height: 2px;
    background: #0074D9; /* Normal mavi */
    margin: 10px auto 0;
    border-radius: 2px;
}

section#social-media ul.social-media-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 20px;
}

section#social-media ul.social-media-links li {
    display: inline;
}

section#social-media ul.social-media-links li a {
    color: #fff;
    background: #0074D9; /* Normal mavi */
    padding: 10px 20px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9em;
    transition: background 0.3s, transform 0.3s;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
}

section#social-media ul.social-media-links li a:hover {
    background: #005bb5; /* Daha koyu mavi */
    transform: translateY(-3px);
}

section#social-media ul.social-media-links li a::before {
    content: "";
    display: inline-block;
    width: 18px;
    height: 18px;
    background-size: cover;
    margin-right: 8px;
}

section#social-media ul.social-media-links li a[href*="facebook"]::before {
    background-image: url('images/icons8-facebook-30.png');
}

section#social-media ul.social-media-links li a[href*="twitter"]::before {
    background-image: url('images/icons8-twitter-30.png');
}

section#social-media ul.social-media-links li a[href*="instagram"]::before {
    background-image: url('images/icons8-instagram-30.png');
}


/* Kurslar Bölümü */
section#courses {
    padding: 60px 20px;
}

section#courses .container {
    width: 90%;
    margin: auto;
    max-width: 1200px;
}

section#courses h2 {
    font-size: 2.4em;
    margin-bottom: 40px;
    color: #002e4d; /* Koyu mavi başlık rengi */
    text-align: center;
    position: relative;
}

section#courses h2::after {
    content: "";
    display: block;
    width: 100px;
    height: 4px;
    background: #004d79; /* Normal mavi */
    margin: 20px auto 0;
    border-radius: 2px;
}

.course {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 20px; /* Görsel ve metin arasındaki boşluk */
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer; /* Tıklanabilir görünsün */
}

.course:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.course img {
    width: 80px;
    height: 80px;
    object-fit: cover;
}

.course-content {
    flex: 1;
}

.course-content h3 {
    font-size: 1.8em;
    margin: 0 0 10px 0;
    color: #0065c4; /* Koyu mavi başlık rengi */
}

.course-content p {
    margin: 0;
    font-size: 1.1em;
    line-height: 1.8;
    color: #555; /* Hafif gri metin rengi */
}

/* Kurs Detayları */
.course-details {
    max-height: 0; /* Başlangıçta gizli */
    overflow: hidden;
    padding: 0;
    margin-top: 10px;
    background: #e0f7fa; /* Açık mavi arka plan */
    border-radius: 8px;
    border: 1px solid #b2ebf2; /* Açık mavi kenar rengi */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: max-height 0.5s ease, padding 0.5s ease; /* Geçiş süresini uzattık */
}

.course.show-details .course-details {
    max-height: 400px; /* Detaylar için daha fazla alan */
    padding: 15px;
}

.more-info {
    display: inline-block;
    margin-top: 10px;
    padding: 5px 10px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.more-info:hover {
    background-color: #0056b3;
}



/* İletişim Bölümü */
#contact {
    padding: 60px 20px;
}

#contact .container {
    width: 90%;
    margin: auto;
    max-width: 1200px;
}

#contact h2 {
    font-size: 2.5em;
    margin-bottom: 40px;
    text-align: center;
    color: #00103d;
    background-color: white;
    padding: 8px;
    border-radius: 18px;
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: space-between;
}

.contact-info, .contact-form {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    flex: 1;
    min-width: 300px;
}

.contact-info h3, .contact-form label {
    font-size: 1.2em;
    margin-bottom: 10px;
    color: #0074D9; /* Normal mavi */
}

.contact-info p, .contact-form input, .contact-form textarea {
    font-size: 1em;
    color: #555;
}

.contact-item {
    margin-bottom: 20px;
}

.map-container iframe {
    width: 100%;
    height: 300px;
    border: none;
    border-radius: 10px;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
    font-size: 1em;
}

.contact-form button {
    background: #0074D9; /* Normal mavi */
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 1em;
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
}

.contact-form button:hover {
    background: #005bb5; /* Daha koyu mavi */
}

.contact-form button:active {
    transform: scale(0.6);
}


/* Form alanları için genel stil */
form {
    max-width: 600px;
    margin: auto;
    padding: 20px;
    background: #f9f9f9; /* Hafif gri arka plan */
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
    color: #333;
}

input, textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
    transition: all 0.3s ease;
}

/* Odaklanma ve tıklama animasyonları */
input:focus, textarea:focus {
    border-color: #0074D9; /* Mavi border rengi */
    box-shadow: 0 0 8px rgba(0, 116, 217, 0.5); /* Hafif mavi gölge */
    outline: none; /* Varsayılan odak çerçevesini kaldırır */
}

input::placeholder, textarea::placeholder {
    color: #aaa; /* Placeholder renk */
    transition: color 0.3s ease;
}

input:focus::placeholder, textarea:focus::placeholder {
    color: #0074D9; /* Odaklandığında placeholder renk değişimi */
}

/* Buton animasyonları */
button {
    background-color: #002a4e; /* Mavi arka plan rengi */
    color: #fff; /* Beyaz metin rengi */
    padding: 10px 20px;
    border: aqua;
    border-radius: 1px;
    cursor: pointer;
    font-size: 1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

button:hover {
    background-color: #0080ff; /* Daha koyu mavi */
    transform: scale(1); /* Hoverda yukarıya doğru kaydırma */
}

button:active {
    background-color: #000000; /* Daha koyu mavi tıklama anında */
    transform: scale(0.5); /* Tıklama anında orijinal konuma döner */
}

.feedback-button {
    display: block;
    margin: 0 auto;
    text-align: right; 
}



#faq {
    background-color: #f9f9f9;
    padding: 20px 0;
}

.faq-item {
    margin-bottom: 0px; /* Aralarındaki boşluğu azalt */
    border-bottom: 1px solid #ddd;
    overflow: hidden;
}

.faq-question {
    font-size: 18px;
    cursor: pointer;  
    padding: 10px;
    background-color: #e7e7e7;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: #dcdcdc;
}

.faq-answer {
    transform: scaleY(0);
    transform-origin: top;
    overflow: hidden;
    opacity: 0;
    transition: transform 0.5s ease, opacity 0.5s ease;
    background-color: #fff;
    border-radius: 5px;
}

.faq-answer.show {
    transform: scaleY(1);
    opacity: 1;
}




/* Container and FAQ Styles */
.container3 {
    width: 60%;
    margin: 0 auto;
    padding: 20px;
    text-align: center;
}

.faq1 {
    margin-bottom: 20px;
}

.faq-question1 {
    background-color: #f7f7f7;
    padding: 15px;
    cursor: pointer;
    border: 1px solid #ddd;
    transition: background-color 0.3s ease;
}

.faq-question1:hover {
    background-color: #e0e0e0;
}

.faq-answer1 {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
    background-color: #f9f9f9;
    padding: 0 15px;
    border: 1px solid #ddd;
    border-top: none;
}

.faq-answer1 p {
    margin: 15px 0;
}

/* Active state */
.faq1.active .faq-answer1 {
    max-height: 200px; /* Adjust based on the content */
}
























