body {
  background-color: #ffffff;
  color: #333333;
  font-family: 'Inter', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
}

.navbar {
  background-color: #ffffff !important;
  border-bottom: 1px solid #eaeaea;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  padding: 15px 0;
  transition: all 0.3s ease;
}

.navbar-brand img {
  background-color: transparent;
  border-radius: 5px;
}

.navbar-nav .nav-link {
  color: #555555 !important;
  font-weight: 500;
  text-transform: uppercase;
  font-size: 0.9rem;
  margin: 0 8px;
  transition: color 0.3s, transform 0.3s;
}

.navbar-nav .nav-link.active,
.navbar-nav .nav-link:hover {
  font-weight: 600;
  color: #8e6bfd !important;
  transform: translateY(-2px);
}

.navbar-nav .dropdown-menu {
  border: 1px solid #eaeaea;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(142, 107, 253, 0.12);
  padding: 8px 0;
}

.navbar-nav .dropdown-item {
  color: #555555;
  font-size: 0.88rem;
  padding: 8px 20px;
  transition: background 0.2s, color 0.2s;
}

.navbar-nav .dropdown-item:hover {
  background-color: #f0ebff;
  color: #8e6bfd;
}

.lang-button {
  color: #666666;
  cursor: pointer;
  text-decoration: none;
  padding: 4px 8px;
  border-radius: 4px;
  transition: all 0.2s;
  font-weight: 600;
}

.lang-button.active-lang {
  color: #ffffff;
  background-color: #8e6bfd;
}

.lang-button:not(.active-lang):hover {
  color: #8e6bfd;
  background-color: #f0ebff;
}

.carousel-item img {
  width: 100%;
  height: calc(100vh - 76px);
  height: calc(100dvh - 76px);
  min-height: 320px;
  object-fit: cover;
  margin-top: 76px;
}

.carousel-item::after {
  content: "";
  position: absolute;
  top: 76px;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.7) 0%,
    rgba(0, 0, 0, 0) 65%
  );
  z-index: 1;
  pointer-events: none;
}

.carousel-caption {
  bottom: 20%;
  z-index: 2;
  background-color: rgba(255, 255, 255, 0.8) !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  padding: 2.5rem;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  text-align: left;
  max-width: 600px;
  left: 10%;
}

.carousel-caption h3 {
  color: #8e6bfd !important;
  font-weight: 700;
  font-size: 2rem;
  margin-bottom: 15px;
}

.carousel-caption .slogan-tag {
  display: inline-block;
  background-color: #f0ebff;
  color: #8e6bfd;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 20px;
  padding: 4px 14px;
  margin-bottom: 14px;
}

.carousel-caption p {
  color: #444444 !important;
  font-size: 1.1rem;
  margin-bottom: 0;
}

@media (max-width: 992px) {
  .carousel-caption { left: 5%; right: 5%; bottom: 10%; padding: 1.5rem; }
}

@media (max-width: 767.98px) {
  .carousel-caption {
    display: block !important;
    left: 0;
    right: 0;
    bottom: 0;
    max-width: none;
    padding: 1rem 1.25rem;
    border-radius: 0;
    background-color: rgba(20, 16, 30, 0.8) !important;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
  }

  .carousel-caption .slogan-tag {
    display: none;
  }

  .carousel-caption h3 {
    color: #ffffff !important;
    font-size: 1.05rem;
    margin-bottom: 4px;
  }

  .carousel-caption p {
    color: #eae7f2 !important;
    font-size: 0.82rem;
    margin-bottom: 0;
  }
}

h1.display-3, h2 {
  color: #8e6bfd !important;
  font-weight: 700;
  position: relative;
  padding-bottom: 15px;
  margin-bottom: 40px;
}

h1.display-3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #8e6bfd;
  border-radius: 2px;
}

.container.my-5 {
  padding: 60px 0;
}

.card {
  border: 1px solid #eaeaea;
  border-radius: 12px;
  background-color: #ffffff;
  color: #444444;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(142, 107, 253, 0.15);
}

.card-body {
  padding: 1.5rem;
}

.card img {
  transition: transform 0.5s ease-in-out;
}

.card:hover img {
  transform: scale(1.05);
}

.gallery-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.bg-light {
  background-color: #f8f9fa !important;
  border: 1px solid #f0f0f0;
}

.btn-warning {
  background-color: #8e6bfd;
  border-color: #8e6bfd;
  color: white;
  font-weight: 600;
  padding: 8px 25px;
  border-radius: 25px;
  transition: all 0.3s ease;
}

.btn-warning:hover {
  background-color: #6b4de0;
  border-color: #6b4de0;
  color: white;
  box-shadow: 0 4px 10px rgba(142, 107, 253, 0.3);
}

.accordion-item {
  background-color: #ffffff !important;
  border: 1px solid #eaeaea !important;
  border-radius: 8px !important;
  margin-bottom: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.accordion-header .accordion-button {
  background-color: #f8f9fa !important;
  color: #333333 !important;
  font-weight: 600;
  padding: 1.2rem;
  box-shadow: none !important;
}

.accordion-header .accordion-button:focus {
  border-color: #8e6bfd;
  box-shadow: 0 0 0 0.25rem rgba(142, 107, 253, 0.2);
}

.accordion-header .accordion-button:not(.collapsed) {
  border-bottom: 1px solid #eaeaea;
  color: #8e6bfd !important;
  background-color: #f0ebff !important;
}

.accordion-body {
  background-color: #ffffff !important;
  color: #555555 !important;
  line-height: 1.8;
}

.accordion-body strong {
  color: #8e6bfd !important;
}

#accordionExample {
  border: none;
  padding: 0;
}

.modal-content.bg-dark {
  background-color: #ffffff !important;
  color: #333333 !important;
}

.modal-header.border-success, .modal-footer.border-success {
  border-color: #eaeaea !important;
}

.modal-title.text-success {
  color: #8e6bfd !important;
  font-weight: bold;
}

.btn-close-white {
  filter: invert(1) grayscale(100%) brightness(200%);
}

footer {
  background: #f8f9fa;
  border-top: 1px solid #eaeaea;
  color: #555555;
}

footer p {
  color: #777777;
  font-weight: 500;
}

.floating-socials {
  position: fixed;
  right: 25px;
  bottom: 25px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 1000;
}

.floating-btn {
  width: 55px;
  height: 55px;
  background-color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.floating-btn img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.floating-btn:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 8px 25px rgba(142, 107, 253, 0.3);
}

.trust-panel {
  background-color: #fafafa;
  border-top: 1px solid #eaeaea;
  border-bottom: 1px solid #eaeaea;
  padding: 30px 0;
}

.trust-panel .label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #aaaaaa;
  white-space: nowrap;
}

.trust-panel .partner-logo {
  height: 36px;
  object-fit: contain;
  filter: grayscale(100%) opacity(0.55);
  transition: filter 0.3s ease;
}

.trust-panel .partner-logo:hover {
  filter: grayscale(0%) opacity(1);
}

.trust-panel .partner-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: #888888;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color 0.3s;
}

.trust-panel .partner-name:hover {
  color: #8e6bfd;
}

.stats-section {
  background: linear-gradient(135deg, #8e6bfd 0%, #6b4de0 100%);
  padding: 60px 0;
}

.stats-section .stat-item {
  text-align: center;
  color: #ffffff;
  padding: 20px;
}

.stats-section .stat-number {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.stats-section .stat-number span {
  font-size: 2rem;
  font-weight: 700;
}

.stats-section .stat-label {
  font-size: 0.95rem;
  font-weight: 500;
  opacity: 0.88;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.stats-section .stat-divider {
  width: 1px;
  background-color: rgba(255, 255, 255, 0.25);
  align-self: stretch;
  margin: 10px 0;
}

.expert-form-section {
  background-color: #f8f6ff;
  border-top: 1px solid #ede8ff;
  border-bottom: 1px solid #ede8ff;
  padding: 70px 0;
}

.expert-form-section .form-control,
.expert-form-section .form-select {
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 0.95rem;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.expert-form-section .form-control:focus,
.expert-form-section .form-select:focus {
  border-color: #8e6bfd;
  box-shadow: 0 0 0 0.2rem rgba(142, 107, 253, 0.18);
}

.expert-form-section .btn-submit {
  background-color: #8e6bfd;
  border: none;
  color: #fff;
  font-weight: 700;
  padding: 12px 36px;
  border-radius: 30px;
  font-size: 1rem;
  transition: background 0.3s, box-shadow 0.3s;
}

.expert-form-section .btn-submit:hover {
  background-color: #6b4de0;
  box-shadow: 0 6px 18px rgba(142, 107, 253, 0.35);
}

.expert-form-section .form-success {
  display: none;
  background-color: #edfbf2;
  border: 1px solid #6dd49a;
  border-radius: 10px;
  padding: 20px;
  color: #1e7e45;
  font-weight: 600;
  text-align: center;
}

.footer-bio {
  font-size: 0.88rem;
  color: #888888;
  line-height: 1.7;
  max-width: 360px;
}

.footer-heading {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8e6bfd;
  margin-bottom: 14px;
}

.footer-links a {
  display: block;
  color: #666666;
  text-decoration: none;
  font-size: 0.9rem;
  margin-bottom: 7px;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #8e6bfd;
}

.footer-rekvizit {
  font-size: 0.82rem;
  color: #999999;
  line-height: 1.75;
}

.footer-rekvizit strong {
  color: #8e6bfd;
}

@media (max-width: 767.98px) {
  .stats-section .stat-divider { display: none; }
  .stats-section .stat-number { font-size: 2.2rem; }
}

/* Below: classes replacing former inline style="" attributes */

.text-brand {
  color: #8e6bfd;
}

.divider-vr {
  height: 30px;
  opacity: .2;
}

.board-photo {
  width: 90px;
  height: 90px;
  object-fit: cover;
}

.avatar-circle {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: #f0ebff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.partner-card-link {
  cursor: pointer;
}

.partner-logo-img {
  max-width: 150px;
}

.footer-phone-link {
  color: #8e6bfd;
  text-decoration: none;
}

.footer-hr {
  border-color: #eaeaea;
}

.form-error {
  border-color: #e35d5d;
  background-color: #fdecec;
  color: #a12626;
}

.theme-toggle-btn {
  background: transparent;
  border: 1px solid #eaeaea;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  padding: 0;
}

.theme-toggle-btn:hover {
  background-color: #f0ebff;
  border-color: #8e6bfd;
}

/* =====================================================================
   GECƏ REJİMİ (dark mode) — html[data-theme="dark"] JS ilə təyin olunur,
   seçim localStorage-də saxlanılır (bax js/script.js)
   ===================================================================== */

html[data-theme="dark"] body {
  background-color: #131117;
  color: #d8d5e2;
}

html[data-theme="dark"] .navbar {
  background-color: #1a1822 !important;
  border-bottom-color: #2a2733;
}

html[data-theme="dark"] .navbar-nav .nav-link {
  color: #c4c0d4 !important;
}

html[data-theme="dark"] .navbar-nav .dropdown-menu {
  background-color: #1e1b26;
  border-color: #2a2733;
}

html[data-theme="dark"] .navbar-nav .dropdown-item {
  background-color: transparent;
  color: #c4c0d4;
}

html[data-theme="dark"] .navbar-nav .dropdown-item:hover {
  background-color: #2a2536;
  color: #a58bff;
}

html[data-theme="dark"] .lang-button {
  color: #a8a4b8;
}

html[data-theme="dark"] .lang-button:not(.active-lang):hover {
  background-color: #2a2536;
  color: #a58bff;
}

html[data-theme="dark"] .theme-toggle-btn {
  border-color: #2a2733;
  color: #d8d5e2;
}

html[data-theme="dark"] .theme-toggle-btn:hover {
  background-color: #2a2536;
  border-color: #a58bff;
}

html[data-theme="dark"] .carousel-caption {
  background-color: rgba(26, 24, 34, 0.8) !important;
  border-color: rgba(255, 255, 255, 0.08);
}

html[data-theme="dark"] .carousel-caption p {
  color: #cfc9de !important;
}

html[data-theme="dark"] .trust-panel {
  background-color: #17151d;
  border-color: #2a2733;
}

html[data-theme="dark"] .trust-panel .partner-name {
  color: #9d99ad;
}

html[data-theme="dark"] h1.display-3,
html[data-theme="dark"] h2 {
  color: #a58bff !important;
}

html[data-theme="dark"] .card {
  background-color: #1c1a24;
  border-color: #2a2733;
  color: #c4c0d4;
}

html[data-theme="dark"] .bg-light {
  background-color: #17151d !important;
  border-color: #2a2733;
}

html[data-theme="dark"] .text-muted {
  color: #918dab !important;
}

html[data-theme="dark"] .accordion-item {
  background-color: #1c1a24 !important;
  border-color: #2a2733 !important;
}

html[data-theme="dark"] .accordion-header .accordion-button {
  background-color: #1c1a24 !important;
  color: #d8d5e2 !important;
}

html[data-theme="dark"] .accordion-header .accordion-button:not(.collapsed) {
  background-color: #2a2536 !important;
  color: #a58bff !important;
  border-bottom-color: #2a2733;
}

html[data-theme="dark"] .accordion-body {
  background-color: #1c1a24 !important;
  color: #c4c0d4 !important;
}

html[data-theme="dark"] .modal-content {
  background-color: #1c1a24;
  color: #d8d5e2;
}

html[data-theme="dark"] .modal-header.border-bottom,
html[data-theme="dark"] .modal-footer.border-top {
  border-color: #2a2733 !important;
}

html[data-theme="dark"] .btn-close {
  filter: invert(1) grayscale(100%) brightness(200%);
}

html[data-theme="dark"] footer {
  background: #17151d;
  border-top-color: #2a2733;
  color: #c4c0d4;
}

html[data-theme="dark"] footer p {
  color: #9d99ad;
}

html[data-theme="dark"] .footer-links a {
  color: #b3aec4;
}

html[data-theme="dark"] .footer-rekvizit {
  color: #9d99ad;
}

html[data-theme="dark"] .footer-hr {
  border-color: #2a2733;
}

html[data-theme="dark"] .floating-btn {
  background-color: #1c1a24;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

html[data-theme="dark"] .avatar-circle {
  background: #2a2536;
}

html[data-theme="dark"] .divider-vr {
  background-color: rgba(255, 255, 255, 0.15);
}

html[data-theme="dark"] .expert-form-section {
  background-color: #17151d;
  border-color: #2a2733;
}

html[data-theme="dark"] .expert-form-section .form-control,
html[data-theme="dark"] .expert-form-section .form-select {
  background-color: #1c1a24;
  border-color: #2a2733;
  color: #d8d5e2;
}

html[data-theme="dark"] .expert-form-section .form-control::placeholder {
  color: #726d84;
}

html[data-theme="dark"] .expert-form-section .form-success {
  background-color: #143024;
  border-color: #1e6d47;
  color: #6fd9a3;
}

html[data-theme="dark"] .form-error {
  background-color: #3a1818;
  border-color: #8a3232;
  color: #f0a3a3;
}

html[data-theme="dark"] .card-text.text-muted,
html[data-theme="dark"] .form-text {
  color: #918dab !important;
}

/* =====================================================================
   SCROLL REVEAL ANİMASİYALARI
   ===================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.row > .col:nth-child(2) .reveal { transition-delay: 0.08s; }
.row > .col:nth-child(3) .reveal { transition-delay: 0.16s; }
.row > .col:nth-child(4) .reveal { transition-delay: 0.24s; }
.row > .col:nth-child(5) .reveal { transition-delay: 0.32s; }
.row > .col:nth-child(6) .reveal { transition-delay: 0.4s; }

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* =====================================================================
   QALEREYA LIGHTBOX (tam ekran şəkil görünüşü)
   ===================================================================== */

.gallery-img,
.modal-body img.img-fluid {
  cursor: zoom-in;
}

.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 8, 16, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 40px;
}

.lightbox-overlay.active {
  display: flex;
}

.lightbox-image {
  max-width: 92%;
  max-height: 88%;
  border-radius: 10px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 28px;
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 2.2rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0.85;
  transition: opacity 0.2s;
}

.lightbox-close:hover {
  opacity: 1;
}

/* =====================================================================
   YUXARI QAYIT DÜYMƏSİ
   ===================================================================== */

.back-to-top-btn {
  position: fixed;
  left: 25px;
  bottom: 25px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background-color: #8e6bfd;
  color: #ffffff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease, background-color 0.2s;
  z-index: 999;
}

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

.back-to-top-btn:hover {
  background-color: #6b4de0;
}

html[data-theme="dark"] .back-to-top-btn {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

/* =====================================================================
   NAVİQASİYA SCROLL-SPY (aktiv bölmə işarələnməsi) — .active class-ı
   artıq mövcud .navbar-nav .nav-link.active qaydası ilə eyni görünüşü alır
   ===================================================================== */

.social-icon-svg {
  width: 30px;
  height: 30px;
}

.floating-btn .social-icon-svg {
  width: 26px;
  height: 26px;
}
