:root {
  --primary: #9d844c;
  --primary-rgb: 157, 132, 76;
  --bg-beige: #f5f2e9;
  --bg-beige-dark: #e9e5d8;
  --secondary: #003c3c;
  --secondary: #003c3c;
  --accent: #d47500;
  --text: #212529;
  --bg-light: #f8f9fa;
  --bg-dark: #0a1414;
  --navbar-bg: #ffffff;
  --navbar-text: #1a1a1a;
  --navbar-border: rgba(0, 0, 0, 0.08);
  font-size: 16px;
}

body {
  font-family: "Inter", "Poppins", system-ui, -apple-system, sans-serif;
  background-color: var(--bg-light);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  scroll-behavior: smooth;
}

body.dark-mode {
  --navbar-bg: #0f1a1a;
  --navbar-text: #e8e8e8;
  --navbar-border: rgba(255, 255, 255, 0.1);
  background-color: var(--bg-dark);
  color: #e8e8e8;
}

/* ===================== NAVBAR STYLING ===================== */
.main-navbar {
  background-color: var(--navbar-bg);
  border-bottom: 1px solid var(--navbar-border);
  padding: 0.8rem 0;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  z-index: 1050;
}

body.dark-mode .main-navbar {
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

/* Logo visibility */
.logo-dark {
  display: none !important;
}

body.dark-mode .logo-light {
  display: none !important;
}

body.dark-mode .logo-dark {
  display: block !important;
}

.main-navbar .navbar-brand img {
  height: 75px;
  width: auto;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.main-navbar.scrolled .navbar-brand img {
  height: 55px;
}

.navbar-toggler {
  border: 1px solid rgba(var(--primary-rgb), 0.2) !important;
  padding: 0.6rem;
  border-radius: 12px;
  background-color: rgba(var(--primary-rgb), 0.05);
  transition: all 0.3s ease;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 4px rgba(var(--primary-rgb), 0.1);
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(157, 132, 76, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.5' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

/* Navbar scrolled effect */
.main-navbar.scrolled {
  padding: 0.5rem 0;
  background-color: rgba(var(--navbar-bg-rgb, 255, 255, 255), 0.85);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

body.dark-mode .main-navbar.scrolled {
  background-color: rgba(15, 26, 26, 0.85);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

/* Nav Links */
.main-navbar .nav-link {
  color: var(--navbar-text, #1a1a1a) !important;
  font-weight: 600;
  font-size: 0.95rem;
  position: relative;
  transition: all 0.3s ease;
  padding: 0.5rem 1rem !important;
  letter-spacing: 0.2px;
}

body.dark-mode .main-navbar .nav-link {
  color: var(--navbar-text, #e8e8e8) !important;
}

.main-navbar .nav-link::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 1rem;
  right: 1rem;
  height: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transition: transform 0.3s ease;
  transform-origin: center;
}

.main-navbar .nav-link:hover {
  color: var(--primary) !important;
}

.main-navbar .nav-link:hover::before {
  transform: scaleX(1);
}

/* CTA Button */
.btn-cta {
  background: linear-gradient(135deg, var(--primary) 0%, #c99500 100%);
  color: #fff !important;
  border: none;
  border-radius: 50px;
  font-weight: 700;
  padding: 0.7rem 2rem;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 4px 15px rgba(var(--primary-rgb), 0.3);
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 1px;
}

.btn-cta:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 25px rgba(var(--primary-rgb), 0.5);
  background: linear-gradient(135deg, #c99500 0%, var(--primary) 100%);
}

/* Theme Toggle Button */
.btn-theme-toggle {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background-color: rgba(var(--primary-rgb), 0.1);
  border: 1px solid rgba(var(--primary-rgb), 0.2);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

body.dark-mode .btn-theme-toggle {
  background-color: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.btn-theme-toggle:hover {
  background-color: var(--primary);
  color: #fff;
  transform: translateY(-2px) rotate(8deg);
  box-shadow: 0 5px 15px rgba(var(--primary-rgb), 0.3);
}

/* Mobile Menu Styling */
@media (max-width: 991.98px) {
  .main-navbar .navbar-collapse {
    margin-top: 1rem;
    padding: 1.5rem;
    background-color: var(--navbar-bg);
    border-radius: 20px;
    border: 1px solid var(--navbar-border);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  }

  .main-navbar .nav-link::before {
    display: none;
  }

  .main-navbar .nav-link {
    padding: 0.8rem 1rem !important;
    border-radius: 10px;
    margin-bottom: 0.5rem;
  }

  .main-navbar .nav-link:hover {
    background-color: rgba(var(--primary-rgb), 0.05);
  }

  .btn-cta {
    width: 100%;
    margin-top: 1rem;
    padding: 1rem;
  }

  .btn-theme-toggle {
    width: 100%;
    margin-top: 0.5rem;
    border-radius: 10px;
  }
}

.hero-section {
  background: #fff;
}

.hero-card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

body.dark-mode .hero-card {
  background: #132424;
  border-color: rgba(255, 255, 255, 0.08);
  color: #e8e8e8;
}

/* ===================== NEW HERO DESIGN ===================== */
.new-hero {
  background-color: #fff;
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}

body.dark-mode .new-hero {
  background-color: var(--bg-dark);
}

.hero-content {
  max-width: 600px;
}

.hero-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  color: var(--primary);
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
}

.hero-description {
  font-size: 1.1rem;
  color: #555;
  line-height: 1.6;
  margin-bottom: 2.5rem;
}

body.dark-mode .hero-description {
  color: rgba(232, 232, 232, 0.8);
}

.hero-btns {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.hero-btn {
  padding: 0.9rem 2.2rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.hero-btn-primary {
  background-color: var(--primary);
  color: #fff !important;
  box-shadow: 0 4px 15px rgba(var(--primary-rgb), 0.3);
}

.hero-btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(var(--primary-rgb), 0.45);
  background-color: #8a7442;
}

.hero-btn-outline {
  background-color: transparent;
  color: var(--primary) !important;
  border: 2px solid var(--primary);
}

.hero-btn-outline:hover {
  background-color: var(--primary);
  color: #fff !important;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(var(--primary-rgb), 0.25);
}

@media (max-width: 991.98px) {
  .new-hero {
    padding: 60px 0;
    text-align: center;
  }

  .hero-content {
    margin: 0 auto 3rem;
  }

  .hero-btns {
    justify-content: center;
  }
}

.card-showcase-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(0, 60, 60, 0.05), rgba(181, 137, 0, 0.05));
}

.card-showcase-section::before {
  content: "";
  position: absolute;
  inset: auto 10% -40% auto;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(212, 117, 0, 0.45), transparent 70%);
  filter: blur(15px);
  z-index: 0;
}

body.dark-mode .card-showcase-section {
  background: linear-gradient(135deg, rgba(0, 60, 60, 0.35), rgba(181, 137, 0, 0.12));
}

.card-orbit {
  position: relative;
  min-height: clamp(320px, 60vw, 520px);
  perspective: 1600px;
  width: 100%;
  margin-inline: auto;
  --tiltX: 0deg;
  --tiltY: 0deg;
}

.card-glow {
  position: absolute;
  inset: 30% 5% auto 5%;
  height: 60%;
  background: radial-gradient(circle at 50% 0%, rgba(181, 137, 0, 0.4), transparent 58%);
  filter: blur(20px);
  z-index: 1;
  pointer-events: none;
}

.card-visual {
  position: absolute;
  top: 50%;
  left: 50%;
  width: auto;
  height: clamp(260px, 52vw, 420px);
  aspect-ratio: 0.65;
  transform-style: preserve-3d;
  border-radius: 1.4rem;
  overflow: hidden;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.25);
  transform:
    translate(-50%, -50%) translateX(var(--x-offset, 0)) translateY(var(--y-offset, 0)) rotateX(calc(var(--base-rotate-x, 0deg) + var(--tiltX))) rotateY(calc(var(--base-rotate-y, 0deg) + var(--tiltY))) translateZ(var(--depth, 0px)) scale(var(--scale, 1));
  animation: cardFloat 9s ease-in-out infinite alternate;
  transition: transform 0.6s ease, box-shadow 0.6s ease;
  z-index: 2;
}

.card-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card-visual.card-front {
  --x-offset: -6%;
  --y-offset: -2%;
  --depth: 56px;
  --base-rotate-x: 8deg;
  --base-rotate-y: -7deg;
}

.card-visual.card-back {
  --x-offset: 45%;
  --y-offset: 18%;
  --depth: 5px;
  --base-rotate-x: -2deg;
  --base-rotate-y: 11deg;
  --scale: 0.82;
  filter: saturate(0.95);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.18);
  z-index: 1;
}

.card-visual.card-back::after {
  content: "";
  position: absolute;
  inset: 12% -18% -12% 18%;
  border-radius: 1.8rem;
  background: radial-gradient(circle, rgba(var(--primary-rgb), 0.3), transparent 70%);
  filter: blur(18px);
  z-index: -1;
  opacity: 0.65;
}


.card-orbit:hover .card-visual {
  box-shadow: 0 35px 80px rgba(0, 0, 0, 0.35);
}

.card-orbit:hover .card-visual.card-front {
  --depth: 56px;
}

.card-orbit:hover .card-visual.card-back {
  --depth: 5px;
}

@keyframes cardFloat {
  0% {
    transform:
      translate(-50%, -50%) translateX(calc(var(--x-offset, 0) - 2%)) translateY(calc(var(--y-offset, 0) - 4%)) rotateX(calc(var(--base-rotate-x, 0deg) + var(--tiltX))) rotateY(calc(var(--base-rotate-y, 0deg) + var(--tiltY) - 2deg)) translateZ(var(--depth, 0px));
  }

  100% {
    transform:
      translate(-50%, -50%) translateX(calc(var(--x-offset, 0) + 2%)) translateY(calc(var(--y-offset, 0) + 3%)) rotateX(calc(var(--base-rotate-x, 0deg) + var(--tiltX) + 2deg)) rotateY(calc(var(--base-rotate-y, 0deg) + var(--tiltY) + 3deg)) translateZ(calc(var(--depth, 0px) + 6px));
  }
}

@media (max-width: 767.98px) {
  .card-orbit {
    min-height: 360px;
  }

  .card-visual {
    height: min(65vh, 320px);
  }

  .card-visual.card-front {
    --x-offset: -2%;
    --y-offset: -1%;
  }

  .card-visual.card-back {
    --x-offset: 18%;
    --y-offset: 6%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .card-visual {
    animation: none;
    transition: none;
  }
}

.bg-light-section {
  background-color: #fff;
}

body.dark-mode .bg-light-section {
  background-color: #172828;
}

.feature-card {
  background-color: #fff;
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

body.dark-mode .feature-card {
  background-color: #132424;
  border-color: rgba(255, 255, 255, 0.08);
  color: #e8e8e8;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

body.dark-mode .feature-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, #c99500 100%);
  border: none;
  color: #000 !important;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(181, 137, 0, 0.25);
}

.btn-primary:hover,
.btn-primary:focus {
  background: linear-gradient(135deg, #c99500 0%, var(--primary) 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(181, 137, 0, 0.4);
  color: #000 !important;
}

.btn-secondary {
  background-color: var(--secondary);
  border: 1px solid var(--secondary);
  color: #fff !important;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-secondary:hover,
.btn-secondary:focus {
  background-color: #005555;
  border-color: #005555;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 60, 60, 0.3);
  color: #fff !important;
}

body.dark-mode .btn-secondary {
  background-color: var(--secondary);
  border-color: var(--secondary);
}

body.dark-mode .btn-secondary:hover,
body.dark-mode .btn-secondary:focus {
  background-color: #006666;
  border-color: #006666;
}

.btn-outline-primary {
  color: var(--primary);
  border-color: var(--primary);
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
  background-color: var(--primary);
  border-color: var(--primary);
  color: #000 !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(181, 137, 0, 0.3);
}

.btn-outline-secondary {
  color: var(--secondary);
  border-color: var(--secondary);
  font-weight: 600;
  transition: all 0.3s ease;
}

body.dark-mode .btn-outline-secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-outline-secondary:hover,
.btn-outline-secondary:focus {
  background-color: var(--secondary);
  border-color: var(--secondary);
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 60, 60, 0.3);
}

body.dark-mode .btn-outline-secondary:hover,
body.dark-mode .btn-outline-secondary:focus {
  background-color: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff !important;
}

.bg-accent {
  background-color: var(--accent) !important;
}

.isyeri-card {
  border: 1px solid rgba(0, 0, 0, 0.05);
  background-color: #fff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

body.dark-mode .isyeri-card {
  background-color: #132424;
  border-color: rgba(255, 255, 255, 0.08);
  color: #e8e8e8;
}

.isyeri-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

body.dark-mode .isyeri-card:hover {
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.logo-placeholder {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background-color: rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: var(--secondary);
}

body.dark-mode .logo-placeholder {
  background-color: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.footer-section {
  background: #081212;
}

.footer-logo {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background-color: var(--primary);
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.card {
  border-radius: 1rem;
  transition: all 0.3s ease;
}

body.dark-mode h1,
body.dark-mode h2,
body.dark-mode h3,
body.dark-mode h4,
body.dark-mode h5,
body.dark-mode h6 {
  color: #f5f5f5;
}

body.dark-mode .text-secondary {
  color: rgba(232, 232, 232, 0.75) !important;
}

body.dark-mode .hero-section,
body.dark-mode .card-showcase-section {
  color: #f5f5f5;
}

body.dark-mode .hero-section .text-muted,
body.dark-mode .hero-section p,
body.dark-mode .card-showcase-section .text-muted,
body.dark-mode .card-showcase-section p,
body.dark-mode .card-showcase-section li {
  color: rgba(232, 232, 232, 0.8) !important;
}

body.dark-mode .hero-section h1,
body.dark-mode .card-showcase-section h2 {
  color: #fff;
}

body.dark-mode .text-muted {
  color: rgba(232, 232, 232, 0.7) !important;
}

body.dark-mode .text-dark {
  color: #e8e8e8 !important;
}

body.dark-mode .bg-white {
  background-color: #132424 !important;
}

body.dark-mode .border {
  border-color: rgba(255, 255, 255, 0.1) !important;
}

.accordion-button:focus {
  box-shadow: none;
}

.accordion-button:not(.collapsed) {
  background-color: rgba(var(--primary-rgb), 0.1);
  color: var(--primary);
}

body.dark-mode .accordion-button:not(.collapsed) {
  background-color: rgba(181, 137, 0, 0.15);
  color: var(--primary);
}

body.dark-mode .accordion-item {
  background-color: #132424;
  color: #e8e8e8;
  border-color: rgba(255, 255, 255, 0.08);
}

body.dark-mode .accordion-button {
  background-color: #132424;
  color: #e8e8e8;
}

body.dark-mode .accordion-body {
  background-color: #0f1a1a;
  color: #e8e8e8;
}

body.dark-mode .card {
  background-color: #132424;
  color: #e8e8e8;
  border-color: rgba(255, 255, 255, 0.08);
}

.carousel-item {
  background: transparent;
}

body.dark-mode .carousel-item {
  background: transparent;
}

.form-control,
.form-select {
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(181, 137, 0, 0.15);
}

body.dark-mode .form-control,
body.dark-mode .form-select {
  background-color: #1a2a2a;
  border-color: rgba(255, 255, 255, 0.15);
  color: #e8e8e8;
}

body.dark-mode .form-control:focus,
body.dark-mode .form-select:focus {
  background-color: #1f3030;
  border-color: var(--primary);
  color: #e8e8e8;
}

body.dark-mode .form-control::placeholder {
  color: rgba(232, 232, 232, 0.5);
}

body.dark-mode .form-label {
  color: #e8e8e8;
}

.form-check-input:checked {
  background-color: var(--secondary);
  border-color: var(--secondary);
}

.table {
  transition: all 0.3s ease;
}

.table thead {
  background-color: rgba(0, 0, 0, 0.03);
}

body.dark-mode .table {
  color: #e8e8e8;
  border-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode .table thead {
  background-color: rgba(255, 255, 255, 0.05);
}

body.dark-mode .table tbody tr {
  border-color: rgba(255, 255, 255, 0.08);
}

body.dark-mode .table-striped tbody tr:nth-of-type(odd) {
  background-color: rgba(255, 255, 255, 0.02);
}

body.dark-mode .table-hover tbody tr:hover {
  background-color: rgba(181, 137, 0, 0.08);
  color: #f5f5f5;
}

.smooth-scroll {
  scroll-behavior: smooth;
}

/* ===================== ADDITIONAL COMPONENTS ===================== */

/* Modal Styling */
body.dark-mode .modal-content {
  background-color: #132424;
  color: #e8e8e8;
  border-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode .modal-header {
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode .modal-footer {
  border-top-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode .btn-close {
  filter: invert(1) grayscale(100%) brightness(200%);
}

/* Badge Styling */
.badge {
  font-weight: 600;
  padding: 0.4em 0.8em;
}

/* Alert Styling */
body.dark-mode .alert {
  border-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode .alert-primary {
  background-color: rgba(181, 137, 0, 0.2);
  color: var(--primary);
  border-color: rgba(181, 137, 0, 0.3);
}

body.dark-mode .alert-secondary {
  background-color: rgba(0, 60, 60, 0.2);
  color: #5fd3d3;
  border-color: rgba(0, 60, 60, 0.3);
}

body.dark-mode .alert-success {
  background-color: rgba(25, 135, 84, 0.2);
  color: #75e0a8;
  border-color: rgba(25, 135, 84, 0.3);
}

body.dark-mode .alert-danger {
  background-color: rgba(220, 53, 69, 0.2);
  color: #f08891;
  border-color: rgba(220, 53, 69, 0.3);
}

body.dark-mode .alert-warning {
  background-color: rgba(255, 193, 7, 0.2);
  color: #ffd454;
  border-color: rgba(255, 193, 7, 0.3);
}

body.dark-mode .alert-info {
  background-color: rgba(13, 202, 240, 0.2);
  color: #66e6ff;
  border-color: rgba(13, 202, 240, 0.3);
}

/* Dropdown Styling */
body.dark-mode .dropdown-menu {
  background-color: #132424;
  border-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode .dropdown-item {
  color: #e8e8e8;
}

body.dark-mode .dropdown-item:hover,
body.dark-mode .dropdown-item:focus {
  background-color: rgba(181, 137, 0, 0.15);
  color: var(--primary);
}

body.dark-mode .dropdown-divider {
  border-top-color: rgba(255, 255, 255, 0.1);
}

/* Pagination Styling */
body.dark-mode .pagination .page-link {
  background-color: #132424;
  border-color: rgba(255, 255, 255, 0.1);
  color: #e8e8e8;
}

body.dark-mode .pagination .page-link:hover {
  background-color: rgba(181, 137, 0, 0.15);
  border-color: rgba(181, 137, 0, 0.3);
  color: var(--primary);
}

body.dark-mode .pagination .page-item.active .page-link {
  background-color: var(--primary);
  border-color: var(--primary);
  color: #000;
}

body.dark-mode .pagination .page-item.disabled .page-link {
  background-color: #0a1414;
  border-color: rgba(255, 255, 255, 0.05);
  color: rgba(232, 232, 232, 0.4);
}

/* Breadcrumb Styling */
body.dark-mode .breadcrumb {
  background-color: transparent;
}

body.dark-mode .breadcrumb-item+.breadcrumb-item::before {
  color: rgba(232, 232, 232, 0.5);
}

body.dark-mode .breadcrumb-item.active {
  color: rgba(232, 232, 232, 0.7);
}

/* List Group Styling */
body.dark-mode .list-group-item {
  background-color: #132424;
  border-color: rgba(255, 255, 255, 0.1);
  color: #e8e8e8;
}

body.dark-mode .list-group-item:hover {
  background-color: rgba(181, 137, 0, 0.08);
}

body.dark-mode .list-group-item.active {
  background-color: var(--primary);
  border-color: var(--primary);
  color: #000;
}

/* Progress Bar Styling */
body.dark-mode .progress {
  background-color: rgba(255, 255, 255, 0.1);
}

/* Spinner Styling */
body.dark-mode .spinner-border,
body.dark-mode .spinner-grow {
  color: var(--primary);
}

/* Toast Styling */
body.dark-mode .toast {
  background-color: #132424;
  border-color: rgba(255, 255, 255, 0.1);
  color: #e8e8e8;
}

body.dark-mode .toast-header {
  background-color: #0f1a1a;
  border-bottom-color: rgba(255, 255, 255, 0.1);
  color: #e8e8e8;
}

/* Offcanvas Styling */
body.dark-mode .offcanvas {
  background-color: #0f1a1a;
  color: #e8e8e8;
}

body.dark-mode .offcanvas-header {
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

/* Tooltip & Popover */
body.dark-mode .tooltip-inner {
  background-color: #1a2a2a;
  color: #e8e8e8;
}

body.dark-mode .bs-tooltip-auto[data-popper-placement^="top"] .tooltip-arrow::before,
body.dark-mode .bs-tooltip-top .tooltip-arrow::before {
  border-top-color: #1a2a2a;
}

body.dark-mode .bs-tooltip-auto[data-popper-placement^="right"] .tooltip-arrow::before,
body.dark-mode .bs-tooltip-end .tooltip-arrow::before {
  border-right-color: #1a2a2a;
}

body.dark-mode .bs-tooltip-auto[data-popper-placement^="bottom"] .tooltip-arrow::before,
body.dark-mode .bs-tooltip-bottom .tooltip-arrow::before {
  border-bottom-color: #1a2a2a;
}

body.dark-mode .bs-tooltip-auto[data-popper-placement^="left"] .tooltip-arrow::before,
body.dark-mode .bs-tooltip-start .tooltip-arrow::before {
  border-left-color: #1a2a2a;
}

body.dark-mode .popover {
  background-color: #132424;
  border-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode .popover-header {
  background-color: #0f1a1a;
  border-bottom-color: rgba(255, 255, 255, 0.1);
  color: #e8e8e8;
}

body.dark-mode .popover-body {
  color: #e8e8e8;
}

/* Selection Colors */
::selection {
  background-color: var(--primary);
  color: #000;
}

body.dark-mode ::selection {
  background-color: var(--primary);
  color: #000;
}

/* Scrollbar Styling (Webkit browsers) */
::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.05);
}

::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 0, 0, 0.3);
}

body.dark-mode ::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
}

body.dark-mode ::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
}

body.dark-mode ::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* Focus Visible States */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* Utility Classes */
.shadow-lg {
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175) !important;
}

body.dark-mode .shadow-lg {
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.5) !important;
}

.shadow {
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

body.dark-mode .shadow {
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.4) !important;
}

.shadow-sm {
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
}

body.dark-mode .shadow-sm {
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.3) !important;
}

/* Link Colors */
a {
  color: var(--secondary);
  text-decoration: none;
  transition: all 0.2s ease;
}

a:hover {
  color: var(--primary);
}

body.dark-mode a {
  color: #5fd3d3;
}

body.dark-mode a:hover {
  color: var(--primary);
}

/* HR Styling */
hr {
  border-top-color: rgba(0, 0, 0, 0.1);
}

body.dark-mode hr {
  border-top-color: rgba(255, 255, 255, 0.1);
}

/* ===================== ADVANTAGES SECTION ===================== */
.advantages-section {
  background-color: #fff;
  padding: 70px 0;
}

.section-subtitle {
  color: var(--primary);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 2px;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 2.5rem;
}

.advantage-card {
  background: #fff;
  padding: 2.5rem 2rem;
  border-radius: 20px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.02);
  text-align: center;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  height: 100%;
  position: relative;
  overflow: hidden;
}

.advantage-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--primary);
  transform: scaleX(0);
  transition: transform 0.4s ease;
  transform-origin: left;
}

.advantage-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.08);
  border-color: rgba(var(--primary-rgb), 0.2);
}

.advantage-card:hover::before {
  transform: scaleX(1);
}

.advantage-icon {
  width: 70px;
  height: 70px;
  background-color: rgba(var(--primary-rgb), 0.1);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 2rem;
  transition: all 0.4s ease;
}

.advantage-card:hover .advantage-icon {
  background-color: var(--primary);
  color: #fff;
  transform: rotateY(360deg);
}

.advantage-card h4 {
  color: var(--secondary);
  font-weight: 700;
  margin-bottom: 1.2rem;
  font-size: 1.6rem;
}

.advantage-card p {
  color: #6c757d;
  line-height: 1.8;
  font-size: 1.05rem;
  margin-bottom: 0;
}

/* ===================== EXPLORE SECTION ===================== */
.explore-section {
  background-color: #E7E4D3BD;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.explore-container {
  max-width: 800px;
  margin: 0 auto 4rem;
}

.explore-visual-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  margin-top: 2rem;
}

.explore-circle-frame {
  position: relative;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0) 70%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.explore-circle-frame::after {
  content: "";
  position: absolute;
  inset: -20px;
  border: 1px dashed rgba(var(--primary-rgb), 0.3);
  border-radius: 50%;
  animation: rotate 60s linear infinite;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.explore-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  z-index: 1;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.15));
}

.floating-label {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 1rem 1.25rem;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  gap: 1rem;
  z-index: 5;
  white-space: nowrap;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.floating-label:hover {
  transform: translateY(-5px) scale(1.03);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.12);
  background: #fff;
}

.floating-label i {
  color: #FFD700;
  font-size: 1.2rem;
  filter: drop-shadow(0 2px 4px rgba(255, 215, 0, 0.3));
}

.floating-label span {
  font-weight: 600;
  color: var(--secondary);
  font-size: 0.95rem;
}

.label-top-right {
  top: 5%;
  right: -15%;
}

.label-mid-left {
  top: 40%;
  left: -25%;
}

.label-bottom-center {
  bottom: 0%;
  left: 50%;
  transform: translateX(-50%);
}

.label-bottom-center:hover {
  transform: translateX(-50%) translateY(-5px) scale(1.03);
}

@media (max-width: 1199.98px) {
  .label-top-right {
    right: -5%;
  }

  .label-mid-left {
    left: -10%;
  }
}

@media (max-width: 991.98px) {
  .explore-section {
    padding: 80px 0;
  }

  .explore-circle-frame {
    width: 380px;
    height: 380px;
  }

  .floating-label {
    padding: 1rem 1.25rem;
    font-size: 0.9rem;
  }

  .label-top-right {
    top: -10%;
    right: 0;
  }

  .label-mid-left {
    top: 30%;
    left: -5%;
  }

  .label-bottom-center {
    bottom: -10%;
  }
}

body.dark-mode .explore-section {
  background-color: #1a2a2a;
}

body.dark-mode .floating-label {
  background: rgba(19, 36, 36, 0.9);
  border-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode .floating-label span {
  color: #e8e8e8;
}

body.dark-mode .advantages-section {
  background-color: var(--bg-dark);
}

body.dark-mode .advantage-card {
  background: #132424;
  border-color: rgba(255, 255, 255, 0.08);
}

body.dark-mode .advantage-card h4 {
  color: #fff;
}

body.dark-mode .advantage-card p {
  color: rgba(232, 232, 232, 0.7);
}


/* Custom Navigation */
.carousel-nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 50px;
  gap: 40px;
}

.campaign-control-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 1px solid rgba(var(--primary-rgb), 0.2);
  background: #fff;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

body.dark-mode .campaign-control-btn {
  background: #132424;
  border-color: rgba(255, 255, 255, 0.1);
}

.campaign-control-btn:hover {
  background-color: var(--primary);
  color: #fff;
  transform: scale(1.1);
  box-shadow: 0 8px 25px rgba(var(--primary-rgb), 0.3);
}

.campaign-indicators {
  display: flex;
  align-items: center;
  gap: 12px;
}

.campaign-indicators button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background-color: rgba(var(--primary-rgb), 0.2);
  padding: 0;
  transition: all 0.4s ease;
}

.campaign-indicators button.active {
  width: 45px;
  border-radius: 10px;
  background-color: var(--primary);
}

/* Responsive */
@media (max-width: 991.98px) {
  .campaign-title {
    font-size: 2.5rem;
  }

  .campaign-card {
    flex-direction: column;
    padding: 50px 30px;
    text-align: center;
    min-height: auto;
  }

  .campaign-content {
    max-width: 100%;
    margin-bottom: 50px;
  }

  .campaign-item-title {
    font-size: 3rem;
  }

  .campaign-visual {
    justify-content: center;
    width: 100%;
  }

  .card-stack {
    width: 260px;
    height: 160px;
    margin: 0 auto;
  }

  .stack-img {
    width: 220px;
  }
}

@media (max-width: 575.98px) {
  .campaign-title {
    font-size: 2rem;
  }

  .campaign-card {
    border-radius: 30px;
  }

  .campaign-item-title {
    font-size: 2.2rem;
  }

  .campaign-item-offer {
    font-size: 1.4rem;
  }

  .btn-campaign-cta {
    width: 100%;
    justify-content: center;
  }
}

/* ===================== MEVZUAT SECTION REDESIGN ===================== */
.mevzuat-section {
  background-color: var(--bg-beige);
  padding: 100px 0;
}

body.dark-mode .mevzuat-section {
  background-color: #0d1a1a;
}

.mevzuat-subtitle {
  color: #d4b98d;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 1px;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.mevzuat-title {
  font-size: 3rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 1.5rem;
}

body.dark-mode .mevzuat-title {
  color: #fff;
}

.mevzuat-desc {
  color: #555;
  font-size: 1.1rem;
  max-width: 650px;
  line-height: 1.6;
}

body.dark-mode .mevzuat-desc {
  color: rgba(232, 232, 232, 0.8);
}

.custom-accordion {
  border: none;
}

.mevzuat-item {
  background-color: #fff !important;
  border: none !important;
  border-radius: 24px !important;
  margin-bottom: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  overflow: hidden;
  transition: all 0.3s ease;
}

body.dark-mode .mevzuat-item {
  background-color: #132424 !important;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
}

.mevzuat-item .accordion-button {
  background-color: #fff !important;
  color: #1a1a1a !important;
  font-weight: 600;
  font-size: 1.1rem;
  padding: 25px 30px;
  border-radius: 24px !important;
  box-shadow: none !important;
}

body.dark-mode .mevzuat-item .accordion-button {
  background-color: #132424 !important;
  color: #fff !important;
}

.mevzuat-item .accordion-button:not(.collapsed) {
  color: var(--primary) !important;
}

.mevzuat-item .accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23999'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
  background-size: 1.2rem;
  transition: transform 0.3s ease;
}

.mevzuat-item .accordion-body {
  padding: 0 30px 25px;
  color: #666;
  line-height: 1.6;
}

body.dark-mode .mevzuat-item .accordion-body {
  color: rgba(232, 232, 232, 0.8);
}

/* ===================== CTA SECTION WHITE ===================== */
.cta-section-white {
  background-color: #fff;
  padding: 100px 0;
}

body.dark-mode .cta-section-white {
  background-color: var(--bg-dark);
}

.cta-title {
  font-size: 3.5rem;
  font-weight: 700;
  color: #1a1a1a;
}

body.dark-mode .cta-title {
  color: #fff;
}

.cta-desc {
  font-size: 1.25rem;
  color: #666;
}

body.dark-mode .cta-desc {
  color: rgba(232, 232, 232, 0.8);
}

.btn-premium {
  padding: 1rem 3rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-olive {
  background-color: #b4b094;
  color: #fff !important;
}

.btn-olive:hover {
  background-color: #a39f83;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(180, 176, 148, 0.3);
}

.btn-gold-outline {
  background-color: transparent;
  color: #d4b98d !important;
  border: 2px solid #d4b98d;
}

.btn-gold-outline:hover {
  background-color: #d4b98d;
  color: #fff !important;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(212, 185, 141, 0.2);
}

/* ===================== FOOTER WHITE ===================== */
.footer-white {
  background-color: #fff;
  color: #1a1a1a;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  position: relative;
}

.footer-white::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  opacity: 0.4;
}

body.dark-mode .footer-white {
  background-color: var(--bg-dark);
  color: #fff;
}

.footer-logo-img {
  width: 50%;
}

.brand-unit {
  font-size: 0.9rem;
  color: #666;
}

body.dark-mode .brand-unit {
  color: rgba(232, 232, 232, 0.7);
}

.footer-title {
  color: #d4b98d;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  letter-spacing: 0.5px;
}

.footer-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

@media (max-width: 991.98px) {
  .footer-white [class^="col-"] {
    text-align: center;
  }

  .footer-brand-stack,
  .footer-socials,
  .footer-list {
    align-items: center;
    justify-content: center;
  }

  .footer-list li.d-flex {
    justify-content: center;
  }
}

.footer-list li,
.footer-list a {
  color: #666;
  text-decoration: none;
  transition: color 0.3s ease;
}

body.dark-mode .footer-list li,
body.dark-mode .footer-list a {
  color: rgba(232, 232, 232, 0.8);
}

.footer-list a:hover {
  color: var(--primary);
  padding-left: 5px;
}

.footer-socials a {
  color: #999;
  font-size: 1.4rem;
  transition: color 0.3s ease;
}

.footer-socials a:hover {
  color: var(--primary);
  transform: translateY(-3px) scale(1.1);
}

.footer-about {
  color: #666;
  line-height: 1.6;
  font-size: 0.95rem;
}

body.dark-mode .footer-about {
  color: rgba(232, 232, 232, 0.8);
}

.footer-hr {
  opacity: 0.1;
  border-color: #000;
}

body.dark-mode .footer-hr {
  opacity: 0.1;
  border-color: #fff;
}

/* ===================== CARD DETAILS SECTION ===================== */
.card-details-section {
  background-color: var(--bg-beige, #f5f2e9);
  transition: background-color 0.3s ease;
}

body.dark-mode .card-details-section {
  background-color: #0d1a1a;
}

.info-card {
  background-color: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 1.25rem;
  padding: 2.2rem 2rem;
  height: 100%;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

body.dark-mode .info-card {
  background-color: #132424;
  border-color: rgba(255, 255, 255, 0.06);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.info-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.info-card:hover::before {
  opacity: 1;
}

.info-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

body.dark-mode .info-card:hover {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
}

.info-card.highlight-card {
  background: linear-gradient(145deg, #ffffff 0%, #fdfcf7 100%);
  border: 1px solid rgba(var(--primary-rgb), 0.15);
}

body.dark-mode .info-card.highlight-card {
  background: linear-gradient(145deg, #132424 0%, #0d1e1e 100%);
  border-color: rgba(var(--primary-rgb), 0.25);
}

.info-card-icon-wrapper {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background-color: rgba(var(--primary-rgb), 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.info-card:hover .info-card-icon-wrapper {
  background-color: var(--primary);
  transform: scale(1.1) rotate(5deg);
}

.info-card-icon {
  font-size: 1.6rem;
  color: var(--primary);
  transition: color 0.3s ease;
}

.info-card:hover .info-card-icon {
  color: #ffffff;
}

.info-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 0.8rem;
}

body.dark-mode .info-card-title {
  color: #ffffff;
}

.info-card-desc {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #555;
  margin-bottom: 0;
}

body.dark-mode .info-card-desc {
  color: rgba(232, 232, 232, 0.75);
}