/* ==========================================
   HEN & ASSOCIATES — CSS DESIGN SYSTEM
   ========================================== */

/* Import Google Font Inter */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* ============ DESIGN TOKENS ============ */
:root {
  /* Colors */
  --color-dark-bg: #0b0d0e;
  --color-dark-surface: #121517;
  --color-dark-card: #1c2024;
  --color-light-bg: #f8f9fa;
  --color-light-surface: #ffffff;
  --color-light-card: #ffffff;
  --color-primary: #f5b700;
  /* Safety Gold */
  --color-primary-bright: #ffcc00;
  --color-accent: #d15200;
  /* Safety Rust / Orange */
  --color-text-light: #ffffff;
  --color-text-dark: #14181b;
  --color-text-muted: #8e9ca6;
  --color-text-muted-dark: #626d75;
  --color-border-light: rgba(255, 255, 255, 0.08);
  --color-border-dark: rgba(20, 24, 27, 0.08);

  /* Fonts */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Layout */
  --max-width: 1240px;
  --header-height: 72px;
  --transition-smooth: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-fast: all 0.2s ease;
}

/* ============ BASE STYLES ============ */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
  overflow-x: clip;
}

body {
  font-family: var(--font-family);
  background-color: var(--color-light-bg);
  color: var(--color-text-dark);
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  outline: none;
}

/* ============ BOOTSTRAP OVERRIDES ============ */
.btn,
a.btn,
button.btn {
  font-family: var(--font-family);
  font-weight: 600;
  border-radius: 8px;
  transition: var(--transition-smooth);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

a {
  color: inherit;
  text-decoration: none;
}

.carousel-control-prev,
.carousel-control-next {
  display: none;
}

button {
  border: none;
  background: none;
  outline: none;
}


ul {
  list-style: none;
}

/* ============ UTILITY CLASSES ============ */
.wrap {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section-padding {
  padding: 100px 0;
}

@media (max-width: 768px) {
  .section-padding {
    padding: 70px 0;
  }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-accent);
  margin-bottom: 16px;
}

.eyebrow::before {
  content: '';
  width: 24px;
  height: 2px;
  background-color: var(--color-accent);
}

.eyebrow.on-dark {
  color: var(--color-primary);
}

.eyebrow.on-dark::before {
  background-color: var(--color-primary);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.section-title {
  font-size: clamp(32px, 4vw, 44px);
  margin-bottom: 20px;
  font-weight: 800;
}

.section-desc {
  font-size: 16px;
  color: var(--color-text-muted-dark);
  max-width: 600px;
  margin-bottom: 40px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: var(--color-primary);
  color: var(--color-text-dark);
  font-size: 14px;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 4px;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 15px rgba(245, 183, 0, 0.15);
}

.btn:hover {
  background-color: var(--color-primary-bright);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 183, 0, 0.25);
}

.btn.secondary {
  background-color: transparent;
  color: var(--color-text-light);
  border: 1px solid var(--color-border-light);
  box-shadow: none;
}

.btn.secondary:hover {
  background-color: rgba(255, 255, 255, 0.08);
  border-color: var(--color-text-light);
  transform: translateY(-2px);
}

.btn.outline-dark {
  background-color: transparent;
  color: var(--color-text-dark);
  border: 1px solid var(--color-text-dark);
  box-shadow: none;
}

.btn.outline-dark:hover {
  background-color: var(--color-text-dark);
  color: var(--color-text-light);
  transform: translateY(-2px);
}

.btn svg {
  width: 16px;
  height: 16px;
  stroke-width: 2.5;
  transition: var(--transition-fast);
}

.btn:hover svg {
  transform: translateX(4px);
}

/* ============ HERO SECTION ============ */
.hero {
  position: relative;
  background-color: var(--color-dark-bg);
  color: var(--color-text-light);
  min-height: calc(90vh - var(--header-height));
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 60px 0;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-bg img,
.hero-bg video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}

.hero-bg img {
  animation: kenburns 30s infinite alternate;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(11, 13, 14, 0.636) 40%, rgba(11, 13, 14, 0.279) 70%, rgba(11, 13, 14, 0.258) 100%);
}

.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1.5px, transparent 1.5px);
  background-size: 24px 24px;
}

.hero .wrap {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.hero-content {
  max-width: 620px;
}

.hero-content h1 {
  font-size: clamp(38px, 5.5vw, 62px);
  font-weight: 800;
  line-height: 1.08;
  margin-bottom: 24px;
  letter-spacing: -0.03em;
}

.hero-content h1 span.accent {
  color: var(--color-primary);
  background: linear-gradient(135deg, var(--color-primary-bright) 30%, var(--color-primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-content p {
  font-size: 16px;
  color: var(--color-text-muted);
  margin-bottom: 36px;
  max-width: 520px;
}

.hero-services-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 36px;
}

.hero-service-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
  color: var(--color-text-light);
}

.hero-service-item svg {
  width: 18px;
  height: 18px;
  color: var(--color-primary);
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-stats-row {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  border-left: 2px solid rgba(255, 255, 255, 0.15);
  padding-left: 24px;
}

.hero-stat {
  display: flex;
  flex-direction: column;
}

.hero-stat .stat-num {
  font-size: 32px;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1.1;
}

.hero-stat .stat-lbl {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
  margin-top: 4px;
}

.hero-media {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-media-wrapper {
  position: relative;
  border: 1px solid var(--color-border-light);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  aspect-ratio: 4/5;
  width: 80%;
  max-width: 380px;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-media:hover img {
  transform: scale(1.05);
}

.hero-media-tag {
  position: absolute;
  bottom: 0;
  left: 0;
  background-color: var(--color-primary);
  color: var(--color-text-dark);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 8px 16px;
  text-transform: uppercase;
  border-radius: 0 4px 0 0;
  z-index: 3;
}

@keyframes kenburns {
  0% {
    transform: scale(1);
  }

  100% {
    transform: scale(1.15);
  }
}

@media (max-width: 992px) {
  .hero .wrap {
    grid-template-columns: 1fr;
  }

  .hero-media {
    display: none;
  }
}

/* ============ MARQUEE SECTION ============ */
.marquee {
  background-color: var(--color-light-surface);
  border-bottom: 1px solid var(--color-border-dark);
  padding: 30px 0;
  overflow: hidden;
  position: relative;
}

.marquee-title {
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-text-muted-dark);
  margin-bottom: 24px;
}

.marquee-container {
  display: flex;
  overflow: hidden;
  user-select: none;
  position: relative;
  width: 100%;
}

.marquee-track {
  display: flex;
  gap: 40px;
  white-space: nowrap;
  animation: scrollMarquee 30s linear infinite;
  align-items: center;
  width: max-content;
}

.marquee-item {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 80px;
}

.marquee-item img {
  height: 100%;
  width: auto;
  object-fit: contain;
}

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

  100% {
    transform: translateX(-50%);
  }
}

/* ============ ABOUT SECTION ============ */
.about-section {
  font-family: var(--font-family);
  background: #fff;
  padding: 90px 0;
}

.about-flex-container {
  display: flex;
  align-items: center;
  gap: 40px;
}

.about-content-left {
  flex: 1 1 65%;
}

.about-content-right {
  flex: 1 1 35%;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.about-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #e6e6e6;
  border-radius: 10px;
  padding: 10px 18px;
  font-size: 18px;
  font-weight: 600;
  color: #111;
  background: #fff;
}

.about-badge svg {
  width: 20px;
  height: 20px;
  color: #f5bf25;
}

.about-title {
  font-size: 45px;
  line-height: 1.12;
  font-weight: 800;
  color: #1b1b1b;
  letter-spacing: -2px;
  margin-top: 32px;
  margin-bottom: 0;
}

/* 
.highlight-text {
  background: #f6c52c;
  padding: 2px 16px 8px;
  border-radius: 6px;
  display: inline-block;
} */

.about-description {
  font-size: clamp(16px, 2vw, 25px);
  line-height: 1.7;
  color: #626262;
  margin-top: 28px;
  max-width: 900px;
}

.about-features-flex {
  display: flex;
  gap: 30px;
  margin-top: 40px;
}

.about-feature-card h4 {
  font-size: 19px;
  font-weight: 700;
  margin: 20px 0 12px;
  color: #1d1d1d;
}

.about-feature-card p {
  color: #6b6b6b;
  font-size: 14px;
  line-height: 1.6;
}

.about-feature-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #fff5d8;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-feature-icon svg {
  width: 30px;
  height: 30px;
  color: #1d1d1d;
}

.about-divider {
  border: none;
  border-top: 1px solid #e5e5e5;
  margin: 32px 0;
  opacity: 1;
}

.about-checklist-flex {
  display: flex;
  gap: 40px;
}

.about-list {
  list-style: none;
  padding: 0;
  margin: 0;
  flex: 1;
}

.about-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
  color: #5d5d5d;
  font-size: 14px;
  font-weight: 500;
}

.about-list svg {
  width: 18px;
  height: 18px;
  color: #444;
}

.discover-btn {
  display: inline-flex;
  align-items: center;
  gap: 0;
  margin-top: 24px;
  text-decoration: none;
  background: #f6c52c;
  color: #111;
  font-size: clamp(16px, 1.8vw, 24px);
  font-weight: 700;
  border-radius: 18px;
  overflow: hidden;
  padding-left: 34px;
  transition: var(--transition-smooth);
}

.discover-btn:hover {
  color: #111;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(246, 197, 44, 0.3);
}

.discover-btn-icon {
  width: 62px;
  height: 62px;
  background: black;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: 28px;
}

.discover-btn-icon svg {
  width: 22px;
  height: 22px;
}

.about-image {
  width: 100%;
  height: 600px;
  border-radius: 24px;
  overflow: hidden;
  background: #f2f2f2;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right;
  transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.about-image:hover img {
  transform: scale(1.04);
}

.experience-box {
  margin-top: 22px;
  background: #f6c52c;
  border-radius: 20px;
  padding: 36px;
}

.experience-box h2 {
  font-size: 78px;
  line-height: 1;
  font-weight: 800;
  margin-bottom: 8px;
  color: #111;
}

.experience-box p {
  margin: 0;
  font-size: 28px;
  font-weight: 700;
  color: #111;
}

@media (max-width: 992px) {
  .about-flex-container {
    flex-direction: column;
  }

  .about-content-left {
    flex: 1 1 100%;
  }

  .about-content-right {
    flex: 1 1 100%;
  }

  .about-title {
    font-size: 33px;
  }

  .about-description {
    font-size: 18px;
  }

  .about-features-flex {
    flex-direction: column;
    gap: 24px;
  }

  /* .about-feature-card h4 {
    font-size: 28px;
  } */

  .about-feature-card p {
    font-size: 18px;
  }

  .about-checklist-flex {
    flex-direction: column;
    gap: 16px;
  }

  .about-list li {
    font-size: 18px;
  }

  .discover-btn {
    font-size: 18px;
  }

  .about-image {
    height: 450px;
  }

  .experience-box h2 {
    font-size: 54px;
  }

  .experience-box p {
    font-size: 22px;
  }
}

/* ============ GLOBAL PRESENCE SECTION ============ */
.presence-section {
  /* background: linear-gradient(135deg, #0f0f0f 0%, #1a1a1a 50%, #0f0f0f 100%); */
  background: linear-gradient(rgba(29, 29, 29, 0.95), rgba(29, 29, 29, 0.95)), url('../../assets/rigs.PNG') center/cover no-repeat;
  background-attachment: fixed;
  color: var(--color-text-light);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.presence-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 20% 50%, rgba(246, 197, 44, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.presence-content {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  align-items: center;
  gap: 60px;
}

.presence-text {
  flex: 0 0 45%;
  max-width: 500px;
}

.presence-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(246, 197, 44, 0.1);
  border: 1px solid rgba(246, 197, 44, 0.3);
  color: var(--color-primary);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
}

.presence-badge svg {
  width: 16px;
  height: 16px;
}

.presence-title {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
}

.highlight-text {
  color: var(--color-primary);
  display: block;
}

.presence-description {
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text-muted);
  margin-bottom: 30px;
}

.presence-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.presence-stat-card {
  background: rgba(30, 30, 30, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 16px 14px;
  text-align: center;
  transition: var(--transition-smooth);
}

.presence-stat-card:hover {
  border-color: var(--color-primary);
  transform: translateY(-3px);
  background: rgba(40, 40, 40, 0.8);
}

.stat-icon {
  width: 36px;
  height: 36px;
  background: rgba(246, 197, 44, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
  color: var(--color-primary);
}

.stat-icon svg {
  width: 18px;
  height: 18px;
}

.stat-number {
  font-size: clamp(24px, 2.5vw, 30px);
  font-weight: 800;
  color: var(--color-text-light);
  line-height: 1;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 10px;
  font-weight: 600;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.presence-map-wrapper {
  flex: 1;
  position: relative;
  max-width: 550px;
  overflow: hidden;
}

.presence-map-image {
  width: 100%;
  height: auto;
  display: block;
  opacity: 0.7;
  filter: brightness(0.9) contrast(1.1);
}

.map-marker {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.marker-1 {
  top: 25%;
  left: 45%;
}

.marker-2 {
  top: 40%;
  left: 18%;
}

.marker-3 {
  top: 55%;
  left: 48%;
}

.marker-pulse {
  position: absolute;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(246, 197, 44, 0.3);
  animation: pulse-ring 2s ease-out infinite;
}

.marker-dot {
  width: 12px;
  height: 12px;
  background: var(--color-primary);
  border-radius: 50%;
  border: 2px solid #fff;
  z-index: 2;
  box-shadow: 0 0 10px rgba(246, 197, 44, 0.5);
}

.marker-label {
  position: absolute;
  top: 20px;
  white-space: nowrap;
  font-size: 11px;
  font-weight: 700;
  color: var(--color-primary);
  background: rgba(15, 15, 15, 0.9);
  padding: 4px 10px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

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

  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

/* Presence Responsive */
@media (max-width: 992px) {
  .presence-content {
    flex-direction: column;
  }

  .presence-text {
    max-width: 100%;
  }

  .presence-map-wrapper {
    max-width: 100%;
    width: 100%;
  }

  .presence-map-image {
    max-height: 320px;
    object-fit: contain;
  }

  .presence-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .presence-map-image {
    max-height: 240px;
  }

  .map-marker {
    display: none;
  }
}

/* ============ VALUE BANNER ============ */
.banner {
  position: relative;
  background-color: #e8e8e8;
  color: var(--color-text-dark);
  overflow: hidden;
}

.banner-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.banner-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
}

.banner-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(232, 232, 232, 0.92) 30%, rgba(232, 232, 232, 0.75) 100%);
}

.banner .wrap {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: center;
}

.banner-intro h2 {
  font-size: clamp(28px, 3.5vw, 38px);
  line-height: 1.2;
  margin-bottom: 20px;
}

.banner-intro p {
  color: var(--color-text-muted-dark);
  font-size: 15px;
  margin-bottom: 30px;
  max-width: 460px;
}

.banner-blocks {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.value-block {
  display: flex;
  gap: 20px;
}

.value-icon {
  width: 44px;
  height: 44px;
  background-color: rgba(245, 183, 0, 0.12);
  border: 1px solid var(--color-border-dark);
  color: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.value-icon svg {
  width: 20px;
  height: 20px;
}

.value-info h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 6px;
}

.value-info p {
  font-size: 14px;
  color: var(--color-text-muted-dark);
  line-height: 1.5;
}

.value-info ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
}

.value-info li {
  font-size: 14px;
  color: var(--color-text-muted-dark);
  display: flex;
  gap: 8px;
}

.value-info li::before {
  content: '—';
  color: var(--color-accent);
  font-weight: 700;
}

@media (max-width: 992px) {
  .banner .wrap {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* ============ SERVICES SECTION ============ */
.services-section {
  position: relative;
  width: 100%;
  background: linear-gradient(rgba(29, 29, 29, 0.95), rgba(29, 29, 29, 0.95)), url('../../assets/tallrigwell.webp') center/cover no-repeat;
  padding: 90px;
  overflow: hidden;
  background-attachment: fixed;
}

.services-container {
  width: 92%;
  max-width: 1380px;
  margin: 0 auto;
  position: relative;
}

.services-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #3c3213;
  color: #fff;
  border: 1px solid rgba(255, 203, 47, 0.25);
  border-radius: 6px;
  padding: 8px 14px;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 34px;
}

.tag-icon {
  color: #ffca2c;
}

.tag-icon svg {
  width: 20px;
  height: 20px;
}

.floating-circle {
  position: absolute;
  border-radius: 50%;
}

.floating-circle.one {
  width: 30px;
  height: 30px;
  border: 4px solid #ffca2c;
  top: 22px;
  left: 48%;
}

.floating-circle.one::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  background: #ffffff;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.services-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 70px;
  margin-bottom: 55px;
}

.services-left {
  flex: 1;
  max-width: 820px;
}

.services-right {
  width: 330px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.services-title {
  font-size: 50px;
  line-height: 1.08;
  color: #fff;
  font-weight: 800;
  letter-spacing: -2px;
  margin: 0 0 28px;
}

.highlight {
  display: inline-block;
  background: #ffca2c;
  color: #1b1b1b;
  padding: 10px 14px;
  border-radius: 4px;
}

.services-description {
  color: #d5d5d5;
  font-size: clamp(16px, 1.8vw, 22px);
  line-height: 1.75;
  max-width: 900px;
  margin: 0;
}

.google-review {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 38px;
}

.google-icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #514119;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 38px;
  font-weight: 700;
  color: #fff;
}

.google-content {
  display: flex;
  flex-direction: column;
}

.stars {
  color: #ffca2c;
  font-size: 26px;
  letter-spacing: 3px;
  margin-bottom: 5px;
}

.review-text {
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.view-services-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: 220px;
  background: #ffca2c;
  color: #141414;
  text-decoration: none;
  padding: 6px 6px 6px 28px;
  border-radius: 16px;
  font-weight: 800;
  font-size: 16px;
  transition: var(--transition-smooth);
}

.view-services-btn:hover {
  transform: translateY(-5px);
}

.btn-arrow {
  width: 56px;
  height: 56px;
  background: #fff;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.btn-arrow svg {
  width: 22px;
  height: 22px;
  color: #111;
}

.view-services-btn:hover .btn-arrow {
  transform: rotate(45deg);
}

.services-slider-wrapper {
  position: relative;
  margin-top: 10px;
  padding: 0 30px;
  overflow: visible;
}

.services-grid-home {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 10px;
}

.services-grid-home .services-card {
  flex: 1 1 calc(25% - 21px);
  min-width: 240px;
}

.services-grid-home .service-hidden {
  display: none;
}

.services-grid-home .service-visible {
  display: block;
}

.services-home-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 40px;
}

.services-see-less {
  display: none !important;
}

.services-see-less.active {
  display: inline-flex !important;
}

.btn-white {
  background: #fff;
  color: var(--color-text-dark);
  border: 2px solid #fff;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-white:hover {
  background: transparent;
  color: #fff;
  border-color: #fff;
}

.services-slider-wrapper .carousel {
  overflow: hidden;
}

.services-slider-wrapper .carousel-inner {
  display: flex;
  gap: 28px;
  transition: transform 0.5s ease;
}

.services-slider-wrapper .carousel-item {
  flex: 0 0 calc(33.333% - 19px);
  min-width: 0;
  margin-right: 0;
  padding-right: 0;
  transition: none;
}

.services-card,
a.services-card {
  position: relative;
  height: 460px;
  overflow: hidden;
  border-radius: 18px;
  cursor: pointer;
  background: #000;
  display: block;
  text-decoration: none;
  color: inherit;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #1a1a1a;
  border: 2px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: var(--transition-smooth);
  z-index: 20;
  opacity: 0;
  pointer-events: none;
}

.services-slider-wrapper:hover .slider-btn {
  opacity: 1;
  pointer-events: auto;
}

.slider-prev {
  left: 5px;
}

.slider-next {
  right: 5px;
}

.slider-btn:hover {
  background: #ffca2c;
  color: #111;
  border-color: #ffca2c;
}

.slider-btn svg {
  width: 24px;
  height: 24px;
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}

.slider-dots button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  cursor: pointer;
  transition: var(--transition-smooth);
  padding: 0;
}

.slider-dots button.active {
  background: #ffca2c;
  transform: scale(1.2);
}

.slider-dots button:hover {
  background: rgba(255, 255, 255, 0.4);
}

.services-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
  display: block;
}

.card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.30) 35%, rgba(0, 0, 0, 0.08) 100%);
  transition: var(--transition-smooth);
}

.service-icon-circle {
  position: absolute;
  top: 18px;
  left: 18px;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #ffca2c;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 5;
  transition: var(--transition-smooth);
}

.service-icon-circle svg {
  width: 28px;
  height: 28px;
  color: #111;
}

.card-content {
  position: absolute;
  left: 22px;
  right: 20px;
  bottom: 20px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  z-index: 10;
}

.card-content h3 {
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  max-width: 240px;
  margin: 0 0 8px;
}

.card-content p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 13px;
  line-height: 1.5;
  margin: 0;
  max-width: 220px;
}

.card-arrow {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #fff;
  color: #111;
  text-decoration: none;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  transition: var(--transition-smooth);
}

.card-arrow svg {
  width: 20px;
  height: 20px;
}

.services-card:hover img {
  transform: scale(1.08);
}

.services-card:hover .card-overlay {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.58), rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0));
}

.services-card:hover .service-icon-circle {
  transform: translateY(-6px);
}

.services-card:hover .card-arrow {
  background: #ffca2c;
  transform: rotate(45deg);
}

.services-card:hover {
  transform: translateY(-8px);
  transition: var(--transition-smooth);
}

@media (max-width: 1200px) {
  .services-title {
    font-size: 54px;
  }

  .review-text {
    font-size: 18px;
  }

  .services-description {
    font-size: 18px;
  }
}

@media (max-width: 992px) {
  .services-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 40px;
  }

  .services-right {
    width: 100%;
  }

  .services-slider-wrapper .carousel-item {
    flex: 0 0 calc(50% - 14px);
  }

  .services-grid-home .services-card {
    flex: 1 1 calc(50% - 14px);
  }

  .floating-circle {
    display: none;
  }
}

@media (max-width: 768px) {
  .services-section {
    padding: 70px 0;
  }

  .services-title {
    font-size: 40px;
    line-height: 1.15;
    letter-spacing: -1px;
  }

  .highlight {
    display: inline;
    padding: 6px 10px;
  }

  .services-description {
    font-size: 16px;
    line-height: 1.8;
  }

  .services-slider-wrapper .carousel-item {
    flex: 0 0 100%;
  }

  .services-grid-home .services-card {
    flex: 1 1 100%;
  }

  .services-card {
    height: 400px;
  }

  .slider-btn {
    width: 40px;
    height: 40px;
  }

  .slider-prev {
    left: 5px;
  }

  .slider-next {
    right: 5px;
  }

  .slider-btn svg {
    width: 20px;
    height: 20px;
  }

  .view-services-btn {
    width: 100%;
    max-width: 320px;
  }

  .google-review {
    margin-bottom: 24px;
  }
}

@media (max-width: 480px) {
  .services-title {
    font-size: 34px;
  }

  .services-tag {
    font-size: 14px;
    padding: 7px 12px;
  }

  .services-card {
    height: 340px;
  }

  .service-icon-circle {
    width: 56px;
    height: 56px;
  }

  .service-icon-circle svg {
    width: 24px;
    height: 24px;
  }

  .card-content {
    left: 18px;
    right: 18px;
    bottom: 18px;
  }

  .card-content h3 {
    font-size: 16px;
    max-width: 200px;
  }

  .card-arrow {
    width: 44px;
    height: 44px;
  }

  .card-arrow svg {
    width: 18px;
    height: 18px;
  }
}

/* ============ TECHNOLOGY SECTION ============ */
.technology-section {
  font-family: var(--font-family);
  background: var(--color-light-surface);
  padding: 90px 0;
  overflow: hidden;
}

.tech-flex-container {
  display: flex;
  align-items: center;
  gap: 50px;
}

.tech-content-left {
  flex: 1 1 50%;
}

.tech-content-right {
  flex: 1 1 50%;
  text-align: center;
}

.tech-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--color-border-dark);
  border-radius: 10px;
  padding: 10px 18px;
  font-weight: 600;
  color: var(--color-text-dark);
  font-size: 16px;
  background: var(--color-light-surface);
}

.tech-badge svg {
  width: 20px;
  height: 20px;
  color: var(--color-primary);
}

.tech-title {
  font-size: clamp(36px, 4vw, 52px);
  line-height: 1.08;
  font-weight: 800;
  color: var(--color-text-dark);
  letter-spacing: -2px;
  margin-top: 32px;
  margin-bottom: 0;
}

.yellow-highlight {
  background: var(--color-primary);
  display: inline-block;
  padding: 3px 14px 6px;
  border-radius: 6px;
}

.tech-text {
  color: var(--color-text-muted-dark);
  font-size: clamp(16px, 1.6vw, 20px);
  line-height: 1.8;
  max-width: 640px;
  margin-top: 28px;
}

/* Product Lines */
.product-lines {
  margin-top: 40px;
}

.product-lines h4 {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-primary);
  margin-bottom: 16px;
}

.product-lines-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.product-line-tag {
  display: inline-block;
  padding: 8px 18px;
  background: rgba(245, 183, 0, 0.08);
  border: 1px solid rgba(245, 183, 0, 0.2);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  color: black;
  transition: var(--transition-smooth);
}

.product-line-tag:hover {
  background: rgba(245, 183, 0, 0.15);
  border-color: var(--color-primary);
  transform: translateY(-2px);
}

.rating-wrapper {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 40px;
}

.rating-avatars {
  display: flex;
}

.rating-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--color-primary);
  border: 3px solid var(--color-light-surface);
  margin-left: -12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rating-avatar:first-child {
  margin-left: 0;
}

.rating-avatar svg {
  width: 22px;
  height: 22px;
  color: var(--color-text-dark);
}

.rating-text h5 {
  font-size: 22px;
  margin-bottom: 6px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.rating-text svg {
  width: 20px;
  height: 20px;
  color: var(--color-primary);
}

.rating-text p {
  margin: 0;
  color: var(--color-text-muted-dark);
  font-size: 15px;
}

.rig-image {
  max-width: 100%;
  width: 560px;
  border-radius: 12px;
  animation: floatRig 5s ease-in-out infinite;
}

@keyframes floatRig {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-12px);
  }

  100% {
    transform: translateY(0);
  }
}

.tech-divider {
  margin: 50px 0;
  opacity: 1;
  border: none;
  border-top: 1px solid var(--color-border-dark);
}

.tech-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.tech-card {
  background: var(--color-light-bg);
  border-radius: 18px;
  padding: 35px 28px;
  height: 100%;
  transition: var(--transition-smooth);
}

.tech-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.08);
}

.tech-icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--color-primary);
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 28px;
}

.tech-icon svg {
  color: var(--color-text-dark);
  width: 24px;
  height: 24px;
}

.tech-card h4 {
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 16px;
  color: var(--color-text-dark);
}

.tech-card p {
  color: var(--color-text-muted-dark);
  font-size: clamp(14px, 1.4vw, 17px);
  line-height: 1.75;
}

@media (max-width: 1200px) {
  .tech-card h4 {
    font-size: 22px;
  }

  .tech-card p {
    font-size: 16px;
  }

  .rig-image {
    width: 480px;
  }
}

@media (max-width: 992px) {
  .tech-flex-container {
    flex-direction: column;
    text-align: center;
  }

  .tech-content-left,
  .tech-content-right {
    flex: 1 1 100%;
  }

  .tech-text {
    margin-left: auto;
    margin-right: auto;
  }

  .product-lines-grid {
    justify-content: center;
  }

  .rig-image {
    width: 100%;
    max-width: 500px;
    margin-top: 20px;
  }

  .tech-cards-grid {
    grid-template-columns: 1fr 1fr;
  }

  .tech-card {
    text-align: left;
  }
}

@media (max-width: 576px) {
  .tech-cards-grid {
    grid-template-columns: 1fr;
  }

  .tech-card {
    padding: 28px 24px;
  }

  .tech-icon {
    width: 52px;
    height: 52px;
  }

  .rating-text h5 {
    font-size: 18px;
  }

  .rating-text p {
    font-size: 14px;
  }
}

/* ============ WHY CHOOSE US ============ */
.why {
  background-color: var(--color-light-bg);
}

.why .wrap {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 60px;
  align-items: center;
}

.why-media {
  position: relative;
}

.why-media-wrapper {
  position: relative;
  border-radius: 6px;
  /* overflow: hidden; */
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--color-border-dark);
  aspect-ratio: 5/4;
}

.why-floating-img {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 240px !important;
  height: 200px !important;
  object-fit: cover;
  border-radius: 10px;
  border: 3px solid #fff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  z-index: 5;
}

.why-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.why-media:hover img {
  transform: scale(1.04);
}

.why-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.why-item {
  display: flex;
  gap: 20px;
}

.why-num {
  font-size: 28px;
  font-weight: 800;
  color: var(--color-accent);
  line-height: 1.1;
  width: 40px;
  flex-shrink: 0;
}

.why-item h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--color-text-dark);
}

.why-item p {
  font-size: 14.5px;
  color: var(--color-text-muted-dark);
}

@media (max-width: 992px) {
  .why .wrap {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* ============ TEAM SECTION ============ */
.team-section {
  position: relative;
  width: 100%;
  padding: 100px 0;
  background: #ffffff;
  overflow: hidden;
}

.team-container {
  width: 92%;
  max-width: 1180px;
  margin: 0 auto;
  position: relative;
}

.team-circle {
  position: absolute;
  top: -6px;
  left: 300px;
  width: 26px;
  height: 26px;
  border: 4px solid #f6c32e;
  border-radius: 50%;
  background: #fff;
}

.team-circle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ffffff;
  transform: translate(-50%, -50%);
}

.team-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border: 1px solid #dddddd;
  border-radius: 4px;
  background: #ffffff;
  margin-bottom: 28px;
}

.team-badge .badge-icon {
  font-size: 18px;
  color: #f5c52b;
}

.team-badge .badge-icon svg {
  width: 18px;
  height: 18px;
  color: #f5c52b;
}

.team-badge span:last-child {
  font-size: 18px;
  font-weight: 500;
  color: #2a2a2a;
}

.team-title {
  max-width: 1120px;
  font-size: clamp(36px, 4.5vw, 60px);
  line-height: 1.18;
  font-weight: 800;
  color: #202020;
  letter-spacing: -1.5px;
  margin: 0 0 28px;
}

.team-highlight {
  display: inline-block;
  background: #f6c32e;
  padding: 4px 12px 7px;
  border-radius: 3px;
  color: #1c1c1c;
}

.team-description {
  max-width: 720px;
  font-size: clamp(16px, 1.8vw, 21px);
  color: #666666;
  line-height: 1.8;
  margin-bottom: 52px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.team-card {
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  transition: all 0.35s ease;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
}

.team-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.14);
}

.team-image {
  height: 360px;
  overflow: hidden;
  border-radius: 18px 18px 0 0;
}

.team-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.team-card:hover .team-image img {
  transform: scale(1.08);
}

.team-image-placeholder {
  background: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-image-placeholder svg {
  width: 80px;
  height: 80px;
  color: var(--color-text-dark);
}

.team-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 16px;
  background: #fff;
  border-radius: 0 0 18px 18px;
}

.team-text {
  flex: 1;
  min-width: 0;
}

.team-text h3 {
  margin: 0 0 8px;
  color: #171717;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.2;
}

.team-text span {
  display: block;
  color: #555;
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.team-arrow {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  margin-left: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #191919;
  color: #f6c32e;
  border-radius: 50%;
  text-decoration: none;
  transition: all 0.35s ease;
}

.team-arrow svg {
  width: 18px;
  height: 18px;
}

.team-card:hover .team-arrow {
  background: #f6c32e;
  color: #111;
  transform: rotate(45deg);
}

.team-cta {
  text-align: center;
  margin-top: 50px;
}

@media (max-width: 1100px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .team-circle {
    left: 250px;
  }
}

@media (max-width: 768px) {
  .team-section {
    padding: 70px 0;
  }

  .team-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .team-highlight {
    display: inline;
    padding: 4px 8px;
  }

  .team-image {
    height: 340px;
  }

  .team-circle {
    display: none;
  }

  .team-badge {
    margin-bottom: 20px;
  }
}

@media (max-width: 480px) {
  .team-badge {
    padding: 7px 14px;
  }

  .team-badge span:last-child {
    font-size: 15px;
  }

  .team-image {
    height: 300px;
  }

  .team-info {
    padding: 16px;
  }

  .team-text h3 {
    font-size: 17px;
  }

  .team-text span {
    font-size: 14px;
  }

  .team-arrow {
    width: 42px;
    height: 42px;
  }
}

/* ============ PROJECTS SECTION ============ */
.projects {
  background-color: var(--color-light-bg);
}

.projects-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 30px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.projects-head .btn {
  margin-bottom: 10px;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.project-card {
  background-color: var(--color-light-surface);
  border: 1px solid var(--color-border-dark);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
  transition: var(--transition-smooth);
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.project-media {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}

.project-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.project-card:hover .project-media img {
  transform: scale(1.06);
}

.project-tag {
  position: absolute;
  top: 20px;
  left: 20px;
  background-color: var(--color-primary);
  color: var(--color-text-dark);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  padding: 6px 12px;
  text-transform: uppercase;
  border-radius: 3px;
  z-index: 2;
}

.project-body {
  padding: 30px;
}

.project-body h3 {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 8px;
}

.project-short {
  font-size: 14.5px;
  color: var(--color-text-muted-dark);
  margin-bottom: 16px;
}

.project-drawer {
  max-height: 0;
  overflow: hidden;
  font-size: 13.5px;
  color: var(--color-text-muted-dark);
  line-height: 1.5;
  transition: max-height 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.project-card.open .project-drawer {
  max-height: 160px;
  margin-bottom: 16px;
}

.project-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-accent);
  transition: var(--transition-fast);
}

.project-toggle svg {
  width: 14px;
  height: 14px;
  stroke-width: 2.5;
  transition: var(--transition-smooth);
}

.project-card.open .project-toggle svg {
  transform: rotate(90deg);
}

@media (max-width: 992px) {
  .projects-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .projects-grid {
    grid-template-columns: 1fr;
  }
}

/* ============ NEWSLETTER SECTION ============ */
.newsletter {
  background-color: var(--color-dark-surface);
  color: var(--color-text-light);
  position: relative;
  overflow: hidden;
}

.newsletter-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.newsletter-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.1;
}

.newsletter .wrap {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.newsletter-text {
  max-width: 500px;
}

.newsletter-text h3 {
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 8px;
}

.newsletter-text p {
  font-size: 14px;
  color: var(--color-text-muted);
}

.newsletter-form {
  display: flex;
  flex: 1;
  max-width: 480px;
  min-width: 320px;
  position: relative;
}

.newsletter-form input {
  flex: 1;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--color-border-light);
  border-right: none;
  padding: 14px 18px;
  font-size: 14px;
  color: var(--color-text-light);
  border-radius: 4px 0 0 4px;
  transition: var(--transition-fast);
}

.newsletter-form input::placeholder {
  color: var(--color-text-muted-dark);
}

.newsletter-form input:focus {
  outline: none;
  background-color: rgba(255, 255, 255, 0.08);
  border-color: var(--color-primary);
}

.newsletter-form button {
  background-color: var(--color-primary);
  color: var(--color-text-dark);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0 24px;
  border-radius: 0 4px 4px 0;
  transition: var(--transition-fast);
}

.newsletter-form button:hover {
  background-color: var(--color-primary-bright);
}

.newsletter-msg {
  position: absolute;
  left: 0;
  top: calc(100% + 8px);
  font-size: 12px;
  font-weight: 600;
  display: none;
}

.newsletter-msg.ok {
  color: var(--color-primary);
  display: block;
}

.newsletter-msg.err {
  color: #ff5252;
  display: block;
}

/* ============ BACK TO TOP BUTTON ============ */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 44px;
  height: 44px;
  background-color: var(--color-primary);
  color: var(--color-text-dark);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: var(--transition-smooth);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.back-to-top.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top:hover {
  background-color: var(--color-primary-bright);
  transform: translateY(-3px);
}

.back-to-top svg {
  width: 18px;
  height: 18px;
  stroke-width: 2.5;
}

/* ============ FOCUS STYLING ============ */
:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

/* ============ PAGE PRELOADER ============ */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(11, 13, 14, .85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 28px;
  transition: opacity .5s ease, visibility .5s ease;
}

.preloader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-logo {
  width: 120px;
  height: auto;
  border-radius: 16px;
  object-fit: contain;
  animation: preloaderPulse 1.4s ease-in-out infinite;
  box-shadow: 0 0 40px rgba(245, 130, 17, .3);
}

@keyframes preloaderPulse {

  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.08);
    opacity: .7;
  }
}

.preloader-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(255, 255, 255, .15);
  border-top-color: #f58211;
  border-radius: 50%;
  animation: preloaderSpin .8s linear infinite;
}

@keyframes preloaderSpin {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.001ms;
    animation-iteration-count: 1;
    transition-duration: 0.001ms;
    scroll-behavior: auto;
  }
}