/*
Theme Name: Modern Joint Resources
Theme URI: https://modernjointresources.com
Author: Modern Joint Resources
Description: Professional Construction & Consulting theme for Modern Joint Resources, Saudi Arabia. Elementor compatible.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
Tags: construction, consulting, business, elementor, rtl-language-support
Text Domain: mjr-theme
*/

/* ============================================
   CSS VARIABLES
============================================ */
:root {
  --green-dark:   #1a5c38;
  --green-mid:    #22723f;
  --green-light:  #2d8a4e;
  --gold:         #c9a84c;
  --gold-light:   #e0c06a;
  --gold-dark:    #a8862e;
  --white:        #ffffff;
  --off-white:    #f8f6f1;
  --gray-light:   #f2f2f2;
  --gray-mid:     #999999;
  --gray-dark:    #444444;
  --black:        #111111;
  --text-body:    #333333;
  --shadow-sm:    0 2px 8px rgba(0,0,0,0.08);
  --shadow-md:    0 4px 20px rgba(0,0,0,0.12);
  --shadow-lg:    0 8px 40px rgba(0,0,0,0.16);
  --radius:       6px;
  --transition:   all 0.3s ease;
}

/* ============================================
   RESET & BASE
============================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', 'Segoe UI', sans-serif;
  color: var(--text-body);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

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

a { color: var(--green-dark); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--gold); }

ul { list-style: none; }

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', 'Georgia', serif;
  line-height: 1.2;
  color: var(--black);
  font-weight: 700;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.8rem); }
h4 { font-size: 1.3rem; }

p { margin-bottom: 1rem; }

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

.section-pad { padding: 90px 0; }
.section-pad-sm { padding: 60px 0; }

/* ============================================
   UTILITY CLASSES
============================================ */
.text-center { text-align: center; }
.text-white { color: var(--white) !important; }
.text-gold { color: var(--gold); }
.text-green { color: var(--green-dark); }
.bg-green { background: var(--green-dark); }
.bg-gold { background: var(--gold); }
.bg-off-white { background: var(--off-white); }
.bg-dark { background: var(--black); }

.gold-line {
  display: inline-block;
  width: 60px;
  height: 3px;
  background: var(--gold);
  margin: 12px auto 20px;
}
.gold-line-left { margin-left: 0; }

.section-label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 8px;
  font-family: 'Inter', sans-serif;
}

/* ============================================
   BUTTONS
============================================ */
.btn {
  display: inline-block;
  padding: 14px 34px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  font-family: 'Inter', sans-serif;
}

.btn-primary {
  background: var(--gold);
  color: var(--black);
  border-color: var(--gold);
}
.btn-primary:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--green-dark);
}

.btn-green {
  background: var(--green-dark);
  color: var(--white);
  border-color: var(--green-dark);
}
.btn-green:hover {
  background: var(--green-mid);
  border-color: var(--green-mid);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ============================================
   HEADER / NAVIGATION
============================================ */
#site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(201,168,76,0.2);
  transition: var(--transition);
}

#site-header.scrolled {
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.site-logo img {
  height: 64px;
  width: auto;
}

.site-logo .logo-text {
  display: flex;
  flex-direction: column;
}
.site-logo .logo-text .company-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--green-dark);
  line-height: 1.2;
}
.site-logo .logo-text .company-tagline {
  font-size: 0.65rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold-dark);
}

#primary-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

#primary-nav a {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--black);
  padding: 8px 14px;
  border-radius: var(--radius);
  font-family: 'Inter', sans-serif;
  position: relative;
}
#primary-nav a::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 14px;
  right: 14px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transition: var(--transition);
}
#primary-nav a:hover { color: var(--green-dark); }
#primary-nav a:hover::after { transform: scaleX(1); }
#primary-nav a.active { color: var(--green-dark); }
#primary-nav a.active::after { transform: scaleX(1); }

.header-cta { margin-left: 16px; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--green-dark);
  transition: var(--transition);
}

/* ============================================
   HERO SECTION
============================================ */
.hero-section {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--green-dark) 0%, #0d3d22 60%, #0a2e19 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 100px;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background:
    radial-gradient(ellipse at 70% 50%, rgba(201,168,76,0.08) 0%, transparent 60%),
    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.02'%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");
}

.hero-gold-accent {
  position: absolute;
  top: 0;
  right: 0;
  width: 45%;
  height: 100%;
  background: linear-gradient(135deg, transparent 0%, rgba(201,168,76,0.06) 100%);
  clip-path: polygon(20% 0, 100% 0, 100% 100%, 0% 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(201,168,76,0.15);
  border: 1px solid rgba(201,168,76,0.3);
  padding: 8px 18px;
  border-radius: 50px;
  margin-bottom: 28px;
}
.hero-eyebrow span {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-light);
  font-family: 'Inter', sans-serif;
}
.hero-eyebrow-dot {
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
}

.hero-content h1 {
  color: var(--white);
  margin-bottom: 12px;
  line-height: 1.1;
}
.hero-content h1 .gold-word { color: var(--gold); }

.hero-content .hero-subtitle {
  font-size: 1rem;
  color: rgba(255,255,255,0.7);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 20px;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
}

.hero-content p {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 40px;
  max-width: 560px;
}

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

.hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.hero-stat-item {}
.hero-stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.hero-stat-label {
  font-size: 0.75rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-top: 4px;
  font-family: 'Inter', sans-serif;
}

/* ============================================
   ABOUT SECTION
============================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-image-wrap {
  position: relative;
}
.about-image-wrap img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
.about-image-badge {
  position: absolute;
  bottom: -24px;
  right: -24px;
  background: var(--gold);
  color: var(--black);
  padding: 24px;
  border-radius: var(--radius);
  text-align: center;
  min-width: 120px;
}
.about-image-badge .badge-number {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1;
}
.about-image-badge .badge-label {
  font-size: 0.7rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 600;
  margin-top: 4px;
  font-family: 'Inter', sans-serif;
}

.about-content { padding-left: 20px; }

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 32px;
}
.about-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.about-feature-icon {
  width: 40px;
  height: 40px;
  background: rgba(26,92,56,0.08);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--green-dark);
  font-size: 1.1rem;
}
.about-feature-text h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 2px;
  font-family: 'Inter', sans-serif;
}
.about-feature-text p {
  font-size: 0.8rem;
  color: var(--gray-mid);
  margin: 0;
}

/* ============================================
   SERVICES SECTION
============================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 50px;
}

.service-card {
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.07);
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green-dark), var(--gold));
  transform: scaleX(0);
  transition: var(--transition);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--green-dark), var(--green-mid));
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  color: var(--white);
  font-size: 1.5rem;
}

.service-card h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
  color: var(--black);
}
.service-card p {
  font-size: 0.9rem;
  color: var(--gray-dark);
  line-height: 1.7;
  margin: 0;
}
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-top: 20px;
  font-family: 'Inter', sans-serif;
}
.service-link:hover { color: var(--green-dark); gap: 10px; }

/* ============================================
   WHY CHOOSE US / FEATURES SECTION
============================================ */
.why-section {
  background: linear-gradient(135deg, var(--green-dark) 0%, #0d3d22 100%);
  position: relative;
  overflow: hidden;
}
.why-section::after {
  content: '';
  position: absolute;
  right: -100px;
  top: -100px;
  width: 400px;
  height: 400px;
  border: 60px solid rgba(201,168,76,0.08);
  border-radius: 50%;
}

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

.why-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 36px;
}

.why-feature {
  padding: 24px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  transition: var(--transition);
}
.why-feature:hover {
  background: rgba(201,168,76,0.08);
  border-color: rgba(201,168,76,0.2);
}
.why-feature-icon {
  font-size: 1.8rem;
  margin-bottom: 14px;
}
.why-feature h4 {
  font-size: 1rem;
  color: var(--white);
  margin-bottom: 8px;
  font-family: 'Inter', sans-serif;
}
.why-feature p {
  font-size: 0.83rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
  margin: 0;
}

.why-image-side { position: relative; }
.why-image-side img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
.why-cert-badge {
  position: absolute;
  top: 24px;
  left: -20px;
  background: var(--gold);
  padding: 16px 20px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  gap: 12px;
}
.why-cert-badge .cert-icon { font-size: 1.6rem; }
.why-cert-badge .cert-text span { display: block; font-size: 0.7rem; letter-spacing: 1px; text-transform: uppercase; font-weight: 700; }

/* ============================================
   PROJECTS / PORTFOLIO SECTION
============================================ */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 50px;
}

.project-card {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  background: var(--gray-light);
  aspect-ratio: 4/3;
}
.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.project-card:hover img { transform: scale(1.06); }
.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,46,25,0.95) 0%, rgba(10,46,25,0.2) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  opacity: 0;
  transition: var(--transition);
}
.project-card:hover .project-overlay { opacity: 1; }
.project-cat {
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 6px;
  font-family: 'Inter', sans-serif;
}
.project-overlay h3 { color: var(--white); font-size: 1.2rem; }

/* ============================================
   STATS COUNTER SECTION
============================================ */
.stats-section {
  background: var(--off-white);
  border-top: 1px solid rgba(201,168,76,0.15);
  border-bottom: 1px solid rgba(201,168,76,0.15);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat-item {
  text-align: center;
  padding: 50px 24px;
  border-right: 1px solid rgba(0,0,0,0.08);
  position: relative;
}
.stat-item:last-child { border-right: none; }
.stat-item::before {
  content: '';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
  width: 3px;
  height: 40px;
  background: var(--gold);
  display: none;
}
.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--green-dark);
  line-height: 1;
}
.stat-suffix {
  color: var(--gold);
}
.stat-label {
  font-size: 0.78rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gray-mid);
  margin-top: 8px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
}

/* ============================================
   TESTIMONIALS SECTION
============================================ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 50px;
}

.testimonial-card {
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.07);
  border-radius: var(--radius);
  padding: 36px 28px;
  position: relative;
}
.testimonial-card::before {
  content: '\201C';
  font-family: 'Playfair Display', serif;
  font-size: 5rem;
  color: var(--gold);
  opacity: 0.15;
  position: absolute;
  top: 10px;
  left: 20px;
  line-height: 1;
}
.testimonial-stars {
  color: var(--gold);
  font-size: 0.9rem;
  margin-bottom: 16px;
  letter-spacing: 2px;
}
.testimonial-text {
  font-size: 0.92rem;
  color: var(--gray-dark);
  line-height: 1.8;
  margin-bottom: 24px;
  font-style: italic;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}
.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green-dark), var(--gold));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}
.testimonial-author-info h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--black);
  font-family: 'Inter', sans-serif;
}
.testimonial-author-info span {
  font-size: 0.78rem;
  color: var(--gray-mid);
}

/* ============================================
   TEAM SECTION
============================================ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-top: 50px;
}

.team-card {
  text-align: center;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.07);
  transition: var(--transition);
}
.team-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.team-photo {
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--gray-light);
}
.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.team-card:hover .team-photo img { transform: scale(1.05); }
.team-info {
  padding: 20px;
}
.team-info h3 {
  font-size: 1.05rem;
  margin-bottom: 4px;
}
.team-role {
  font-size: 0.78rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gold-dark);
  font-weight: 600;
  font-family: 'Inter', sans-serif;
}
.team-social {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 14px;
}
.team-social a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--off-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: var(--gray-dark);
  transition: var(--transition);
}
.team-social a:hover {
  background: var(--green-dark);
  color: var(--white);
}

/* ============================================
   CTA BANNER SECTION
============================================ */
.cta-banner {
  background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold) 50%, var(--gold-light) 100%);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23000000' fill-opacity='0.04'%3E%3Cpath d='M0 0h40v40H0V0zm40 40h40v40H40V40zm0-40h2l-2 2V0zm0 4l4-4h2l-6 6V4zm0 4l8-8h2L40 10V8zm0 4L52 0h2L40 14v-2zm0 4L56 0h2L40 18v-2zm0 4L60 0h2L40 22v-2zm0 4L64 0h2L40 26v-2zm0 4L68 0h2L40 30v-2zm0 4L72 0h2L40 34v-2zm0 4L76 0h2L40 38v-2zm0 4L80 0v2L42 40h-2zm4 0L80 4v2L46 40h-2zm4 0L80 8v2L50 40h-2zm4 0l28-28v2L54 40h-2zm4 0l24-24v2L58 40h-2zm4 0l20-20v2L62 40h-2zm4 0l16-16v2L66 40h-2zm4 0l12-12v2L70 40h-2zm4 0l8-8v2l-6 6h-2zm4 0l4-4v2l-2 2h-2z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.cta-banner h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--black);
  margin-bottom: 16px;
  position: relative;
}
.cta-banner p {
  font-size: 1.05rem;
  color: rgba(0,0,0,0.65);
  margin-bottom: 36px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}
.cta-banner .btn-group {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}

/* ============================================
   CONTACT SECTION
============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 70px;
}

.contact-info h2 { margin-bottom: 16px; }
.contact-info p { color: var(--gray-dark); margin-bottom: 36px; }

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 28px;
}
.contact-detail-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--green-dark), var(--green-mid));
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-detail-text h4 {
  font-size: 0.82rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gray-mid);
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  margin-bottom: 4px;
}
.contact-detail-text p, .contact-detail-text a {
  font-size: 0.95rem;
  color: var(--text-body);
  font-weight: 500;
  margin: 0;
}
.contact-detail-text a:hover { color: var(--gold-dark); }

.contact-form-wrap {
  background: var(--off-white);
  border-radius: var(--radius);
  padding: 44px;
}
.contact-form-wrap h3 {
  margin-bottom: 8px;
  font-size: 1.5rem;
}
.contact-form-wrap > p {
  font-size: 0.88rem;
  color: var(--gray-mid);
  margin-bottom: 28px;
}

.form-group {
  margin-bottom: 20px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--gray-dark);
  margin-bottom: 8px;
  font-family: 'Inter', sans-serif;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid rgba(0,0,0,0.1);
  border-radius: var(--radius);
  font-size: 0.92rem;
  color: var(--text-body);
  background: var(--white);
  transition: var(--transition);
  font-family: 'Inter', sans-serif;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--green-dark);
  box-shadow: 0 0 0 3px rgba(26,92,56,0.1);
}
.form-group textarea { resize: vertical; min-height: 120px; }

/* ============================================
   FOOTER
============================================ */
#site-footer {
  background: #0a2e19;
  color: rgba(255,255,255,0.7);
}

.footer-top {
  padding: 80px 0 50px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 50px;
}

.footer-brand img {
  height: 70px;
  margin-bottom: 20px;
}
.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.55);
  margin-bottom: 24px;
}
.footer-social {
  display: flex;
  gap: 10px;
}
.footer-social a {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  transition: var(--transition);
}
.footer-social a:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--black);
}

.footer-col h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 22px;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  transition: var(--transition);
}
.footer-col ul li a:hover { color: var(--gold); padding-left: 4px; }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}
.footer-contact-item i {
  color: var(--gold);
  font-size: 0.9rem;
  margin-top: 3px;
}
.footer-contact-item span {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.5;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
  margin: 0;
}
.footer-bottom a { color: var(--gold); }

/* ============================================
   PAGE HERO (inner pages)
============================================ */
.page-hero {
  background: linear-gradient(135deg, var(--green-dark), #0a2e19);
  padding: 130px 0 70px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(201,168,76,0.08) 0%, transparent 70%);
}
.page-hero h1 {
  color: var(--white);
  position: relative;
}
.page-hero .breadcrumb {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  font-family: 'Inter', sans-serif;
  position: relative;
}
.page-hero .breadcrumb a { color: var(--gold); }
.page-hero .breadcrumb span { color: rgba(255,255,255,0.3); }

/* ============================================
   MOBILE MENU
============================================ */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(10,46,25,0.97);
  z-index: 9999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 2px;
  text-transform: uppercase;
  font-family: 'Playfair Display', serif;
  padding: 12px 24px;
  transition: var(--transition);
}
.mobile-menu a:hover { color: var(--gold); }
.mobile-menu-close {
  position: absolute;
  top: 24px;
  right: 24px;
  color: var(--white);
  font-size: 1.8rem;
  cursor: pointer;
  background: none;
  border: none;
  line-height: 1;
}

/* ============================================
   RESPONSIVE
============================================ */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .about-grid { gap: 50px; }
  .why-grid { gap: 50px; }
}

@media (max-width: 768px) {
  #primary-nav { display: none; }
  .header-cta { display: none; }
  .hamburger { display: flex; }

  .hero-section { padding-top: 90px; }
  .hero-stats { gap: 28px; flex-wrap: wrap; }
  .about-grid { grid-template-columns: 1fr; }
  .about-content { padding-left: 0; }
  .about-image-badge { bottom: -16px; right: -8px; }
  .why-grid { grid-template-columns: 1fr; }
  .why-features { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(0,0,0,0.08); }
  .testimonials-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .contact-form-wrap { padding: 28px 20px; }
  .form-row { grid-template-columns: 1fr; }
  .about-features { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero-cta-group { flex-direction: column; align-items: flex-start; }
  .stats-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
}

/* ============================================
   ELEMENTOR COMPATIBILITY
============================================ */
.elementor-section { padding: 0; }
.e-con-inner { max-width: 100%; }

/* ============================================
   WORDPRESS CORE
============================================ */
.wp-caption { max-width: 100%; }
.alignleft { float: left; margin: 0 20px 20px 0; }
.alignright { float: right; margin: 0 0 20px 20px; }
.aligncenter { display: block; margin: 0 auto 20px; }
.screen-reader-text {
  clip: rect(1px,1px,1px,1px);
  position: absolute;
  height: 1px;
  width: 1px;
  overflow: hidden;
}
