:root {
  --primary: #014da2;
  /* Akınsoft-mavi (yaklaşık) */
  --primary-dark: #014da2;
  --muted: #6c757d;
  --soft: #f8f9fa;
  --accent: #00ae4d;
  --card-radius: 14px;
  --glass-bg: rgba(255, 255, 255, 0.75);
  --easing: cubic-bezier(0.2, 0.9, 0.3, 1);
  --primary-rgb: 0, 174, 77;
  --accent-rgb: 1, 77, 162;
}
*:focus {
  outline: none !important;
}

html {
  height: 100%;
  scroll-behavior: smooth;
}

body {
  height: 100%;
  font-family: "Inter", "Montserrat", system-ui, -apple-system, "Segoe UI",
    Roboto, "Helvetica Neue", Arial;
  color: #222;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

        
.page-loader {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.85);
  z-index: 2000;
  transition: opacity 220ms;
}
.spinner {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: conic-gradient(var(--primary), transparent 40%);
  animation: spin 1.2s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.sr-only-focusable:focus {
  position: static !important;
  left: auto;
  top: auto;
  width: auto;
  height: auto;
  overflow: visible;
  clip: auto;
}
.container-max {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.text-dark-primary {
  color: var(--primary-dark) !important;
}
.text-accent {
  color: var(--accent) !important;
}

/* === ÜST BAR === */
.topbar {
  background: #fff;
  font-size: 14px;
  padding: 8px 0;
  line-height: 1.2;
}

.topbar .container {
  min-height: 24px;
  display: flex;
  align-items: center;
}

.topbar a, 
.topbar span {
  text-decoration: none;
  margin: 0;
  display: flex;
  align-items: center;
}

.topbar a {
  color: #333;
  text-decoration: none;
  transition: color 0.2s ease;
}

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

.navbar-logo {
  height: 65px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

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

.main-navbar {
  background: #fafafa;
  border-bottom: 1px solid #eee;
}

.main-navbar .navbar-nav .nav-link {
  color: #000;
  font-weight: 500;
  transition: color 0.3s ease;
}

.main-navbar .navbar-nav .nav-link:hover,
.main-navbar .navbar-nav .nav-link:focus {
  color: var(--primary);
}

.mega-dropdown {
  position: static !important;
}

.mega-menu {
  position: fixed !important;
  top: 12% !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  width: min(900px, 92%) !important;
  border-top: 3px solid var(--primary) !important;
  border-radius: 0 0 12px 12px !important;
  background: #fafafa !important;
  z-index: 3000 !important;
  padding: 18px !important;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08) !important;
}

/* Navbar gap bridge per nav item instead of full width */
.navbar .dropdown > .nav-link {
  position: relative;
}

.navbar .dropdown:hover > .nav-link::before {
  content: "";
  position: absolute;
  top: 100%;
  left: -20px;
  right: -20px;
  height: 120px;
  background: transparent;
  z-index: 2999;
}

.dropdown-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 15px;
  border: 1px solid #eee;
  border-radius: 10px;
  background: #fff;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

.dropdown-card:hover {
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
  transform: translateY(-3px);
  text-decoration: none;
}

.dropdown-card .icon {
  font-size: 28px;
  color: var(--accent);
  flex-shrink: 0;
}

.dropdown-card .text h6 {
  margin-top: 5px;
  margin-bottom: 0;
  font-weight: 600;
  color: var(--primary);
}

.dropdown-card .text p {
  margin: 0px;
  font-size: 9px;
  color: #666;
}

@media (max-width: 768px) {
  .mega-menu {
    width: 95%;
  }
}

.navbar-toggler {
  border: none;
  outline: none;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23000' viewBox='0 0 30 30'%3E%3Cpath stroke='rgba%280,0,0,0.8%29' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

/* Mobil düzen */
@media (max-width: 992px) {
  .navbar-logo {
    height: 35px;
  }

  .topbar .container {
    flex-direction: column;
    text-align: center;
  }

  .right-links {
    justify-content: center;
  }

  .navbar-nav {
    text-align: center;
    gap: 0.5rem !important;
  }
}

/* Tablet ve masaüstü */
@media (min-width: 993px) {
  .navbar-nav {
    align-items: center;
  }
}

/* === NAVBAR DROPDOWN HOVER === */
@media (min-width: 992px) {

  /* sadece masaüstü için */
  .navbar .dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
    opacity: 1;
    visibility: visible;
  }

  .navbar .dropdown-menu {
    transition: all 0.2s ease;
    opacity: 0;
    visibility: hidden;
    margin-top: 10px;
  }

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

.navbar .nav-link:focus,
.navbar .dropdown-toggle:focus,
.navbar .dropdown-item:focus {
  outline: none !important;
  box-shadow: none !important;
}

.custom-bg {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: #fff;
}

.custom-bg::after {
  content: "";
  position: absolute;
  bottom: -50px;
  right: -80px;
  width: 450px;
  height: 450px;
  background: var(--accent);
  border-top-left-radius: 300px;
  transform: rotate(-20deg);
  z-index: 0;
}

.custom-bg::before {
  content: "";
  position: absolute;
  top: 50px;
  left: -80px;
  width: 150px;
  height: 150px;
  background: #00b050;
  border-bottom-right-radius: 120px;
  transform: rotate(15deg);
  z-index: 0;
}

.custom-bg .container {
  position: relative;
  z-index: 2;
}

.section-title {
  margin-bottom: 10px;
  font-weight: 800;
  color: var(--primary-dark);
  font-size: 2rem;
  line-height: 1.3;
}

.btn-grad-tersten {
  background: linear-gradient(90deg, var(--accent), var(--primary));
  color: #fff !important;
  border: none;
  border-radius: 10px;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(0, 123, 255, 0.12);
  padding: 10px 20px;
}

.btn-grad-tersten:hover {
  opacity: 0.9;
  box-shadow: 0 18px 40px rgba(0, 123, 255, 0.14);
}

.section-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 1rem;
  box-shadow: 0 18px 40px rgba(18, 38, 63, 0.04);
  background: #f7f9fc;
}

.section-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.btn-primary-grad {
  background: linear-gradient(90deg, var(--primary), var(--accent));
  color: #fff !important;
  border: none;
  border-radius: 10px;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(0, 123, 255, 0.12);
  padding: 10px 20px;
}

.btn-primary-grad:hover {
  opacity: 0.9;
  box-shadow: 0 18px 40px rgba(0, 123, 255, 0.14);
}

#akinsoft-slider {
  font-family: "Poppins", sans-serif;
  overflow: hidden;
}
.swiper {
  padding: 40px 0 70px;
}
.swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
}

.flip-card {
  width: 300px;
  height: 360px;
  perspective: 1200px;
  transition: transform 0.3s ease;
}
.flip-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.8s ease;
}
.flip-card:hover .flip-inner {
  transform: rotateY(180deg);
}
.flip-front,
.flip-back {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 18px;
  backface-visibility: hidden;
  overflow: hidden;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.08);
}
.flip-front img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.flip-back {
  transform: rotateY(180deg);
  background: linear-gradient(135deg, #014da2, #00ae4d);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 25px;
  text-align: center;
}
.flip-back h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  font-weight: 600;
}
.flip-back p {
  font-size: 0.95rem;
  opacity: 0.95;
  margin-bottom: 18px;
  line-height: 1.4;
}
.btn-flip {
  background: #fff;
  color: #014da2;
  border: none;
  padding: 10px 20px;
  border-radius: 30px;
  font-weight: 600;
  transition: all 0.3s;
  cursor: pointer;
}
.btn-flip:hover {
  background: #e5dbff;
}

.swiper-pagination-bullet {
  background: #ccc;
  opacity: 1;
}
.swiper-pagination-bullet-active {
  background: #000e51;
}

.footer h6 {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer a:hover {
  color: var(--primary) !important;
}

.footer .social-links a:hover {
  color: var(--primary-dark) !important;
}

.footer-logo {
  height: 30px;
  object-fit: contain;
  transition: transform 0.3s ease;
  margin-right: 20px;
  margin-bottom: 5px;
}

.features-section {
  background: #ffffff;
  padding: 60px 0;
}

.features-section h2 {
  color: #0b685b;
  font-weight: 700;
}

.feature-card {
  background: #ffffff;
  border-radius: 10px;
  padding: 2rem 1.8rem;
  text-align: center;
  box-shadow: 
    0 2px 6px rgba(0,0,0,0.05),
    0 10px 25px rgba(0,0,0,0.06);
  
  border: 1px solid rgba(0,0,0,0.04);
  height: 100%;
  transition: all 0.35s cubic-bezier(.25,.1,.25,1);
}

.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: 
    0 6px 14px rgba(0,0,0,0.08),
    0 16px 32px rgba(0,0,0,0.07);
  border-color: rgba(0,0,0,0.08);
}

.feature-card h5 {
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #000;
}

.feature-divider {
  width: 50px;
  height: 2px;
  background: #0b685b;
  margin: 8px auto 0 auto;
  border-radius: 5px;
}

.feature-card i {
  color: #0b685b;
  font-size: 2.3rem;
  margin: 18px 0;
}

.feature-card p {
  color: #6c757d; /* text-muted */
  font-size: 15px;
  margin-top: 10px;
}

@media (max-width: 992px) {
  .navbar-logo {
    height: 35px;
  }

  .topbar .container {
    flex-direction: column;
    text-align: center;
  }

  .right-links {
    justify-content: center;
  }

  .navbar-nav {
    text-align: center;
    gap: 0.5rem !important;
  }
  .flip-card {
    width: 100%;
    height: 450px;
  }
}

@media (min-width: 992px) {
  .navbar-nav {
    align-items: center;
  }

  .navbar .dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
    opacity: 1;
    visibility: visible;
  }

  .navbar .dropdown-menu {
    transition: all 0.2s ease;
    opacity: 0;
    visibility: hidden;
    margin-top: 10px;
  }

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

@media (max-width: 768px) {
  .mega-menu {
    width: 95%;
  }
  .flip-card {
    width: 100%;
    height: 450px;
  }

  .section-title {
    font-size: 1.6rem;
    text-align: center;
  }
}

.call-to-action-title {
  margin-bottom: 10px;
  font-weight: 700;
  color: var(--primary-dark);
  line-height: 1.3;
}

/* =============================================
   FLOATING BUTTONS — WhatsApp & Scroll to Top
   ============================================= */

.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 52px;
  height: 52px;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.45);
  z-index: 998;
  text-decoration: none;
  transition: bottom 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-float.pushed { bottom: 92px; }

.whatsapp-float:hover {
  background: #1ebe5d;
  color: #fff;
  transform: translateY(-5px);
  box-shadow: 0 6px 22px rgba(37, 211, 102, 0.6);
}

.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, #014da2, #00ae4d);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 1.3rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 995;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 4px 16px rgba(1, 77, 162, 0.35);
}

.scroll-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-to-top:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 22px rgba(1, 77, 162, 0.5);
}

@media (max-width: 768px) {
  .whatsapp-float, .scroll-to-top {
    bottom: 20px; right: 20px;
    width: 46px; height: 46px;
    font-size: 1.3rem;
  }
  .whatsapp-float.pushed { bottom: 76px; }
}