/* --- Custom Scrollbar --- */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-theme);
}

::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 10px;
}

/* --- Banner --- */
.hero-section {
  background:
    linear-gradient(rgba(32, 5, 32, 0.7), rgba(32, 5, 32, 0.9)),
    url("https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcR5S-uDCd7sm41m-QSVYq7PjNHI4UttmK6gig&s");
  background-size: cover;
  background-position: top;
  background-attachment: fixed;
  height: 85vh;
  display: flex;
  align-items: center;
  padding: 0 5%;
}

.accent-text {
  color: var(--accent);
}

/* --- Success Stories (theme-aligned) --- */
.stories-wrapper {
  background: #0a0a0a;
}

.stories-controls {
  position: sticky;
  top: 108px;
  z-index: 9;
  padding: 14px 14px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(10, 10, 10, 0.78);
  backdrop-filter: blur(10px);
}

@media (max-width: 991px) {
  .stories-controls {
    position: static;
    top: auto;
    padding: 0;
    border: 0;
    background: transparent;
    backdrop-filter: none;
  }
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(249, 181, 34, 0.7);
  animation: pulse-gold 2s infinite;
}

@keyframes pulse-gold {
  70% {
    box-shadow: 0 0 0 10px rgba(249, 181, 34, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(249, 181, 34, 0);
  }
}

.search-glass-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 2px 2px 2px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.search-glass-wrapper:focus-within {
  border-color: rgba(249, 181, 34, 0.6);
  box-shadow: 0 0 0 3px rgba(249, 181, 34, 0.12);
}

.search-icon {
  color: var(--accent);
  font-size: 0.9rem;
}

.search-input {
  width: 100%;
  border: none;
  outline: none;
  background: transparent;
  color: #fff;
  padding: 12px 16px 12px 0;
  font-size: 0.95rem;
}

.search-input::placeholder {
  color: rgba(255, 255, 255, 0.55);
}

.filter-chips-wrap {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.filter-chips {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  padding-bottom: 4px;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
}

.filter-chips::-webkit-scrollbar {
  height: 6px;
}

.filter-chip {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.78);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 0.88rem;
  font-weight: 500;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.filter-chip:hover {
  border-color: rgba(249, 181, 34, 0.45);
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.filter-chip.active {
  border-color: rgba(249, 181, 34, 0.6);
  color: #000;
  background: var(--accent);
}

.filter-chip .chip-count {
  font-size: 0.75rem;
  line-height: 1;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.18);
  color: inherit;
}

.filter-chip.active .chip-count {
  background: rgba(0, 0, 0, 0.25);
}

.results-meta {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  font-weight: 400;
}

.case-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
  position: relative;
  overflow: hidden;
  height: 100%;
}

.case-card:hover {
  transform: translateY(-4px);
  border-color: rgba(249, 181, 34, 0.45);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.35);
}

.case-card h3,
.case-card h4 {
  transition: color 0.25s ease;
  line-height: 1.35;
}

.case-card:hover h3,
.case-card:hover h4 {
  color: var(--accent) !important;
}

.case-img-container {
  min-height: 280px;
  height: 100%;
  position: relative;
  overflow: hidden;
  background: #121212;
}

.case-img-container.small {
  min-height: 210px;
  height: 210px;
}

.case-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.case-card:hover .case-img {
  transform: scale(1.06);
}

.case-body {
  padding: 30px;
}

.case-tag {
  display: inline-block;
  background: rgba(249, 181, 34, 0.12);
  border: 1px solid rgba(249, 181, 34, 0.28);
  color: var(--accent);
  padding: 5px 13px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.2px;
}

.case-tag.floating {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  backdrop-filter: blur(4px);
}

.case-stats > div {
  min-width: 96px;
}

.mini-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.85rem;
}

.mini-meta strong {
  color: #fff;
  font-weight: 600;
}

.view-project {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  margin-top: 6px;
}

.arrow-circle {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(249, 181, 34, 0.65);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease, background-color 0.25s ease, color 0.25s ease;
  color: var(--accent);
  font-size: 0.82rem;
}

.view-project:hover .arrow-circle {
  background: var(--accent);
  color: #000;
  transform: translateX(4px);
}

.modern-pagination {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.03);
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.pag-btn,
.pag-number {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 50%;
  transition: background 0.25s ease, color 0.25s ease;
  color: var(--text-dim);
}

.pag-btn {
  background: transparent;
  border: none;
  color: var(--accent);
}

.pag-number.active {
  background: var(--accent);
  color: #000;
  font-weight: 700;
}

.pag-number:hover:not(.active) {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

/* --- Blog Cards --- */
.blog-card-new {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding-bottom: 20px;
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.blog-card-new:hover {
  transform: translateY(-5px);
}

.blog-content-new>a {
  margin-top: auto;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.blog-card-new:hover .blog-content-new>a {
  opacity: 1;
}

.blog-img-new {
  height: 200px;
  width: 100%;
  background-size: cover;
  background-position: center;
  border-radius: 4px;
  transition: transform 0.5s;
}

.blog-card-new:hover .blog-img-new {
  transform: scale(1.05);
}

.hover-white:hover {
  color: white !important;
}

/* --- Contact Section --- */
.contact-section {
  background: #000000;
}

.contact-section .label-accent {
  color: var(--accent-yellow);
  font-size: 1.2rem;
  letter-spacing: 2px;
  font-weight: bold;
}

.contact-section .line {
  display: inline-block;
  width: 45px;
  height: 0.5px;
  background: var(--accent-yellow);
  vertical-align: middle;
  margin-right: 10px;
}

.contact-section .form-control,
.contact-section .form-select {
  background-color: transparent;
  border: none;
  border-bottom: 1px solid var(--border-color);
  color: #fff !important;
  border-radius: 0;
}

.contact-section .form-control:focus,
.contact-section .form-select:focus {
  background-color: transparent;
  border-color: var(--accent-yellow);
  box-shadow: none;
}

.contact-section .input-group-custom {
  transition: all 0.3s ease;
}

.contact-section .input-group-custom:focus-within .form-label {
  color: var(--accent-yellow) !important;
}

.contact-section .input-group-custom input::placeholder,
.contact-section .input-group-custom textarea::placeholder {
  --bs-text-opacity: 1;
  color: rgba(var(--bs-secondary-rgb), var(--bs-text-opacity)) !important;
}

.contact-section textarea.form-control {
  border: none;
  border-bottom: 1px solid var(--border-color);
  border-radius: 0;
  padding: 20px 0;
  background: transparent;
}

.contact-checkbox {
  background-color: transparent;
  border-color: rgba(255, 255, 255, 0.3);
  border-radius: 3px;
}

.contact-checkbox:checked {
  background-color: var(--accent);
  border-color: var(--accent);
}

.contact-checkbox:focus {
  box-shadow: none;
  border-color: var(--accent);
}

.contact-email-link {
  color: var(--accent);
  text-decoration: none;
}

.contact-email-link:hover {
  text-decoration: underline;
  color: var(--accent);
}

/* --- Blog section header mobile --- */
@media (max-width: 575px) {
  .blog-section-header {
    flex-direction: column;
    gap: 1rem;
  }
}

/* --- Blog / Contact section fixes --- */
section#blogs {
  background-color: #000000 !important;
}

.contact-section {
  background-color: #000000 !important;
}

.blog-card-new {
  border-bottom: 1px solid transparent !important;
}

.blog-card-new .blog-content-new>a,
.blog-card-new a.hover-white:not(.btn) {
  opacity: 0;
  transition: opacity 0.3s ease;
}

.blog-card-new:hover .blog-content-new>a,
.blog-card-new:hover a.hover-white:not(.btn) {
  opacity: 1;
}
