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

:lang(ar) {
  font-family: 'Tajawal',  sans-serif;
}

:root {
  --primary: #15213F;
  --primary-light: #3257B8;
  --accent: #3257B8;
  --white: #FFFFFF;
  --gray-50: #F8FAFC;
  --gray-100: #F1F5F9;
  --gray-200: #E2E8F0;
  --gray-400: #94A3B8;
  --gray-500: #64748B;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-900: #0F172A;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.12);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.3s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Open Sans', sans-serif;
  color: var(--gray-700);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  color: var(--primary);
  line-height: 1.3;
}

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

img {
  max-width: 100%;
  height: auto;
}

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

.section {
  padding: 100px 0;
}

.section-gray {
  background: var(--gray-50);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 15px;
  padding: 14px 32px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
}

.btn-primary:hover {
  background: #1e47a0;
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
}

.btn-outline:hover {
  background: var(--accent);
  color: var(--white);
  transform: translateY(-2px);
}

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gray-200);
  transition: all var(--transition);
}

.header.header-transparent {
  background: transparent;
  border-bottom: none;
  backdrop-filter: none;
}

.header.header-transparent .logo {
  color: var(--white);
}

.header.header-transparent .nav a {
  color: rgba(255,255,255,0.85);
}

.header.header-transparent .nav a:hover,
.header.header-transparent .nav a.active {
  color: var(--white);
}

.header.header-transparent .mobile-toggle {
  color: var(--white);
}

.header.header-transparent.scrolled {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gray-200);
}

.header.header-transparent.scrolled .logo {
  color: var(--primary);
}

.header.header-transparent.scrolled .logo img {
  filter: invert(1);
}

.header.header-transparent.scrolled .nav a {
  color: var(--gray-600);
}

.header.header-transparent.scrolled .nav a:hover,
.header.header-transparent.scrolled .nav a.active {
  color: var(--accent);
}

.header.header-transparent.scrolled .mobile-toggle {
  color: var(--primary);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo img {
  height: 60px;
  width: auto;
  filter: invert(1);
}

.header.header-transparent .logo img {
  filter: none;
}

.logo span {
  color: var(--accent);
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--gray-600);
  position: relative;
  padding: 4px 0;
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width var(--transition);
}

.nav a:hover,
.nav a.active {
  color: var(--accent);
}

.nav a:hover::after,
.nav a.active::after {
  width: 100%;
}

.nav a.active {
  color: var(--accent);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 28px;
  color: var(--primary);
  cursor: pointer;
  padding: 4px;
}

/* ===== PAGE HERO ===== */
.page-hero {
  padding: 160px 0 80px;
  background: linear-gradient(135deg, var(--primary) 0%, #1a2f5a 50%, var(--primary-light) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.page-hero h1 {
  font-size: 44px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
  position: relative;
}

.page-hero p {
  font-size: 18px;
  color: rgba(255,255,255,0.85);
  max-width: 600px;
  margin: 0 auto;
  position: relative;
}

/* ===== ABOUT PAGE ===== */

.about-intro {
  padding: 80px 0;
}

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

.about-intro-content h2 {
  font-size: 32px;
  margin-bottom: 16px;
}

.about-intro-content .highlight {
  font-size: 16px;
  color: var(--gray-500);
  border-left: 4px solid var(--accent);
  padding-left: 20px;
  margin-bottom: 20px;
  font-style: italic;
}

.about-intro-content p {
  font-size: 15px;
  color: var(--gray-600);
  margin-bottom: 16px;
  line-height: 1.8;
}

.about-intro-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
  height: 400px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
}

.about-intro-image img {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  object-fit: cover;
}

.about-intro-image .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(45deg, rgba(21,33,63,0.92) 0%, rgba(50,87,184,0.75) 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 48px 32px;
}

.about-intro-image h3 {
  font-size: 28px;
  color: var(--white);
  margin-bottom: 8px;
}

.about-intro-image .overlay p {
  font-size: 15px;
  color: rgba(255,255,255,0.85);
  line-height: 1.7;
  text-align: center;
  max-width: 400px;
}

.about-intro-image .stat-line {
  display: flex;
  gap: 32px;
  margin-top: 24px;
}

.about-intro-image .stat-item {
  text-align: center;
}

.about-intro-image .stat-number {
  font-family: 'Poppins', sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--white);
  display: block;
}

.about-intro-image .stat-label {
  font-size: 12px;
  color: rgba(255,255,255,0.75);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ---- Vision & Strategy ---- */
.vision-section {
  padding: 80px 0;
  background: var(--gray-50);
}

.vision-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.vision-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 48px;
  transition: all var(--transition);
}

.vision-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: var(--accent);
}

.vision-card .icon-wrap {
  width: 56px;
  height: 56px;
  background: rgba(50, 87, 184, 0.08);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.vision-card .icon-wrap svg {
  width: 28px;
  height: 28px;
  color: var(--accent);
}

.vision-card h3 {
  font-size: 22px;
  margin-bottom: 12px;
}

.vision-card p {
  font-size: 15px;
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 12px;
}

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

.vision-card li {
  font-size: 14px;
  color: var(--gray-600);
  padding: 8px 0;
  padding-left: 24px;
  position: relative;
  line-height: 1.6;
}

.vision-card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 15px;
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  opacity: 0.5;
}

/* ---- Section Header ---- */
.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header h2 {
  font-size: 36px;
  margin-bottom: 12px;
}

.section-header p {
  font-size: 16px;
  color: var(--gray-500);
  max-width: 650px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ---- Core Business Sectors ---- */
.sectors-section {
  padding: 80px 0;
}

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

.sector-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: all var(--transition);
}

.sector-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: var(--accent);
}

.sector-card .icon-wrap {
  width: 48px;
  height: 48px;
  background: rgba(50, 87, 184, 0.08);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.sector-card .icon-wrap svg {
  width: 24px;
  height: 24px;
  color: var(--accent);
}

.sector-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.sector-card p {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.7;
}

/* ---- Extended Capabilities ---- */
.capabilities-section {
  padding: 80px 0;
  background: var(--gray-50);
}

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

.capability-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: all var(--transition);
}

.capability-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: var(--accent);
}

.capability-card .icon-wrap {
  width: 48px;
  height: 48px;
  background: rgba(50, 87, 184, 0.08);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.capability-card .icon-wrap svg {
  width: 24px;
  height: 24px;
  color: var(--accent);
}

.capability-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.capability-card p {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.7;
}

/* ---- Residential Projects ---- */
.projects-section {
  padding: 80px 0;
}

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

.projects-grid-2col {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.project-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
}

.project-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: var(--accent);
}

.project-card .card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.project-card .card-body {
  padding: 24px;
}

.project-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.project-card p {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.7;
}

/* ---- Building Towards ---- */
.building-section {
  padding: 80px 0;
}

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

.building-card {
  text-align: center;
  padding: 36px 24px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
}

.building-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.building-card .icon-wrap {
  width: 56px;
  height: 56px;
  background: rgba(50, 87, 184, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.building-card .icon-wrap svg {
  width: 28px;
  height: 28px;
  color: var(--accent);
}

.building-card h4 {
  font-size: 16px;
  margin-bottom: 8px;
}

.building-card p {
  font-size: 13px;
  color: var(--gray-600);
  line-height: 1.7;
}

/* ---- QHSE Framework ---- */
.qhse-section {
  padding: 80px 0;
  background: var(--gray-50);
}

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

.qhse-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 36px;
  text-align: center;
  transition: all var(--transition);
}

.qhse-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: var(--accent);
}

.qhse-card .badge {
  display: inline-block;
  font-family: 'Poppins', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.qhse-card .badge-blue {
  background: rgba(50, 87, 184, 0.08);
  color: var(--accent);
}

.qhse-card .badge-green {
  background: rgba(16, 185, 129, 0.08);
  color: #10B981;
}

.qhse-card .badge-amber {
  background: rgba(245, 158, 11, 0.08);
  color: #F59E0B;
}

.qhse-card h3 {
  font-size: 20px;
  margin-bottom: 4px;
}

.qhse-card .iso-standard {
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 12px;
}

.qhse-card p {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.7;
}

/* ---- Core Values ---- */
.values-section {
  padding: 80px 0;
}

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

.value-card {
  text-align: center;
  padding: 40px 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  transition: all var(--transition);
}

.value-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.value-card .icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.value-card .icon-wrap svg {
  width: 32px;
  height: 32px;
}

.value-card h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

.value-card p {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.7;
}

.value-card.integrity .icon-wrap {
  background: rgba(50, 87, 184, 0.1);
}

.value-card.integrity .icon-wrap svg {
  color: var(--accent);
}

.value-card.innovation .icon-wrap {
  background: rgba(16, 185, 129, 0.1);
}

.value-card.innovation .icon-wrap svg {
  color: #10B981;
}

.value-card.commitment .icon-wrap {
  background: rgba(245, 158, 11, 0.1);
}

.value-card.commitment .icon-wrap svg {
  color: #F59E0B;
}

.value-card-footer {
  margin-top: 48px;
  text-align: center;
  max-width: 750px;
  margin-left: auto;
  margin-right: auto;
}

.value-card-footer blockquote {
  font-size: 15px;
  color: var(--gray-600);
  line-height: 1.8;
  font-style: italic;
  border-top: 1px solid var(--gray-200);
  padding-top: 32px;
}

/* ---- Metrics Bar ---- */
.metrics-section {
  padding: 80px 0;
  background: var(--primary);
  position: relative;
  overflow: hidden;
}

.metrics-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
}

.metric-item {
  text-align: center;
}

.metric-item .number {
  font-family: 'Poppins', sans-serif;
  font-size: 42px;
  font-weight: 700;
  color: var(--white);
  display: block;
  margin-bottom: 8px;
}

.metric-item .label {
  font-size: 14px;
  color: rgba(255,255,255,0.8);
  line-height: 1.5;
}

.metric-item .sub {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  margin-top: 4px;
}

/* ---- Partner Section ---- */
.partner-section {
  padding: 80px 0;
}

.partner-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.partner-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: all var(--transition);
}

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

.partner-card .icon-wrap {
  width: 48px;
  height: 48px;
  background: rgba(50, 87, 184, 0.08);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.partner-card .icon-wrap svg {
  width: 24px;
  height: 24px;
  color: var(--accent);
}

.partner-card h3 {
  font-size: 17px;
  margin-bottom: 8px;
}

.partner-card p {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.7;
}

.partner-cta {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 48px;
  text-align: center;
}

.partner-cta h3 {
  font-size: 24px;
  margin-bottom: 12px;
}

.partner-cta p {
  font-size: 15px;
  color: var(--gray-600);
  max-width: 700px;
  margin: 0 auto 24px;
  line-height: 1.7;
}

/* ---- Supply Chain Section ---- */
.supply-section {
  padding: 80px 0;
  background: var(--gray-50);
}

.supply-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.supply-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  min-height: 320px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-family: 'Poppins', sans-serif;
  font-size: 18px;
  font-weight: 500;
}

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

.supply-text h2 {
  font-size: 28px;
  margin-bottom: 16px;
}

.supply-text p {
  font-size: 15px;
  color: var(--gray-600);
  line-height: 1.8;
}

/* ---- Organization Section ---- */
.org-section {
  padding: 80px 0;
}

.org-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 48px;
  text-align: center;
}

.org-card h2 {
  font-size: 26px;
  margin-bottom: 16px;
}

.org-card p {
  font-size: 15px;
  color: var(--gray-600);
  line-height: 1.8;
  max-width: 750px;
  margin: 0 auto;
}

/* ---- Projects Slider ---- */
.projects-slider {
  padding: 100px 0 80px;
  overflow: hidden;
}

.slider-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 60px;
}

.slider-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

.slider-slide {
  flex: 0 0 calc(100% / 3);
  min-width: 0;
  padding: 0 12px;
  position: relative;
}

.slider-slide img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: var(--radius);
  display: block;
}

/* Flip arrow icons for RTL */
[dir="rtl"] .slider-arrow svg {
  transform: scaleX(-1);
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: var(--white);
  color: var(--primary);
  box-shadow: var(--shadow);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  z-index: 2;
}

.slider-arrow:hover {
  background: var(--accent);
  color: var(--white);
  box-shadow: var(--shadow-lg);
}

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

.slider-arrow--prev {
  inset-inline-start: 8px;
}

.slider-arrow--next {
  inset-inline-end: 8px;
}

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

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: var(--gray-200);
  cursor: pointer;
  transition: all var(--transition);
  padding: 0;
}

.slider-dot.active {
  background: var(--accent);
  width: 28px;
  border-radius: 5px;
}

@media (max-width: 1024px) {
  .slider-slide {
    flex: 0 0 50%;
  }
}

@media (max-width: 768px) {
  .slider-container {
    padding: 0 16px;
  }
  .slider-slide {
    flex: 0 0 100%;
  }
  .slider-slide img {
    height: 280px;
  }
}

/* ===== RESPONSIVE UPDATES ===== */
@media (max-width: 1024px) {
  .sectors-grid,
  .capabilities-grid,
  .qhse-grid,
  .partner-grid,
  .projects-grid,
  .projects-grid-2col,
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .building-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .about-intro-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .about-intro-content h2 {
    font-size: 26px;
  }
  .about-intro-image {
    height: 320px;
  }
  .supply-split {
    grid-template-columns: 1fr;
  }
  .supply-image {
    min-height: 240px;
  }
  .vision-grid {
    grid-template-columns: 1fr;
  }
  .sectors-grid,
  .capabilities-grid,
  .qhse-grid,
  .partner-grid,
  .projects-grid,
  .projects-grid-2col,
  .values-grid {
    grid-template-columns: 1fr;
  }
  .building-grid {
    grid-template-columns: 1fr;
  }
  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
  .metrics-section {
    padding: 60px 0;
  }
  .metric-item .number {
    font-size: 32px;
  }
  .section-header h2 {
    font-size: 28px;
  }
  .vision-card {
    padding: 32px 24px;
  }
  .org-card,
  .partner-cta {
    padding: 32px 24px;
  }
}

/* ---- Contact Info Cards ---- */
.contact-info-section {
  padding: 80px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 80px;
}

.office-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 40px;
  transition: all var(--transition);
}

.office-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: var(--accent);
}

.office-card .badge {
  display: inline-block;
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent);
  background: rgba(50, 87, 184, 0.08);
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.office-card h3 {
  font-size: 22px;
  color: var(--primary);
  margin-bottom: 20px;
}

.office-detail {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 15px;
  color: var(--gray-600);
}

.office-detail .icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 4px;
  color: var(--accent);
}

.office-detail a {
  color: var(--accent);
}

.office-detail a:hover {
  text-decoration: underline;
}

/* ---- Contact Form + Map ---- */
.contact-form-section {
  padding: 80px 0;
  background: var(--gray-50);
}

.form-map-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.form-wrapper {
  background: var(--white);
  padding: 48px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.form-wrapper h2 {
  font-size: 28px;
  margin-bottom: 8px;
}

.form-wrapper > p {
  color: var(--gray-500);
  margin-bottom: 32px;
  font-size: 15px;
}

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

.form-group label {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-700);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--gray-200);
  border-radius: 8px;
  font-family: 'Open Sans', sans-serif;
  font-size: 15px;
  color: var(--gray-700);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(50, 87, 184, 0.12);
}

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

.form-alert {
  padding: 14px 18px;
  border-radius: var(--radius);
  margin-bottom: 20px;
  font-size: 0.95rem;
  line-height: 1.5;
}
.form-alert-success {
  background: #d1e7dd;
  color: #0f5132;
  border: 1px solid #badbcc;
}
.form-alert-error {
  background: #f8d7da;
  color: #842029;
  border: 1px solid #f5c2c7;
}

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

/* ---- Map ---- */
.map-wrapper {
  height: 100%;
  min-height: 500px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--gray-200);
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.cta-section-alt {
  padding: 100px 0;
  background: var(--primary-light);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section-alt::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cta-section-alt h2 {
  font-size: 36px;
  color: var(--white);
  margin-bottom: 16px;
  position: relative;
}

.cta-section-alt p {
  font-size: 17px;
  color: rgba(255,255,255,0.85);
  max-width: 700px;
  margin: 0 auto 32px;
  position: relative;
}

.cta-section-alt .btn {
  background: var(--white);
  color: var(--primary);
  position: relative;
}

.cta-section-alt .btn:hover {
  background: var(--gray-100);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* ---- CTA Section ---- */
.cta-section {
  padding: 100px 0;
  background: var(--primary);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cta-section h2 {
  font-size: 36px;
  color: var(--white);
  margin-bottom: 16px;
  position: relative;
}

.cta-section p {
  font-size: 17px;
  color: rgba(255,255,255,0.85);
  max-width: 700px;
  margin: 0 auto 32px;
  position: relative;
}

.cta-section .btn {
  background: var(--white);
  color: var(--primary);
  position: relative;
}

.cta-section .btn:hover {
  background: var(--gray-100);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* ---- Commitment Section ---- */
.commitment-section {
  padding: 80px 0;
}

.commitment-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 60px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.commitment-card h2 {
  font-size: 28px;
  margin-bottom: 16px;
}

.commitment-card p {
  font-size: 16px;
  color: var(--gray-600);
  max-width: 650px;
  margin: 0 auto;
  line-height: 1.8;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--primary);
  color: rgba(255,255,255,0.8);
  padding: 60px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.8;
  margin-top: 16px;
  max-width: 320px;
}

.footer-col h4 {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 20px;
}

.footer-col a {
  display: block;
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 10px;
  transition: color var(--transition);
}

.footer-col a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .hero {
    min-height: 500px;
    padding-top: 72px;
  }

  .section {
    padding: 60px 0;
  }

  .page-hero {
    padding: 120px 0 60px;
  }

  .page-hero h1 {
    font-size: 32px;
  }

  .mobile-toggle {
    display: block;
  }

  .nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid var(--gray-200);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
  }

  .nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .header.header-transparent .nav.open a {
    color: var(--gray-600);
  }

  .header.header-transparent .nav.open a:hover,
  .header.header-transparent .nav.open a.active {
    color: var(--accent);
  }

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

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

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

  .form-wrapper {
    padding: 32px 24px;
  }

  .map-wrapper {
    min-height: 320px;
  }

  .office-card {
    padding: 28px;
  }

  .commitment-card {
    padding: 32px 24px;
  }

.cta-section h2,
  .cta-section-alt h2 {
    font-size: 28px;
  }

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

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .page-hero h1 {
    font-size: 26px;
  }

  .container {
    padding: 0 16px;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ===== HOME PAGE ===== */

/* ---- Hero ---- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--primary) 0%, #0d1a33 100%);
}

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

.hero .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(21,33,63,0.55) 0%, rgba(13,26,51,0.35) 100%);
}

.hero .container {
  position: relative;
  z-index: 2;
}

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

.hero-content .tagline {
  display: inline-block;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent);
  background: rgba(50,87,184,0.15);
  border: 1px solid rgba(50,87,184,0.3);
  padding: 8px 20px;
  border-radius: 50px;
  margin-bottom: 24px;
}

.hero-content h1 {
  font-size: 56px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero-content h1 span {
  color: var(--accent);
}

.hero-content p {
  font-size: 18px;
  color: rgba(255,255,255,0.8);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 560px;
}

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

.hero-actions .btn-primary {
  background: var(--accent);
  color: var(--white);
  font-size: 16px;
  padding: 16px 36px;
}

.hero-actions .btn-outline {
  border-color: rgba(255,255,255,0.5);
  color: var(--white);
  font-size: 16px;
  padding: 16px 36px;
}

.hero-actions .btn-outline:hover {
  background: var(--white);
  color: var(--primary);
  border-color: var(--white);
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.5);
  font-size: 12px;
  font-family: 'Poppins', sans-serif;
  text-transform: uppercase;
  letter-spacing: 2px;
  animation: float 2s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

.hero-scroll svg {
  width: 20px;
  height: 20px;
}

/* ---- Stats Bar ---- */
.stats-bar {
  padding: 60px 0;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  margin-top: -1px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.stat-item {
  text-align: center;
  padding: 0 16px;
  border-right: 1px solid var(--gray-200);
}

.stat-item:last-child {
  border-right: none;
}

.stat-item .number {
  font-family: 'Poppins', sans-serif;
  font-size: 40px;
  font-weight: 700;
  color: var(--accent);
  display: block;
  line-height: 1.2;
}

.stat-item .stat-label {
  font-size: 14px;
  color: var(--gray-500);
  display: block;
  margin-top: 4px;
}

.stat-item .stat-sub {
  font-size: 12px;
  color: var(--gray-400);
  display: block;
  margin-top: 2px;
}

/* ---- Home Logo + About ---- */
.home-logo-about {
  background: var(--white);
}

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

.home-logo-about-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.home-logo-about-image img {
  height: auto;
  max-height: 400px;
  object-fit: contain;
}

.home-logo-about-text h2 {
  font-size: 34px;
  margin-bottom: 16px;
}

.home-logo-about-text p {
  font-size: 15px;
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 16px;
}

/* ---- Home About Section ---- */
.home-about {
  padding: 100px 0;
}

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

.home-about-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  height: 420px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  position: relative;
}

.home-about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.home-about-text h2 {
  font-size: 34px;
  margin-bottom: 16px;
}

.home-about-text .highlight {
  font-size: 16px;
  color: var(--gray-500);
  border-left: 4px solid var(--accent);
  padding-left: 20px;
  margin-bottom: 20px;
  font-style: italic;
}

.home-about-text p {
  font-size: 15px;
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 16px;
}

.home-about-text .features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 24px;
}

.home-about-text .feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--gray-700);
}

.home-about-text .feature svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
  flex-shrink: 0;
}

/* ---- Home Services Preview ---- */
.home-services {
  padding: 100px 0;
  background: var(--gray-50);
}

.home-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.home-service-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 40px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.home-service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform var(--transition);
}

.home-service-card:hover::before {
  transform: scaleX(1);
}

.home-service-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.home-service-card .icon-wrap {
  width: 56px;
  height: 56px;
  background: rgba(50,87,184,0.08);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.home-service-card .icon-wrap svg {
  width: 28px;
  height: 28px;
  color: var(--accent);
}

.home-service-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

.home-service-card p {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 20px;
}

.home-service-card .learn-more {
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.home-service-card .learn-more:hover {
  gap: 10px;
}

/* ---- Home Values ---- */
.home-values {
  padding: 100px 0;
}

.home-values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.home-value-card {
  text-align: center;
  padding: 48px 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  transition: all var(--transition);
}

.home-value-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.home-value-card .icon-wrap {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.home-value-card .icon-wrap svg {
  width: 36px;
  height: 36px;
}

.home-value-card h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

.home-value-card p {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.7;
}

.home-value-card.integrity .icon-wrap {
  background: rgba(50,87,184,0.1);
}
.home-value-card.integrity .icon-wrap svg {
  color: var(--accent);
}

.home-value-card.innovation .icon-wrap {
  background: rgba(16,185,129,0.1);
}
.home-value-card.innovation .icon-wrap svg {
  color: #10B981;
}

.home-value-card.commitment .icon-wrap {
  background: rgba(245,158,11,0.1);
}
.home-value-card.commitment .icon-wrap svg {
  color: #F59E0B;
}

/* ---- Home CTA ---- */
.home-cta {
  padding: 100px 0;
  background: var(--primary-light);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.home-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.home-cta h2 {
  font-size: 36px;
  color: var(--white);
  margin-bottom: 16px;
  position: relative;
}

.home-cta p {
  font-size: 17px;
  color: rgba(255,255,255,0.85);
  max-width: 650px;
  margin: 0 auto 32px;
  position: relative;
  line-height: 1.7;
}

.home-cta .btn {
  background: var(--white);
  color: var(--primary);
  position: relative;
}

.home-cta .btn:hover {
  background: var(--gray-100);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

@media (max-width: 1024px) {
  .hero-content h1 {
    font-size: 44px;
  }
  .home-values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .home-services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hero {
    min-height: 500px;
    height: 90vh;
  }
  .hero-content h1 {
    font-size: 34px;
  }
  .hero-content p {
    font-size: 16px;
  }
  .hero-actions {
    flex-direction: column;
  }
  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }
  .hero-scroll {
    display: none;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  .stat-item {
    border-right: none;
  }
  .stat-item:nth-child(2) {
    border-right: 1px solid var(--gray-200);
  }
  .stat-item .number {
    font-size: 32px;
  }
  .home-about-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .home-logo-about-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .home-about-image {
    height: 280px;
  }
  .home-about-text .features {
    grid-template-columns: 1fr;
  }
  .home-services-grid {
    grid-template-columns: 1fr;
  }
  .home-values-grid {
    grid-template-columns: 1fr;
  }
  .home-cta h2 {
    font-size: 28px;
  }
}

@media (max-width: 480px) {
  .hero {
    min-height: 450px;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}