/* 
   Monassist Website Styles - Modern ve Mobil Uyumlu Tasarım 
*/

/* ---------- Genel Stiller ---------- */
:root {
  --primary-color: #1a75bc; /* Mavi tonu */
  --secondary-color: #2c3e50; /* Koyu lacivert */
  --accent-color: #e74c3c; /* Vurgu rengi - kırmızı */
  --light-color: #ecf0f1; /* Açık gri - arka plan için */
  --dark-color: #2c3e50; /* Koyu lacivert - metin için */
  --text-color: #333; /* Genel metin rengi */
  --background-color: #ffffff; /* Ana arka plan */
  --shadow: 0 5px 15px rgba(0, 0, 0, 0.1); /* Gölge efekti */
  --transition: all 0.3s ease; /* Geçiş animasyonları için */
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px; /* Header yüksekliği kadar içeriği kaydır */
}

body {
  font-family: "Inter", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--background-color);
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: var(--dark-color);
}

h2 {
  font-size: 2.5rem;
}

h3 {
  font-size: 1.75rem;
  margin-top: 1.5rem;
}

h4 {
  font-size: 1.3rem;
  color: var(--primary-color);
}

a {
  text-decoration: none;
  color: var(--dark-color);
  transition: var(--transition);
}

a:hover {
  color: var(--primary-color);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

section {
  padding: 100px 0;
}

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

.section-header h2 {
  font-size: 2.5rem;
  position: relative;
  display: inline-block;
  padding-bottom: 15px;
  margin-bottom: 15px;
  transition: color 0.3s ease;
}

.section-header h2::after {
  content: "";
  position: absolute;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), #5ca9e0);
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  transition: width 0.3s ease;
}

.section-header:hover h2::after {
  width: 100px;
}

.section-header p {
  font-size: 1.1rem;
  color: #666;
  max-width: 800px;
  margin: 0 auto;
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  outline: none;
}

.primary-btn {
  background: linear-gradient(120deg, var(--primary-color), #5ca9e0);
  color: white;
  box-shadow: 0 4px 15px rgba(26, 117, 188, 0.2);
}

.primary-btn:hover {
  background: linear-gradient(120deg, #1568a8, #4b9fd5);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(26, 117, 188, 0.3);
}

.secondary-btn {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.secondary-btn:hover {
  background-color: var(--primary-color);
  color: white;
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.highlight {
  color: var(--primary-color);
  position: relative;
  display: inline-block;
}

.highlight::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 8px;
  background-color: rgba(26, 117, 188, 0.1);
  bottom: 5px;
  left: 0;
  z-index: -1;
  border-radius: 4px;
  transition: height 0.3s ease;
}

.highlight:hover::after {
  height: 40%;
}

/* ---------- Top Bar ---------- */
.top-bar {
  background-color: var(--secondary-color);
  padding: 8px 0;
  color: white;
}

.top-bar .container {
  display: flex;
  justify-content: flex-end;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-links a {
  color: white;
  opacity: 0.8;
  transition: var(--transition);
}

.social-links a:hover {
  opacity: 1;
  transform: translateY(-2px);
}

/* ---------- Header ---------- */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  z-index: 1000;
  transition: all 0.4s ease;
  display: flex;
  align-items: center;
}

.sticky-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  animation: slideDown 0.35s ease-out;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
  }
  to {
    transform: translateY(0);
  }
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  max-height: 50px;
  transition: all 0.3s ease;
}

nav {
  display: flex;
  align-items: center;
}

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

.nav-menu li {
  margin: 0 15px;
  position: relative;
}

.nav-menu a {
  color: #333;
  text-decoration: none;
  font-weight: 600;
  font-size: 13px;
  padding: 5px 0;
  transition: color 0.3s ease;
  position: relative;
  text-transform: uppercase;
}

.nav-menu a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  bottom: -5px;
  left: 0;
  transition: var(--transition);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
  width: 100%;
}

.nav-menu a.active {
  color: var(--primary-color);
  font-weight: 600;
  position: relative;
}

.nav-menu a.active::after {
  width: 100%;
  opacity: 1;
}

.language-selector {
  position: relative;
  cursor: pointer;
  margin-left: 20px;
}

.selected-lang {
  display: flex;
  align-items: center;
  font-weight: 600;
  background-color: var(--light-color);
  padding: 8px 16px;
  border-radius: 4px;
}

.selected-lang i {
  margin-left: 5px;
  transition: var(--transition);
}

.language-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  background: white;
  box-shadow: var(--shadow);
  border-radius: 5px;
  padding: 10px 0;
  min-width: 150px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  z-index: 1001;
}

.language-selector:hover .language-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(5px);
}

.language-dropdown li {
  padding: 8px 16px;
  transition: var(--transition);
  cursor: pointer;
}

.language-dropdown li:hover {
  background-color: var(--light-color);
  color: var(--primary-color);
}

.language-selector:hover .selected-lang i {
  transform: rotate(180deg);
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  cursor: pointer;
  visibility: hidden;
  opacity: 0;
}

.mobile-menu-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: var(--primary-color);
  border-radius: 3px;
  transition: all 0.3s ease;
}

@media (max-width: 992px) {
  .mobile-menu-toggle {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    margin-left: 15px;
  }

  .nav-menu {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background-color: #fff;
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: all 0.5s ease;
    z-index: 99;
    height: auto;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
  }

  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .nav-menu li {
    margin: 15px 0;
    width: 100%;
    text-align: center;
  }

  .nav-menu a {
    font-size: 13px;
    display: block;
    padding: 10px 0;
  }

  .language-selector {
    margin-right: 15px; /* Add space between language selector and menu toggle */
  }
}

@media (max-width: 576px) {
  .logo img {
    max-height: 40px;
  }

  .language-selector .select2-container {
    min-width: 80px;
  }

  .language-selector .select2-selection {
    height: 30px;
    border-radius: 15px;
  }

  .language-selector .select2-selection__rendered {
    line-height: 28px;
    font-size: 12px;
  }
}

/* ---------- Intro/Hero Section ---------- */
#intro {
  background: #fff;
  background-size: contain;
  background-position: center right;
  background-repeat: no-repeat;
  background-attachment: fixed;
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: var(--dark-color);
  padding: 120px 0;
  margin-top: -80px;
  padding-top: 80px;
  position: relative;
  overflow: hidden;
  transition: background 0.5s ease-in-out;
}

#intro::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at 70% 50%,
    rgba(240, 244, 247, 0.3) 0%,
    rgba(255, 255, 255, 0) 50%
  );
  z-index: 0;
}

#intro .container {
  position: relative;
  z-index: 2;
}

#intro h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  color: var(--dark-color);
  text-shadow: none;
  position: relative;
  line-height: 1.2;
}
.hero-div {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
#intro h1 .highlight {
  display: inline-block !important;
  visibility: visible !important;
  color: #1a75bc !important;
  position: relative !important;
  font-weight: 700 !important;
  background: none !important;
  background-clip: initial !important;
  -webkit-background-clip: initial !important;
  text-fill-color: initial !important;
  -webkit-text-fill-color: initial !important;
  z-index: 2;
}

#intro h1 .highlight::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 5px;
  width: 100%;
  height: 8px;
  background-color: rgba(26, 117, 188, 0.1);
  z-index: -1;
  border-radius: 4px;
}

#intro h1 .highlight:hover {
  color: #1a75bc !important;
}

#intro p {
  font-size: 1.5rem;
  margin-bottom: 2.5rem;
  opacity: 0.9;
  text-shadow: none;
  color: var(--dark-color);
  position: relative;
  padding-left: 15px;
  border-left: 3px solid var(--primary-color);
}

.intro-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.intro-text {
  flex: 1;
  padding-right: 20px;
  position: relative;
}

.intro-text::after {
  content: "Software";
  position: absolute;
  top: -15px;
  right: 10%;
  font-size: 80px;
  font-weight: 900;
  color: rgba(26, 117, 188, 0.05);
  z-index: -1;
}

.modern-tagline {
  display: inline-block;
  background-color: rgba(26, 117, 188, 0.1);
  color: var(--primary-color);
  font-weight: 600;
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  position: relative;
  overflow: hidden;
}

.modern-tagline::before {
  content: "";
  position: absolute;
  width: 30px;
  height: 100%;
  top: 0;
  left: -30px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.8),
    transparent
  );
  animation: shine 3s infinite;
}

@keyframes shine {
  0% {
    left: -30px;
  }
  20% {
    left: 110%;
  }
  100% {
    left: 110%;
  }
}

.intro-logo-container {
  position: relative;
  margin-bottom: 20px;
  max-width: 100%;
  overflow: hidden;
  transition: var(--transition);
}

.intro-logo {
  max-width: 200px;
  height: auto;
  display: block;
  transition: transform 0.3s ease, opacity 0.3s ease;
  opacity: 0.95;
}

.intro-logo:hover {
  transform: scale(1.05);
  opacity: 1;
}

.intro-image {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  position: relative;
}

.intro-image::before {
  display: none;
}

.intro-image::after {
  display: none;
}

.intro-image img {
  max-width: 90%;
  position: relative;
  z-index: 2;
}

.main-animated-image {
  max-width: 400px;
  border-radius: 12px;
  background-color: transparent;
  padding: 0;
  animation: none;
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
  border: none;
}

.main-animated-image:hover {
  transform: none;
  background-color: transparent;
  box-shadow: 0 15px 40px rgba(26, 117, 188, 0.15);
}

.main-animated-image.loaded {
  opacity: 1;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-15px);
  }
  100% {
    transform: translateY(0px);
  }
}

@keyframes morphBg {
  0% {
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  }
  25% {
    border-radius: 58% 42% 75% 25% / 76% 46% 54% 24%;
  }
  50% {
    border-radius: 50% 50% 33% 67% / 55% 27% 73% 45%;
  }
  75% {
    border-radius: 33% 67% 58% 42% / 63% 68% 32% 37%;
  }
  100% {
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  }
}

@keyframes morphBg2 {
  0% {
    border-radius: 40% 60% 60% 40% / 60% 30% 70% 40%;
  }
  25% {
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  }
  50% {
    border-radius: 20% 80% 60% 40% / 30% 40% 70% 60%;
  }
  75% {
    border-radius: 50% 50% 33% 67% / 55% 27% 73% 45%;
  }
  100% {
    border-radius: 40% 60% 60% 40% / 60% 30% 70% 40%;
  }
}

/* ---------- About Section ---------- */
#about {
  background-color: #ffffff;
  background-image: linear-gradient(135deg, #ffffff 0%, #f5f9ff 100%);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

#about::before {
  content: "";
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background-color: rgba(26, 117, 188, 0.05);
  z-index: 0;
}

#about::after {
  content: "";
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background-color: rgba(26, 117, 188, 0.04);
  z-index: 0;
}

#about .container {
  position: relative;
  z-index: 1;
}

#about .section-header {
  margin-bottom: 50px;
  position: relative;
}

#about .section-header::before {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  background: radial-gradient(
    circle,
    rgba(26, 117, 188, 0.1) 0%,
    rgba(26, 117, 188, 0) 70%
  );
  border-radius: 50%;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: -1;
}

#about .section-header h2 {
  color: var(--dark-color);
  position: relative;
  display: inline-block;
  font-size: 2.8rem;
  margin-bottom: 10px;
}

#about .section-header h2::after {
  background: linear-gradient(90deg, var(--primary-color), #5ca9e0);
  width: 70px;
  height: 4px;
  border-radius: 2px;
}

#about .section-header p {
  font-size: 1.2rem;
  color: #666;
  font-weight: 500;
  opacity: 0.9;
  max-width: 700px;
  margin: 0 auto;
}

.about-content {
  display: flex;
  align-items: center;
  gap: 60px;
  flex-direction: row-reverse;
}

.about-text,
.about-image {
  flex: 1;
}

.about-header {
  display: flex;
  align-items: center;
  margin-bottom: 25px;
  position: relative;
  transition: transform 0.3s ease;
}

.about-header:hover {
  transform: translateX(5px);
}

.about-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-color) 0%, #5ca9e0 100%);
  color: white;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
  font-size: 1.6rem;
  box-shadow: 0 10px 20px rgba(26, 117, 188, 0.2);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  z-index: 1;
}

.about-icon::before {
  content: "";
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  z-index: -1;
  transform: scale(0);
  transition: transform 0.4s ease;
}

.about-icon:hover {
  transform: translateY(-5px) rotate(8deg);
  border-radius: 20px;
}

.about-icon:hover::before {
  transform: scale(1);
}

.vision-icon {
  background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
}

.mission-icon {
  background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
}

.about-header h3 {
  margin-bottom: 0;
  font-size: 2rem;
  font-weight: 700;
  color: var(--dark-color);
  position: relative;
  transition: all 0.3s ease;
}

.about-header:hover h3 {
  transform: translateX(5px);
}

.about-text p {
  margin-bottom: 1.8rem;
  font-size: 1.05rem;
  line-height: 1.7;
  color: #444;
  position: relative;
  padding-left: 0;
  transition: all 0.3s ease;
}

.about-text p:hover {
  transform: translateX(5px);
}

.about-image {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.about-image::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 90%;
  height: 90%;
  background: linear-gradient(
    120deg,
    rgba(240, 244, 247, 0.8) 0%,
    rgba(26, 117, 188, 0.05) 100%
  );
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  transform: translate(-50%, -50%);
  z-index: -1;
  animation: morphBg 15s linear infinite alternate;
  box-shadow: inset 0 0 15px rgba(26, 117, 188, 0.05);
}

.about-gif {
  max-width: 100%;
  border-radius: 20px;
  background-color: transparent;
  animation: float 5s ease-in-out infinite;
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
}

.about-gif:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 25px 60px rgba(26, 117, 188, 0.2);
}

.check-list {
  margin-top: 40px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  background: white;
  padding: 22px 24px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  border-left: 3px solid var(--primary-color);
}

.check-list li::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, rgba(26, 117, 188, 0.08), transparent);
  z-index: 0;
  transition: width 0.4s ease-in-out;
}

.check-list li:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.check-list li:hover::before {
  width: 100%;
}

.check-list li i {
  background: linear-gradient(135deg, var(--primary-color), #5ca9e0);
  color: white;
  width: 28px;
  height: 28px;
  min-width: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  margin-top: 3px;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
  box-shadow: 0 3px 10px rgba(26, 117, 188, 0.2);
}

.check-list li:hover i {
  transform: scale(1.15);
}

.check-list li span {
  flex: 1;
  position: relative;
  z-index: 1;
  font-weight: 500;
  color: #444;
}

/* Responsive styles for About section */
@media (max-width: 1200px) {
  .about-content {
    gap: 40px;
  }

  .about-header h3 {
    font-size: 1.8rem;
  }
}

@media (max-width: 1024px) {
  #about {
    padding: 80px 0;
  }

  .about-content {
    flex-direction: column-reverse;
    gap: 50px;
  }

  .about-text,
  .about-image {
    width: 100%;
    max-width: 650px;
    margin: 0 auto;
  }

  .about-gif {
    max-width: 90%;
    margin: 0 auto;
    display: block;
  }
}

@media (max-width: 768px) {
  #about {
    padding: 70px 0;
  }

  .about-header h3 {
    font-size: 1.6rem;
  }

  .about-icon {
    width: 50px;
    height: 50px;
    font-size: 1.4rem;
  }

  .about-text p {
    font-size: 1rem;
  }

  .check-list {
    margin-top: 30px;
  }

  .check-list li {
    padding: 18px 20px;
  }

  .why-us-image {
    margin-bottom: 30px;
    margin-right: 0;
  }

  .why-us-content {
    flex-direction: column;
  }
}

@media (max-width: 576px) {
  #about {
    padding: 60px 0 70px;
  }

  .about-content {
    gap: 40px;
  }

  .about-header {
    flex-direction: column;
    text-align: center;
    margin-bottom: 20px;
  }

  .about-icon {
    margin-right: 0;
    margin-bottom: 15px;
  }

  .about-text p {
    text-align: center;
  }

  .check-list li {
    padding: 16px;
    border-radius: 12px;
  }
}

@media (max-width: 480px) {
  .about-gif {
    max-width: 100%;
    width: 100%;
  }

  .check-list {
    margin-top: 20px;
  }

  .check-list li {
    padding: 16px;
    border-radius: 10px;
  }

  .check-list li i {
    width: 24px;
    height: 24px;
    min-width: 24px;
    font-size: 0.8rem;
    margin-right: 12px;
  }

  .section-header p {
    font-size: 0.95rem;
  }
}

/* ---------- Services Section ---------- */
#services {
  background-color: var(--light-color);
  background-image: linear-gradient(135deg, #f7f9fc 0%, #ecf0f1 100%);
  position: relative;
  overflow: hidden;
  padding: 120px 0;
}

#services::before {
  content: "";
  position: absolute;
  top: -10%;
  right: -5%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(26, 117, 188, 0.05) 0%,
    rgba(26, 117, 188, 0) 70%
  );
  z-index: 0;
}

#services::after {
  content: "";
  position: absolute;
  bottom: -15%;
  left: -5%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(26, 117, 188, 0.03) 0%,
    rgba(26, 117, 188, 0) 70%
  );
  z-index: 0;
}

#services .section-header {
  margin-bottom: 70px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
  position: relative;
  z-index: 1;
}

.service-card {
  background-color: white;
  border-radius: 16px;
  padding: 35px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  height: 100%;
  position: relative;
  overflow: hidden;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), #5ca9e0);
  z-index: 1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0;
  background: linear-gradient(to top, rgba(26, 117, 188, 0.03), transparent);
  transition: height 0.3s ease;
  z-index: -1;
}

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

.service-card:hover::before {
  opacity: 1;
}

.service-card:hover::after {
  height: 50%;
}

.service-icon {
  background: linear-gradient(
    135deg,
    rgba(26, 117, 188, 0.1) 0%,
    rgba(92, 169, 224, 0.1) 100%
  );
  width: 80px;
  height: 80px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  transition: all 0.4s ease;
  position: relative;
}

.service-icon::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 20px;
  padding: 3px;
  background: linear-gradient(
    135deg,
    transparent,
    rgba(26, 117, 188, 0.2),
    transparent
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.service-card:hover .service-icon {
  transform: rotateY(180deg);
}

.service-card:hover .service-icon::before {
  opacity: 1;
}

.service-icon i {
  font-size: 2rem;
  color: var(--primary-color);
  transition: all 0.4s ease;
}

.service-card h3 {
  margin: 20px 0 15px;
  font-size: 1.4rem;
  transition: color 0.3s ease;
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-card:hover h3 {
  color: var(--primary-color);
}

.service-card p {
  color: #666;
  line-height: 1.6;
  font-size: 1rem;
  margin: 0;
  flex-grow: 1;
}

/* Tablet size */
@media (max-width: 1024px) {
  #services {
    padding: 100px 0;
  }

  .services-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
  }

  .service-card {
    padding: 30px;
  }

  .service-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 20px;
  }

  .service-card h3 {
    font-size: 1.3rem;
    min-height: 50px;
  }
}

/* Mobile size */
@media (max-width: 768px) {
  #services {
    padding: 80px 0;
  }

  .services-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
  }

  .service-card {
    padding: 25px;
  }

  .service-icon {
    width: 65px;
    height: 65px;
    border-radius: 16px;
  }

  .service-icon i {
    font-size: 1.7rem;
  }

  .service-card h3 {
    font-size: 1.2rem;
    min-height: 45px;
  }

  .service-card p {
    font-size: 0.95rem;
  }
}

/* Small Mobile size */
@media (max-width: 480px) {
  #services {
    padding: 60px 0;
  }

  .services-grid {
    grid-template-columns: 1fr;
    max-width: 320px;
    margin: 0 auto;
  }

  .service-card {
    padding: 22px;
  }

  .service-icon {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    margin-bottom: 15px;
  }

  .service-icon i {
    font-size: 1.5rem;
  }

  .service-card h3 {
    font-size: 1.1rem;
    margin: 15px 0 10px;
    min-height: auto;
  }
}

/* ---------- Why Us Section ---------- */
#why-us {
  background-color: #fff;
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}

#why-us::before {
  content: "";
  position: absolute;
  top: -10%;
  right: -5%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(26, 117, 188, 0.03) 0%,
    rgba(26, 117, 188, 0) 70%
  );
  z-index: 0;
}

#why-us::after {
  content: "";
  position: absolute;
  bottom: -15%;
  left: -5%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(26, 117, 188, 0.02) 0%,
    rgba(26, 117, 188, 0) 70%
  );
  z-index: 0;
}

#why-us .container {
  position: relative;
  z-index: 1;
}

#why-us .section-header {
  margin-bottom: 70px;
}

.why-us-content {
  display: flex;
  gap: 50px;
  margin-bottom: 60px;
}

.why-us-image,
.why-us-text {
  flex: 1;
}

.why-us-image {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  margin-right: 20px;

  transition: all 0.4s ease;
}
.why-us-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 85%,
    rgba(26, 117, 188, 0.05)
  );
  z-index: 1;
  border-radius: 16px;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.why-us-image:hover::before {
  opacity: 1;
}

.why-us-image img {
  border-radius: 16px;
  width: 100%;
  max-width: 100%;
  transition: all 0.5s ease;
  transform: translateY(0) scale(1);
  display: block;
}

.why-us-image:hover img {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 15px 35px rgba(26, 117, 188, 0.1);
}

.why-us-text h3 {
  margin-bottom: 30px;
  font-size: 2rem;
  color: var(--dark-color);
  position: relative;
  display: inline-block;
}

.why-us-text h3::after {
  content: "";
  position: absolute;
  width: 70%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), transparent);
  bottom: -10px;
  left: 0;
  border-radius: 2px;
}

.why-us-item {
  display: flex;
  margin-bottom: 40px;
  transition: all 0.3s ease;
  position: relative;
  padding: 0 10px 10px 0;
}

.why-us-item:last-child {
  margin-bottom: 0;
}

.why-us-item:hover {
  transform: translateX(5px);
}

.why-us-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-color) 0%, #5ca9e0 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
  box-shadow: 0 8px 20px rgba(26, 117, 188, 0.15);
  flex-shrink: 0;
  transition: all 0.4s ease;
}

.why-us-item:hover .why-us-icon {
  transform: rotate(5deg) scale(1.05);
}

.why-us-icon i {
  font-size: 1.5rem;
  color: white;
}

.why-us-info {
  flex: 1;
}

.why-us-info h4 {
  margin-bottom: 10px;
  font-size: 1.2rem;
  color: var(--dark-color);
  font-weight: 600;
  transition: color 0.3s ease;
}

.why-us-item:hover .why-us-info h4 {
  color: var(--primary-color);
}

.why-us-info p {
  color: #666;
  font-size: 1rem;
  line-height: 1.7;
}

/* Stats Counter */
.stats-counter {
  background: linear-gradient(135deg, #f7f9fc 0%, #ecf0f1 100%);
  border-radius: 20px;
  padding: 50px 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.stats-counter::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%231a75bc' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  z-index: -1;
  opacity: 0.8;
}

.stats-counter:hover {
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
  transform: translateY(-5px);
}

.stat-item .counter {
  font-size: 2.5rem;
  font-weight: 700;
  display: block;
  margin-bottom: 15px;
  background: linear-gradient(135deg, var(--primary-color), #5ca9e0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
}

.stat-item p {
  font-size: 1.1rem;
  color: #666;
  font-weight: 500;
}

/* Responsive styling for Why Us section */
@media (max-width: 1024px) {
  #why-us {
    padding: 100px 0;
  }

  .why-us-content {
    gap: 40px;
  }

  .why-us-text h3 {
    font-size: 1.8rem;
  }

  .why-us-icon {
    width: 50px;
    height: 50px;
  }

  .why-us-icon i {
    font-size: 1.3rem;
  }

  .why-us-info h4 {
    font-size: 1.15rem;
  }

  .stats-counter {
    padding: 40px 30px;
  }

  .stat-item .counter {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  #why-us {
    padding: 80px 0;
  }

  .why-us-content {
    flex-direction: column;
    gap: 50px;
  }

  .why-us-image {
    margin-bottom: 20px;
    margin-right: 0;
    max-width: 100%;
  }

  .why-us-text h3 {
    font-size: 1.7rem;
    display: block;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  .why-us-text h3::after {
    left: 15%;
    width: 70%;
  }

  .why-us-item {
    margin-bottom: 30px;
  }

  .stats-counter {
    grid-template-columns: repeat(2, 1fr);
    padding: 35px 25px;
    gap: 25px;
  }

  .stat-item .counter {
    font-size: 2.2rem;
    margin-bottom: 10px;
  }

  .stat-item p {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  #why-us {
    padding: 70px 0;
  }

  .why-us-content {
    gap: 40px;
  }

  .why-us-text h3 {
    font-size: 1.5rem;
  }

  .why-us-text h3::after {
    width: 50%;
    left: 25%;
  }

  .why-us-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0;
  }

  .why-us-icon {
    margin-right: 0;
    margin-bottom: 15px;
  }

  .why-us-info h4 {
    font-size: 1.1rem;
  }

  .stats-counter {
    grid-template-columns: 1fr;
    padding: 30px 20px;
  }

  .stat-item {
    padding: 15px 0;
  }

  .stat-item:not(:last-child) {
    border-bottom: 1px solid rgba(26, 117, 188, 0.1);
  }

  .stat-item .counter {
    font-size: 2rem;
    margin-bottom: 8px;
  }

  .stat-item p {
    font-size: 0.95rem;
  }
}

/* ---------- Contact Section ---------- */
#contact {
  background: linear-gradient(135deg, #f5f9ff 0%, #ecf5ff 100%);
  position: relative;
  overflow: hidden;
  padding: 100px 0;
}

#contact::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: radial-gradient(
    circle at 80% 80%,
    rgba(26, 117, 188, 0.1) 0%,
    transparent 60%
  );
  z-index: 0;
}

#contact::after {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background-color: rgba(26, 117, 188, 0.04);
  z-index: 0;
}

#contact .container {
  position: relative;
  z-index: 1;
}

.contact-container {
  max-width: 1100px;
  margin: 0 auto;
}

.contact-card {
  background-color: #fff;
  border-radius: 16px;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  position: relative;
}

.contact-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--primary-color), #5ca9e0);
  z-index: 1;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.contact-left {
  padding: 40px;
  background-color: #fff;
}

.contact-right {
  position: relative;
}

.contact-info-group,
.contact-social-group {
  margin-bottom: 30px;
}

.contact-info-group h3,
.contact-social-group h3,
.map-container h3 {
  font-size: 1.3rem;
  margin-bottom: 25px;
  color: var(--dark-color);
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
}

.contact-info-group h3::after,
.contact-social-group h3::after,
.map-container h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), #5ca9e0);
}

.contact-item {
  display: flex;
  margin-bottom: 25px;
  transition: all 0.3s ease;
}

.contact-item:hover {
  transform: translateX(5px);
}

.contact-icon {
  flex: 0 0 50px;
  height: 50px;
  background: linear-gradient(135deg, #f0f7ff 0%, #e6f0ff 100%);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 15px;
  color: var(--primary-color);
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.contact-item:hover .contact-icon {
  background: linear-gradient(135deg, var(--primary-color) 0%, #5ca9e0 100%);
  color: white;
  transform: rotate(5deg);
}

.contact-text h4 {
  margin: 0 0 5px;
  font-size: 1rem;
  color: var(--dark-color);
}

.contact-text p {
  margin: 0;
  font-size: 0.95rem;
  color: #555;
  line-height: 1.5;
}

.contact-social {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, #f0f7ff 0%, #e6f0ff 100%);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: linear-gradient(135deg, var(--primary-color) 0%, #5ca9e0 100%);
  color: white;
  transform: translateY(-5px);
}

.contact-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-btn {
  display: inline-flex;
  align-items: center;
  padding: 12px 20px;
  background: linear-gradient(135deg, #f0f7ff 0%, #e6f0ff 100%);
  border-radius: 8px;
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  border: 1px solid rgba(26, 117, 188, 0.1);
}

.contact-btn i {
  margin-right: 10px;
}

.contact-btn:hover {
  background: linear-gradient(135deg, var(--primary-color) 0%, #5ca9e0 100%);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(26, 117, 188, 0.2);
}

.map-container {
  height: 100%;
  padding: 40px;
}

.map-wrapper {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  height: calc(100% - 70px);
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* İletişim bölümü mobil uyumluluk */
@media (max-width: 992px) {
  .contact-content {
    grid-template-columns: 1fr;
  }

  .contact-left,
  .contact-right {
    padding: 30px;
  }

  .map-container {
    padding: 0 30px 30px;
  }

  .map-wrapper {
    height: 350px;
  }
}

@media (max-width: 768px) {
  #contact {
    padding: 80px 0;
  }

  .contact-left,
  .contact-right {
    padding: 25px;
  }

  .map-container {
    padding: 0 25px 25px;
  }

  .contact-social,
  .contact-buttons {
    justify-content: center;
  }

  .contact-info-group h3,
  .contact-social-group h3,
  .map-container h3 {
    display: block;
    text-align: center;
  }

  .contact-info-group h3::after,
  .contact-social-group h3::after,
  .map-container h3::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .map-wrapper {
    height: 300px;
  }
}

@media (max-width: 480px) {
  .contact-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .contact-icon {
    margin-right: 0;
    margin-bottom: 15px;
  }

  .contact-text h4 {
    margin-bottom: 8px;
  }

  .contact-social,
  .contact-buttons {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }

  .contact-btn {
    width: 100%;
    justify-content: center;
  }

  .map-wrapper {
    height: 250px;
  }
}

/* ---------- Footer ---------- */
footer {
  background: linear-gradient(135deg, #1c2b3a 0%, #2c3e50 100%);
  color: #f5f5f5;
  padding: 70px 0 30px;
  position: relative;
  overflow: hidden;
}

footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--primary-color), #5ca9e0);
}

footer::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%231a75bc' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.4;
  z-index: 0;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 40px;
  position: relative;
  z-index: 1;
  margin-bottom: 40px;
}

.footer-branding {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-logo {
  margin-bottom: 15px;
}

.footer-logo img {
  height: 50px;
  filter: brightness(0) invert(1);
  transition: transform 0.3s ease;
}

.footer-logo img:hover {
  transform: scale(1.05);
}

.footer-tagline {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 10px;
  position: relative;
  padding-left: 12px;
}

.footer-tagline::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 3px;
  background: linear-gradient(to bottom, var(--primary-color), transparent);
  border-radius: 3px;
}

.footer-links-group h4 {
  color: white;
  margin-bottom: 20px;
  font-size: 1.1rem;
  position: relative;
  display: inline-block;
  padding-bottom: 8px;
}

.footer-links-group h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 2px;
  background: var(--primary-color);
}

.footer-nav,
.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-nav li {
  margin-bottom: 12px;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  display: inline-block;
  position: relative;
}

.footer-nav a:hover {
  color: white;
  transform: translateX(4px);
}

.footer-nav a::before {
  content: "›";
  margin-right: 6px;
  opacity: 0;
  transform: translateX(-8px);
  display: inline-block;
  transition: all 0.3s ease;
}

.footer-nav a:hover::before {
  opacity: 1;
  transform: translateX(-4px);
}

.footer-contact li {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.footer-contact li i {
  margin-right: 10px;
  color: var(--primary-color);
  font-size: 1rem;
  width: 20px;
  text-align: center;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  text-decoration: none;
}

.footer-social a:hover {
  background: var(--primary-color);
  transform: translateY(-4px);
}

.footer-apps {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
}

.app-button {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 5px;
  color: white;
  text-decoration: none;
  font-size: 0.85rem;
  transition: all 0.3s ease;
}

.app-button i {
  margin-right: 8px;
  font-size: 1rem;
}

.app-button:hover {
  background: rgba(26, 117, 188, 0.4);
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.footer-copyright p {
  margin: 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-legal {
  display: flex;
  gap: 20px;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-legal a:hover {
  color: white;
}

/* Mobil uyumlu footer */
@media (max-width: 992px) {
  footer {
    padding: 60px 0 30px;
  }

  .footer-content {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .footer-legal {
    justify-content: center;
  }

  .footer-branding {
    align-items: center;
    text-align: center;
  }

  .footer-links-group {
    text-align: center;
  }

  .footer-links-group h4 {
    padding-bottom: 10px;
  }

  .footer-links-group h4::after {
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
  }

  .footer-nav a:hover {
    transform: none;
  }

  .footer-contact li {
    justify-content: center;
  }

  .footer-social {
    justify-content: center;
  }

  .footer-apps {
    align-items: center;
  }
}

@media (max-width: 480px) {
  footer {
    padding: 50px 0 20px;
  }

  .footer-content {
    gap: 30px;
  }

  .footer-legal {
    flex-direction: column;
    gap: 10px;
  }

  .footer-logo img {
    height: 40px;
  }
}

/* Animation classes */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.fade-in {
  animation: fadeIn 1s ease-in;
}

.mobile-menu-open {
  overflow: hidden;
}

/* Dark mode preference support for better UX */
@media (prefers-color-scheme: dark) {
  .intro-logo-container::before {
    background: rgba(255, 255, 255, 0.05);
  }

  .main-animated-image {
    filter: drop-shadow(0 0 18px rgba(255, 255, 255, 0.3));
  }
}

/* Accessibility styles */
@media (prefers-reduced-motion: reduce) {
  .main-animated-image {
    animation: none;
  }

  .main-animated-image:hover {
    transform: none;
  }
}

/* ---------- Intro Button ---------- */
#intro .primary-btn {
  background-color: var(--primary-color);
  color: white;
  box-shadow: 0 5px 15px rgba(26, 117, 188, 0.3);
}

#intro .primary-btn:hover {
  background-color: #1568a8;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(26, 117, 188, 0.4);
}

/* ---------- Animation classes ---------- */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.fade-in {
  animation: fadeIn 1s ease-in;
}

.mobile-menu-open {
  overflow: hidden;
}

/* ---------- General Responsive Fixes ---------- */
@media (max-width: 1200px) {
  .container {
    max-width: 960px;
  }
}

@media (max-width: 992px) {
  .container {
    max-width: 720px;
  }
}

@media (max-width: 768px) {
  .container {
    max-width: 540px;
  }

  body {
    font-size: 14px;
  }

  h2 {
    font-size: 2rem;
  }

  h3 {
    font-size: 1.6rem;
  }
}

@media (max-width: 576px) {
  .container {
    width: 100%;
    padding-left: 20px;
    padding-right: 20px;
  }

  section {
    padding: 60px 0;
  }

  .section-header h2 {
    font-size: 1.7rem;
  }
}

/* ---------- Fix for mobile right margin issue ---------- */
@media (max-width: 480px) {
  html,
  body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
    margin: 0;
    padding: 0;
  }

  body {
    max-width: 100%;
  }

  .container {
    padding-left: 15px;
    padding-right: 15px;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    overflow-x: hidden;
  }

  section {
    padding: 50px 0;
    width: 100%;
    overflow-x: hidden;
  }

  #intro .container,
  #about .container,
  #services .container,
  #why-us .container,
  #contact .container,
  footer .container {
    width: 100%;
    padding: 0 15px;
    overflow-x: hidden;
  }

  .intro-image img,
  .about-gif,
  .main-animated-image,
  .why-us-image img,
  .service-icon img {
    width: 100%;
    max-width: 100%;
    height: auto;
  }

  #intro h1 {
    font-size: 2rem;
    text-align: center;
  }

  #intro p {
    font-size: 1.1rem;
    text-align: center;
    padding-left: 0;
    border-left: none;
    margin-bottom: 1.8rem;
  }

  .modern-tagline {
    font-size: 0.95rem;
  }
}

@media (max-width: 576px) {
  #intro {
    padding: 70px 0;
  }

  .intro-content {
    flex-direction: column-reverse;
    align-items: center;
    text-align: center;
    gap: 30px;
  }

  .intro-text {
    padding-right: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  #intro h1 {
    font-size: 2.3rem;
    text-align: center;
  }

  .intro-logo {
    max-width: 180px;
  }

  .main-animated-image {
    max-width: 100%;
    width: 100%;
    height: auto;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  #intro {
    padding: 80px 0;
  }

  .intro-content {
    flex-direction: column-reverse;
    gap: 40px;
  }

  #intro h1 {
    font-size: 2.8rem;
  }

  #intro p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
  }

  .main-animated-image {
    max-width: 90%;
    margin: 0 auto;
  }
}

@media (max-width: 992px) {
  #intro {
    padding: 100px 0;
  }

  .intro-content {
    flex-direction: column;
    gap: 40px;
  }

  .intro-text {
    padding-right: 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    order: 1;
  }

  .intro-image {
    justify-content: center;
    order: 2;
  }

  .main-animated-image {
    max-width: 400px;
    width: 90%;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  #intro {
    padding: 80px 0;
  }

  .intro-content {
    flex-direction: column;
    gap: 40px;
  }

  #intro h1 {
    font-size: 2.8rem;
  }

  #intro p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
  }

  .main-animated-image {
    max-width: 90%;
    margin: 0 auto;
  }
}

@media (max-width: 576px) {
  #intro {
    padding: 70px 0;
  }

  .intro-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 30px;
  }

  #intro h1 {
    font-size: 2.3rem;
    text-align: center;
  }

  .intro-logo {
    max-width: 180px;
  }

  .main-animated-image {
    max-width: 100%;
    width: 100%;
    height: auto;
    margin: 0 auto;
  }
}

/* Special styling for About section highlights */
#about .highlight {
  color: var(--dark-color);
}

#about .highlight:hover {
  color: var(--primary-color);
}

/* Special styling for Intro section highlights */
/*
#intro h1 .highlight {
  color: var(--primary-color);
}

#intro h1 .highlight::after {
  height: 8px;
  background-color: rgba(26, 117, 188, 0.1);
  border-radius: 4px;
}

#intro h1 .highlight:hover {
  background: linear-gradient(120deg, #1a75bc, #2c3e50);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
}
*/

/* Diğer tekrarlanan tanımlamalar da yorum satırına alınmış durumda */
/*
#intro h1 .highlight {
  color: var(--primary-color);
  position: relative;
  display: inline-block;
  transition: all 0.3s ease;
  text-fill-color: initial;
  -webkit-text-fill-color: initial;
  background-clip: initial;
  -webkit-background-clip: initial;
  background: none;
}

#intro h1 .highlight::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 5px;
  width: 100%;
  height: 8px;
  background-color: rgba(26, 117, 188, 0.1);
  z-index: -1;
  border-radius: 4px;
}

#intro h1 .highlight:hover {
  color: var(--primary-color);
  /* Aşağıdaki özellikleri kaldırıyorum çünkü metni görünmez yapıyor olabilirler */
/*
  background: linear-gradient(120deg, #1a75bc, #2c3e50);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
  */
/*
}
*/

/* Mobile Responsive Fixes */
@media (max-width: 768px) {
  .about-content,
  .why-us-content {
    flex-direction: column-reverse;
    gap: 40px;
  }

  .about-header {
    flex-direction: row;
    text-align: left;
  }

  .about-icon {
    margin-right: 15px;
    margin-bottom: 0;
  }

  .section-header h2 {
    font-size: 2.2rem;
  }

  .about-text p {
    text-align: left;
  }

  .service-card {
    padding: 25px;
  }

  .service-icon {
    width: 70px;
    height: 70px;
  }
}

@media (max-width: 480px) {
  html,
  body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
    margin: 0;
    padding: 0;
  }

  section {
    padding: 60px 0;
  }

  .section-header h2 {
    font-size: 1.8rem;
  }

  .about-header h3 {
    font-size: 1.5rem;
  }

  .about-icon {
    width: 50px;
    height: 50px;
    font-size: 1.3rem;
  }

  .service-card {
    border-radius: 12px;
    padding: 20px;
  }

  .service-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
  }

  .service-icon i {
    font-size: 1.6rem;
  }
}

/* Teknolojiler Bölümü için Yeni Stiller */
#technologies {
  background: linear-gradient(135deg, #f5f9ff 0%, #ecf5ff 100%);
  position: relative;
  overflow: hidden;
  padding: 80px 0;
}

#technologies::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: radial-gradient(
    circle at 20% 20%,
    rgba(26, 117, 188, 0.1) 0%,
    transparent 50%
  );
  z-index: 0;
}

.technologies-container {
  position: relative;
  z-index: 1;
}

.tech-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.tech-item {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: 20px;
  flex: 0 0 calc(25% - 20px);
  min-width: 220px;
  max-width: 280px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid rgba(230, 240, 255, 0.7);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.tech-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), #5ca9e0);
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  transform: translateY(-4px);
}

.tech-item:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 15px 35px rgba(26, 117, 188, 0.15);
}

.tech-item:hover::before {
  opacity: 1;
  transform: translateY(0);
}

.tech-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f0f7ff 0%, #e6f0ff 100%);
  color: var(--primary-color);
  font-size: 28px;
  position: relative;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.tech-icon::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px dashed rgba(26, 117, 188, 0.3);
  top: 0;
  left: 0;
  animation: rotate 15s linear infinite;
}

.tech-item:hover .tech-icon {
  color: #fff;
  background: linear-gradient(135deg, var(--primary-color) 0%, #5ca9e0 100%);
  transform: scale(1.1) rotate(5deg);
}

.tech-item h4 {
  font-size: 18px;
  margin-bottom: 10px;
  font-weight: 600;
  color: var(--dark-color);
  transition: color 0.3s ease, transform 0.3s ease;
}

.tech-item:hover h4 {
  color: var(--primary-color);
  transform: translateY(-2px);
}

.tech-item p {
  font-size: 14px;
  color: #666;
  line-height: 1.4;
  margin: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.tech-item:hover p {
  transform: translateY(-2px);
  opacity: 0.9;
}

@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Mobil uyumluluk için medya sorguları */
@media (max-width: 1024px) {
  .tech-item {
    flex: 0 0 calc(33.33% - 20px);
  }
}

@media (max-width: 768px) {
  .tech-grid {
    gap: 15px;
  }

  .tech-item {
    flex: 0 0 calc(50% - 15px);
    min-width: 180px;
    padding: 15px;
  }

  .tech-icon {
    width: 50px;
    height: 50px;
    font-size: 24px;
  }

  .tech-item h4 {
    font-size: 16px;
  }

  .tech-item p {
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  #technologies {
    padding: 60px 0;
  }

  .tech-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .tech-item {
    flex: 0 0 100%;
    min-width: 0;
    padding: 12px;
  }

  .tech-icon {
    width: 45px;
    height: 45px;
    font-size: 20px;
    margin-bottom: 10px;
  }

  .tech-item h4 {
    font-size: 14px;
    margin-bottom: 5px;
  }

  .tech-item p {
    font-size: 12px;
  }
}

/* ---------- Intro/Hero Section ---------- */
#intro {
  background: #fff;
  background-size: contain;
  background-position: center right;
  background-repeat: no-repeat;
  background-attachment: fixed;
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: var(--dark-color);
  padding: 120px 0;
  margin-top: -80px;
  padding-top: 80px;
  position: relative;
  overflow: hidden;
  transition: background 0.5s ease-in-out;
}

#intro::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at 70% 50%,
    rgba(240, 244, 247, 0.3) 0%,
    rgba(255, 255, 255, 0) 50%
  );
  z-index: 0;
}

#intro .container {
  position: relative;
  z-index: 2;
}

#intro h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  color: var(--dark-color);
  text-shadow: none;
  position: relative;
  line-height: 1.2;
}

#intro h1 .highlight {
  display: inline-block !important;
  visibility: visible !important;
  color: #1a75bc !important;
  position: relative !important;
  font-weight: 700 !important;
  background: none !important;
  background-clip: initial !important;
  -webkit-background-clip: initial !important;
  text-fill-color: initial !important;
  -webkit-text-fill-color: initial !important;
  z-index: 2;
}

#intro h1 .highlight::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 5px;
  width: 100%;
  height: 8px;
  background-color: rgba(26, 117, 188, 0.1);
  z-index: -1;
  border-radius: 4px;
}

#intro h1 .highlight:hover {
  color: #1a75bc !important;
}

#intro p {
  font-size: 1.5rem;
  margin-bottom: 2.5rem;
  opacity: 0.9;
  text-shadow: none;
  color: var(--dark-color);
  position: relative;
  padding-left: 15px;
  border-left: 3px solid var(--primary-color);
}

.intro-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.intro-text {
  flex: 1;
  padding-right: 20px;
  position: relative;
}

.intro-image {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  position: relative;
}

.main-animated-image {
  max-width: 400px;
  border-radius: 12px;
  background-color: transparent;
  padding: 0;
  animation: none;
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
  border: none;
}

/* Mobil Uyumluluk İyileştirmeleri */
@media (max-width: 992px) {
  #intro {
    padding: 100px 0;
  }

  .intro-content {
    flex-direction: column-reverse;
    gap: 40px;
    align-items: center;
    text-align: center;
  }

  .intro-text {
    padding-right: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .intro-text::after {
    right: 50%;
    transform: translateX(50%);
  }

  .intro-image {
    justify-content: center;
    width: 100%;
  }

  .main-animated-image {
    max-width: 350px;
    width: 90%;
  }
}

@media (max-width: 768px) {
  #intro {
    min-height: auto;
    padding: 100px 0 60px;
  }

  #intro h1 {
    font-size: 2.5rem;
  }

  #intro p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
  }

  .main-animated-image {
    max-width: 100%;
    border-radius: 12px;
  }
}

@media (max-width: 576px) {
  #intro {
    padding: 90px 0 50px;
  }

  .intro-content {
    gap: 30px;
  }

  #intro h1 {
    font-size: 2.2rem;
  }

  #intro p {
    font-size: 1.1rem;
    margin-bottom: 1.8rem;
    border-left: none;
    padding-left: 0;
    text-align: center;
  }

  .intro-logo {
    max-width: 160px;
  }

  .modern-tagline {
    font-size: 0.9rem;
    padding: 0.4rem 1.2rem;
  }

  .main-animated-image {
    max-width: 100%;
    width: 100%;
    height: auto;
    border-radius: 10px;
  }
}

@media (max-width: 480px) {
  #intro {
    padding: 80px 0 40px;
  }

  #intro h1 {
    font-size: 1.9rem;
    margin-bottom: 1rem;
  }

  #intro p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }

  .intro-logo-container {
    margin-bottom: 15px;
  }

  .intro-logo {
    max-width: 140px;
  }

  .modern-tagline {
    font-size: 0.85rem;
    padding: 0.35rem 1rem;
    margin-bottom: 1rem;
  }

  .main-animated-image {
    border-radius: 8px;
  }
}

/* Mobile layout classes for intro section */
/* Desktop - image is on the right */
@media (min-width: 993px) {
  .intro-content {
    flex-direction: row;
  }

  .intro-text {
    order: 1;
  }

  .intro-image {
    order: 2;
  }
}

/* Mobile - image is on the bottom */
@media (max-width: 992px) {
  #intro {
    padding: 100px 0;
  }

  .intro-content {
    flex-direction: column;
    gap: 40px;
  }

  .intro-text {
    padding-right: 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    order: 1; /* Text at the top */
  }

  .intro-image {
    justify-content: center;
    order: 2; /* Image at the bottom */
  }

  .main-animated-image {
    max-width: 400px;
    width: 90%;
    margin: 0 auto;
  }
}

/* Mobil Menü İyileştirmeleri */
@media (max-width: 992px) {
  .mobile-menu-toggle {
    display: flex !important; /* Her zaman görünür olmasını sağla */
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 1003; /* Z-index'i arttır */
    margin-left: 15px;
    opacity: 1;
    visibility: visible;
  }

  .mobile-menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--dark-color);
    border-radius: 3px;
    transition: var(--transition);
  }

  .mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
    background-color: var(--primary-color);
  }

  .mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
    background-color: var(--primary-color);
  }

  .mobile-menu-toggle:hover span {
    background-color: var(--primary-color);
  }

  .nav-menu {
    position: fixed;
    top: 80px; /* Position it below the header */
    right: -100%;
    width: 80%;
    max-width: 350px;
    height: calc(100vh - 80px); /* Adjust height to account for header */
    background-color: white;
    flex-direction: column;
    margin: 0;
    padding: 20px 25px 30px;
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 1002; /* Z-index değerini arttır */
    overflow-y: auto;
    border-radius: 0 0 0 15px;
  }

  .nav-menu:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), #5ca9e0);
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-menu li {
    margin: 0 0 12px 0;
    width: 100%;
    text-align: left;
    padding: 0 10px;
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.3s ease;
    transition-delay: calc(0.05s * var(--i, 0));
  }

  .nav-menu.active li {
    opacity: 1;
    transform: translateX(0);
  }

  .nav-menu li:last-child {
    margin-top: 20px;
  }

  .nav-menu li a {
    display: block;
    padding: 15px;
    font-size: 1rem;
    transition: all 0.3s ease;
    border-radius: 8px;
  }

  .nav-menu li a::after {
    display: none;
  }

  .nav-menu li a:hover,
  .nav-menu li a.active {
    color: var(--primary-color);
    background-color: rgba(26, 117, 188, 0.05);
    box-shadow: 0 5px 15px rgba(26, 117, 188, 0.05);
    transform: translateY(-3px);
  }

  .language-selector {
    margin: 20px 10px 0;
  }
}

/* Further improvements for smaller screens */
@media (max-width: 480px) {
  .mobile-menu-toggle {
    margin-left: 10px;
  }

  .nav-menu {
    width: 90%;
    padding: 90px 20px 30px;
  }

  .mobile-menu-logo {
    top: 20px;
    left: 20px;
    height: 35px;
  }

  .nav-menu li a {
    padding: 12px;
    font-size: 0.95rem;
  }

  .nav-menu li a i {
    margin-right: 10px;
    font-size: 1.1rem;
  }

  .mobile-social-links {
    margin-top: 25px;
  }

  .mobile-social-links a {
    width: 36px;
    height: 36px;
  }
}

/* Prevent body scrolling when menu is open */
body.mobile-menu-open {
  overflow: hidden;
}

/* Additional mobile-specific intro styles */
@media (max-width: 992px) {
  #intro {
    min-height: 80vh;
    padding: 120px 0 80px;
  }

  .intro-content {
    flex-direction: column-reverse;
    gap: 40px;
    align-items: center;
    text-align: center;
  }

  .intro-text {
    padding-right: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 600px;
    order: 2; /* Move text below image on mobile */
  }

  .intro-image {
    justify-content: center;
    width: 100%;
    max-width: 600px;
    order: 1; /* Move image above text on mobile */
  }

  .main-animated-image {
    max-width: 90%;
    width: auto;
    height: auto;
    margin: 0 auto;
    box-shadow: 0 15px 40px rgba(26, 117, 188, 0.15);
    border-radius: 15px;
    transition: transform 0.5s ease;
  }

  .main-animated-image:hover {
    transform: scale(1.03);
  }
}

/* ---------- Mobile Menu Improvements ---------- */
@media (max-width: 992px) {
  .mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 1002;
    margin-left: 15px;
  }

  .mobile-menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--dark-color);
    border-radius: 3px;
    transition: var(--transition);
  }

  .mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
    background-color: var(--primary-color);
  }

  .mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
    background-color: var(--primary-color);
  }

  .mobile-menu-toggle:hover span {
    background-color: var(--primary-color);
  }

  .nav-menu {
    position: fixed;
    top: 80px; /* Position it below the header */
    right: -100%;
    width: 80%;
    max-width: 350px;
    height: calc(100vh - 80px); /* Adjust height to account for header */
    background-color: white;
    flex-direction: column;
    margin: 0;
    padding: 20px 25px 30px;
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 1001;
    overflow-y: auto;
    border-radius: 0 0 0 15px;
  }

  .nav-menu:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), #5ca9e0);
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-menu li {
    margin: 0 0 12px 0;
    width: 100%;
    text-align: left;
    padding: 0 10px;
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.3s ease;
    transition-delay: calc(0.05s * var(--i, 0));
  }

  .nav-menu.active li {
    opacity: 1;
    transform: translateX(0);
  }

  .nav-menu li:last-child {
    margin-top: 20px;
  }

  .nav-menu li a {
    display: block;
    padding: 15px;
    font-size: 1rem;
    transition: all 0.3s ease;
    border-radius: 8px;
  }

  .nav-menu li a::after {
    display: none;
  }

  .nav-menu li a:hover,
  .nav-menu li a.active {
    color: var(--primary-color);
    background-color: rgba(26, 117, 188, 0.05);
    box-shadow: 0 5px 15px rgba(26, 117, 188, 0.05);
    transform: translateY(-3px);
  }

  .language-selector {
    margin: 20px 10px 0;
  }
}

/* Sadece body.mobile-menu-open stili muhafaza ediliyor */
body.mobile-menu-open {
  overflow: hidden;
  position: relative;
  height: 100%;
  touch-action: none;
}

/* Header için fixed düzenlemesi */
@media (max-width: 992px) {
  header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow);
    z-index: 1000;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }

  /* Mobil menüde aktif öğe için stil */
  .nav-menu li a.active {
    color: var(--primary-color);
    background-color: rgba(26, 117, 188, 0.08);
    box-shadow: 0 5px 15px rgba(26, 117, 188, 0.08);
    font-weight: 600;
    position: relative;
    border-left: 3px solid var(--primary-color);
  }

  /* Aktif menü item'a animasyon ekleyelim */
  .nav-menu li a {
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
  }
}

/* Sayfada header'ın altında kalan içeriği düzeltmek için */
@media (max-width: 992px) {
  body {
    padding-top: 80px;
  }

  #intro {
    margin-top: 0;
  }
}

/* Mobil menüde aktif öğe için güçlendirilmiş stiller */
@media (max-width: 992px) {
  /* Aktif menü öğesi stilleri */
  .nav-menu li a {
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
    position: relative;
  }

  .nav-menu li a.active {
    color: var(--primary-color);
    background-color: rgba(26, 117, 188, 0.08);
    box-shadow: 0 5px 15px rgba(26, 117, 188, 0.08);
    font-weight: 600;
    border-left: 3px solid var(--primary-color);
  }

  /* Aktif menü öğesi için ek görsel vurgu */
  .nav-menu li a.active::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, rgba(26, 117, 188, 0.1), transparent);
    animation: activeFade 0.5s forwards;
  }

  @keyframes activeFade {
    from {
      width: 0;
    }
    to {
      width: 100%;
    }
  }
}

/* Language Selector Improvements - Update at the end of the file */
.language-selector {
  position: relative;
  cursor: pointer;
  margin-left: 20px;
  z-index: 1500; /* Daha yüksek z-index değeri */
}

.selected-lang {
  display: flex;
  align-items: center;
  font-weight: 600;
  background-color: var(--light-color);
  padding: 8px 16px;
  border-radius: 4px;
}

.selected-lang i {
  margin-left: 5px;
  transition: var(--transition);
}

.language-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  background: white;
  box-shadow: var(--shadow);
  border-radius: 5px;
  padding: 10px 0;
  min-width: 150px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  z-index: 1001;
}

.language-selector:hover .language-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(5px);
}

.language-dropdown li {
  padding: 8px 16px;
  transition: var(--transition);
  cursor: pointer;
}

.language-dropdown li:hover {
  background-color: var(--light-color);
  color: var(--primary-color);
}

.language-selector:hover .selected-lang i {
  transform: rotate(180deg);
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  cursor: pointer;
  z-index: 1002;
}

.mobile-menu-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: var(--dark-color);
  border-radius: 3px;
  transition: var(--transition);
}

/* Dil Seçici - Global Stilller */
.language-selector {
  position: relative;
  margin-left: 20px;
  z-index: 9999;
}

.selected-lang {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f5f5f5;
  padding: 8px 16px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 500;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: background-color 0.2s;
}

.selected-lang:hover,
.selected-lang:active {
  background-color: #e9e9e9;
}

.selected-lang i {
  margin-left: 8px;
  font-size: 12px;
}

.language-dropdown {
  position: absolute;
  top: calc(100% + 5px);
  right: 0;
  background-color: white;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  display: none;
  min-width: 150px;
  z-index: 9999;
}

.language-dropdown.show {
  display: block;
}

.language-dropdown li {
  padding: 10px 16px;
  transition: background-color 0.2s;
  border-bottom: 1px solid #f0f0f0;
}

.language-dropdown li:last-child {
  border-bottom: none;
}

.language-dropdown li:hover,
.language-dropdown li:active {
  background-color: #f5f5f5;
}

/* Mobil cihazlar için dil seçici ayarları */
@media (max-width: 992px) {
  .language-selector {
    position: relative;
    display: inline-block;
    margin: 15px 0 0;
    width: 100%;
  }

  .selected-lang {
    width: 100%;
    display: flex;
    justify-content: space-between;
    background-color: #f5f5f5;
    padding: 12px 16px;
    border-radius: 4px;
  }

  .language-dropdown {
    position: static;
    width: 100%;
    margin-top: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 99999;
  }

  .language-dropdown.show {
    display: block !important;
  }

  .language-dropdown li {
    padding: 15px;
    text-align: center;
    border-bottom: 1px solid #eee;
    background-color: white;
    font-weight: 500;
  }

  .language-dropdown li:last-child {
    border-bottom: none;
  }

  /* Mobilde hover yerine JavaScript kontrolü kullanacağız */
  .language-selector:hover .language-dropdown {
    opacity: 0;
    visibility: hidden;
    transform: none;
  }
}

/* Custom styles for the language selector using Select2 */
.language-selector {
  position: relative;
  margin-left: 20px;
}

.language-selector .select2-container {
  min-width: 100px;
}

.language-selector .select2-selection {
  background-color: transparent;
  border: 1px solid rgba(26, 117, 188, 0.3);
  border-radius: 20px;
  height: 36px;
  display: flex;
  align-items: center;
  padding: 0 10px;
}

.language-selector .select2-selection__rendered {
  color: #333;
  line-height: 34px;
  padding-left: 5px;
  font-size: 14px;
  font-weight: 500;
}

.language-selector .select2-selection__arrow {
  height: 34px;
}

.select2-dropdown {
  border: 1px solid rgba(26, 117, 188, 0.2);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  overflow: hidden;
}

.select2-results__option {
  padding: 8px 12px;
  font-size: 14px;
  transition: all 0.2s;
}

.select2-results__option--highlighted {
  background-color: rgba(26, 117, 188, 0.1) !important;
  color: #1a75bc !important;
}

.select2-container--open .select2-dropdown {
  margin-top: 5px;
}

/* Mobile styles for Select2 language selector */
@media (max-width: 768px) {
  .language-selector {
    position: relative;
    margin-left: 10px;
    margin-right: 10px;
  }

  .language-selector .select2-selection {
    height: 32px;
    border-radius: 16px;
  }

  .language-selector .select2-selection__rendered {
    line-height: 30px;
    font-size: 13px;
  }
}

/* Custom flag icon styles */
.language-flag {
  display: inline-block;
  margin-right: 5px;
  width: 18px;
  height: 13px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  vertical-align: middle;
}

.flag-icon-tr {
  background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMjAwIDgwMCI+PHBhdGggZmlsbD0iI2UzMGEwYSIgZD0iTTAgMGgxMjAwdjgwMEgweiIvPjxjaXJjbGUgY3g9IjQyNSIgY3k9IjQwMCIgcj0iMjAwIiBmaWxsPSIjZmZmIi8+PGNpcmNsZSBjeD0iNDc1IiBjeT0iNDAwIiByPSIxNjAiIGZpbGw9IiNlMzBhMGEiLz48cG9seWdvbiBwb2ludHM9IjgwOS4wMTYsNDUwLjA4NCA3MDAsNTAwIDc1MCw0MDAgNzAwLDMwMCA4MDkuMDE2LDM0OS45MTYgOTAwLDMwMCA4NTAuMDg0LDM5OS45MTYgOTAwLDUwMCIgZmlsbD0iI2ZmZiIvPjwvc3ZnPg==");
}

.flag-icon-en {
  background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMjAwIDYwMCI+PHJlY3Qgd2lkdGg9IjEyMDAiIGhlaWdodD0iNjAwIiBmaWxsPSIjMDEyMTY5Ii8+PHBhdGggZD0iTTAgMCBMIDEyMDAgNjAwIE0gMTIwMCAwIEwgMCA2MDAiIHN0cm9rZT0iI2ZmZiIgc3Ryb2tlLXdpZHRoPSI2MCIvPjxwYXRoIGQ9Ik0wIDAgTCAxMjAwIDYwMCBNIDEyMDAgMCBMIDAgNjAwIiBzdHJva2U9IiNDODEwMkUiIHN0cm9rZS13aWR0aD0iNDAiLz48cGF0aCBkPSJNIDYwMCAwIEwgNjAwIDYwMCBNIDAgMzAwIEwgMTIwMCAzMDAiIHN0cm9rZT0iI2ZmZiIgc3Ryb2tlLXdpZHRoPSIxMDAiLz48cGF0aCBkPSJNIDYwMCAwIEwgNjAwIDYwMCBNIDAgMzAwIEwgMTIwMCAzMDAiIHN0cm9rZT0iI0M4MTAyRSIgc3Ryb2tlLXdpZHRoPSI2MCIvPjwvc3ZnPg==");
}

.flag-icon-fr {
  background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA5MDAgNjAwIj48cGF0aCBmaWxsPSIjRUQyOTM5IiBkPSJNMCAwaDkwMHY2MDBIMHoiLz48cGF0aCBmaWxsPSIjZmZmIiBkPSJNMCAwaDYwMHY2MDBIMHoiLz48cGF0aCBmaWxsPSIjMDAyMzk1IiBkPSJNMCAwaDMwMHY2MDBIMHoiLz48L3N2Zz4=");
}

.flag-icon-de {
  background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA5MDAgNjAwIj48cGF0aCBmaWxsPSIjZmZjYzAwIiBkPSJNMCA0MDBoOTAwdjIwMEgweiIvPjxwYXRoIGZpbGw9IiNmZjAwMDAiIGQ9Ik0wIDIwMGg5MDB2MjAwSDB6Ii8+PHBhdGggZmlsbD0iIzAwMCIgZD0iTTAgMGg5MDB2MjAwSDB6Ii8+PC9zdmc+");
}

/* Language Selector - Simple Native Dropdown */
.language-selector {
  position: relative;
  margin-left: 15px;
  z-index: 1500; /* Daha yüksek z-index değeri */
}

.current-lang {
  display: flex;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(26, 117, 188, 0.3);
  border-radius: 20px;
  padding: 6px 12px;
  cursor: pointer;
  user-select: none;
  transition: all 0.3s ease;
}

.current-lang:hover {
  background-color: rgba(26, 117, 188, 0.1);
}

.lang-text {
  margin: 0 4px;
  font-weight: 500;
  font-size: 14px;
}

.lang-flag {
  width: 18px;
  height: 13px;
  display: inline-block;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  margin-right: 6px;
}

.lang-flag-tr {
  background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMjAwIDgwMCI+PHBhdGggZmlsbD0iI2UzMGEwYSIgZD0iTTAgMGgxMjAwdjgwMEgweiIvPjxjaXJjbGUgY3g9IjQyNSIgY3k9IjQwMCIgcj0iMjAwIiBmaWxsPSIjZmZmIi8+PGNpcmNsZSBjeD0iNDc1IiBjeT0iNDAwIiByPSIxNjAiIGZpbGw9IiNlMzBhMGEiLz48cG9seWdvbiBwb2ludHM9IjgwOS4wMTYsNDUwLjA4NCA3MDAsNTAwIDc1MCw0MDAgNzAwLDMwMCA4MDkuMDE2LDM0OS45MTYgOTAwLDMwMCA4NTAuMDg0LDM5OS45MTYgOTAwLDUwMCIgZmlsbD0iI2ZmZiIvPjwvc3ZnPg==");
}

.lang-flag-en {
  background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMjAwIDYwMCI+PHJlY3Qgd2lkdGg9IjEyMDAiIGhlaWdodD0iNjAwIiBmaWxsPSIjMDEyMTY5Ii8+PHBhdGggZD0iTTAgMCBMIDEyMDAgNjAwIE0gMTIwMCAwIEwgMCA2MDAiIHN0cm9rZT0iI2ZmZiIgc3Ryb2tlLXdpZHRoPSI2MCIvPjxwYXRoIGQ9Ik0wIDAgTCAxMjAwIDYwMCBNIDEyMDAgMCBMIDAgNjAwIiBzdHJva2U9IiNDODEwMkUiIHN0cm9rZS13aWR0aD0iNDAiLz48cGF0aCBkPSJNIDYwMCAwIEwgNjAwIDYwMCBNIDAgMzAwIEwgMTIwMCAzMDAiIHN0cm9rZT0iI2ZmZiIgc3Ryb2tlLXdpZHRoPSIxMDAiLz48cGF0aCBkPSJNIDYwMCAwIEwgNjAwIDYwMCBNIDAgMzAwIEwgMTIwMCAzMDAiIHN0cm9rZT0iI0M4MTAyRSIgc3Ryb2tlLXdpZHRoPSI2MCIvPjwvc3ZnPg==");
}

.lang-flag-fr {
  background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA5MDAgNjAwIj48cGF0aCBmaWxsPSIjRUQyOTM5IiBkPSJNMCAwaDkwMHY2MDBIMHoiLz48cGF0aCBmaWxsPSIjZmZmIiBkPSJNMCAwaDYwMHY2MDBIMHoiLz48cGF0aCBmaWxsPSIjMDAyMzk1IiBkPSJNMCAwaDMwMHY2MDBIMHoiLz48L3N2Zz4=");
}

.lang-flag-de {
  background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA5MDAgNjAwIj48cGF0aCBmaWxsPSIjZmZjYzAwIiBkPSJNMCA0MDBoOTAwdjIwMEgweiIvPjxwYXRoIGZpbGw9IiNmZjAwMDAiIGQ9Ik0wIDIwMGg5MDB2MjAwSDB6Ii8+PHBhdGggZmlsbD0iIzAwMCIgZD0iTTAgMGg5MDB2MjAwSDB6Ii8+PC9zdmc+");
}

.current-lang i {
  margin-left: 5px;
  font-size: 10px;
  transition: transform 0.3s ease;
}

.lang-dropdown {
  position: absolute;
  top: calc(100% + 5px); /* Normal durumda altında */
  right: 0;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  width: 140px;
  display: none;
  z-index: 1500;
}

.lang-dropdown.show {
  display: block;
  animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.lang-option {
  display: flex;
  align-items: center;
  padding: 10px 15px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.lang-option:hover {
  background-color: rgba(26, 117, 188, 0.1);
}

/* Mobile styles */
@media (max-width: 768px) {
  .language-selector {
    margin-left: 10px;
    margin-right: 10px;
  }

  .current-lang {
    padding: 5px 10px;
  }

  .lang-text {
    font-size: 13px;
  }

  /* Ensure dropdown is available on mobile */
  .lang-dropdown {
    width: 130px;
  }

  .lang-option {
    padding: 12px 15px;
  }
}

/* Mobil görünümde header'ın üstünde görünmesi için */
@media (max-width: 992px) {
  .language-selector {
    position: relative;
    margin-right: 15px;
    z-index: 9999; /* Çok yüksek z-index değeri */
  }

  .lang-dropdown {
    position: fixed; /* Sabit pozisyon */
    top: 60px; /* Header'ın üstünde kalacak şekilde */
    bottom: auto; /* bottom özelliğini sıfırla */
    left: auto; /* sol kenardan otomatik */
    right: 15px; /* sağ kenardan 15px */
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    width: 140px;
    z-index: 9999;
  }

  /* Eski dropdown stilleri için geri ekleme */
  .language-selector .select2-container,
  .language-selector .select2-selection,
  .language-selector .select2-selection__rendered,
  .language-selector .select2-selection__arrow,
  .select2-dropdown,
  .select2-results__option,
  .select2-container--open .select2-dropdown {
    display: none !important;
  }
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  header {
    padding: 10px 0;
    height: auto;
    min-height: 70px;
    display: flex;
    align-items: center;
  }

  header .container {
    position: relative;
  }

  .nav-menu li a.active {
    color: var(--primary-color);
    font-weight: 600;
    position: relative;
    background-color: rgba(26, 117, 188, 0.05);
    border-radius: 8px;
    padding: 15px;
  }

  /* Mobil menü toggle düğmesinin her zaman görünür olmasını sağla */
  .mobile-menu-toggle {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
  }

  /* Menü seçeneklerini görünür yap */
  .nav-menu li a {
    text-align: left;
    width: 100%;
    display: block;
  }

  .nav-menu li a.active {
    color: var(--primary-color);
    background-color: rgba(26, 117, 188, 0.08);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(26, 117, 188, 0.05);
  }

  .nav-menu li a.active::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background: linear-gradient(to bottom, var(--primary-color), #5ca9e0);
    border-radius: 0 2px 2px 0;
    animation: activeFade 0.5s ease forwards;
  }

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

@media (min-width: 993px) {
  header .container {
    display: grid;
    grid-template-columns: 200px 1fr auto;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
  }

  .logo {
    grid-column: 1;
  }

  nav {
    grid-column: 2;
    justify-content: center;
  }

  .nav-menu {
    display: flex;
    justify-content: center;
    width: 100%;
  }

  .nav-menu li {
    margin: 0 18px;
  }

  .nav-menu a {
    font-size: 13px;
    padding: 10px 0;
  }

  .nav-menu a.active {
    font-weight: 700;
  }

  .language-selector {
    grid-column: 3;
    margin-left: 20px;
  }
}
