/* ============================================
   SALMAN AL RAJHI INVESTMENT — STYLESHEET
   ============================================ */

/* ===== CSS VARIABLES ===== */
:root {
  --clr-gold: #b47c53;
  --clr-gold-light: #c9956e;
  --clr-gold-dark: #9a6640;
  --clr-green: #063b33;
  --clr-green-light: #0a5c50;
  --clr-green-dark: #042a25;

  --clr-white: #ffffff;
  --clr-off-white: #f8f6f3;
  --clr-cream: #f5ece3;
  --clr-text: #1a1a1a;
  --clr-text-muted: #666666;
  --clr-border: #e0d5c9;

  --ff-heading: 'Playfair Display', serif;
  --ff-body: 'Inter', sans-serif;
  --ff-arabic: 'Tajawal', sans-serif;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);
  --radius-sm: 50px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --transition: 0.3s ease;
}

/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--ff-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--clr-text);
  background: var(--clr-white);
  overflow-x: hidden;
}

/* ===== PAGE LOADER ===== */
.page-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--clr-white);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  position: relative;
  animation: rotate 1s linear infinite;
}

.loader::before,
.loader::after {
  content: "";
  box-sizing: border-box;
  position: absolute;
  inset: 0px;
  border-radius: 50%;
  border: 5px solid var(--clr-green);
  animation: prixClipFix 2s linear infinite;
}

.loader::after {
  inset: 8px;
  transform: rotate3d(90, 90, 0, 180deg);
  border-color: var(--clr-gold);
}

@keyframes rotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes prixClipFix {
  0% { clip-path: polygon(50% 50%, 0 0, 0 0, 0 0, 0 0, 0 0); }
  50% { clip-path: polygon(50% 50%, 0 0, 100% 0, 100% 0, 100% 0, 100% 0); }
  75%, 100% { clip-path: polygon(50% 50%, 0 0, 100% 0, 100% 100%, 100% 100%, 100% 100%); }
}

/* Arabic font override */
html[lang="ar"] body {
  font-family: var(--ff-arabic);
}

html[lang="ar"] h1,
html[lang="ar"] h2,
html[lang="ar"] h3,
html[lang="ar"] h4 {
  font-family: var(--ff-arabic);
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

h1, h2, h3, h4 {
  font-family: var(--ff-heading);
  color: var(--clr-green);
  line-height: 1.3;
}

h1 { font-size: 3rem; font-weight: 700; }
h2 { font-size: 2.25rem; font-weight: 700; }
h3 { font-size: 1.5rem; font-weight: 600; }
h4 { font-size: 1.25rem; font-weight: 600; }

@media (max-width: 768px) {
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.15rem; }
  h4 { font-size: 1rem; }
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 80px 0;
}

.section-alt {
  background: var(--clr-off-white);
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header h2 {
  margin-bottom: 15px;
}

.section-line {
  width: 50px;
  height: 3px;
  background: var(--clr-gold);
  margin: 0 auto 20px;
  border-radius: 2px;
}

.section-subtitle {
  color: var(--clr-text-muted);
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.05rem;
}

@media (max-width: 768px) {
  .section-subtitle {
    font-size: 0.9rem;
  }
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 14px 36px;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  font-family: var(--ff-body);
}

html[lang="ar"] .btn {
  font-family: var(--ff-arabic);
}

.btn-primary {
  background: var(--clr-gold);
  color: var(--clr-white);
  border-color: var(--clr-gold);
}

.btn-primary:hover {
  background: var(--clr-gold-dark);
  border-color: var(--clr-gold-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}


/* ========================================
   NAVBAR
   ======================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--clr-white);
  padding: 0 150px;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}

.navbar.scrolled {
  box-shadow: var(--shadow-lg);
}

@media (max-width: 1200px) {
  .navbar {
    padding: 0 80px;
  }
}

@media (max-width: 768px) {
  .navbar {
    padding: 0 20px;
  }
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 75px;
  max-width: 1400px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .navbar-inner {
    height: 60px;
  }

  .navbar-logo img {
    height: 45px !important;
  }
}

.navbar-logo img {
  height: 65px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  color: var(--clr-text);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

@media (max-width: 768px) {
  .nav-link {
    font-size: 0.85rem;
    padding: 6px 12px;
  }
}

.nav-link:hover,
.nav-link.active {
  color: var(--clr-gold);
  background: var(--clr-cream);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--clr-gold-light);
  border: 1px solid var(--clr-border);
  color: var(--clr-white);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: bold;
  cursor: pointer;
  transition: all var(--transition);
  font-family: var(--ff-arabic);
}

@media (max-width: 768px) {
  .lang-toggle {
    font-size: 0.6rem;
    padding: 6px 12px;
    gap: 4px;
  }
}

.lang-toggle:hover {
  background: var(--clr-cream);
  border: 1px solid var(--clr-border);
  color: var(--clr-text);
  border-color: var(--clr-gold);
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--clr-text);
  border-radius: 2px;
  transition: all var(--transition);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Navbar Mobile Menu Responsive --- */
@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    background: var(--clr-white);
    flex-direction: column;
    padding: 30px 0 35px;
    gap: 20px !important;
    transform: translateY(-150%);
    transition: transform var(--transition);
    border-top: 1px solid var(--clr-border);
  }

  .nav-links.open {
    transform: translateY(0);
  }

  .nav-link {
    width: 85%;
    text-align: center;
    padding: 14px 20px;
    font-size: 0.8rem;
    margin: 0 auto;
    border-radius: 8px;
  }

  .nav-link:active {
    transform: scale(0.98);
  }

  .hamburger {
    display: flex;
  }
}


/* ========================================
   HERO
   ======================================== */
.hero {
  position: relative;
  min-height: 95vh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  background-image: url('img/background.jpg');
  background-size: cover;
  background-position: top;
  background-repeat: no-repeat;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(6, 59, 51, 0.85) 20%,
    rgba(6, 59, 51, 0.836) 10%,
    rgba(6, 59, 51, 0.699) 70%
  );
  z-index: 1;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  border: 1px solid rgba(180, 124, 83, 0.1);
  border-radius: 50%;
  z-index: 1;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  border: 1px solid rgba(180, 124, 83, 0.08);
  border-radius: 50%;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: left;
  padding: 120px 150px 80px;
  max-width: 1200px;
}

html[dir="rtl"] .hero-content {
  text-align: right;
}

.hero-content h1 {
  color: var(--clr-white);
  font-size: 3.5rem;
  margin-bottom: 24px;
  letter-spacing: -0.5px;
}

.hero-content p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.15rem;
  max-width: 600px;
  margin: 0 0 40px;
  line-height: 1.8;
}

.hero-content .btn-primary {
  background: rgba(180, 123, 83, 0.123);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  padding: 16px 40px;
  color: var(--clr-white);
  font-weight: 600;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.hero-content .btn-primary:hover {
  background: rgba(180, 124, 83, 0.5);
  border-color: var(--clr-gold);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(180, 124, 83, 0.3);
}

@media (max-width: 1200px) {
  .hero-content {
    padding: 120px 80px 80px;
  }
}

@media (max-width: 768px) {
  .hero-content {
    padding: 100px 20px 60px;
    text-align: center;
    max-width: 100%;
  }

  html[dir="rtl"] .hero-content {
    text-align: center;
  }

  .hero {
    justify-content: center;
    min-height: 80vh;
  }

  .hero-overlay {
    background: rgba(6, 59, 51, 0.8);
  }

  .hero-content h1 {
    font-size: 1.85rem;
    margin-bottom: 18px;
    line-height: 1.3;
  }

  .hero-content p {
    font-size: 0.95rem;
    max-width: 100%;
    margin-bottom: 28px;
    line-height: 1.6;
  }

  .hero-content .btn-primary {
    font-size: 0.9rem;
    padding: 13px 32px;
  }
}

.hero-scroll {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.hero-scroll a {
  color: rgba(255, 255, 255, 0.5);
  font-size: 1.2rem;
  animation: bounceDown 2s infinite;
}

@keyframes bounceDown {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(10px); }
}


/* ========================================
   ABOUT
   ======================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 50px;
  align-items: center;
}

.about-text h2 {
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 15px;
}

.about-text h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--clr-gold);
  border-radius: 2px;
}

html[dir="rtl"] .about-text h2::after {
  left: auto;
  right: 0;
}

.about-text p {
  color: var(--clr-text-muted);
  margin-bottom: 20px;
  font-size: 1.05rem;
}

.about-highlights {
  display: flex;
  gap: 30px;
  margin-top: 30px;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.highlight-item i {
  color: var(--clr-gold);
  font-size: 1.3rem;
}

.highlight-item span {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--clr-green);
}

.accent-card {
  background: var(--clr-green);
  color: var(--clr-white);
  padding: 40px;
  border-radius: var(--radius-md);
  position: relative;
}

.accent-card::after {
  content: '';
  position: absolute;
  bottom: -8px;
  right: 30px;
  width: 60px;
  height: 4px;
  background: var(--clr-gold);
  border-radius: 2px;
}

.accent-card i {
  color: var(--clr-gold);
  font-size: 2rem;
  margin-bottom: 20px;
}

.accent-card p {
  font-size: 1.15rem;
  line-height: 1.8;
  font-style: italic;
}

/* --- About Responsive --- */
@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .about-highlights {
    flex-direction: column;
    gap: 15px;
  }

  .about-text p {
    font-size: 0.875rem;
  }

  .highlight-item h4 {
    font-size: 0.95rem;
  }

  .accent-card h3 {
    font-size: 1.1rem;
  }

  .accent-card p {
    font-size: 0.95rem;
  }
}


/* ========================================
   VISION & VALUES
   ======================================== */
.vision-statement {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
  padding: 40px;
  background: var(--clr-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--clr-gold);
  border-right: 4px solid var(--clr-gold);
}

.vision-icon {
  width: 60px;
  height: 60px;
  background: var(--clr-cream);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.vision-icon i {
  font-size: 1.5rem;
  color: var(--clr-gold);
}

.vision-statement h3 {
  margin-bottom: 15px;
}

.vision-statement p {
  color: var(--clr-text-muted);
  font-size: 1.1rem;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.value-card {
  background: var(--clr-white);
  padding: 35px 25px;
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  border-bottom: 3px solid transparent;
}

.value-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-bottom-color: var(--clr-gold);
}

.value-icon {
  width: 60px;
  height: 60px;
  background: var(--clr-cream);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.value-icon i {
  font-size: 1.4rem;
  color: var(--clr-gold);
}

.value-card h4 {
  margin-bottom: 12px;
  font-size: 1.1rem;
}

.value-card p {
  color: var(--clr-text-muted);
  font-size: 0.93rem;
  line-height: 1.6;
}

/* --- Vision Responsive --- */
@media (max-width: 768px) {
  .values-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .value-card {
    padding: 25px 20px;
  }

  .value-card h4 {
    font-size: 0.95rem;
  }

  .value-card p {
    font-size: 0.85rem;
  }

  .vision-statement {
    padding: 25px;
    margin-bottom: 40px;
  }

  .vision-statement h3 {
    font-size: 1.1rem;
  }

  .vision-statement p {
    font-size: 0.9rem;
  }
}


/* ========================================
   INVESTMENT PHILOSOPHY
   ======================================== */
.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.phil-card {
  background: url('img/cardbg.jpg') no-repeat center center/cover;
  padding: 40px 30px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: all var(--transition);
  border-top: 4px solid transparent;
}

.phil-card:hover {
  box-shadow: var(--shadow-md);
  border-top-color: var(--clr-gold);
}

.philosophy-grid .phil-card:nth-child(2) {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-top-color: var(--clr-gold);
}

.phil-icon {
  width: 70px;
  height: 70px;
  background: var(--clr-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
}

.phil-icon i {
  font-size: 1.6rem;
  color: var(--clr-white);
}

.phil-card h3 {
  margin-bottom: 15px;
  font-size: 1.3rem;
  font-weight: bold;
}

.phil-card p {
  color: var(--clr-text-muted);
  font-size: 0.95rem;
  font-weight: 401;
  line-height: 1.7;
}

/* --- Philosophy Responsive --- */
@media (max-width: 768px) {
  .philosophy-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .phil-card {
    padding: 30px 20px;
  }

  .phil-card h3 {
    font-size: 1.1rem;
  }

  .phil-card p {
    font-size: 0.875rem;
  }

  .philosophy-grid .phil-card:nth-child(2) {
    transform: translateY(0px);
    box-shadow: none;
    border-top-color: var(--clr-gold);
  }
}


/* ========================================
   OUR STORY / TIMELINE
   ======================================== */
.timeline {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(
    to bottom,
    var(--clr-gold) 0%,
    var(--clr-border) 20%,
    var(--clr-border) 80%,
    var(--clr-gold) 100%
  );
}

.timeline-item {
  position: relative;
  margin-bottom: 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

/* Alternating layout */
.timeline-item:nth-child(even) .timeline-image {
  order: 2;
}

.timeline-item:nth-child(even) .timeline-content {
  text-align: right;
}

html[dir="rtl"] .timeline-item:nth-child(even) .timeline-content {
  text-align: left;
}

html[dir="rtl"] .timeline-item:nth-child(odd) .timeline-content {
  text-align: right;
}

.timeline-badge {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 70px;
  height: 70px;
  background: var(--clr-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  box-shadow: 0 0 0 8px var(--clr-off-white), 0 4px 15px rgba(180, 124, 83, 0.3);
}

.timeline-badge span {
  color: var(--clr-white);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.timeline-image {
  position: relative;
}

.timeline-image img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: all var(--transition);
}

.timeline-image::before {
  content: '';
  position: absolute;
  inset: -10px;
  border: 2px solid var(--clr-gold);
  border-radius: var(--radius-lg);
  opacity: 0;
  transition: all var(--transition);
}

.timeline-item:hover .timeline-image::before {
  opacity: 0.3;
  inset: -15px;
}

.timeline-item:hover .timeline-image img {
  transform: scale(1.02);
  box-shadow: var(--shadow-lg);
}

.timeline-content {
  background: var(--clr-white);
  padding: 35px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  position: relative;
}

.timeline-content::before {
  content: '';
  position: absolute;
  top: 50%;
  width: 30px;
  height: 2px;
  background: var(--clr-gold);
  transform: translateY(-50%);
}

.timeline-item:nth-child(odd) .timeline-content::before {
  right: -30px;
}

.timeline-item:nth-child(even) .timeline-content::before {
  left: -30px;
}

.timeline-content:hover {
  box-shadow: var(--shadow-md);
}

.timeline-content h3 {
  margin-bottom: 15px;
  font-size: 1.4rem;
  color: var(--clr-green);
}

.timeline-content p {
  color: var(--clr-text-muted);
  font-size: 1rem;
  line-height: 1.8;
}

/* RTL Timeline */
html[dir="rtl"] .timeline-item:nth-child(odd) .timeline-content::before {
  right: auto;
  left: -30px;
}

html[dir="rtl"] .timeline-item:nth-child(even) .timeline-content::before {
  left: auto;
  right: -30px;
}

/* --- Timeline Responsive --- */
@media (max-width: 768px) {
  .timeline {
    padding: 20px 0 20px 60px;
  }

  .timeline::before {
    left: 20px;
    transform: none;
    width: 2px;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 50px;
  }

  .timeline-item:nth-child(even) .timeline-image {
    order: 0;
  }

  .timeline-item:nth-child(even) .timeline-content {
    text-align: left;
  }

  html[dir="rtl"] .timeline {
    padding: 20px 60px 20px 0;
  }

  html[dir="rtl"] .timeline::before {
    left: auto;
    right: 20px;
  }

  html[dir="rtl"] .timeline-item:nth-child(odd) .timeline-content,
  html[dir="rtl"] .timeline-item:nth-child(even) .timeline-content {
    text-align: right;
  }

  .timeline-badge {
    left: 20px;
    top: 180px;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    box-shadow: 0 0 0 6px var(--clr-off-white), 0 4px 10px rgba(180, 124, 83, 0.3);
  }

  html[dir="rtl"] .timeline-badge {
    left: auto;
    right: 20px;
    transform: translateX(50%);
  }

  .timeline-badge span {
    font-size: 0.7rem;
  }

  .timeline-content h3 {
    font-size: 1.1rem;
  }

  .timeline-content p {
    font-size: 0.875rem;
  }

  .timeline-image img {
    height: 250px;
  }

  .timeline-content {
    padding: 25px;
  }

  .timeline-content::before {
    display: none;
  }

  .timeline-content h3 {
    font-size: 1.2rem;
  }

  .timeline-content p {
    font-size: 0.95rem;
  }
}


/* ========================================
   PARTNERS
   ======================================== */
.partners-container {
  background: var(--clr-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 40px;
}

.partner-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 30px;
  align-items: center;
  padding: 25px 0;
  border-bottom: 1px solid var(--clr-border);
}

.partner-row:last-child {
  border-bottom: none;
}

.partner-category-label h4 {
  color: var(--clr-green);
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0;
}

.partner-logos {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

.partner-logo-item {
  background: var(--clr-white);
  padding: 15px 25px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  border: 1px solid transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  border-color: var(--clr-gold);
  min-width: 140px;
  min-height: 80px;
}

.partner-logo-item:hover {
  background: var(--clr-white);
  border-color: var(--clr-gold);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.partner-logo-item img {
  max-width: 160px;
  max-height: 80px;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: all var(--transition);
}

.partner-logo-item:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

/* --- Partners Responsive --- */
@media (max-width: 768px) {
  .partners-container {
    padding: 25px 20px;
  }

  .partner-row {
    grid-template-columns: 1fr;
    gap: 15px;
    padding: 20px 0;
  }

  .partner-category-label h4 {
    font-size: 0.9rem;
    padding-bottom: 10px;
  }

  .partner-logos {
    gap: 15px;
    justify-content: center;
  }

  .partner-logo-item {
    padding: 12px 20px;
    min-width: 120px;
    min-height: 70px;
  }

  .partner-logo-item img {
    max-width: 100px;
    max-height: 50px;
  }
}


/* ========================================
   CONTACT
   ======================================== */

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  margin-top: 50px;
  align-items: center;
}

/* Contact Cards */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.contact-card {
  background: var(--clr-white);
  border-radius: var(--radius-md);
  padding: 30px 25px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  border: 1px solid transparent;
}

.contact-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--clr-gold);
}

.contact-card-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--clr-gold) 0%, var(--clr-gold-dark) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--clr-white);
  font-size: 1.3rem;
}

.contact-card h4 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: var(--clr-green);
  font-weight: 600;
}

.contact-card p {
  color: var(--clr-text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .contact-card h4 {
    font-size: 0.95rem;
  }

  .contact-card p {
    font-size: 0.85rem;
  }
}

.contact-card a {
  color: var(--clr-gold);
  transition: color var(--transition);
}

.contact-card a:hover {
  color: var(--clr-gold-dark);
}

/* Contact Form Container */
.contact-form-container {
  background: var(--clr-white);
  border-radius: var(--radius-md);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}

.contact-form-header {
  margin-bottom: 30px;
}

.contact-form-header h3 {
  font-size: 1.75rem;
  color: var(--clr-green);
  margin-bottom: 10px;
  font-family: var(--ff-heading);
}

.contact-form-header p {
  color: var(--clr-text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Contact Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  position: relative;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 16px 18px;
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-family: var(--ff-body);
  background: var(--clr-white);
  transition: all var(--transition);
  color: var(--clr-text);
}

html[lang="ar"] .form-group input,
html[lang="ar"] .form-group textarea {
  font-family: var(--ff-arabic);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--clr-gold);
  box-shadow: 0 0 0 3px rgba(180, 124, 83, 0.1);
}

.form-group label {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--clr-text-muted);
  font-size: 0.95rem;
  pointer-events: none;
  transition: all var(--transition);
  background: var(--clr-white);
  padding: 0 4px;
}

html[dir="rtl"] .form-group label {
  left: auto;
  right: 18px;
}

.form-group textarea ~ label {
  top: 18px;
  transform: none;
}

.form-group input:focus ~ label,
.form-group input:valid ~ label {
  top: -1px;
  transform: translateY(-50%);
  font-size: 0.8rem;
  color: var(--clr-gold);
}

.form-group textarea:focus ~ label,
.form-group textarea:valid ~ label {
  top: -8px;
  font-size: 0.8rem;
  color: var(--clr-gold);
}

.contact-form .btn {
  align-self: flex-start;
  padding: 14px 40px;
  font-size: 1rem;
}

html[dir="rtl"] .contact-form .btn {
  align-self: flex-start;
}

/* --- Contact Responsive --- */
@media (max-width: 768px) {
  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-cards {
    grid-template-columns: 1fr;
  }

  .contact-card h4 {
    font-size: 0.95rem;
  }

  .contact-card p {
    font-size: 0.85rem;
  }

  .contact-form-container {
    padding: 30px 20px;
  }

  .contact-form-header h3 {
    font-size: 1.25rem;
  }

  .contact-form-header p {
    font-size: 0.85rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .form-group input,
  .form-group textarea {
    font-size: 0.85rem;
    padding: 14px 16px;
  }

  .form-group label {
    font-size: 0.85rem;
  }

  .contact-form .btn {
    width: 100%;
    text-align: center;
  }
}


/* ========================================
   PAGE HERO (Inner Pages)
   ======================================== */
.page-hero {
  position: relative;
  height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--clr-green) 0%, var(--clr-green-dark) 100%);
  overflow: hidden;
}

.page-hero .container {
  margin-top: 50px;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: url('img/background.jpg') center/cover no-repeat;
  opacity: 0.1;
}

.page-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--clr-white);
}

.page-hero-content h1 {
  font-size: 3rem;
  font-family: var(--ff-heading);
  margin-bottom: 15px;
  color: var(--clr-white);
}

.page-hero-content p {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
}

@media (max-width: 768px) {
  .page-hero {
    height: 250px;
  }

  .page-hero-content h1 {
    font-size: 1.3rem;
  }

  .page-hero-content p {
    font-size: 0.85rem;
  }
}


/* ========================================
   LEADERSHIP SECTION
   ======================================== */
.leadership-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.leader-card {
  background: var(--clr-white);
  border-radius: var(--radius-md);
  padding: 30px 25px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  border: 1px solid transparent;
}

.leader-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--clr-gold);
}

.leader-placeholder {
  width: 120px;
  height: 120px;
  background: var(--clr-cream);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--clr-gold);
  font-size: 3rem;
}

.leader-card h4 {
  font-size: 1.3rem;
  color: var(--clr-green);
  margin-bottom: 8px;
  font-family: var(--ff-heading);
}

.leader-role {
  font-size: 0.95rem;
  color: var(--clr-gold);
  font-weight: 600;
  margin-bottom: 15px;
}

.leader-card p {
  color: var(--clr-text-muted);
  font-size: 0.93rem;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .leadership-grid {
    grid-template-columns: 1fr;
  }

  .leader-card h4 {
    font-size: 1.1rem;
  }

  .leader-role {
    font-size: 0.85rem;
  }

  .leader-card p {
    font-size: 0.85rem;
  }
}


/* ========================================
   SECTORS GRID
   ======================================== */
.sectors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.sector-card {
  background: var(--clr-white);
  border-radius: var(--radius-md);
  padding: 35px 25px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  border: 1px solid transparent;
}

.sector-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--clr-gold);
}

.sector-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--clr-gold) 0%, var(--clr-gold-dark) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--clr-white);
  font-size: 1.8rem;
}

.sector-card h3 {
  font-size: 1.4rem;
  color: var(--clr-green);
  margin-bottom: 15px;
  font-family: var(--ff-heading);
}

.sector-card p {
  color: var(--clr-text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

@media (max-width: 768px) {
  .sector-card {
    padding: 30px 20px;
  }

  .sector-card h3 {
    font-size: 1.1rem;
  }

  .sector-card p {
    font-size: 0.85rem;
  }
}

@media (max-width: 768px) {
  .sector-card {
    padding: 30px 20px;
  }

  .sector-card h3 {
    font-size: 1.1rem;
  }

  .sector-card p {
    font-size: 0.85rem;
  }
}


/* ========================================
   LOCATIONS SECTION
   ======================================== */
.locations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.location-card {
  background: var(--clr-white);
  border-radius: var(--radius-md);
  padding: 35px 25px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  border: 1px solid transparent;
}

.location-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--clr-gold);
}

.location-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--clr-gold) 0%, var(--clr-gold-dark) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--clr-white);
  font-size: 1.8rem;
}

.location-card h3 {
  font-size: 1.4rem;
  color: var(--clr-green);
  margin-bottom: 8px;
  font-family: var(--ff-heading);
}

.location-card p {
  color: var(--clr-text-muted);
  font-size: 0.95rem;
  margin-bottom: 10px;
}

.location-address {
  color: var(--clr-text-muted);
  font-size: 0.93rem;
  line-height: 1.7;
}

.location-address strong {
  color: var(--clr-gold);
  display: block;
  margin-bottom: 8px;
}

@media (max-width: 768px) {
  .locations-grid {
    grid-template-columns: 1fr;
  }

  .location-card h3 {
    font-size: 1.1rem;
  }

  .location-card p {
    font-size: 0.85rem;
  }

  .location-address {
    font-size: 0.85rem;
  }
}


/* ========================================
   FOOTER
   ======================================== */
.footer {
  background: var(--clr-green-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
  height: 80px;
  width: auto;
  margin-bottom: 20px;
  filter: brightness(100);
}

.footer-brand p {
  font-size: 0.93rem;
  line-height: 1.7;
}

.footer-links h4,
.footer-contact h4 {
  color: var(--clr-white);
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.93rem;
  transition: all var(--transition);
}

.footer-links a:hover {
  color: var(--clr-gold);
  padding-inline-start: 5px;
}

.footer-contact p {
  font-size: 0.9rem;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-contact i {
  color: var(--clr-gold);
  width: 16px;
}

/* RTL Footer Adjustments */
html[dir="rtl"] .footer-contact p[dir="ltr"] {
  flex-direction: row-reverse;
}

.footer-bottom {
  text-align: center;
  padding: 20px 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

/* --- Footer Responsive --- */
@media (max-width: 768px) {
  .footer {
    padding: 40px 0 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }

  .footer-logo {
    margin: 0 auto 15px;
    height: 60px;
  }

  .footer-brand p {
    font-size: 0.85rem;
  }

  .footer-links h4,
  .footer-contact h4 {
    font-size: 0.95rem;
  }

  .footer-links a {
    font-size: 0.85rem;
  }

  .footer-contact p {
    font-size: 0.85rem;
    justify-content: center;
  }

  .footer-bottom {
    font-size: 0.75rem;
  }

  .footer-links ul {
    align-items: center;
  }
}


/* ========================================
   ANIMATIONS (Scroll Reveal)
   ======================================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
