@charset "UTF-8";
/* Fonts */
:root {
  --default-font: "Roboto", system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif,
    "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --heading-font: "Raleway", sans-serif;
  --nav-font: "Ubuntu", sans-serif;
}

/* Global Colors */
:root {
  --background-color: #ffffff; /* Background color for the entire website, including individual sections */
  --default-color: #394450; /* Default color used for the majority of the text content across the entire website */
  --heading-color: #223a58; /* Color for headings, subheadings and title throughout the website */
  --accent-color: #e42e9e; /* Accent color that represents your brand on the website. It's used for buttons, links, and other elements that need to stand out */
  --surface-color: #ffffff; /* The surface color is used as a background of boxed elements within sections, such as cards, icon boxes, or other elements that require a visual separation from the global background. */
  --contrast-color: #ffffff; /* Contrast color for text, ensuring readability against backgrounds of accent, heading, or default colors. */
}

/* Nav Menu Colors */
:root {
  --nav-color: rgba(
    255,
    255,
    255,
    0.7
  ); /* The default color of the main navmenu links */
  --nav-hover-color: #ffffff; /* Applied to main navmenu links when they are hovered over or active */
  --nav-mobile-background-color: #ffffff; /* Used as the background color for mobile navigation menu */
  --nav-dropdown-background-color: #ffffff; /* Used as the background color for dropdown items that appear when hovering over primary navigation items */
  --nav-dropdown-color: #394450; /* Used for navigation links of the dropdown items in the navigation menu. */
  --nav-dropdown-hover-color: #e42e9e; /* Similar to --nav-hover-color, this color is applied to dropdown navigation links when they are hovered over. */
}

/* Color Presets */

.light-background {
  --background-color: #f5faff;
  --surface-color: #ffffff;
}

.dark-background {
  --background-color: #060606;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #252525;
  --contrast-color: #ffffff;
}

.accent-background {
  --background-color: #d5138b;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --accent-color: #acd0fc;
  --surface-color: #e42e9e;
  --contrast-color: #ffffff;
}

/* Smooth scroll */
:root {
  scroll-behavior: smooth;
}

/* General Styling */
body {
  color: var(--default-color);
  background-color: var(--background-color);
  font-family: var(--default-font);
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: 0.3s;
}

a:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 25%);
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--heading-color);
  font-family: var(--heading-font);
}

/*--------------------------------------------------------------
# Top Bar
--------------------------------------------------------------*/
#topbar {
  background: #39312f;
  font-size: 14px;
  padding: 0;
  color: rgba(255, 255, 255, 0.8);
  height: 40px;
}

#topbar .contact-info i {
  font-style: normal;
  color: var(--accent-color);
}

#topbar .contact-info i a,
#topbar .contact-info i span {
  padding-left: 5px;
  color: #fff;
}

#topbar .contact-info i a {
  line-height: 0;
  transition: 0.3s;
}

#topbar .contact-info i a:hover {
  color: var(--accent-color);
}

#topbar .cta a {
  color: #fff;
  background: #d5138b;
  padding: 10px 20px;
  display: inline-block;
  transition: 0.3s;
}

#topbar .cta a:hover {
  background: var(--accent-color);
}

#newDropdown {
  position: relative;
  z-index: 1001; /* Daha yüksek z-index değeri */
}

#newDropdown ul {
  position: absolute;
  top: 120%;
  right: 0;
  z-index: 1000;
  min-width: 10rem;
  padding: 0.5rem 0;
  margin: 0;
  background-color: var(--nav-dropdown-background-color);
  border-radius: 0.25rem;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  display: block !important; /* Önemli: display:none kullanmayın */
}

#newDropdown ul.dropdown-active {
  opacity: 1;
  top: 100%;
  visibility: visible;
  display: block !important;
}

#newDropdown ul li a {
  display: block;
  width: 100%;
  padding: 0.25rem 1.5rem;
  clear: both;
  font-weight: 400;
  color: var(--nav-dropdown-color);
  text-align: inherit;
  white-space: nowrap;
  background-color: transparent;
  border: 0;
  transition: all 0.3s ease;
}

#newDropdown ul li a:hover {
  background-color: var(--nav-dropdown-hover-color);
  color: var(--contrast-color);
}

#newDropdown ul.show {
  opacity: 1;
  top: 100%;
  visibility: visible;
  display: block !important;
}

/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
.header {
  --background-color: #d5138b;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --accent-color: #e42e9e;
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 15px 0;
  transition: all 0.5s;
  z-index: 997;
}

.header .logo {
  line-height: 1;
}

.header .logo img {
  max-height: 36px;
  margin-right: 8px;
}

.header .logo h1 {
  font-size: 30px;
  margin: 0;
  font-weight: 700;
  color: var(--heading-color);
}

.header .btn-getstarted,
.header .btn-getstarted:focus {
  color: var(--contrast-color);
  background: var(--accent-color);
  font-size: 14px;
  padding: 8px 25px;
  margin: 0 0 0 30px;
  border-radius: 50px;
  transition: 0.3s;
  border: 2px solid color-mix(in srgb, var(--contrast-color), transparent 90%);
}

.header .btn-getstarted:hover,
.header .btn-getstarted:focus:hover {
  color: var(--contrast-color);
  background: color-mix(in srgb, var(--contrast-color), transparent 90%);
}

@media (max-width: 1200px) {
  .header .logo {
    order: 1;
  }

  .header .btn-getstarted {
    order: 2;
    margin: 0 15px 0 0;
    padding: 6px 15px;
  }

  .header .navmenu {
    order: 3;
  }
}

.scrolled .header {
  box-shadow: 0px 0 18px rgba(0, 0, 0, 0.1);
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Desktop Navigation */
@media (min-width: 1200px) {
  .navmenu {
    padding: 0;
  }

  .navmenu ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
  }

  .navmenu li {
    position: relative;
  }

  .navmenu>ul>li {
    white-space: nowrap;
    padding: 15px 14px;
  }

  .navmenu>ul>li:last-child {
    padding-right: 0;
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-color);
    font-size: 15px;
    padding: 0 2px;
    font-family: var(--nav-font);
    font-weight: 400;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
    position: relative;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    transition: 0.3s;
  }

  .navmenu>ul>li>a:before {
    content: "";
    position: absolute;
    height: 2px;
    bottom: -6px;
    left: 0;
    background-color: var(--nav-hover-color);
    visibility: hidden;
    width: 0px;
    transition: all 0.3s ease-in-out 0s;
  }

  .navmenu a:hover:before,
  .navmenu li:hover>a:before,
  .navmenu .active:before {
    visibility: visible;
    width: 100%;
  }

  .navmenu li:hover>a,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-hover-color);
  }

  .navmenu .dropdown ul {
    margin: 0;
    padding: 10px 0;
    background: var(--nav-dropdown-background-color);
    display: block;
    position: absolute;
    visibility: hidden;
    left: 14px;
    top: 130%;
    opacity: 0;
    transition: 0.3s;
    border-radius: 4px;
    z-index: 99;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
  }

  .navmenu .dropdown ul li {
    min-width: 200px;
  }

  .navmenu .dropdown ul a {
    padding: 10px 20px;
    font-size: 15px;
    text-transform: none;
    color: var(--nav-dropdown-color);
  }

  .navmenu .dropdown ul a i {
    font-size: 12px;
  }

  .navmenu .dropdown ul a:hover,
  .navmenu .dropdown ul .active:hover,
  .navmenu .dropdown ul .active,
  .navmenu .dropdown ul li:hover>a {
    color: var(--nav-dropdown-hover-color);
  }

  .navmenu .dropdown:hover>ul {
    opacity: 1;
    top: 100%;
    visibility: visible;
  }

  .navmenu .dropdown .dropdown ul {
    top: 0;
    left: -90%;
    visibility: hidden;
  }

  .navmenu .dropdown .dropdown:hover>ul {
    opacity: 1;
    top: 0;
    left: -100%;
    visibility: visible;
  }
}

/* Mobile Navigation */
@media (max-width: 1199px) {
  .mobile-nav-toggle {
    color: var(--nav-color);
    font-size: 28px;
    line-height: 0;
    margin-right: 10px;
    cursor: pointer;
    transition: color 0.3s;
  }

  .navmenu {
    padding: 0;
    z-index: 9997;
  }

  .navmenu ul {
    display: none;
    list-style: none;
    position: absolute;
    inset: 60px 20px 20px 20px;
    padding: 10px 0;
    margin: 0;
    border-radius: 6px;
    background-color: var(--nav-mobile-background-color);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    box-shadow: none;
    overflow-y: auto;
    transition: 0.3s;
    z-index: 9998;
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-dropdown-color);
    padding: 10px 20px;
    font-family: var(--nav-font);
    font-size: 17px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.3s;
    background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  }

  .navmenu a i:hover,
  .navmenu a:focus i:hover {
    background-color: var(--accent-color);
    color: var(--contrast-color);
  }

  .navmenu a:hover,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-dropdown-hover-color);
  }

  .navmenu .active i,
  .navmenu .active:focus i {
    background-color: var(--accent-color);
    color: var(--contrast-color);
    transform: rotate(180deg);
  }

  .navmenu .dropdown ul {
    position: static;
    display: none;
    z-index: 99;
    padding: 10px 0;
    margin: 10px 20px;
    background-color: var(--nav-dropdown-background-color);
    transition: all 0.5s ease-in-out;
  }

  .navmenu .dropdown ul ul {
    background-color: rgba(33, 37, 41, 0.1);
  }

  .navmenu .dropdown>.dropdown-active {
    display: block;
    background-color: rgba(33, 37, 41, 0.03);
  }

  .mobile-nav-active {
    overflow: hidden;
  }

  .mobile-nav-active .mobile-nav-toggle {
    color: #fff;
    position: absolute;
    font-size: 32px;
    top: 15px;
    right: 15px;
    margin-right: 0;
    z-index: 9999;
  }

  .mobile-nav-active .navmenu {
    position: fixed;
    overflow: hidden;
    inset: 0;
    background: rgba(33, 37, 41, 0.8);
    transition: 0.3s;
  }

  .mobile-nav-active .navmenu>ul {
    display: block;
  }
}

.languages-hero {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
}

.languages-container {
  display: flex;
  gap: 2.5rem;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
}

.language-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 24px 0 rgba(255, 255, 255, 0.08);
  padding: 2rem 1.5rem 1.2rem 1.5rem;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
  min-width: 120px;
  border: 2px solid transparent;
}

.language-card img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  margin-bottom: 1rem;
  box-shadow: 0 2px 8px rgba(255, 255, 255, 0.1);
  object-fit: cover;
  background: #fff;
}

@media (max-width: 600px) {
  .language-card img {
    width: 80px;
    height: 80px;
  }
}

.language-card span {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--heading-color);
  margin-top: 0.2rem;
  letter-spacing: 0.02em;
}

.language-card:hover, .language-card:focus {
  transform: translateY(-8px) scale(1.04);
  box-shadow: 0 8px 32px 0 rgba(255, 255, 255, 0.12);
  border-color: #fff;
  text-decoration: none;
}

@media (max-width: 600px) {
  .languages-container {
    flex-direction: column;
    gap: 1.5rem;
  }
  .languages-hero {
    min-height: 40vh;
  }
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  overflow: hidden;
  background: var(--background-color);
  transition: all 0.6s ease-out;
}

#preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border: 6px solid #ffffff;
  border-color: var(--accent-color) transparent var(--accent-color) transparent;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: animate-preloader 1.5s linear infinite;
}

@keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 99999;
  background-color: var(--accent-color);
  width: 40px;
  height: 40px;
  border-radius: 4px;
  transition: all 0.4s;
}

.scroll-top i {
  font-size: 24px;
  color: var(--contrast-color);
  line-height: 0;
}

.scroll-top:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
  color: var(--contrast-color);
}

.scroll-top.active {
  visibility: visible;
  opacity: 1;
}

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

/*--------------------------------------------------------------
# Global Page Titles & Breadcrumbs
--------------------------------------------------------------*/
.page-title {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 25px 0;
  position: relative;
}

.page-title h1 {
  font-size: 24px;
  font-weight: 700;
}

.page-title .breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 14px;
  font-weight: 400;
}

.page-title .breadcrumbs ol li+li {
  padding-left: 10px;
}

.page-title .breadcrumbs ol li+li::before {
  content: "/";
  display: inline-block;
  padding-right: 10px;
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
section,
.section {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 60px 0;
  scroll-margin-top: 90px;
  overflow: clip;
}

@media (max-width: 1199px) {

  section,
  .section {
    scroll-margin-top: 66px;
  }
}

/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/
.section-title {
  text-align: center;
  padding-bottom: 60px;
  position: relative;
}

.section-title h2 {
  font-size: 32px;
  font-weight: 700;
  position: relative;
}

.section-title h2:before,
.section-title h2:after {
  content: "";
  width: 50px;
  height: 2px;
  background: var(--accent-color);
  display: inline-block;
}

.section-title h2:before {
  margin: 0 15px 10px 0;
}

.section-title h2:after {
  margin: 0 0 10px 15px;
}

.section-title p {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .section-title h2 {
    font-size: 20px;
  }

  .section-title h2:before,
  .section-title h2:after {
    content: "";
    width: 20px;
    height: 2px;
    background: var(--accent-color);
    display: inline-block;
  }
}

/*--------------------------------------------------------------
# Courses Hero Section
--------------------------------------------------------------*/
.courses-hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 120px 0 60px;
}

.courses-hero .hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
}

.courses-hero .hero-text h1 {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: var(--heading-color);
}

@media (max-width: 768px) {
  .courses-hero .hero-text h1 {
    font-size: 2.5rem;
  }
}

.courses-hero .hero-text p {
  font-size: 1.25rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.courses-hero .hero-stats {
  display: flex;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

@media (max-width: 576px) {
  .courses-hero .hero-stats {
    flex-direction: column;
    gap: 1rem;
  }
}

.courses-hero .hero-stats .stat-item {
  text-align: center;
}

.courses-hero .hero-stats .stat-item .number {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent-color);
  line-height: 1;
}

.courses-hero .hero-stats .stat-item .label {
  font-size: 0.9rem;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  font-weight: 500;
}

.courses-hero .hero-buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

@media (max-width: 576px) {
  .courses-hero .hero-buttons {
    flex-direction: column;
  }
}

.courses-hero .hero-buttons .btn {
  padding: 15px 30px;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.courses-hero .hero-buttons .btn.btn-primary {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  color: var(--contrast-color);
}

.courses-hero .hero-buttons .btn.btn-primary:hover {
  background-color: color-mix(in srgb, var(--accent-color), black 15%);
  border-color: color-mix(in srgb, var(--accent-color), black 15%);
  transform: translateY(-2px);
}

.courses-hero .hero-buttons .btn.btn-outline {
  background-color: transparent;
  border: 2px solid var(--accent-color);
  color: var(--accent-color);
}

.courses-hero .hero-buttons .btn.btn-outline:hover {
  background-color: var(--accent-color);
  color: var(--contrast-color);
  transform: translateY(-2px);
}

.courses-hero .hero-features {
  display: flex;
  gap: 2rem;
}

@media (max-width: 768px) {
  .courses-hero .hero-features {
    flex-wrap: wrap;
    gap: 1rem;
  }
}

.courses-hero .hero-features .feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.courses-hero .hero-features .feature i {
  font-size: 1.25rem;
  color: var(--accent-color);
}

.courses-hero .hero-features .feature span {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--default-color);
}

.courses-hero .hero-image {
  position: relative;
}

.courses-hero .hero-image .main-image {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.courses-hero .hero-image .main-image img {
  width: 100%;
  height: 700px;
  border-radius: 20px;
}

@media (max-width: 600px) {
  .courses-hero .hero-image .main-image img {
    height: auto;
  }
  
}

.courses-hero .hero-image .floating-cards {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
}

.courses-hero .hero-image .floating-cards .course-card {
  position: absolute;
  background: var(--surface-color);
  border-radius: 15px;
  padding: 1rem 1.25rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 200px;
}

.courses-hero .hero-image .floating-cards .course-card:nth-child(1) {
  top: 20%;
  left: -10%;
}

.courses-hero .hero-image .floating-cards .course-card:nth-child(2) {
  top: 50%;
  right: -15%;
}

.courses-hero .hero-image .floating-cards .course-card:nth-child(3) {
  bottom: 20%;
  left: -5%;
}

.courses-hero .hero-image .floating-cards .course-card .card-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.courses-hero .hero-image .floating-cards .course-card .card-icon i {
  font-size: 1.5rem;
  color: var(--accent-color);
}

.courses-hero .hero-image .floating-cards .course-card .card-content h6 {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--heading-color);
  line-height: 1.2;
}

.courses-hero .hero-image .floating-cards .course-card .card-content span {
  font-size: 0.8rem;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

@media (max-width: 992px) {
  .courses-hero .hero-image .floating-cards .course-card {
    display: none;
  }
}

.courses-hero .hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  overflow: hidden;
}

.courses-hero .hero-background .bg-shapes {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.courses-hero .hero-background .bg-shapes .shape {
  position: absolute;
  border-radius: 50%;
  background: color-mix(in srgb, var(--accent-color), transparent 95%);
}

.courses-hero .hero-background .bg-shapes .shape.shape-1 {
  width: 300px;
  height: 300px;
  top: 10%;
  right: 10%;
  animation: float 6s ease-in-out infinite;
}

.courses-hero .hero-background .bg-shapes .shape.shape-2 {
  width: 200px;
  height: 200px;
  bottom: 20%;
  left: 5%;
  animation: float 8s ease-in-out infinite reverse;
}

.courses-hero .hero-background .bg-shapes .shape.shape-3 {
  width: 150px;
  height: 150px;
  top: 60%;
  right: 30%;
  animation: float 7s ease-in-out infinite;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-20px);
  }
}

@media (max-width: 992px) {
  .courses-hero {
    padding: 100px 0 60px;
    min-height: auto;
  }

  .courses-hero .hero-text {
    margin-bottom: 3rem;
  }
}

@media (max-width: 768px) {
  .courses-hero {
    text-align: center;
  }

  .courses-hero .hero-stats {
    justify-content: center;
  }

  .courses-hero .hero-features {
    justify-content: center;
  }
}

/*--------------------------------------------------------------
# Featured Courses Section
--------------------------------------------------------------*/
.featured-courses .course-card {
  background: var(--surface-color);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 25px color-mix(in srgb, var(--default-color), transparent 90%);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.featured-courses .course-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px color-mix(in srgb, var(--default-color), transparent 85%);
}

.featured-courses .course-image {
  position: relative;
  overflow: hidden;
  height: 220px;
}

.featured-courses .course-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.featured-courses .course-image:hover img {
  transform: scale(1.05);
}

.featured-courses .course-image .badge {
  position: absolute;
  top: 15px;
  left: 15px;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.featured-courses .course-image .badge.featured {
  background: var(--accent-color);
  color: var(--contrast-color);
}

.featured-courses .course-image .badge.new {
  background: #28a745;
  color: white;
}

.featured-courses .course-image .badge.certificate {
  background: #ffc107;
  color: #212529;
}

.featured-courses .course-image .badge.popular {
  background: #ff6b35;
  color: white;
}

.featured-courses .course-image .price-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--heading-color);
  color: var(--contrast-color);
  padding: 8px 15px;
  border-radius: 25px;
  font-weight: 700;
  font-size: 14px;
}

.featured-courses .course-content {
  padding: 25px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.featured-courses .course-meta {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
}

.featured-courses .course-meta span {
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 15px;
  font-weight: 500;
}

.featured-courses .course-meta span.level {
  background: color-mix(in srgb, var(--accent-color), transparent 85%);
  color: var(--accent-color);
}

.featured-courses .course-meta span.duration {
  background: color-mix(in srgb, var(--heading-color), transparent 85%);
  color: var(--heading-color);
}

.featured-courses h3 {
  margin-bottom: 15px;
  font-size: 20px;
  line-height: 1.3;
}

.featured-courses h3 a {
  color: var(--heading-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.featured-courses h3 a:hover {
  color: var(--accent-color);
}

.featured-courses p {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.featured-courses .instructor {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.featured-courses .instructor .instructor-img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.featured-courses .instructor .instructor-info h6 {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--heading-color);
}

.featured-courses .instructor .instructor-info span {
  font-size: 12px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.featured-courses .course-stats {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
  padding-top: 15px;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.featured-courses .course-stats .rating {
  display: flex;
  align-items: center;
  gap: 3px;
}

.featured-courses .course-stats .rating i {
  color: #ffc107;
  font-size: 12px;
}

.featured-courses .course-stats .rating span {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  font-size: 12px;
  margin-left: 8px;
  font-weight: 500;
}

.featured-courses .course-stats .students {
  display: flex;
  align-items: center;
  gap: 5px;
}

.featured-courses .course-stats .students i {
  color: var(--accent-color);
  font-size: 14px;
}

.featured-courses .course-stats .students span {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  font-size: 12px;
  font-weight: 500;
}

.featured-courses .btn-course {
  display: inline-block;
  background: var(--accent-color);
  color: var(--contrast-color);
  padding: 12px 25px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  text-align: center;
  transition: all 0.3s ease;
  margin-top: auto;
}

.featured-courses .btn-course:hover {
  background: color-mix(in srgb, var(--accent-color), black 10%);
  transform: translateY(-2px);
}

.featured-courses .more-courses {
  margin-top: 50px;
}

.featured-courses .more-courses .btn-more {
  display: inline-block;
  background: transparent;
  color: var(--accent-color);
  padding: 15px 40px;
  border: 2px solid var(--accent-color);
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.featured-courses .more-courses .btn-more:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
  transform: translateY(-3px);
}

@media (max-width: 768px) {
  .featured-courses .course-image {
    height: 200px;
  }

  .featured-courses .course-content {
    padding: 20px;
  }

  .featured-courses h3 {
    font-size: 18px;
  }

  .featured-courses .course-stats {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }
}

/*--------------------------------------------------------------
# Recent Blog Posts Section
--------------------------------------------------------------*/
.recent-blog-posts .card {
  border: none;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease-in-out;
  overflow: hidden;
  height: 100%;
  background-color: var(--surface-color);
}

.recent-blog-posts .card:hover .card-img-wrapper img {
  transform: scale(1.1);
}

.recent-blog-posts .card .card-top {
  padding: 1rem;
}

.recent-blog-posts .card .card-top img {
  width: 40px;
  height: 40px;
  object-fit: cover;
}

.recent-blog-posts .card .card-top .author-name {
  font-size: 0.9rem;
  color: var(--heading-color);
}

.recent-blog-posts .card .card-top .likes {
  font-size: 0.9rem;
  color: var(--accent-color);
}

.recent-blog-posts .card .card-top .likes i {
  margin-right: 0.25rem;
}

.recent-blog-posts .card .card-img-wrapper {
  overflow: hidden;
  max-height: 250px;
}

.recent-blog-posts .card .card-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease-in-out;
}

.recent-blog-posts .card .card-body {
  padding: 1.5rem;
}

.recent-blog-posts .card .card-body .card-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--heading-color);
  font-weight: 600;
}

.recent-blog-posts .card .card-body .card-title a {
  color: inherit;
}

.recent-blog-posts .card .card-body .card-title:hover {
  color: var(--accent-color);
}

.recent-blog-posts .card .card-body .card-text {
  font-size: 0.9rem;
  color: color-mix(in srgb, var(--default-color), transparent 25%);
}

/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
.footer {
  color: var(--default-color);
  background-color: var(--background-color);
  font-size: 14px;
  padding-bottom: 50px;
  position: relative;
}

.footer .footer-top {
  padding-top: 50px;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.footer .footer-about .logo {
  line-height: 1;
  margin-bottom: 25px;
}

.footer .footer-about .logo img {
  max-height: 40px;
  margin-right: 6px;
}

.footer .footer-about .logo span {
  color: var(--heading-color);
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 1px;
  font-family: var(--heading-font);
}

.footer .footer-about p {
  font-size: 14px;
  font-family: var(--heading-font);
}

.footer .social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 50%);
  font-size: 16px;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  margin-right: 10px;
  transition: 0.3s;
}

.footer .social-links a:hover {
  color: var(--accent-color);
  border-color: var(--accent-color);
}

.footer h4 {
  font-size: 16px;
  font-weight: bold;
  position: relative;
  padding-bottom: 12px;
}

.footer .footer-links {
  margin-bottom: 30px;
}

.footer .footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer .footer-links ul i {
  padding-right: 2px;
  font-size: 12px;
  line-height: 0;
}

.footer .footer-links ul li {
  padding: 10px 0;
  display: flex;
  align-items: center;
}

.footer .footer-links ul li:first-child {
  padding-top: 0;
}

.footer .footer-links ul a {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  display: inline-block;
  line-height: 1;
}

.footer .footer-links ul a:hover {
  color: var(--accent-color);
}

.footer .footer-links-fa {
  margin-bottom: 30px;
  text-align: right;
}

.footer .footer-links-fa ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer .footer-links-fa ul i {
  padding-right: 2px;
  font-size: 12px;
  line-height: 0;
}

.footer .footer-links-fa ul li {
  padding: 10px 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.footer .footer-links-fa ul li:first-child {
  padding-top: 0;
}

.footer .footer-links-fa ul a {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  display: inline-block;
  line-height: 1;
}

.footer .footer-links-fa ul a:hover {
  color: var(--accent-color);
}

.footer .footer-contact p {
  margin-bottom: 5px;
}

.footer .copyright {
  padding-top: 25px;
  padding-bottom: 25px;
}

.footer .copyright p {
  margin-bottom: 0;
}

.footer .credits {
  margin-top: 6px;
  font-size: 13px;
}

.footer .proje {
  background-color: color-mix(in srgb, var(--default-color), transparent 95%);
}

/*--------------------------------------------------------------
# Books Section
--------------------------------------------------------------*/
.books-section {
  padding: 60px 0;
}

.books-section .book-card {
  background: var(--surface-color);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 25px color-mix(in srgb, var(--default-color), transparent 90%);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.books-section .book-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px color-mix(in srgb, var(--default-color), transparent 85%);
}

.books-section .book-image {
  position: relative;
  overflow: hidden;
  height: 300px;
  width: 100%;
}

.books-section .book-image img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* Changed from cover to contain */
  transition: transform 0.3s ease;
}

.books-section .book-image:hover img {
  transform: scale(1.05);
}

.books-section .book-image .badge {
  position: absolute;
  top: 15px;
  left: 15px;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.books-section .book-image .badge.bestseller {
  background: var(--accent-color);
  color: var(--contrast-color);
}

.books-section .book-image .badge.new {
  background: #28a745;
  color: white;
}

.books-section .book-image .price-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--heading-color);
  color: var(--contrast-color);
  padding: 8px 15px;
  border-radius: 25px;
  font-weight: 700;
  font-size: 14px;
}

.books-section .book-content {
  padding: 25px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.books-section .book-meta {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
}

.books-section .book-meta span {
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 15px;
  font-weight: 500;
}

.books-section .book-meta span.category {
  background: color-mix(in srgb, var(--accent-color), transparent 85%);
  color: var(--accent-color);
}

.books-section .book-meta span.year {
  background: color-mix(in srgb, var(--heading-color), transparent 85%);
  color: var(--heading-color);
}

.books-section h3 {
  margin-bottom: 15px;
  font-size: 20px;
  line-height: 1.3;
}

.books-section h3 a {
  color: var(--heading-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.books-section h3 a:hover {
  color: var(--accent-color);
}

.books-section p {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.books-section .btn-book {
  display: inline-block;
  background: var(--accent-color);
  color: var(--contrast-color);
  padding: 12px 25px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  text-align: center;
  transition: all 0.3s ease;
  margin-top: auto;
}

.books-section .btn-book:hover {
  background: color-mix(in srgb, var(--accent-color), black 10%);
  transform: translateY(-2px);
}

.books-section .more-books {
  margin-top: 50px;
}

.books-section .more-books .btn-more {
  display: inline-block;
  background: transparent;
  color: var(--accent-color);
  padding: 15px 40px;
  border: 2px solid var(--accent-color);
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.books-section .more-books .btn-more:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
  transform: translateY(-3px);
}

@media (max-width: 768px) {
  .books-section .book-image {
    height: 250px;
  }

  .books-section .book-content {
    padding: 20px;
  }

  .books-section h3 {
    font-size: 18px;
  }
}

/*--------------------------------------------------------------
# Articles Section
--------------------------------------------------------------*/
.articles-section .card {
  border: none;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease-in-out;
  overflow: hidden;
  height: 100%;
  background-color: var(--surface-color);
}

.articles-section .card:hover {
  transform: translateY(-5px);
}

.articles-section .card:hover .card-img-wrapper img {
  transform: scale(1.1);
}

.articles-section .card .card-img-wrapper {
  overflow: hidden;
  max-height: 250px;
}

.articles-section .card .card-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease-in-out;
}

.articles-section .card .badge-container {
  position: absolute;
  top: 15px;
  right: 15px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.articles-section .card .badge {
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

.articles-section .card .badge.academic {
  background: color-mix(in srgb, var(--accent-color), transparent 85%);
  color: var(--accent-color);
}

.articles-section .card .badge.popular {
  background: color-mix(in srgb, #ff6b6b, transparent 85%);
  color: #ff6b6b;
}

.articles-section .card .card-body {
  padding: 1.5rem;
}

.articles-section .card .card-body .article-meta {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
}

.articles-section .card .card-body .article-meta span {
  display: inline-block;
  padding: 5px 10px;
  border-radius: 15px;
  font-size: 12px;
  font-weight: 500;
}

.articles-section .card .card-body .article-meta span.category {
  background: color-mix(in srgb, var(--accent-color), transparent 85%);
  color: var(--accent-color);
}

.articles-section .card .card-body .article-meta span.date {
  background: color-mix(in srgb, var(--heading-color), transparent 85%);
  color: var(--heading-color);
}

.articles-section .card .card-body .card-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--heading-color);
  font-weight: 600;
}

.articles-section .card .card-body .card-title a {
  color: inherit;
}

.articles-section .card .card-body .card-title:hover {
  color: var(--accent-color);
}

.articles-section .card .card-body .card-text {
  font-size: 0.9rem;
  color: color-mix(in srgb, var(--default-color), transparent 25%);
  margin-bottom: 20px;
}

.articles-section .btn-article {
  display: inline-block;
  background: var(--accent-color);
  color: var(--contrast-color);
  padding: 10px 20px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  text-align: center;
  transition: all 0.3s ease;
}

.articles-section .btn-article:hover {
  background: color-mix(in srgb, var(--accent-color), black 10%);
  transform: translateY(-2px);
}

.articles-section .more-articles {
  margin-top: 50px;
}

.articles-section .more-articles .btn-more {
  display: inline-block;
  background: transparent;
  color: var(--accent-color);
  padding: 15px 40px;
  border: 2px solid var(--accent-color);
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.articles-section .more-articles .btn-more:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
  transform: translateY(-3px);
}

@media (max-width: 768px) {
  .articles-section .card .card-img-wrapper {
    height: 200px;
  }

  .articles-section .card .card-body {
    padding: 20px;
  }

  .articles-section .card .card-body .card-title {
    font-size: 18px;
  }

  .articles-section .card .card-body .article-meta {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }
}