/* ===== Variables & Reset ===== */
:root {
  --gold: #D4AF37;
  --gold-light: #F0D78C;
  --gold-dark: #B8860B;
  --red: #C41E3A;
  --red-dark: #8B0000;
  --red-light: #E63950;
  /* Professional mining-industry palette */
  --dark: #1E293B;          /* Slate / steel charcoal */
  --dark-2: #334155;        /* Medium slate */
  --dark-3: #F1F5F9;        /* Light industrial gray background for cards */
  --cream: #0F172A;         /* Near-black text for readability */
  --white: #FFFFFF;
  --gray: #64748B;          /* Professional slate gray */
  --bg-light: #F8FAFC;      /* Clean off-white page background */
  --bg-section: #F1F5F9;    /* Subtle section alternates */
  --card-bg: #FFFFFF;
  --border: #E2E8F0;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow: 0 4px 20px rgba(15, 23, 42, 0.08);
  --shadow-hover: 0 12px 32px rgba(15, 23, 42, 0.12);
  --radius: 12px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}

body {
  font-family: 'Montserrat', sans-serif;
  background: var(--bg-light);
  color: var(--cream);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

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

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 90px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 55px;
}

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 14px;
}

.section-desc {
  max-width: 560px;
  margin: 0 auto;
  color: var(--gray);
  font-size: 1.05rem;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #0F172A;
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(212, 175, 55, 0.5);
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
}

.btn-full {
  width: 100%;
}

/* ===== Header - Fixed Flex ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
}

.header-top {
  background: linear-gradient(90deg, var(--red-dark), var(--red));
  padding: 8px 0;
}

.header-top-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.contact-info {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 0.85rem;
}

.contact-info a {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #fff;
}

.contact-info a:hover {
  color: var(--gold-light);
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-links a {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  color: #fff;
  font-size: 0.85rem;
}

.social-links a:hover {
  background: var(--gold);
  color: var(--dark);
}

.header-main {
  padding: 12px 0;
}

.header-main-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-img {
  height: 52px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  display: block;
  background: transparent;
}

.logo-img-footer {
  height: 56px;
  max-width: 220px;
  /* Red logo remains visible on dark footer */
  filter: none;
}

.logo-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: #0F172A;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1.1;
}

.logo-sub {
  font-size: 0.7rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gray);
}

.nav-list {
  display: flex;
  gap: 6px;
}

.nav-link {
  padding: 8px 14px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--dark-2);
  border-radius: 6px;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--red);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 14px;
  right: 14px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--gold);
  transition: var(--transition);
}

/* ===== Hero Slider ===== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 560px;
  margin-top: 0;
  overflow: hidden;
}

.slider {
  height: 100%;
  position: relative;
}

.slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

.slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.slide-content {
  text-align: center;
  max-width: 780px;
  padding: 0 24px;
  transform: translateY(30px);
  opacity: 0;
  transition: transform 0.8s 0.2s ease, opacity 0.8s 0.2s ease;
}

.slide.active .slide-content {
  transform: translateY(0);
  opacity: 1;
}

.slide-content h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 5.5vw, 3.6rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 18px;
  line-height: 1.2;
  text-shadow: 0 2px 20px rgba(0,0,0,0.4);
}

.slide-content p {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: #F1F5F9;
  margin-bottom: 32px;
  opacity: 0.95;
}

.slider-controls {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 20px;
  z-index: 10;
}

.slider-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid rgba(212, 175, 55, 0.5);
  background: rgba(26, 18, 11, 0.6);
  color: var(--gold);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.slider-btn:hover {
  background: var(--gold);
  color: var(--dark);
  border-color: var(--gold);
}

.slider-dots {
  display: flex;
  gap: 10px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.dot.active {
  background: var(--gold);
  transform: scale(1.2);
}

/* ===== Services ===== */
.services {
  background: var(--bg-section);
}

/* ===== Supplying ===== */
.supplying {
  background: var(--bg-light);
}

/* ===== Rig Sales ===== */
.rigs {
  background: var(--bg-section);
}

/* Standard package details */
.package-details {
  margin-top: 48px;
  margin-bottom: 16px;
}

.package-intro {
  text-align: center;
  color: var(--gray);
  max-width: 720px;
  margin: 0 auto 28px;
  font-size: 0.98rem;
}

.package-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}

.package-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.package-card:hover {
  border-color: rgba(212, 175, 55, 0.45);
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}

.package-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.15), rgba(196, 30, 58, 0.1));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--gold-dark);
  margin-bottom: 14px;
}

.package-card h4 {
  font-size: 1.05rem;
  color: var(--cream);
  margin-bottom: 12px;
  font-weight: 600;
}

.package-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.package-card li {
  font-size: 0.88rem;
  color: var(--gray);
  padding: 4px 0 4px 16px;
  position: relative;
}

.package-card li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 0.75rem;
}

.package-note {
  text-align: center;
  margin-top: 24px;
  font-size: 0.9rem;
  color: var(--gray);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* RS-90 technical overview */
.rs90-specs {
  margin-top: 56px;
  margin-bottom: 24px;
}

.rs90-overview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 28px;
}

.rs90-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 20px;
  box-shadow: var(--shadow);
}

.rs90-card.rs90-highlight {
  border-color: rgba(212, 175, 55, 0.45);
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.06), var(--card-bg));
}

.rs90-card h4 {
  font-size: 1.05rem;
  color: var(--cream);
  margin-bottom: 12px;
  font-weight: 600;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

.rs90-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.rs90-card li {
  font-size: 0.86rem;
  color: var(--gray);
  padding: 5px 0 5px 14px;
  position: relative;
  line-height: 1.45;
}

.rs90-card li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--gold);
}

.rs90-card li strong {
  color: var(--cream);
  font-weight: 600;
}

.rs90-benefits {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
}

.rs90-benefits h4 {
  font-size: 1.15rem;
  color: var(--cream);
  margin-bottom: 16px;
  font-weight: 600;
}

.benefits-list {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
}

.benefits-list li {
  font-size: 0.92rem;
  color: var(--gray);
  padding: 8px 0 8px 18px;
  position: relative;
  line-height: 1.5;
  border-bottom: 1px solid rgba(226, 232, 240, 0.6);
}

.benefits-list li:last-child {
  border-bottom: none;
}

.benefits-list li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 0.8rem;
}

.benefits-list strong {
  color: var(--cream);
}

.rs90-record {
  font-size: 0.95rem;
  color: var(--cream);
  background: linear-gradient(90deg, rgba(212, 175, 55, 0.12), transparent);
  padding: 12px 16px;
  border-radius: 8px;
  border-left: 3px solid var(--gold);
  margin: 0;
}

/* Rig photo gallery */
.rig-gallery {
  margin-top: 56px;
}

.gallery-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--cream);
  text-align: center;
  margin-bottom: 28px;
}

/* Featured product card (RS-90) */
.featured-rig-card {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) 1.4fr;
  gap: 0;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-bottom: 36px;
  border-left: 4px solid var(--gold);
}

.featured-rig-image {
  position: relative;
  min-height: 280px;
  background: #0F172A;
}

.featured-rig-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.featured-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #0F172A;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 6px;
}

.featured-rig-body {
  padding: 28px 28px 28px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.featured-rig-body h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: var(--cream);
  margin-bottom: 10px;
}

.featured-tagline {
  font-size: 0.95rem;
  color: var(--gray);
  margin-bottom: 16px;
  line-height: 1.5;
}

.featured-specs {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
}

.featured-specs li {
  font-size: 0.88rem;
  color: var(--gray);
  padding: 4px 0 4px 14px;
  position: relative;
  line-height: 1.45;
}

.featured-specs li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 0.75rem;
}

.featured-specs strong {
  color: var(--cream);
}

.featured-package {
  font-size: 0.88rem;
  color: var(--gray);
  margin-bottom: 20px;
  line-height: 1.5;
  padding: 12px 14px;
  background: rgba(212, 175, 55, 0.08);
  border-radius: 8px;
  border-left: 3px solid var(--gold);
}

.featured-package strong {
  color: var(--cream);
}

.featured-rig-body .btn {
  align-self: flex-start;
}

.featured-rig-card-u6 {
  border-left-color: var(--red);
}

.featured-rig-card-u6 .featured-badge {
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  color: #fff;
  font-size: 0.7rem;
}

.u6-specs {
  margin-top: 48px;
}

@media (max-width: 768px) {
  .featured-rig-card {
    grid-template-columns: 1fr;
  }

  .featured-rig-image {
    min-height: 220px;
  }

  .featured-rig-body {
    padding: 22px 20px;
  }
}

.rig-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.rig-photo {
  margin: 0;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.rig-photo:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.rig-photo img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: center;
  display: block;
  /* Keep original image quality — no aggressive scaling filters */
  image-rendering: auto;
}

.rig-photo figcaption {
  padding: 12px 14px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--cream);
  background: var(--card-bg);
  border-top: 1px solid var(--border);
  line-height: 1.4;
}

.rig-photo figcaption strong {
  display: block;
  color: var(--cream);
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.rig-specs {
  display: block;
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--gray);
  margin-top: 2px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: linear-gradient(to bottom, var(--gold), var(--red));
  transition: height 0.4s ease;
}

.service-card:hover,
.service-card.active {
  border-color: rgba(212, 175, 55, 0.5);
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.service-card:hover::before,
.service-card.active::before {
  height: 100%;
}

.service-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.15), rgba(196, 30, 58, 0.1));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--gold-dark);
  margin-bottom: 20px;
  transition: var(--transition);
}

.service-card:hover .service-icon,
.service-card.active .service-icon {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #fff;
}

.service-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 10px;
}

.service-card > p {
  font-size: 0.92rem;
  color: var(--gray);
  margin-bottom: 0;
}

.service-detail {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, margin 0.4s ease;
  margin-top: 0;
}

.service-card.active .service-detail {
  max-height: 200px;
  margin-top: 16px;
}

.service-detail ul {
  padding-left: 0;
}

.service-detail li {
  font-size: 0.88rem;
  color: var(--dark-2);
  padding: 4px 0;
  padding-left: 18px;
  position: relative;
}

.service-detail li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--gold);
}

/* ===== Clients ===== */
.clients {
  background: var(--bg-light);
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.client-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  text-align: center;
  transition: var(--transition);
  box-shadow: var(--shadow);
}

.client-card:hover {
  border-color: rgba(196, 30, 58, 0.35);
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.client-logo {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--white);
}

.client-card h4 {
  font-size: 1.1rem;
  color: var(--cream);
  margin-bottom: 10px;
}

.client-card p {
  font-size: 0.9rem;
  color: var(--gray);
  margin-bottom: 12px;
}

.stars {
  color: var(--gold);
  letter-spacing: 2px;
  font-size: 0.95rem;
}

/* ===== About ===== */
.about {
  background: var(--bg-section);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-content .section-title {
  text-align: left;
  margin-bottom: 20px;
}

.about-content p {
  color: var(--gray);
  margin-bottom: 16px;
  font-size: 1rem;
}

.about-stats {
  display: flex;
  gap: 30px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.stat {
  text-align: center;
}

.stat-num {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1.1;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.about-img-frame {
  border-radius: var(--radius);
  overflow: hidden;
  border: 3px solid rgba(212, 175, 55, 0.3);
  box-shadow: var(--shadow);
  position: relative;
}

.about-img-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(196, 30, 58, 0.15));
  pointer-events: none;
}

.about-img-frame img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

/* ===== Vision / Motto ===== */
.vision {
  background: linear-gradient(160deg, #1E293B 0%, #0F172A 50%, #1E293B 100%);
  position: relative;
  color: #fff;
}

.vision::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.vision .section-title,
.vision .section-desc {
  color: #fff;
}

.vision .section-desc {
  color: #94A3B8;
}

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

.vision-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius);
  padding: 36px 28px;
  border: 1px solid rgba(212, 175, 55, 0.2);
  transition: var(--transition);
  backdrop-filter: blur(8px);
}

.vision-card:hover {
  border-color: rgba(212, 175, 55, 0.5);
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.08);
}

.vision-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--gold), var(--red));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--white);
  margin-bottom: 20px;
}

.vision-card h3 {
  font-size: 1.25rem;
  color: var(--gold);
  margin-bottom: 14px;
}

.vision-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-style: italic;
  color: #F8FAFC;
  margin-bottom: 12px;
  line-height: 1.4;
}

.vision-card p {
  font-size: 0.92rem;
  color: #94A3B8;
}

.values-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  font-size: 0.95rem;
  color: #E2E8F0;
}

.values-list i {
  color: var(--gold);
  font-size: 0.8rem;
}

/* ===== Partners ===== */
.partners {
  background: var(--bg-light);
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}

.partner-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  transition: var(--transition);
  box-shadow: var(--shadow);
}

.partner-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.partner-logo {
  width: 56px;
  height: 56px;
  margin: 0 auto 14px;
  background: rgba(212, 175, 55, 0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--gold);
}

.partner-card h4 {
  font-size: 0.95rem;
  color: var(--cream);
  margin-bottom: 6px;
}

.partner-card p {
  font-size: 0.8rem;
  color: var(--gray);
}

/* ===== Contact ===== */
.contact {
  background: var(--bg-section);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 40px;
  align-items: start;
}

.contact-info-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 36px 30px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.contact-item {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
}

.contact-item:last-child {
  margin-bottom: 0;
}

.contact-icon {
  width: 46px;
  height: 46px;
  min-width: 46px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.1rem;
}

.contact-item h4 {
  font-size: 0.95rem;
  color: var(--cream);
  margin-bottom: 4px;
}

.contact-item p {
  font-size: 0.9rem;
  color: var(--gray);
  line-height: 1.5;
}

.contact-item a:hover {
  color: var(--red);
}

.contact-form {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 36px 30px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--cream);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--cream);
  font-family: inherit;
  font-size: 0.95rem;
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23D4AF37' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}

/* ===== Security Code / CAPTCHA ===== */
.honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}

.security-code-group {
  margin-top: 8px;
}

.security-code-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.security-question {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 90px;
  padding: 12px 16px;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.12), rgba(196, 30, 58, 0.08));
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 8px;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--cream);
  letter-spacing: 0.5px;
}

.security-code-row input {
  width: 100px;
  flex: 0 0 auto;
}

.btn-refresh-captcha {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--gray);
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.95rem;
}

.btn-refresh-captcha:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #0F172A;
}

.security-hint {
  font-size: 0.8rem;
  color: var(--gray);
  margin-top: 8px;
}

.security-error {
  font-size: 0.85rem;
  color: var(--red);
  margin-top: 6px;
  font-weight: 500;
}

.security-code-group .required {
  color: var(--red);
}

.security-code-row input.input-error {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(196, 30, 58, 0.15);
}

/* ===== Footer ===== */
.footer {
  background: #0F172A;
  border-top: 1px solid rgba(212, 175, 55, 0.2);
  padding: 60px 0 0;
  color: #E2E8F0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 36px;
  margin-bottom: 40px;
}

.footer-brand .logo {
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.9rem;
  color: #94A3B8;
  margin-bottom: 20px;
  max-width: 280px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 0.9rem;
}

.footer-social a:hover {
  background: var(--gold);
  color: #0F172A;
}

.footer-links h4,
.footer-contact h4 {
  font-size: 1rem;
  color: var(--gold);
  margin-bottom: 18px;
  font-weight: 600;
}

.footer-links ul li {
  margin-bottom: 10px;
}

.footer-links a {
  font-size: 0.9rem;
  color: #94A3B8;
}

.footer-links a:hover {
  color: var(--gold);
  padding-left: 4px;
}

.footer-contact p {
  font-size: 0.9rem;
  color: #94A3B8;
  margin-bottom: 10px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.footer-contact i {
  color: var(--gold);
  margin-top: 3px;
}

.footer-bottom {
  border-top: 1px solid rgba(212, 175, 55, 0.15);
  padding: 20px 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.85rem;
  color: #64748B;
}

/* ===== Responsive ===== */
@media (max-width: 992px) {
  .about-grid,
  .contact-grid,
  .vision-grid {
    grid-template-columns: 1fr;
  }

  .about-img-frame img {
    height: 320px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .nav-list {
    gap: 2px;
  }

  .nav-link {
    padding: 8px 10px;
    font-size: 0.85rem;
  }
}

@media (max-width: 768px) {
  .logo-img {
    height: 42px;
    max-width: 160px;
  }

  .rig-photo img {
    height: 180px;
  }

  .header-top-inner {
    justify-content: center;
  }

  .contact-info {
    justify-content: center;
    font-size: 0.8rem;
  }

  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: #fff;
    padding: 80px 30px 30px;
    transition: right 0.35s ease;
    box-shadow: -10px 0 40px rgba(15, 23, 42, 0.15);
    z-index: 999;
  }

  .nav.open {
    right: 0;
  }

  .nav-list {
    flex-direction: column;
    gap: 4px;
  }

  .nav-link {
    padding: 12px 16px;
    font-size: 1rem;
    display: block;
  }

  .nav-toggle {
    display: flex;
    z-index: 1001;
  }

  .nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .hero {
    height: 85vh;
    min-height: 480px;
  }

  .section {
    padding: 70px 0;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

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

  .about-stats {
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .contact-info a span,
  .contact-info a:nth-child(3) {
    /* keep compact */
  }

  .services-grid,
  .clients-grid {
    grid-template-columns: 1fr;
  }

  .slider-controls {
    bottom: 24px;
  }

  .slide-content h1 {
    font-size: 1.9rem;
  }
}

/* ===== Floating WhatsApp Button ===== */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1100;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: #fff !important;
  padding: 14px 18px;
  border-radius: 50px;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.whatsapp-float i {
  font-size: 1.6rem;
  line-height: 1;
}

.whatsapp-float:hover {
  background: #1ebe57;
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.55);
  color: #fff !important;
}

.whatsapp-float-label {
  white-space: nowrap;
}

@media (max-width: 576px) {
  .whatsapp-float {
    bottom: 18px;
    right: 18px;
    padding: 14px;
    border-radius: 50%;
    width: 56px;
    height: 56px;
    justify-content: center;
  }

  .whatsapp-float-label {
    display: none;
  }

  .whatsapp-float i {
    font-size: 1.75rem;
  }
}
