/*
Theme Name: ARV Oil & Gas
Theme URI: https://example.com
Author: Abdo
Description: Custom WordPress theme for Al-Rafidain Vision (ARV) Oil & Gas Company.
Version: 1.0
Text Domain: arv-theme
*/

:root {
  --navy: #1b2a5b;
  --white: #fff;
  --navy-dark: #141f42;
  --orange: #e8622c;
  --blue-link: #1D2CF3;
  --yellow: #f4c518;
  --text-dark: #222;
  --text-gray: #5a5f6d;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Segoe UI", Arial, sans-serif;
  color: var(--text-dark);
  background: #fff;
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  color: var(--blue-link);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1.5px;
  margin-bottom: 10px;
}

section {
  padding: 70px 0;
}

/* ===== Hero ===== */
.hero-text {
  padding: 20px 24px 0;
  text-align: left;
}

.hero-text h1 {
  font-size: 64px;
  font-weight: 600;
  color: var(--yellow);
  line-height: 1.15;
}

.hero-text p {
  color: var(--yellow);
  font-weight: 600;
  margin-top: 10px;
  font-size: 26px;
}

.hero-banner {
  margin-top: 30px;
  position: relative;
  overflow: hidden;
}

.hero-banner video {
  display: block;
  width: 100%;
  height: 670px;
  object-fit: cover;
}

/* ===== Featured Projects ===== */
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 34px;
  flex-wrap: wrap;
  gap: 16px;
}

.section-head h2 {
  font-size: 28px;
  font-weight: 700;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--navy);
  color: #fff;
  text-decoration: none;
  padding: 11px 20px;
  font-size: 12px;
  font-weight: 700;
  border-radius: 20px;
}

.projects-slider {
  position: relative;
}

.projects-row {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.projects-row::-webkit-scrollbar {
  display: none;
}

.project-card {
  flex: 0 0 32%;
  min-width: 320px;
}

/* Navigation Buttons */

.slider-btn {
  position: absolute;
  top: 140px;
  width: 52px;
  height: 52px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, .75);
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  z-index: 10;
  transition: .3s;
}

.slider-btn:hover {
  background: var(--navy);
}

.slider-prev {
  left: -25px;
}

.slider-next {
  right: -25px;
}

@media (max-width: 768px) {

  .slider-btn {
    width: 42px;
    height: 42px;
    top: 120px;
  }

  .slider-prev {
    left: 8px;
  }

  .slider-next {
    right: 8px;
  }

  .project-card {
    flex: 0 0 85%;
  }
}

.project-card img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

.project-content {
  padding-top: 16px;
}

.project-card .cap {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.4;
}

.project-description {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
  color: #666;
}

/* ===== Services ===== */
.services-wrap {
  display: flex;
  gap: 50px;
  flex-wrap: wrap;
}

.services-left {
  flex: 1 1 260px;
}

.services-left h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 22px;
}

.services-left img {
  margin-top: 26px;
  height: 200px;
  object-fit: cover;
  width: 100%;
}

.services-grid {
  flex: 2 1 560px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.service-card {
  padding: 28px 26px;
  border: 1px solid #ececec;
}

.service-card .icon {
  width: 34px;
  height: 34px;
  margin-bottom: 16px;
  color: var(--blue-link);
}

.service-card .icon svg {
  width: 32px;
  height: 32px;
  stroke: var(--blue-link);
}

.service-card h3 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.3px;
  margin-bottom: 10px;
}

.service-card p {
  font-size: 13.5px;
  color: var(--text-gray);
}

/* ===== Project Spotlight ===== */
.spotlight-grid {
  display: flex;
  gap: 50px;
  flex-wrap: wrap;
  align-items: flex-start;
}

.spotlight-info {
  flex: 1 1 220px;
}

.spotlight-info h2 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 24px;
}

.spotlight-info dl {
  font-size: 13.5px;
}

.spotlight-info dt {
  color: var(--text-gray);
  margin-top: 16px;
}

.spotlight-info dd {
  font-weight: 600;
  margin-top: 4px;
}

.spotlight-video {
  flex: 2 1 500px;
}

.spotlight-video video {
  width: 100%;
  height: 340px;
  object-fit: cover;
  display: block;
  border-radius: 4px;
  /* Optional */
}

/* ===== Clients ===== */
.clients-banner {
  background: var(--navy);
  color: #fff;
  text-align: center;
  padding: 60px 24px;
}

.clients-banner .eyebrow {
  color: var(--yellow);
}

.clients-banner h2 {
  font-size: 26px;
  font-weight: 700;
  max-width: 640px;
  margin: 0 auto;
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: #ececec;
  border: 1px solid #ececec;
}

.client-cell {
  background: #fff;
  padding: 26px 16px;
  text-align: center;
}

.client-cell img {
  height: 48px;
  width: auto;
  margin: 0 auto 10px;
  object-fit: contain;
}

.client-cell .cname {
  font-size: 10.5px;
  color: var(--text-gray);
}


/* ===========================
   TERMS PAGE
=========================== */

.terms-hero {
  position: relative;
  height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.terms-hero .hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.terms-hero .hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .55);
  z-index: 1;
}

.terms-hero .hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
}

.terms-hero .eyebrow {
  color: var(--arv-accent);
  font-weight: 700;
  letter-spacing: 3px;
  margin-bottom: 15px;
}

.terms-hero h1 {
  color: #fff;
  font-size: 48px;
  line-height: 1.2;
  max-width: 900px;
  margin: auto;
}

.terms-section {
  background: #f7f8fa;
  padding: 80px 20px;
}

.terms-content {
  max-width: 950px;
  margin: auto;
}

.policy-card {
  background: #fff;
  padding: 60px;
  border-radius: 16px;
  box-shadow: 0 15px 50px rgba(0, 0, 0, .08);
}

.policy-card h2 {
  margin: 50px 0 20px;
  color: var(--arv-primary);
  font-size: 34px;
}

.policy-card h2:first-child {
  margin-top: 0;
}

.policy-card h3 {
  margin: 28px 0 12px;
  color: #222;
  font-size: 22px;
}

.policy-card p {
  color: #666;
  line-height: 1.9;
  font-size: 17px;
}

.policy-card hr {
  margin: 50px 0;
  border: none;
  border-top: 1px solid #ececec;
}

.policy-summary {
  background: #f8fbff;
  border-left: 5px solid var(--arv-accent);
  padding: 30px;
  margin-top: 50px;
  border-radius: 10px;
}

.policy-meta {
  margin-top: 50px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
  background: #fafafa;
  padding: 25px;
  border-radius: 12px;
}

.policy-meta strong {
  display: block;
  margin-bottom: 8px;
  color: #222;
}

.policy-meta a {
  color: var(--arv-primary);
  text-decoration: none;
}

@media(max-width:768px) {

  .terms-hero {
    height: 320px;
  }

  .terms-hero h1 {
    font-size: 32px;
  }

  .policy-card {
    padding: 30px;
  }

  .policy-card h2 {
    font-size: 28px;
  }

  .policy-card h3 {
    font-size: 20px;
  }

  .policy-meta {
    grid-template-columns: 1fr;
  }

}
