@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:wght@500;600;700&family=Poppins:wght@300;400;500;600&display=swap");

:root {
  --primary-color: #0b1c3a; /* Daha dərin və lüks göy */
  --primary-light: #16325c;
  --secondary-color: #d4af37; /* Lüks qızılı (Gold) */
  --secondary-hover: #b5952f;
  --text-color: #4a5568;
  --text-light: #a0aec0;
  --bg-color: #ffffff;
  --bg-light: #f7fafc;
  --border-color: #e2e8f0;
  --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 25px rgba(11, 28, 58, 0.08);
  --shadow-lg: 0 20px 40px rgba(11, 28, 58, 0.12);
  --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);

  --font-heading: "Playfair Display", serif;
  --font-body: "Poppins", sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: var(--font-body);
  text-decoration: none;
}
html,
body {
  max-width: 100vw;
  overflow-x: hidden; /* Sağa-sola sürüşməni bloklayır */
  position: relative;
}
body {
  color: var(--text-color);
  line-height: 1.7;
  background-color: var(--bg-color);
  overflow-x: hidden;
}

/* UTILITY CLASSES */
.container {
  width: 90%;
  max-width: 1250px;
  margin: 0 auto;
}
.flex-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.align-center {
  align-items: center;
}
.text-center {
  text-align: center;
}
.w-100 {
  width: 100%;
}
.gap-50 {
  gap: 50px;
}
.bg-light {
  background-color: var(--bg-light);
}
.bg-dark {
  background-color: var(--primary-color);
}
.text-white {
  color: #fff;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
}

section {
  padding: 100px 0;
}
h1,
h2,
h3,
h4,
.logo h1 {
  font-family: var(--font-heading);
}

/* BÖLMƏ BAŞLIQLARI */
.section-header {
  margin-bottom: 60px;
}
.section-title {
  font-size: 16px;
  color: var(--secondary-color);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
  font-family: var(--font-body);
  margin-bottom: 10px;
  display: block;
}
.section-subtitle {
  font-size: 42px;
  color: var(--primary-color);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
}
.title-line {
  width: 60px;
  height: 3px;
  background: var(--secondary-color);
  margin: 0 auto;
  border-radius: 2px;
}

/* DÜYMƏLƏR */
.btn-primary,
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 32px;
  border-radius: 4px;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.5px;
  text-decoration: none;
  transition: var(--transition);
  border: 2px solid transparent;
  cursor: pointer;
}
.btn-primary {
  background: var(--secondary-color);
  color: #fff;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}
.btn-primary:hover {
  background: var(--secondary-hover);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
}
.btn-outline {
  border-color: #fff;
  color: #fff;
  background: transparent;
}
.btn-outline:hover {
  background: #fff;
  color: var(--primary-color);
}

/* --- HEADER --- */
.header {
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  padding: 25px 0;
  transition: var(--transition);
  background: transparent;
}
.header.scrolled {
  padding: 15px 0;
  background: rgba(11, 28, 58, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-md);
}
.logo h1 {
  font-size: 28px;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo h1 i {
  color: var(--secondary-color);
}
.navbar ul {
  list-style: none;
  display: flex;
  gap: 30px;
  align-items: center;
}
.navbar a {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition);
}
.navbar a:hover {
  color: var(--secondary-color);
}
.navbar .btn-contact {
  border: 1px solid var(--secondary-color);
  padding: 10px 20px;
  border-radius: 4px;
  color: var(--secondary-color);
}
.navbar .btn-contact:hover {
  background: var(--secondary-color);
  color: #fff;
}
.hamburger {
  display: none;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
}

/* --- HERO --- */
.hero {
  background: linear-gradient(
      to right,
      rgba(11, 28, 58, 0.9),
      rgba(11, 28, 58, 0.7)
    ),
    url("https://www.e-huquq.az/media/2023/03/10/herrrrrac_0-1.jpg")
      center/cover fixed;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.hero-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--primary-color);
  opacity: 0;
  z-index: 0;
  pointer-events: none;
}
.hero-content {
  max-width: 900px;
  margin-top: 50px;
  position: relative;
  z-index: 2;
  transition: transform 0.3s ease-out, opacity 0.3s ease-out;
}
.hero-badge {
  display: inline-block;
  background: rgba(212, 175, 55, 0.15);
  color: var(--secondary-color);
  padding: 8px 20px;
  border-radius: 30px;
  border: 1px solid var(--secondary-color);
  font-size: 14px;
  letter-spacing: 1px;
  margin-bottom: 30px;
  text-transform: uppercase;
}
.hero h2 {
  font-size: 64px;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 25px;
}
.hero p {
  font-size: 18px;
  color: #e2e8f0;
  margin-bottom: 40px;
  font-weight: 300;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
}

/* --- HAQQIMIZDA --- */
.about .container {
  position: relative;
  z-index: 2;
}
.about-image-wrapper {
  width: 45%;
  position: relative;
}
.about-img {
  width: 100%;
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  border: 8px solid #fff;
}
.experience-badge {
  position: absolute;
  bottom: -30px;
  right: -30px;
  background: var(--primary-color);
  color: #fff;
  padding: 30px;
  text-align: center;
  border-radius: 50%;
  width: 130px;
  height: 130px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 5px solid #fff;
  box-shadow: var(--shadow-md);
  font-family: var(--font-heading);
}
.experience-badge span {
  font-size: 36px;
  color: var(--secondary-color);
  font-weight: 700;
  line-height: 1;
}
.about-text {
  width: 50%;
}
.check-list {
  list-style: none;
  margin-top: 30px;
}
.check-list li {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
  font-weight: 500;
  color: var(--primary-color);
}
.check-list i {
  color: var(--secondary-color);
  font-size: 18px;
}

/* --- STATİSTİKA --- */
.statistics {
  background: var(--secondary-color);
  padding: 60px 0;
  color: #fff;
}
.stat-item h3 {
  font-size: 48px;
  margin: 10px 0 5px;
  color: var(--primary-color);
}
.stat-item p {
  font-size: 16px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #fff;
  font-family: var(--font-body);
}
.stat-item i {
  font-size: 40px;
  color: rgba(255, 255, 255, 0.8);
}

/* --- XİDMƏTLƏR --- */
.services {
  position: relative;
  overflow: hidden;
}
.services .container {
  position: relative;
  z-index: 2;
}
.service-card {
  background: #fff;
  padding: 40px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0;
  background: var(--primary-color);
  transition: var(--transition);
  z-index: -1;
}
.service-card:hover::before {
  height: 100%;
}
.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-color);
}
.service-card:hover h3,
.service-card:hover p {
  color: #fff;
}
.icon-wrapper {
  width: 70px;
  height: 70px;
  background: rgba(212, 175, 55, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  transition: var(--transition);
}
.service-card:hover .icon-wrapper {
  background: var(--secondary-color);
}
.icon-wrapper i {
  font-size: 30px;
  color: var(--secondary-color);
  transition: var(--transition);
}
.service-card:hover .icon-wrapper i {
  color: #fff;
}
.service-card h3 {
  font-size: 24px;
  color: var(--primary-color);
  margin-bottom: 15px;
  transition: var(--transition);
}

/* --- PARALLAX DİVİDER --- */
.parallax-divider {
  position: relative;
  background-image: url("https://img.nuhcixan.az/news/2021/08/photo_51377.jpg");
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 120px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-color);
}
.parallax-overlay-dark {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(11, 28, 58, 0.95),
    rgba(0, 0, 0, 0.8)
  );
  z-index: 1;
}
.parallax-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}
.parallax-content h2 {
  font-size: 42px;
  margin-bottom: 20px;
  color: #fff;
}
.parallax-content p {
  font-size: 18px;
  color: #ccc;
}
.parallax-icon {
  font-size: 4rem;
  color: var(--secondary-color);
  margin-bottom: 20px;
}
@keyframes floatIcon {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0px);
  }
}

/* ==========================================
   ƏMƏKDAŞLAR / TEAM KARTLARI
   ========================================== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  padding: 40px 0;
}

.team-card {
  background: var(--bg-color);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid var(--border-color);
}

.team-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

/* Şəkil Konteyneri */
.team-img-wrapper {
  position: relative;
  width: 100%;
  height: 380px; /* Vəkillərin şəkilləri üçün optimal hündürlük */
  overflow: hidden;
}

.team-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.team-card:hover .team-img-wrapper img {
  transform: scale(1.08); /* Yumşaq yaxınlaşma effekti */
}

/* Sarı Lent (Vəzifə) - 3D Effektli */
.team-role-ribbon {
  position: absolute;
  bottom: 20px;
  left: -10px;
  background-color: var(--secondary-color); /* Sənin dizayndakı qızılı rəng */
  color: #fff;
  padding: 8px 25px 8px 30px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.05rem;
  border-radius: 0 20px 20px 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
  z-index: 2;
  letter-spacing: 0.5px;
}

/* Lentin arxasındakı 3D qatlanma detalı */
.team-role-ribbon::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 0;
  border-bottom: 10px solid var(--secondary-hover);
  border-left: 10px solid transparent;
}

/* Mətn Konteyneri */
.team-content {
  padding: 30px 25px;
  text-align: center;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  background: var(--bg-light);
}

.team-content h3 {
  color: var(--primary-color);
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.team-content p {
  color: var(--text-color);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 0;
  /* Çox uzun mətnləri 4 sətirlə məhdudlaşdırır və sonuna "..." qoyur */
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* --- NORMAL VƏ YIĞCAM LİDER KARTI --- */
.leader-card {
  display: flex;
  flex-direction: column; /* ƏSAS DƏYİŞİKLİK */
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);

  max-width: 400px;
  margin: 15px auto;
}

.leader-card:hover {
  transform: translateY(-3px);
}

.leader-img-box {
  width: 100%;
  height: 260px;
  overflow: hidden;
}

.leader-img-box img {
  width: 100%;
  margin-top: -60px;
  /* height: 100%; */
  object-fit: scale-down;
}

.leader-info {
  /* Tam sənin istədiyin kimi 40% */
  flex: 0 0 40%;
  padding: 15px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.leader-info h3 {
  font-size: 26px;
  margin-top: 35px;
  color: var(--primary-color);
  margin-bottom: 5px;
  white-space: nowrap;
}

.leader-bio {
  font-size: 13px;
  font-weight: bold;
  color: var(--text-color);
  line-height: 1.4;
  /* Yazı çoxdursa 3 sətirdən sonra kəsir */
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Sağ tərəfdə qalan boşluğa label-ı (vəzifəni) yerləşdiririk */
.leader-label {
  background: var(--secondary-color);
  color: #fff;
  padding: 10px;
  text-align: center;
  font-weight: 600;
  width: 100%;
}

/* ==========================================
   YENİLİKLƏR / XƏBƏRLƏR KARTLARI 
   (Tam düzəldilmiş və birləşdirilmiş versiya)
   ========================================== */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.news-card {
  background: var(--bg-color, #fff);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.news-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--secondary-color);
}

/* Əsas səhifə kartları üçün Slider qismi */
.news-slider {
  position: relative;
  width: 100%;
  height: 250px; /* Kart daxilindəki sabit hündürlük */
  overflow: hidden;
  background: #f8f9fa; /* Şəklin kənarları üçün neytral fon */
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px 8px 0 0;
}

.news-slides {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide-item {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8f9fa; /* Boş qalan hissələr üçün */
}

/* ŞƏKİLLƏRİN TAM GÖRÜNMƏSİ ÜÇÜN ƏSAS HİSSƏ */
.news-slides img,
.slide-item img {
  width: 100%;
  height: 100%;
  /* 'contain' şəkli qırpmadan tam göstərir */
  object-fit: contain;
  display: block;
  /* Əgər şəklin arxası şəffafdırsa və ya kənarları ağdırsa, gözəl görünəcək */
}

/* Detal səhifəsi üçün Slider qismi */
.single-news-main-slider {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  width: 100%;
}

.slide-item.image-contained-detail {
  flex: 0 0 100%;
  width: 100%;
  height: 500px; /* Hündürlük ehtiyaca görə artırıla bilər */
  background-color: #f1f1f1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide-item.image-contained-detail img {
  width: 100%;
  height: 100%;
  object-fit: scale-down; /* Detalda da tam görünsün */
}

/* Slider Oxları */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(11, 28, 58, 0.7);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  color: #fff;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 10;
  font-size: 16px;
  backdrop-filter: blur(5px); /* Daha müasir görünüş üçün */
  -webkit-backdrop-filter: blur(5px);
}

.slider-btn:hover {
  background: var(--secondary-color);
  transform: translateY(-50%) scale(1.1); /* Yumşaq böyümə effekti */
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

.slider-btn-prev {
  left: 15px;
}

.slider-btn-next {
  right: 15px;
}

/* Məzmun Qismi */
.news-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.news-date {
  font-size: 13px;
  color: var(--secondary-color);
  font-weight: 600;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.news-content h3 {
  font-size: 1.3rem;
  color: var(--primary-color);
  margin-bottom: 10px;
  line-height: 1.4;
  transition: color 0.3s ease;
}

/* Karta gəldikdə başlığın rəngini dəyişərək interaktivliyi artırırıq */
.news-card:hover .news-content h3 {
  color: var(--secondary-color);
}

.news-content p {
  color: var(--text-color);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 0;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  overflow: hidden;
}

/* --- PARTNYORLAR (Animated Infinite Marquee) --- */
.partners {
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  background: #fff;
  overflow: hidden; /* Karuselin kənara çıxmasının qarşısını alır */
}

.partners-grid {
  display: flex;
  width: 100%;
  overflow: hidden;
  padding: 30px 0;
  position: relative;
}

/* Qıraqları yüngülcə ağardaraq (fade) peşəkar görünüş vermək üçün maska */
.partners-grid::before,
.partners-grid::after {
  content: "";
  position: absolute;
  top: 0;
  width: 150px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}
.partners-grid::before {
  left: 0;
  background: linear-gradient(to right, #fff 0%, transparent 100%);
}
.partners-grid::after {
  right: 0;
  background: linear-gradient(to left, #fff 0%, transparent 100%);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: scrollMarquee 35s linear infinite;
}

/* Üzərinə mausla gələndə animasiya dayansın ki, istifadəçi klikləyə bilsin */
.marquee-track:hover {
  animation-play-state: paused;
}

@keyframes scrollMarquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.partner-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 40px; /* Logolar arası məsafə */
}

.partner-item img {
  height: 160px; /* Hündürlüyü eyniləşdiririk */
  width: auto;
  max-width: 180px;
  object-fit: contain;
  filter: grayscale(100%) opacity(0.6);
  transition: var(--transition);
  cursor: pointer;
}

.partner-link {
  display: flex;
  align-items: center;
  justify-content: center;
}

.partner-item img:hover,
.partner-link:hover img {
  filter: grayscale(0%) opacity(1);
  transform: scale(1.1);
}

/* --- FAQ AKORDİON --- */
.accordion-container {
  max-width: 800px;
  margin: 0 auto;
}
.accordion-item {
  margin-bottom: 15px;
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.accordion-header {
  width: 100%;
  padding: 25px;
  background: #fff;
  border: none;
  text-align: left;
  font-size: 18px;
  font-weight: 600;
  font-family: var(--font-heading);
  color: var(--primary-color);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}
.accordion-header:hover {
  color: var(--secondary-color);
}
.accordion-header i {
  color: var(--secondary-color);
  transition: 0.3s;
  background: rgba(212, 175, 55, 0.1);
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.accordion-header.active i {
  transform: rotate(45deg);
  background: var(--secondary-color);
  color: #fff;
}
.accordion-content {
  padding: 0 25px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  background: #fff;
}
.accordion-content p {
  padding: 0 0 25px 0;
  color: var(--text-color);
}

/* --- ƏLAQƏ FORM --- */
.contact .flex-between {
  display: flex;
  align-items: stretch;
  gap: 50px;
}
.contact-info {
  flex: 1;
}
.contact-form-wrapper {
  width: 550px;
  flex: 1.5;
}
.info-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 30px;
}
.info-card i {
  font-size: 24px;
  color: var(--secondary-color);
  background: rgba(255, 255, 255, 0.05);
  padding: 20px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.info-card h4 {
  color: #fff;
  font-size: 18px;
  margin-bottom: 5px;
  font-family: var(--font-body);
}
.info-card p {
  color: #a0aec0;
}
.clickable-card {
  text-decoration: none;
  color: inherit;
  display: flex;
  transition: all 0.3s ease;
  cursor: pointer;
}
.clickable-card:hover {
  background: rgba(212, 175, 55, 0.1);
  transform: translateX(10px);
  border-left: 3px solid var(--secondary-color);
}
.clickable-card i {
  transition: transform 0.3s ease;
}
.clickable-card:hover i {
  transform: scale(1.2);
}
.premium-form {
  background: #fff;
  padding: 50px;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
}
.premium-form h3 {
  color: var(--primary-color);
  font-size: 28px;
  margin-bottom: 30px;
  text-align: center;
}
.input-group {
  position: relative;
  margin-bottom: 25px;
}
.input-group i {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-light);
  transition: 0.3s;
}
.premium-form input,
.premium-form select,
.premium-form textarea {
  width: 100%;
  padding: 15px 15px 15px 50px;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  font-size: 15px;
  outline: none;
  background: var(--bg-light);
  transition: var(--transition);
}
.premium-form input:focus,
.premium-form select:focus,
.premium-form textarea:focus {
  background: #fff;
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.1);
}
.premium-form input:focus + i,
.premium-form select:focus + i,
.premium-form textarea:focus + i {
  color: var(--secondary-color);
}
.form-status {
  margin-top: 15px;
  text-align: center;
  padding: 12px;
  border-radius: 4px;
  font-weight: 500;
  display: none;
}

/* --- FOOTER --- */
.footer {
  background: var(--primary-color);
  color: #a0aec0;
  padding-top: 80px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 50px;
}
.footer h3,
.footer .logo h2 {
  color: #fff;
  margin-bottom: 25px;
  font-size: 22px;
  position: relative;
  padding-bottom: 10px;
}
.footer h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 2px;
  background: var(--secondary-color);
}
.social-links {
  display: flex;
  gap: 15px;
  margin-top: 25px;
}
.social-links a {
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 18px;
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.social-links a:hover {
  background: var(--secondary-color);
  border-color: var(--secondary-color);
  transform: translateY(-5px);
}
.footer ul {
  list-style: none;
}
.footer ul li {
  margin-bottom: 15px;
}
.footer ul a {
  color: #a0aec0;
  text-decoration: none;
  transition: 0.3s;
}
.footer ul a:hover {
  color: var(--secondary-color);
  padding-left: 5px;
}
.working-hours li {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 12px;
}
.footer-bottom {
  background: #071225;
  padding: 25px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* --- PREMİUM SCROLL & REVEAL ANİMASİYALARI --- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.9s cubic-bezier(0.5, 0, 0, 1);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-60px);
}
.reveal-right {
  opacity: 0;
  transform: translateX(60px);
}
.reveal-zoom {
  opacity: 0;
  transform: scale(0.85);
}

.reveal.active,
.reveal-left.active,
.reveal-right.active,
.reveal-zoom.active {
  opacity: 1;
  transform: translate(0) scale(1);
}

/* Kaskad Gecikmələr */
.delay-100 {
  transition-delay: 100ms;
}
.delay-200 {
  transition-delay: 200ms;
}
.delay-300 {
  transition-delay: 300ms;
}
.delay-400 {
  transition-delay: 400ms;
}
.delay-500 {
  transition-delay: 500ms;
}
.delay-600 {
  transition-delay: 600ms;
}
/* ==========================================
   SCROLL TO TOP DÜYMƏSİ
   ========================================== */
.scroll-top {
  position: fixed;
  bottom: 40px;
  right: 40px;
  width: 50px;
  height: 50px;
  background-color: var(--secondary-color);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  z-index: 999;

  /* Başlanğıcda gizli tuturuq və aşağıya doğru sürüşdürürük */
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: var(--transition);
}

/* JS ilə bu class əlavə ediləndə düymə görünəcək */
.scroll-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top:hover {
  background-color: var(--primary-color);
  transform: translateY(-5px); /* Üzərinə gələndə yüngülcə yuxarı qalxır */
  box-shadow: var(--shadow-lg);
  color: var(--secondary-color); /* İkonun rəngi qızılı olur */
}

/* Mobil cihazlar üçün uyğunlaşdırma */
@media (max-width: 768px) {
  .scroll-top {
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
    font-size: 18px;
  }
}

/* Xəbər Detalı Konteyneri */
.news-detail-container {
  max-width: 900px; /* Oxunaqlılıq üçün optimal enlik */
  margin: 40px auto;
  padding: 0 20px;
}

/* Şəklin tam və düzgün görünməsi üçün */
.news-detail-image {
  width: 100%;
  max-height: 500px; /* Çox uzanmaması üçün limit */
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 30px;
  box-shadow: var(--shadow-md);
}

.news-detail-image img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Şəkli deformasiya etmədən sahəyə doldurur */
  display: block;
}

/* Xəbər Başlığı və Meta Məlumatlar (Tarix və s.) */
.news-detail-content h1 {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 15px;
  line-height: 1.2;
}

.news-meta {
  display: flex;
  gap: 20px;
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 1px solid #eee;
}

/* Əsas Mətnin Oxunaqlılığı */
.news-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #333;
  text-align: justify;
}
.site-logo {
  max-height: 60px; /* Loqonun hündürlüyü. İstəyə görə 50px və ya 70px edə bilərsən */
  width: auto;
  display: block;
  transition: var(--transition);
}

.site-logo:hover {
  transform: scale(1.05); /* Üzərinə gələndə yüngülcə böyüsün */
}

/* --- RESPONSİV DİZAYN --- */
@media (max-width: 992px) {
  .hero h2 {
    font-size: 48px;
  }
  .about .flex-between {
    flex-direction: column;
  }
  .about-image-wrapper,
  .about-text {
    width: 100%;
  }
  .experience-badge {
    bottom: -20px;
    right: -20px;
    width: 120px;
    height: 120px;
  }
  .experience-badge span {
    font-size: 28px;
  }
  .leader-card {
    display: flex !important;
    flex-direction: column !important;
    height: auto !important;
    overflow: hidden !important;
  }

  .leader-info {
    padding: 15px;
    text-align: center;
    background: var(--bg-light);
  }

  /* Yazıların rənginin mobildə dəqiq oxunması üçün */
  .leader-info h3 {
    color: var(--primary-color) !important;
    margin-bottom: 5px !important;
  }

  .leader-info p,
  .leader-info span {
    color: var(--text-color) !important;
  }
  .leader-img-box img {
    min-height: 250px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .contact .flex-between {
    flex-direction: column;
  }
  .contact-form-wrapper {
    width: 100%;
    padding: 30px 0;
  }
  .partners-grid {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: block;
  }
  .navbar {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--primary-color);
    padding: 30px 0;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
  }
  .navbar.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  .navbar ul {
    flex-direction: column;
    text-align: center;
  }
  .hero-buttons {
    flex-direction: column;
  }
  .hero h2 {
    font-size: 36px;
  }
  .team-grid {
    grid-template-columns: 1fr;
  }
  .featured-leader {
    grid-column: auto;
  }
}

/* --- PAKETLƏR DİZAYNI --- */
.packages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  padding: 20px 0;
}

.package-card {
  background: #fff;
  border-radius: 15px;
  padding: 40px 30px;
  text-align: center;
  border: 1px solid var(--border-color);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  height: auto; /* Yazı uzandıqca kartın hündürlüyü də avtomatik artsın */
  min-height: 400px; /* Standart minimum hündürlük */
}

.package-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: var(--secondary-color);
}

.package-icon {
  font-size: 40px;
  color: var(--secondary-color);
  margin-bottom: 20px;
}

.package-card h3 {
  font-size: 24px;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.package-price {
  font-size: 36px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 25px;
}

.package-price span {
  font-size: 16px;
  font-weight: 400;
  color: var(--text-light);
}

/* Gizli məlumat hissəsi */
.package-features {
  list-style: none;
  text-align: left;
  margin-bottom: 25px;
  max-height: 0;
  overflow: hidden; /* Bağlı olanda çölə çıxan yazıları gizlədir */
  transition: max-height 0.5s ease-in-out, opacity 0.3s;
  opacity: 0;
}

/* Düyməyə basanda (Açılanda) */
.package-features.active {
  max-height: fit-content; /* Daxilində nə qədər yazı varsa hamısını göstərsin */
  opacity: 1;
  padding-top: 15px;
  border-top: 1px dashed var(--border-color);
  overflow: visible; /* Altdan kəsilməsinin qarşısını alan əsas hissə */
}

.package-features li {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}

.package-features i {
  color: var(--secondary-color);
}

.btn-package-more {
  background: transparent;
  border: 1px solid var(--secondary-color);
  color: var(--secondary-color);
  padding: 10px 25px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  transition: var(--transition);
  margin-top: auto;
}

.btn-package-more:hover {
  background: var(--secondary-color);
  color: #fff;
}
.filter-wrapper {
  gap: 20px;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 20px;
}

.search-box {
  position: relative;
  flex: 1;
  min-width: 250px;
}

.search-box input {
  width: 100%;
  padding: 12px 40px 12px 15px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  font-family: inherit;
  transition: var(--transition);
}

.search-box i {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-light);
}

.sort-box {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sort-box select {
  padding: 10px 15px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  background: white;
  cursor: pointer;
  outline: none;
}

.sort-box select:focus,
.search-box input:focus {
  border-color: var(--secondary-color);
}
.news-description {
  display: -webkit-box;
  -webkit-line-clamp: 3; /* Neçə sətir görüksün? */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 15px;
  color: var(--text-color);
  min-height: 4.5em; /* Kartların hündürlüyünün eyni qalması üçün */
}

/* ========================================================================== */
/* TAM OXU (SINGLE NEWS) SLIDER VƏ META DİZAYNI                               */
/* ========================================================================== */

/* Slider Konteyneri */
.single-news-slider {
  position: relative;
  width: 100%;
  max-width: 900px;
  height: 450px; /* Sabit hündürlük ki, UI tullanmasın */
  margin: 0 auto 30px;
  border-radius: 12px;
  overflow: hidden;
  background-color: var(
    --primary-color
  ); /* Şəkil tam oturanda kənarlar boş qalarsa, lüks göy fon görünsün */
  box-shadow: var(--shadow-md);
}

.single-news-slider .slide-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
}

.single-news-slider .slide-item.active {
  opacity: 1;
  z-index: 1;
}

/* Şəklin tam və yüksək keyfiyyətdə görünməsi */
.single-news-slider img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* Şəkil kəsilmir, bütöv görünür */
  /* Əgər şəklin bütün ekranı tamamilə doldurmasını (kənarlardan azca kəsilərək) istəyirsənsə, 'contain' əvəzinə 'cover' istifadə et */
}

/* Tarix və Saat (Meta məlumatlar) */
.single-news-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-light);
  margin-bottom: 20px;
}

.single-news-meta i {
  color: var(--secondary-color); /* Lüks qızılı rəngdə ikon */
}
