:root {
  --primary: #0f172a;
  --primary-light: #334155;
  --accent: #f59e0b;
  --blue-accent: #2563eb;
  --green-accent: #10b981;
  --bg-body: #f8fafc;
  --white: #ffffff;
  --text-main: #1e293b;
  --text-light: #64748b;
  --radius: 16px;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  --shadow-hover: 0 15px 30px rgba(0, 0, 0, 0.1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Inter", sans-serif;
}

body {
  background-color: var(--bg-body);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none !important;
}

/* HEADER */
header {
  background: var(--primary);
  padding: 0 5%;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 999;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}
.logo h1 {
  color: white;
  font-size: 1.6rem;
  gap: 10px;
  display: flex;
  align-items: center;
  margin: 0;
}
.logo i {
  color: var(--accent);
}
.nav-menu {
  display: flex;
  gap: 30px;
}
.nav-link {
  color: #94a3b8;
  font-weight: 500;
  transition: 0.3s;
  position: relative;
}
.nav-link:hover,
.nav-link.active {
  color: white;
}
.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent);
}
.header-actions {
  display: flex;
  align-items: center;
}
.header-btn-login {
  color: white;
  background: rgba(255, 255, 255, 0.1);
  padding: 8px 18px;
  border-radius: 50px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: 0.3s;
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.header-btn-login:hover {
  background: white;
  color: var(--primary);
}

/* SIDEBAR */
.mobile-sidebar {
  position: fixed;
  top: 0;
  left: -100%;
  width: 280px;
  height: 100vh;
  background: white;
  z-index: 10000;
  transition: 0.3s ease;
  box-shadow: 2px 0 15px rgba(0, 0, 0, 0.1);
  padding: 20px;
  display: flex;
  flex-direction: column;
}
.mobile-sidebar.active {
  left: 0;
}
.sidebar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  border-bottom: 1px solid #f1f5f9;
  padding-bottom: 15px;
}
.close-sidebar-btn {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
}
.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.sidebar-link {
  font-size: 1.1rem;
  color: var(--text-main);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
}
.sidebar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1500;
  display: none;
}
.sidebar-overlay.active {
  display: block;
}

/* SIDEBAR BALANS DÜZƏLİŞİ (YIĞCAM) */
.sidebar-balance-box {
  background: #f8fafc;
  padding: 12px 20px;
  margin: 0 0 20px 0;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid #e2e8f0;
}

.bal-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.bal-label {
  font-size: 0.8rem;
  color: #64748b;
  margin-bottom: 2px;
  font-weight: 500;
}

.sidebar-amount {
  font-weight: 800;
  color: #1e293b;
  font-size: 1.1rem;
  margin: 0;
}

.sidebar-add-btn {
  background: #f59e0b;
  color: white;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(245, 158, 11, 0.3);
  transition: 0.3s;
}

.sidebar-add-btn:hover {
  background: #d97706;
  transform: scale(1.1);
}

/* SLIDER */
.main-hero-area {
  position: relative;
  height: 600px;
  overflow: hidden;
  background: #000;
}
.custom-slider {
  width: 100%;
  height: 100%;
  position: relative;
}
.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s, visibility 1s;
  z-index: 1;
}
.slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}
.slide::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(15, 23, 42, 0.7),
    rgba(15, 23, 42, 0.5)
  );
}
.slide-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  width: 90%;
  max-width: 800px;
  color: white;
  z-index: 10;
}
.slide-content h2 {
  font-size: 3rem;
  margin-bottom: 15px;
  font-weight: 800;
}
.slide-content p {
  font-size: 1.3rem;
  color: #e2e8f0;
}
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.5);
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 20;
  transition: 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
}
.slider-btn:hover {
  background: white;
  color: var(--primary);
}
.prev-btn {
  left: 30px;
}
.next-btn {
  right: 30px;
}
.slider-dots {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 20;
}
.dot {
  width: 12px;
  height: 12px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  cursor: pointer;
  transition: 0.3s;
}
.dot.active {
  background: white;
  transform: scale(1.2);
}

/* GENERAL LAYOUT */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.section-block {
  padding: 80px 0;
}
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 40px;
}
.sect-title {
  font-size: 2.2rem;
  margin: 0;
  color: var(--text-main);
  line-height: 1.2;
}
.sect-subtitle {
  color: #64748b;
  font-size: 1.1rem;
  margin-top: 10px;
}
.highlight-orange {
  color: var(--accent);
}
.highlight-blue {
  color: var(--blue-accent);
}
.highlight-green {
  color: var(--green-accent);
}
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-weight: 700;
  transition: 0.3s;
}
.link-arrow:hover {
  gap: 12px;
  color: var(--accent);
}

/* --- NEWS CARDS SECTION --- */
.news-cards-section {
  background: white;
  padding-top: 50px;
  padding-bottom: 50px;
}
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 25px;
}
.home-news-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: 0.3s;
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid #f1f5f9;
}
.home-news-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}
.news-img-wrap {
  height: 160px;
  overflow: hidden;
  position: relative;
}
.news-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.5s;
}
.home-news-card:hover .news-img-wrap img {
  transform: scale(1.05);
}
.news-body {
  padding: 15px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.news-date {
  font-size: 0.8rem;
  color: #94a3b8;
  margin-bottom: 8px;
  display: block;
}
.news-body h4 {
  font-size: 1rem;
  color: var(--text-main);
  margin-bottom: 10px;
  line-height: 1.4;
  font-weight: 700;
}
.read-more-sm {
  margin-top: auto;
  font-size: 0.85rem;
  color: var(--blue-accent);
  font-weight: 600;
}

/* --- ZIG-ZAG STATS SECTION --- */
.zigzag-section {
  padding: 80px 0;
  background: #f8fafc;
}
.zigzag-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 60px;
  gap: 50px;
}
.zigzag-item:nth-child(even) {
  flex-direction: row-reverse;
}
.zigzag-text {
  flex: 1;
}
.zigzag-text h2 {
  font-size: 3rem;
  color: var(--primary);
  margin-bottom: 15px;
  font-weight: 800;
}
.sub-h {
  font-size: 1.5rem;
  color: var(--text-light);
  font-weight: 500;
}
.zigzag-text p {
  font-size: 1.1rem;
  color: #64748b;
  max-width: 500px;
}
.zigzag-icon {
  width: 150px;
  height: 150px;
  border-radius: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: white;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transform: rotate(10deg);
  transition: 0.5s;
}
.zigzag-item:hover .zigzag-icon {
  transform: rotate(0deg) scale(1.1);
}
.bg-orange {
  background: var(--accent);
}
.bg-blue {
  background: var(--blue-accent);
}
.bg-green {
  background: var(--green-accent);
}
.bg-dark {
  background: var(--primary);
}

/* --- HOW IT WORKS --- */
.how-it-works {
  background: white;
  padding: 100px 0;
}
.center-header {
  text-align: center;
  margin-bottom: 60px;
}
.center-header h2 {
  font-size: 2.5rem;
  margin-bottom: 10px;
  color: var(--primary);
}
.center-header p {
  color: #64748b;
  font-size: 1.2rem;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.step-card {
  text-align: center;
  padding: 30px;
  border-radius: 20px;
  background: #f8fafc;
  position: relative;
  transition: 0.3s;
}
.step-card:hover {
  transform: translateY(-10px);
  background: white;
  box-shadow: var(--shadow);
}
.step-icon {
  width: 60px;
  height: 60px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  margin: 0 auto 20px auto;
}
.step-card h3 {
  margin-bottom: 15px;
}
.step-card p {
  color: #64748b;
  font-size: 0.95rem;
}

/* --- ABOUT & FAQ --- */
.about-faq-section {
  background: #f8fafc;
}
.af-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}
.about-list {
  list-style: none;
  margin-top: 20px;
}
.about-list li {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
}
.about-list i {
  color: var(--green-accent);
}

/* Accordion */
.accordion-item {
  background: white;
  border-radius: 10px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  overflow: hidden;
}
.accordion-header {
  width: 100%;
  text-align: left;
  padding: 20px;
  border: none;
  background: white;
  outline: none;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.accordion-header:after {
  content: "\002B";
  font-size: 1.5rem;
  color: var(--primary);
}
.accordion-header.active:after {
  content: "\2212";
}
.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
  background: #fdfdfd;
}
.accordion-content p {
  padding: 20px;
  color: #64748b;
  border-top: 1px solid #f1f5f9;
}

/* LISTINGS & CARDS */
.listings,
.job-grid-layout {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}
.card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: 0.3s;
  border: 1px solid #f1f5f9;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
}
.image-wrapper {
  height: 220px;
  position: relative;
  overflow: hidden;
  background: #cbd5e1;
}
.image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.5s;
}
.card:hover img {
  transform: scale(1.05);
}
.status-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: linear-gradient(45deg, #f59e0b, #d97706);
  color: white;
  padding: 5px 12px;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: bold;
  z-index: 5;
}
.location-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: rgba(15, 23, 42, 0.85);
  color: white;
  padding: 5px 10px;
  border-radius: 8px;
  font-size: 0.75rem;
  backdrop-filter: blur(4px);
  z-index: 5;
}
.offer-badge {
  position: absolute;
  bottom: 130px;
  left: 15px;
  color: white;
  padding: 5px 12px;
  border-radius: 8px;
  font-weight: bold;
  font-size: 0.75rem;
  z-index: 5;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}
.badge-sale {
  background: #10b981;
}
.badge-rent {
  background: #f59e0b;
}
.card-content {
  padding: 25px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.card h3 {
  font-size: 1.15rem;
  margin: 0 0 10px 0;
  color: var(--text-main);
  font-weight: 700;
  line-height: 1.4;
}
.card-details {
  color: #64748b;
  font-size: 0.9rem;
  margin-bottom: 20px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.card-details span {
  background: #f1f5f9;
  padding: 4px 8px;
  border-radius: 6px;
}
.price {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--blue-accent);
}

/* JOB CARD */
.job-card-new {
  background: white;
  padding: 25px;
  border-radius: 12px;
  border: 1px solid #dcfce7;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.05);
  display: flex;
  flex-direction: column;
  gap: 15px;
  transition: 0.3s;
}
.job-card-new:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(16, 185, 129, 0.15);
  border-color: #86efac;
}
.job-head {
  display: flex;
  align-items: center;
  gap: 15px;
}
.company-icon {
  width: 50px;
  height: 50px;
  background: #f0fdf4;
  color: #16a34a;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}
.job-info h4 {
  font-size: 1.1rem;
  font-weight: 700;
}
.job-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 15px;
  border-top: 1px dashed #e2e8f0;
}
.job-salary {
  font-weight: 700;
  color: var(--primary);
}
.apply-link {
  color: var(--green-accent);
  font-weight: 600;
  font-size: 0.9rem;
}

/* DARK SECTION CARS */
.dark-section {
  background: #0f172a;
  margin-top: 0;
}
.dark-header .sect-title {
  color: white !important;
}
.text-white {
  color: white !important;
}
.text-gray {
  color: #94a3b8 !important;
}
.car-card-dark {
  background: #1e293b;
  border: 1px solid #334155;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.5);
}
.car-card-dark h3 {
  color: #f1f5f9;
}
.car-card-dark .card-details span {
  background: #334155;
  color: #cbd5e1;
}
.car-card-dark .price {
  color: #60a5fa;
}

/* NEWSLETTER & FOOTER */
.newsletter-box {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  border-radius: 20px;
  padding: 60px;
  text-align: center;
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.nl-form {
  display: flex;
  gap: 10px;
  width: 100%;
  max-width: 500px;
}
.nl-form input {
  flex: 1;
  padding: 15px 25px;
  border-radius: 50px;
  border: none;
  outline: none;
}
.nl-form button {
  background: var(--primary);
  color: white;
  padding: 15px 35px;
  border-radius: 50px;
  border: none;
  font-weight: 700;
  cursor: pointer;
}
.main-footer {
  background: #0f172a;
  color: #e2e8f0;
  padding: 40px 20px 20px 20px;
  border-top: 5px solid #f59e0b;
  margin-top: 60px;
  width: 100%;
  position: relative;
  z-index: 10;
}
.footer-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 50px;
  padding: 0 20px;
  text-align: center;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.footer-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  gap: 15px;
}
.footer-brand h3 {
  color: white;
  font-size: 1.8rem;
  margin-bottom: 15px;
}
.footer-links h4 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: #ffffff;
  border-bottom: 1px solid var(--accent);
  padding-bottom: 8px;
  display: inline-block;
  width: auto;
}

.footer-links a {
  font-size: 1.1rem;
  padding: 5px 0;
  color: #cbd5e1;
  display: block;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.contact-item {
  justify-content: center;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
.social-links {
  display: flex;
  gap: 15px;
}
.social-links a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: white;
  transition: 0.3s;
}
.social-links a:hover {
  background: var(--accent);
}
.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 60px;
  padding-top: 25px;
}

/* DROPDOWN & MOBILE */
.user-dropdown {
  position: relative;
  display: inline-block;
  margin-right: 10px;
}
.profile-btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
  padding: 8px 15px;
  border-radius: 50px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
}
.dropdown-content {
  display: none;
  position: absolute;
  right: 0;
  top: 50px;
  background-color: white;
  min-width: 160px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  z-index: 1001;
}
.dropdown-content.show {
  display: block;
}
.dropdown-content a {
  color: var(--text-main);
  padding: 12px 16px;
  display: block;
  border-bottom: 1px solid #f1f5f9;
}
.mobile-only-btn {
  display: none;
  background: transparent;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
}
.mobile-hide {
  display: inline-flex;
}

/* --- BALANS SİSTEMİ (HEADER) --- */
.balance-display {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  padding: 5px 5px 5px 15px;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  margin-right: 15px;
  gap: 10px;
}
.balance-amount {
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
}
.add-balance-btn {
  background: var(--accent);
  color: white;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: 0.3s;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}
.add-balance-btn:hover {
  background: #d97706;
  transform: scale(1.1);
}

/* --- YENİLƏNMİŞ CTA BANNER (Animasiyalı) --- */
.cta-banner {
  /* Hərəkətli Qradient Arxa Fon */
  background: linear-gradient(-45deg, #0f172a, #1e293b, #1e1b4b, #0f172a);
  background-size: 400% 400%;
  animation: gradientBG 15s ease infinite;

  border-radius: 20px;
  padding: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(15, 23, 42, 0.4);
  margin-top: 40px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Arxa fon rəng keçidi animasiyası */
@keyframes gradientBG {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Uçuşan dekorativ ikonlar */
.floating-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.shape {
  position: absolute;
  color: rgba(255, 255, 255, 0.03);
  font-size: 8rem;
}

.shape-1 {
  top: -20px;
  left: 10%;
  transform: rotate(-15deg);
}

.shape-2 {
  bottom: -30px;
  right: 20%;
  transform: rotate(20deg);
}

.cta-content {
  display: flex;
  align-items: center;
  gap: 25px;
  z-index: 2;
}

/* İkon və ətrafındakı dalğa effekti */
.cta-icon-box {
  position: relative;
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cta-icon-box i {
  font-size: 2.2rem;
  color: #f59e0b;
  position: relative;
  z-index: 2;
}

.icon-pulse {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: rgba(245, 158, 11, 0.2);
  animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
  0% {
    transform: scale(0.8);
    opacity: 0.5;
  }
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

.cta-text h3 {
  color: white;
  font-size: 1.8rem;
  margin-bottom: 8px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.cta-text p {
  color: #cbd5e1;
  font-size: 1.1rem;
  margin: 0;
  max-width: 500px;
}

.cta-action {
  z-index: 2;
  flex-shrink: 0;
}

/* Düymə üçün parıltı effekti */
.cta-btn {
  background: #f59e0b;
  color: white;
  padding: 16px 35px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.1rem;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: 0.3s;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
}

/* Düymənin üstündən işıq keçməsi */
.cta-btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: 0.5s;
}

.cta-btn:hover::after {
  left: 100%;
}

.cta-btn:hover {
  background: #d97706;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 25px rgba(245, 158, 11, 0.5);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr; /* 4 Sütunlu Grid */
  gap: 40px;
  margin-bottom: 60px;
}

.footer-col h4 {
  color: white;
  font-size: 1.2rem;
  margin-bottom: 25px;
  font-weight: 700;
  position: relative;
  display: inline-block;
}

/* Başlıq altı xətt effekti */
.footer-col h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 40px;
  height: 2px;
  background: #f59e0b;
}

/* Logo Sütunu */
.brand-col .footer-logo {
  font-size: 1.8rem;
  color: white;
  font-weight: 800;
  margin-bottom: 20px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.brand-col .footer-logo i {
  color: #f59e0b;
}
.footer-desc {
  line-height: 1.7;
  margin-bottom: 25px;
  color: #94a3b8;
}

/* Naviqasiya Linkləri */
.footer-nav {
  list-style: none;
  padding: 0;
}
.footer-nav li {
  margin-bottom: 12px;
}
.footer-nav a {
  color: #cbd5e1;
  transition: 0.3s;
  display: inline-block;
  position: relative;
}
.footer-nav a:hover {
  color: #f59e0b;
  padding-left: 5px;
}

/* Əlaqə Sütunu */
.contact-row {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}
.contact-row i {
  background: #1e293b;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  color: #f59e0b;
  font-size: 1rem;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.contact-row span {
  display: block;
  font-size: 0.8rem;
  color: #64748b;
  margin-bottom: 2px;
}
.contact-row a,
.contact-row p {
  color: white;
  font-weight: 500;
  margin: 0;
  transition: 0.3s;
}
.contact-row a:hover {
  color: #f59e0b;
}

/* Footer Altı */
.footer-bottom {
  border-top: 1px solid #1e293b;
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #64748b;
}
.footer-legal strong {
  color: white;
}

/* --- POPULYAR KATEQORİYALAR BÖLMƏSİ --- */

.center-title {
  text-align: center;
  margin-bottom: 40px;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary);
}

.cat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  transition: 0.3s;
  text-align: center;
  cursor: pointer;
}

.cat-item span {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-main);
  transition: 0.3s;
}

.cat-icon-box {
  width: 70px;
  height: 70px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  background: #f8fafc;
  color: var(--text-light);
  transition: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
}

/* Hover Effektləri */
.cat-item:hover .cat-icon-box {
  transform: translateY(-10px);
  color: white;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.cat-item:hover span {
  color: var(--accent);
}

/* Rəngləndirmə Sistemi */
.cat-item:hover .c-blue {
  background: #3b82f6;
}
.cat-item:hover .c-orange {
  background: #f97316;
}
.cat-item:hover .c-yellow {
  background: #eab308;
}
.cat-item:hover .c-green {
  background: #10b981;
}
.cat-item:hover .c-red {
  background: #ef4444;
}
.cat-item:hover .c-cyan {
  background: #06b6d4;
}
.cat-item:hover .c-purple {
  background: #8b5cf6;
}
.cat-item:hover .c-pink {
  background: #ec4899;
}

/* style.css - Mövcud faylın sonuna əlavə et */

/* --- DİNAMİK SLIDER STYLES --- */
.custom-slider {
  position: relative;
}

/* Dinamik elementin ümumi stili */
.dyn-el {
  position: absolute;
  z-index: 10;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8); /* Oxunaqlılıq üçün kölgə */
  max-width: 80%; /* Çox uzun mətnlərin daşmaması üçün */
  opacity: 0; /* Animasiya üçün gizlət */
  transform: translateY(20px);
  transition: opacity 1s ease, transform 1s ease;
}

/* Slide aktiv olanda elementlər görünsün */
.slide.active .dyn-el {
  opacity: 1;
  transform: translateY(0);
}

/* Font ölçüləri (Admin paneldəki teqlərə görə) */
.dyn-el.h1 {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.2;
}
.dyn-el.h2 {
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1.3;
}
.dyn-el.h3 {
  font-size: 2.2rem;
  font-weight: 700;
}
.dyn-el.h4 {
  font-size: 1.8rem;
  font-weight: 600;
}
.dyn-el.h5 {
  font-size: 1.5rem;
  font-weight: 600;
}
.dyn-el.h6 {
  font-size: 1.2rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.dyn-el.p {
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1.6;
}

/* Mobil üçün şriftləri biraz kiçilt */
@media (max-width: 768px) {
  .dyn-el.h1 {
    font-size: 2rem;
  }
  .dyn-el.h2 {
    font-size: 1.8rem;
  }
  .dyn-el.p {
    font-size: 1rem;
  }
  .dyn-el {
    max-width: 90%;
  }
}

/* --- 9 MÖVQE (POSITIONS) --- */

/* 1. ÜST (Top) */
.pos-top-left {
  top: 15%;
  left: 5%;
  text-align: left;
}
.pos-top-center {
  top: 15%;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
}
.slide.active .dyn-el.pos-top-center {
  /* Animasiya konfliktini həll etmək üçün */
  transform: translateX(-50%) translateY(0);
}
.pos-top-right {
  top: 15%;
  right: 5%;
  text-align: right;
}

/* 2. MƏRKƏZ (Center) */
.pos-center-left {
  top: 50%;
  left: 5%;
  transform: translateY(-50%);
  text-align: left;
}
.slide.active .dyn-el.pos-center-left {
  transform: translateY(-50%);
}

.pos-center {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}
.slide.active .dyn-el.pos-center {
  transform: translate(-50%, -50%);
}

.pos-center-right {
  top: 50%;
  right: 5%;
  transform: translateY(-50%);
  text-align: right;
}
.slide.active .dyn-el.pos-center-right {
  transform: translateY(-50%);
}

/* 3. ALT (Bottom) */
.pos-bottom-left {
  bottom: 15%;
  left: 5%;
  text-align: left;
}
.pos-bottom-center {
  bottom: 15%;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
}
.slide.active .dyn-el.pos-bottom-center {
  transform: translateX(-50%) translateY(0);
}
.pos-bottom-right {
  bottom: 15%;
  right: 5%;
  text-align: right;
}

.dyn-el.button {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 1rem;
  letter-spacing: 1px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  text-shadow: none !important; /* Düymədə yazı kölgəsi olmasın */
  cursor: pointer;
  border: 2px solid transparent; /* Border yeri ayıraq */
}

.dyn-el.button:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  filter: brightness(1.1); /* Rəngi biraz parlaqlaşdır */
}

/* --- İŞ ELANLARI KARTI DÜZƏLİŞLƏRİ --- */

/* Bütün kartı əhatə edən link */
.card-link {
  text-decoration: none;
  color: inherit;
  display: block; /* Linkin bütün div-i tutması üçün */
  height: 100%;
}

/* Kartın özü */
.job-card-new {
  background: white;
  padding: 25px;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
}

.job-card-new:hover {
  transform: translateY(-5px);
  border-color: var(--green-accent);
  box-shadow: 0 10px 30px rgba(16, 185, 129, 0.1);
}

/* Şəkildəki "Tam ştatBərdə" problemini həll edən hissə */
.job-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px; /* Tag-lər arasındakı məsafə */
  margin: 15px 0; /* Yuxarı və aşağı boşluq */
}

/* "Tam ştat" və "Bərdə" sözlərinin dizaynı */
.j-tag {
  background-color: #f1f5f9;
  color: #475569;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* İkonla mətnin uyğunlaşması */
.job-head {
  display: flex;
  align-items: center;
  gap: 15px;
}

.company-icon {
  width: 50px;
  height: 50px;
  background: #ecfdf5; /* Açıq yaşıl fon */
  color: #059669; /* Tünd yaşıl ikon */
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.job-info h4 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.3;
}

.job-info p {
  margin: 2px 0 0 0;
  font-size: 0.9rem;
  color: #64748b;
}

/* Alt hissə (Maaş və Link) */
.job-footer {
  margin-top: auto; /* Ən aşağıya itələyir */
  padding-top: 15px;
  border-top: 1px dashed #e2e8f0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.job-salary {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-main);
}

.apply-link {
  color: var(--green-accent);
  font-weight: 600;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: 0.3s;
}

.job-card-new:hover .apply-link {
  gap: 8px; /* Hover zamanı ox işarəsi hərəkət edir */
}

/* --- YENİ TƏCİLİ VƏ VIP GRID SİSTEMİ --- */
.compact-section {
  padding: 30px 0;
  background: #fff;
}

.section-head-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding: 0 10px;
}

.section-head-row h4 {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}

/* Grid Layout: Desktopda 4, Mobildə 2 sütun */
.compact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* Desktop: 4 sütun */
  gap: 15px;
}

/* Kiçik Kart Dizaynı */
.compact-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid #f1f5f9;
  transition: 0.3s;
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none; /* Link xəttini ləğv et */
  content-visibility: auto; /* Ekrandan kənarda olanları render etmir (Chrome/Edge) */
  contain-intrinsic-size: 300px; /* Kartın təxmini hündürlüyü (Dəqiq olsa daha yaxşıdır) */
  will-change: transform; /* GPU-nu işə salır ki, sürüşmə hamar olsun */
}

.compact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.c-img-box {
  height: 140px;
  position: relative;
  overflow: hidden;
  background: #e2e8f0;
}

.c-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.5s;
}

.compact-card:hover .c-img-box img {
  transform: scale(1.1);
}

.c-badges {
  position: absolute;
  top: 8px;
  left: 8px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  z-index: 2;
}

.c-badge {
  font-size: 0.65rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  color: white;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.bg-red {
  background: #ef4444;
} /* Təcili */
.bg-gold {
  background: linear-gradient(45deg, #f59e0b, #d97706);
} /* VIP */

.c-content {
  padding: 12px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.c-price {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--blue-accent);
  margin-bottom: 4px;
}

.c-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.4;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2; /* 2 sətirdən sonra ... qoyur */
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.c-loc {
  margin-top: auto;
  font-size: 0.75rem;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Mobil Grid Düzəlişi */
@media (max-width: 768px) {
  .compact-grid {
    grid-template-columns: repeat(2, 1fr); /* Mobil: 2 sütun */
    gap: 10px;
  }
  .c-img-box {
    height: 120px;
  }
  .c-price {
    font-size: 1rem;
  }
}

/* --- YENİ BÖLMƏLƏR (HORIZONTAL SCROLL) --- */

.cat-scroll-container {
  display: flex;
  gap: 15px; /* Elementlər arası məsafə */
  overflow-x: auto; /* Horizontal scroll */
  padding: 10px 5px;
  scrollbar-width: none; /* Firefox üçün scrollbar gizlət */
  -ms-overflow-style: none; /* IE/Edge üçün */
  justify-content: center; /* Desktopda mərkəzdə */
}

/* Chrome/Safari üçün scrollbar gizlət */
.cat-scroll-container::-webkit-scrollbar {
  display: none;
}

.new-cat-item {
  flex: 0 0 100px; /* Genişlik sabit: 100px */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  text-decoration: none;
  transition: 0.3s;
  cursor: pointer;
}

.new-cat-icon {
  width: 60px;
  height: 60px;
  border-radius: 18px;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  transition: 0.3s;
  color: var(--text-light);
}

.new-cat-item span {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
}

.new-cat-item:hover .new-cat-icon {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  background: var(--primary);
  color: white;
}

/* Mobil üçün düzəliş */
@media (max-width: 768px) {
  .cat-scroll-container {
    justify-content: flex-start; /* Mobildə sola yaslansın ki, scroll olsun */
    padding-left: 15px;
    padding-right: 15px;
  }
  .new-cat-item {
    flex: 0 0 85px; /* Mobildə biraz yığcam */
  }
  .new-cat-icon {
    width: 55px;
    height: 55px;
    font-size: 1.3rem;
  }
  .new-cat-item span {
    font-size: 0.75rem;
  }
}

/* --- SERVICES (Xidmətlər) STYLES --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 25px;
}
.service-card {
  background: white;
  border-radius: 16px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
  border: 1px solid #dcfce7;
  transition: 0.3s;
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(22, 163, 74, 0.15);
  border-color: #22c55e;
}
.service-img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #f0fdf4;
}
.service-info {
  flex: 1;
}
.service-info h4 {
  margin: 0;
  font-size: 1rem;
  color: #1e293b;
}
.service-cat {
  font-size: 0.8rem;
  color: #16a34a; /* Green Text */
  font-weight: 600;
  margin-bottom: 5px;
  display: block;
}
.service-call-btn {
  background: #22c55e;
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
  box-shadow: 0 4px 10px rgba(34, 197, 94, 0.3);
}
.service-call-btn:hover {
  background: #15803d;
  transform: scale(1.1);
}

/* --- ZIG-ZAG PROBLEMİNİ HƏLL EDƏN KOD (MÜTLƏQ YAZILMALIDIR) --- */

/* Konteyner */
.zigzag-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: block !important;
}

/* Sətirlər mütləq Flex olmalıdır */
.zigzag-row {
  display: flex !important;
  flex-direction: row !important; /* Yan-yana məcbur et */
  align-items: center !important;
  justify-content: space-between !important;
  gap: 50px !important;
  margin-bottom: 80px !important;
  width: 100% !important;
}

/* Tərsinə olan sətir (2-ci sətir) */
.zigzag-row.reverse {
  flex-direction: row-reverse !important; /* Tərsinə məcbur et */
}

/* Yazı hissəsi */
.z-content {
  flex: 1 !important;
  width: 50% !important; /* Yarısını tutsun */
  padding: 20px !important;
}

.z-content h2 {
  font-size: 2.5rem !important;
  color: #0f172a !important;
  margin-bottom: 20px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
}

.z-content p {
  font-size: 1.1rem !important;
  color: #64748b !important;
  line-height: 1.6 !important;
}

/* Şəkil Qutusu */
.z-image-box {
  flex: 1 !important;
  width: 50% !important; /* Digər yarısını tutsun */
  height: 400px !important;
  border-radius: 20px !important;
  overflow: hidden !important;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1) !important;
}

.z-image-box img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}

.z-link {
  color: #f59e0b;
  transition: 0.3s;
  display: inline-block;
  position: relative;
}

/* --- MOBİL ÜÇÜN DÜZƏLİŞ (MƏCBURİ) --- */
@media (max-width: 900px) {
  .zigzag-row,
  .zigzag-row.reverse {
    flex-direction: column-reverse !important; /* Mobildə alt-alta */
    text-align: center !important;
    gap: 30px !important;
  }

  .z-content,
  .z-image-box {
    width: 100% !important;
  }

  .z-image-box {
    height: 250px !important;
  }
}

/* --- YENİ FAQ (2 SÜTUNLU) STİLLƏRİ --- */
.faq-section {
  background: #f8fafc;
  padding: 80px 0;
}

/* 2 Sütunlu Grid Sistemi */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr; /* Yarı-yarı */
  gap: 30px; /* Sütunlar arası məsafə */
  max-width: 1200px;
  margin: 0 auto;
}

.faq-column {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* Accordion Item Dizaynı */
.accordion-item {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
  overflow: hidden;
  border: 1px solid #e2e8f0;
  transition: 0.3s;
}

.accordion-item:hover {
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
  border-color: #cbd5e1;
}

.accordion-header {
  width: 100%;
  text-align: left;
  padding: 20px;
  border: none;
  background: white;
  outline: none;
  font-size: 1rem;
  font-weight: 700;
  color: #1e293b;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: 0.3s;
}

.accordion-header:hover {
  background: #fdfdfd;
  color: #2563eb;
}

/* Ox işarəsi (+ / -) */
.accordion-header:after {
  content: "\f067"; /* FontAwesome Plus icon */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 0.9rem;
  color: #94a3b8;
  transition: 0.3s;
}

.accordion-header.active:after {
  content: "\f068"; /* Minus icon */
  color: #2563eb;
  transform: rotate(180deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  background: #ffffff;
}

.accordion-content p {
  padding: 0 20px 20px 20px;
  color: #64748b;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

/* Mobil Uyğunlaşdırma */
@media (max-width: 768px) {
  .faq-grid {
    grid-template-columns: 1fr; /* Mobildə tək sütun */
    gap: 15px;
  }
}

@media (max-width: 576px) {
  .cat-icon-box {
    width: 55px;
    height: 55px;
    font-size: 1.4rem;
    border-radius: 16px;
  }

  .cat-item span {
    font-size: 0.75rem;
  }

  .center-title {
    margin-bottom: 25px;
    font-size: 1.4rem;
  }
}

/* RESPONSIVE FOOTER DÜZƏLİŞLƏRİ */
@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr; /* Tablet: 2 sütun */
    gap: 50px 30px;
  }
  .cta-banner {
    flex-direction: column;
    text-align: center;
    padding: 40px 20px;
  }
  .cta-content {
    flex-direction: column;
  }
  .shape {
    display: none; /* Mobildə arxa plan simvollarını gizlət */
  }
}

@media (max-width: 576px) {
  .footer-grid {
    grid-template-columns: 1fr; /* Mobil: 1 sütun */
    gap: 40px;
  }
  .brand-col {
    text-align: center;
  }
  .footer-logo {
    justify-content: center;
  }
  .social-links {
    justify-content: center;
  }
  .footer-col h4::after {
    left: 50%;
    transform: translateX(-50%);
  }
  .footer-col {
    text-align: center;
  }
  .contact-row {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .footer-container {
    grid-template-columns: 1fr 1fr;
  }
  .zigzag-item {
    flex-direction: column !important;
    text-align: center;
    gap: 20px;
  }
  .zigzag-icon {
    margin: 0 auto;
  }
  .zigzag-text p {
    margin: 0 auto;
  }
  .af-grid {
    grid-template-columns: 1fr;
  }
}

/* RESPONSIVE HİSSƏSİ (Mobile Düzəlişlər) */
@media (max-width: 768px) {
  header {
    height: 60px;
    padding: 0 15px;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 1000;
  }
  .dyn-el.button {
    padding: 6px 14px !important; /* İç boşluğu azaldırıq */
    font-size: 0.75rem !important; /* Yazını kiçildirik */
    border-radius: 30px !important; /* Küncləri yumrulayırıq */
    line-height: 1; /* Hündürlüyü azaldırıq */
  }

  /* 2. Mövqeni tam aşağı sağ küncə çəkirik */
  .pos-bottom-right {
    bottom: 30px !important; /* Aşağıdan məsafə (əvvəl 15% idi) */
    right: 20px !important; /* Sağdan məsafə */
    left: auto !important; /* Sol tərəfi ləğv edirik */
    transform: none !important; /* Mərkəzləşdirməni ləğv edirik */
    width: auto !important; /* Genişliyi mətnə görə olsun */
  }

  /* 1. Hamburger - SOL */
  #openSidebar {
    display: flex !important;
    background: transparent;
    border: none;
    font-size: 1.4rem;
    padding: 0;
    margin: 0 !important;
    order: 1; /* Solda olsun */
    color: white;
    cursor: pointer;
  }

  /* 2. Logo - MƏRKƏZ (Absolute) */
  .logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    order: 2; /* HTML-də yerinə baxmayaraq ortada duracaq */
  }
  .logo h1 {
    font-size: 0; /* Yazını kiçilt */
    display: flex;
    align-items: center;
  }
  .logo h1 i {
    font-size: 1.6rem;
    display: block;
    color: #f59e0b;
  }
  /* Əgər "Bərdə Elan" yazısını da görmək istəyirsinizsə: */
  .logo h1::after {
    content: "Bərdə Elan";
    font-size: 1.2rem;
    color: white;
    margin-left: 8px;
  }

  /* 3. Profil - SAĞ */
  .header-actions {
    order: 3; /* Sağda olsun */
    display: flex;
    align-items: center;
    gap: 10px;
  }

  /* Gizlədiləcəklər */
  .mobile-hide,
  .nav-menu {
    display: none !important;
  }

  /* User Dropdown */
  #userProfileMenu {
    display: block !important;
    margin-right: 0;
  }

  /* User adını gizlə, ancaq ikonu saxla */
  #userNameDisplay {
    display: none !important;
  }

  .profile-btn {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    font-size: 1.4rem !important;
    color: white !important;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* Slider Height Adjustment */
  .main-hero-area {
    height: 500px;
  }

  /* Footer Fixes */
  .steps-grid {
    grid-template-columns: 1fr;
  }
  .newsletter-box {
    padding: 30px 20px;
  }
  .nl-form {
    flex-direction: column;
    width: 100%;
  }
  .nl-form input {
    width: 100%;
    border-radius: 50px;
    margin-bottom: 15px;
  }
  .nl-form button {
    width: 100%;
    border-radius: 50px;
  }
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 30px;
  }
  .social-links {
    justify-content: center;
    margin-bottom: 20px;
  }
  .footer-brand h3 {
    margin-top: 0;
  }
  .contact-item {
    justify-content: center;
  }
  .footer-links {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}

/* --- REKLAM BANNERLƏRİ (DÜZƏLDİLMİŞ VERSİYA) --- */
.ad-banner-section {
  padding: 40px 0; /* Yuxarı və aşağı boşluq artırıldı */
  width: 100%;
}

/* Banner qutusu */
.ad-box {
  display: block;
  width: 100%;
  height: 180px; /* Hündürlük bir az azaldıldı ki, daha estetik olsun */
  border-radius: 20px; /* Künclər daha yumşaq oldu */
  overflow: hidden;
  position: relative;
  text-decoration: none;
  /* Kölgə effekti əlavə edildi ki, havada qalsın */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ad-box:hover {
  transform: translateY(-5px); /* Üstünə gələndə azca yuxarı qalxır */
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

/* Şəkil üçün tənzimləmə */
.ad-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Qradient (Şəkilsiz) Banner üçün daxili stil */
.ad-gradient-content {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  padding: 20px;
}

.ad-gradient-content h3 {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.ad-gradient-content p {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 15px;
  max-width: 600px;
}

.ad-call-btn {
  background: #f59e0b;
  color: white;
  padding: 10px 25px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

/* Mobil uyğunlaşdırma */
@media (max-width: 768px) {
  .ad-box {
    height: auto; /* Mobildə hündürlük avtomatik olsun */
    min-height: 140px;
  }
  .ad-gradient-content {
    padding: 30px 15px;
  }
  .ad-gradient-content h3 {
    font-size: 1.4rem;
  }
}
/* Daha Çox Göstər Düyməsi */
.btn-load-more {
  background: white;
  color: #1e293b;
  border: 2px solid #e2e8f0;
  padding: 14px 40px;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.btn-load-more:hover {
  border-color: #3b82f6;
  color: #3b82f6;
  transform: translateY(-3px);
  box-shadow: 0 10px 15px rgba(59, 130, 246, 0.1);
}

.btn-load-more:active {
  transform: translateY(-1px);
}

/* Mobildə düyməni biraz genişləndir */
@media (max-width: 768px) {
  .btn-load-more {
    width: 90%;
    justify-content: center;
  }
}

/* Infinite scroll sentinel (görünməz trigger) */
.infinite-sentinel {
  height: 1px;
  width: 100%;
}
.footer-logo img {
  height: 40px; /* Logonun hündürlüyü - ehtiyaca görə artırıb/azalda bilərsən */
  width: auto;
  object-fit: contain;
  margin-right: 10px; /* Yazı ilə şəkil arasındakı məsafə */
  display: block;
}
/* --- LOGOUT MODAL STYLES (style.css ən sonuna əlavə edin) --- */
.logout-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* Tünd fon */
  backdrop-filter: blur(5px); /* Arxa fonu bulandıran effekt */
  z-index: 9999; /* Hər şeyin üzərində olması üçün */
  display: none; /* Başlanğıcda gizli */
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* JavaScript "show" klassını əlavə edəndə görünən olsun */
.logout-modal-overlay.show {
  opacity: 1;
}

.logout-modal-box {
  background: white;
  width: 90%;
  max-width: 400px;
  padding: 30px;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
  transform: scale(0.8);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.logout-modal-overlay.show .logout-modal-box {
  transform: scale(1);
}

.logout-icon {
  width: 80px;
  height: 80px;
  background: #fee2e2; /* Açıq qırmızı */
  color: #ef4444; /* Qırmızı ikon */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 20px auto;
}

.logout-modal-box h3 {
  font-size: 1.5rem;
  color: #1e293b;
  margin-bottom: 10px;
  font-weight: 700;
}

.logout-modal-box p {
  color: #64748b;
  margin-bottom: 25px;
  font-size: 1rem;
}

.logout-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
}

.logout-buttons button {
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: 0.3s;
  flex: 1;
}

.btn-cancel {
  background: #f1f5f9;
  color: #64748b;
}

.btn-cancel:hover {
  background: #e2e8f0;
  color: #475569;
}

.btn-confirm {
  background: #ef4444;
  color: white;
  box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3);
}

.btn-confirm:hover {
  background: #dc2626;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(239, 68, 68, 0.4);
}
