/* Home page */
/* body */

body {
  font-family: Inter, sans-serif;
}

/*  nav */

.navbar {
  scroll-behavior: smooth;
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 1);
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

nav.scrolled {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(5px)
}

.nav-item a {
  margin-right: 30px;
  font-weight: 400;
  color: #777;
  transition: 0.3s;
  border-bottom: 2px solid transparent;
  /* مهم جدًا */
}

.nav-link.active {
  color: #194d1b;
  border-bottom: 2px solid #194d1b;
  transform: scale(1.03);
}

.nav-item a:hover {
  color: #194d1b;
  border-bottom: 2px solid #194d1b;
  transform: scale(1.03);
}

.navbar-nav .nav-link {
  display: inline-flex;
  /* أهم سطر */
  width: fit-content;
  /* يمنع الامتداد */
  position: relative;
}


/*  hero */


/* Hero background */
.hero {
  height: 100vh;
  background-image: url(../img/Simple\ Shiny.svg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  margin-top: 4px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
}


/* Overlay طبقة احترافية */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
}

/* content فوق overlay */
.hero-content {
  position: relative;
  color: white;
  max-width: 700px;
  padding: 20px;
}

/* Title */
.hero-content h1 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 20px;
}

/* Paragraph */
.hero-content p {
  font-size: 15px;
  color: #ffca6e;
  opacity: 0.9;
}

/* Button */
.btn-hero {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 30px;
  background: #ffffff;
  color: #194d1b;
  text-decoration: none;
  border-radius: 30px;
  transition: 0.3s;
}

.btn-hero:hover {
  background: #cf8300;
  color: #fff;

}


/* about */

.about {
  padding: 5%;
}

.about-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
}

.about-text span {
  color: #cf8300;
}

.about-text {
  flex: 1;
}


.about-inner img {
  flex: 1;
  max-width: 600px;
  width: 100%;
  height: auto;
  border-radius: 16px;
  object-fit: cover;
}

/* Tablet */
@media (max-width: 992px) {
  .about-inner {
    gap: 30px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .about-inner {
    flex-direction: column;
    text-align: center;
  }

  .about-inner img {
    max-width: 100%;
  }

  .about-text p {
    text-align: center;
  }
}

/* goals */
h3 {
  color: #194d1b;
}

.p-goals {
  font-size: smaller;



}

.about-pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 0 5% 5% 5%;
}


.pillar {
  padding-right: 30px;
  border-right: 1px solid #ddd;
}

.pillar:last-child {
  border-right: none;
}

.pillar-icon {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
}

.pillar-icon h3 {
  margin: 0;
  font-size: 1.5rem;
}

.p-goals {
  line-height: 1.8;
}

.p-goals ul {
  padding-left: 20px;
  margin: 0;
}

/* Tablet */
@media (max-width: 992px) {
  .about-pillars {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile */

@media (max-width: 768px) {
  .pillar {
    border-right: none;
    border-bottom: 1px solid #ddd;
    padding-bottom: 20px;
  }

  .pillar:last-child {
    border-bottom: none;
  }
}

/********************************************************************* SERVICES */

.SERVICES {
  background: linear-gradient(135deg, #154914, #2f6b31, #617e63);
  padding: 100PX;
}

.title {
  color: #fff;
  padding-bottom: 70px;
}

.title span {
  color: #ffcd75;
}



.card a {
  text-decoration: none;
  color: inherit;
  display: block;
}

/* From Uiverse.io by gharsh11032000 */
.card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 320px;
  border-radius: 24px;
  line-height: 1.6;
  flex: 1;
  transition: 0.3s ease;
}


.content h3 {
  font-size: large;
  color: #376326;
  font-weight: bolder;
}

.container {
  display: flex;
  justify-content: center;
  gap: 80px;
}

.content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 30px;
  border-radius: 22px;
  color: #376326;
  overflow: hidden;
  background: #ffffff;
  transition: all 0.48s cubic-bezier(0.23, 1, 0.32, 1);
}

.content::before {
  position: absolute;
  content: "";
  top: -4%;
  left: 50%;
  width: 90%;
  height: 90%;
  transform: translate(-50%);
  background: #ced8ff;
  z-index: -1;
  transform-origin: bottom;
  border-radius: inherit;
  transition: all 0.48s cubic-bezier(0.23, 1, 0.32, 1);
}

.content::after {
  position: absolute;
  content: "";
  top: -8%;
  left: 50%;
  width: 80%;
  height: 80%;
  transform: translate(-50%);
  background: #e7ecff;
  z-index: -2;
  transform-origin: bottom;
  border-radius: inherit;
  transition: all 0.48s cubic-bezier(0.23, 1, 0.32, 1);
}

.content svg {
  width: 48px;
  height: 48px;
}

.content .para {
  z-index: 1;
  opacity: 1;
  font-size: 15px;
  transition: all 0.48s cubic-bezier(0.23, 1, 0.32, 1);
}

.content .link {
  z-index: 1;
  text-decoration: none;
  font-family: inherit;
  font-size: 16px;
  transition: all 0.48s cubic-bezier(0.23, 1, 0.32, 1);
}


.card:hover {
  transform: translate(0px, -16px);
}

.card:hover .content::before {
  rotate: -4deg;
  top: 5%;
  width: 90%;
  height: 90%;
}

.card:hover .content::after {
  rotate: 4deg;
  top: 5%;
  width: 90%;
  height: 90%;
}



/*********************************************************************** partner */

.partner-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  /* يخلي المحتوى في النص */
  text-align: center;
  gap: 30px;
}

/* العنوان يمين */
.partner-text {
  width: 100%;
  text-align: left;
}

.partner-text span{
  color: #cf8300;
  font-size: 0.75rem;

}

.partner-text span::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: #cf8300;
  margin: 15px 20px;
  border-radius: 10px;
}

/* اللوجوهات تحت العنوان في النص */
.partner-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 60px;
  /* المسافات بين الصور */
  width: 100%;
}

/* حجم موحد للصور */
.partner-logos img {
  width: 180px;
  height: 80px;
  object-fit: contain;
}

/* موبايل */
@media (max-width: 768px) {

  .partner-text {
    text-align: center;
    /* في الموبايل يبقى في النص */
  }

  .partner-text span::after {
    margin: 15px auto 0 auto;
    /* يخليه في النص */
  }

  .partner-logos {
    gap: 30px;
  }

  .partner-logos img {
    width: 140px;
  }
}

/* clint */

.clint-container {
  border: 2px solid #154914;
  border-radius: 50px;
}

.clint-text span {
  font-size: 0.75rem;
  letter-spacing: .5px;
  color: #cf8300;
}

.clint-text h2::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: #cf8300;
  margin: 15px auto;
  border-radius: 10px;
}

.clint-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
}

.clint-logos img {
  width: 150px;
  height: 80px;
  padding: 10px;
  object-fit: contain;
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, .08);
  transition: transform .4s ease, box-shadow .4s ease;
  cursor: pointer;
  filter: grayscale(100%);
  opacity: .7;

}

.clint-logos img:hover {
  transform: scale(1.30);
  box-shadow: 0 20px 40px rgba(0, 0, 0, .15);
}

/* footer */

/* ================= FOOTER ================= */

#footer {
  background: linear-gradient(135deg, #081811, #0d2419);
  padding: 80px 30px 30px;
}

.footer-inner {
  max-width: 1300px;
  margin: auto;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(120, 180, 130, 0.2);
  border-radius: 30px;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 50px;
  padding: 70px 60px;
}

.footer-grid > div:not(:last-child) {
  border-right: 1px solid rgba(255,255,255,0.08);
  padding-right: 40px;
}

.footer-brand-name {
  font-size: 30px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 25px;
}


.footer-brand-desc {
  color: rgba(255,255,255,0.75);
  font-size: 14px;
  line-height: 2;
  margin-top: 25px;
}

.footer-col h5 {
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 30px;
  position: relative;
}

.footer-col h5::after {
  content: "";
  width: 50px;
  height: 3px;
  background: #69b36d;
  position: absolute;
  left: 0;
  bottom: -12px;
  border-radius: 20px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li {
  margin-bottom: 18px;
}

.footer-col ul li a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: all .3s ease;
  font-size: 12px;
}

.footer-col ul li a:hover {
  color: #69b36d;
  padding-left: 8px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 25px;
}

.footer-contact-icon {
  font-size: 18px;
  color: #69b36d;
  min-width: 22px;
  margin-top: 3px;
}

.footer-contact-icon i {
  color: #69b36d !important;
}

.footer-contact-text {
  color: rgba(255,255,255,0.75);
  line-height: 1.8;
  font-size: 14px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 25px;
  text-align: center;
}

.footer-copy {
  color: rgba(255,255,255,0.6);
  font-size: 14px;
}

/* ================= MOBILE ================= */

@media (max-width: 991px) {

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 50px 30px;
  }

  .footer-grid > div:not(:last-child) {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding-right: 0;
    padding-bottom: 30px;
  }

  .footer-brand-name {
    font-size: 32px;
  }

  .footer-col h5 {
    font-size: 20px;
  }
}

/* ================= RESPONSIVE BOOST ================= */

/* Tablets */
@media (max-width: 992px) {

  .hero-content h1 {
    font-size: 34px;
  }

  .about-inner {
    flex-direction: column;
    text-align: center;
  }

  .about-inner img {
    width: 100%;
  }

  .container {
    gap: 20px;
  }
}

/* Mobile */
@media (max-width: 768px) {


  /* nav */

  .navbar-nav .nav-item {
    width: fit-content;
  }

  .navbar-nav .nav-link {
    display: inline-flex;
    width: fit-content;
  }

  .navbar-nav {
    margin: auto !important;
    text-align: center;
    align-items: center;
    width: 100%;
  }

  .navbar-nav .nav-item {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .navbar-nav .nav-link {
    justify-content: center;
  }

  /* HERO */
  .hero-content h1 {
    font-size: 24px;
    line-height: 1.4;
  }

  .hero-content p {
    font-size: 14px;
  }

  .btn-hero {
    padding: 10px 20px;
    font-size: 14px;
  }

  /* SERVICES */
  .container {
    flex-direction: column;
    ;
    align-items: center;
  }

  .card {
    width: 100%;
    max-width: 320px;
  }

  /* PARTNER */
  .partner-container {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }

  .partner-logos {
    justify-content: center;
  }

  /* CLIENT */
  .clint-logos img {
    width: 120px;
  }

  /* FOOTER */

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 25px;

  }

  .footer-col {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer-contact-item {
    justify-content: center;
    margin-bottom: 15px;
  }

  .footer-contact-text {
    text-align: center;
  }
}

/* Small phones */
@media (max-width: 480px) {

  .hero-content h1 {
    font-size: 20px;
  }

  .hero {
    height: 90vh;
  }

  .partner-logos img {
    width: 120px;
  }
}



/* services page */

#services {
  margin-top: 80px;
  padding: 50px;
}

.kicker {
  color: #cf8300;
}

.pillar-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 46px;
  margin-top: 50PX;
  flex-wrap: wrap;
}

.pillar-tab {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 11px 20px;
  border: 1px solid #154914;
  border-radius: 30px;
  cursor: pointer;
  background: transparent;
  transition: all .2s;
}

.pillar-tab.active,
.pillar-tab:hover {
  background: #154914;
  color: #ffffff;
}

.pillar-panels {
  position: relative;
  
}

.pillar-panel {
  display: none;
}

.pillar-panel.active {
  display: block;
  animation: fade .35s ease;
}

@keyframes fade {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.pillar-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 0;
}

.pillar-intro {
  background: #154914;
  padding: 46px 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.pillar-intro .tag {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
  font-weight: bolder;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 18px;
}

.pillar-intro h3 {
  font-family: 'Fraunces', serif;
  font-size: 1.7rem;
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 18px;
  color: #ffffff;

}

.pillar-intro p {
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 150px;
  color: #ffffff;

}

.pillar-intro .glyph {
  margin-top: 30px;
  opacity: 0.85;
}
.pillar-items{
  border: 1px solid #154914;


}

.pillar-item {
  padding: 50px 30px 30px 30px;
  border-bottom: 1px solid #154914;
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 20px;
}

.pillar-item:last-child {
  border-bottom: none;
}

.pillar-item .idx {
  font-family: 'Fraunces', serif;
  font-size: 1.4rem;
  color: var(--gold);
  font-weight: 500;
}

.pillar-item h4 {
  font-size: 1.04rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
}


.pillar-item p {
  font-size: 0.93rem;
  line-height: 1.6;
  color: var(--ink-soft);
}

.pillar-item .sub-list {
  margin-top: 15px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.pillar-item .sub-list span {
  font-size: 0.88rem;
  color: var(--ink-soft);
  padding-left: 14px;
  position: relative;
}

.pillar-item .sub-list span::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--gold-bright);
}

.pillar-item .chip-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.chip {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 5px 11px;
  background: var(--paper-warm);
  border: 1px solid var(--line);
  border-radius: 30px;
  color: var(--ink-soft);
}


  /* ---------- RESPONSIVE ---------- */
  @media (max-width:980px){
    .navlinks{display:none;}
    .navtoggle{display:block;}
    .hero-grid{grid-template-columns:1fr;}
    .ledger{border-left:none;padding-left:0;border-top:1px solid var(--line);padding-top:30px;margin-top:30px;}
    .about-grid{grid-template-columns:1fr;gap:40px;}
    .pillar-layout{grid-template-columns:1fr;}
    .invest-grid{grid-template-columns:1fr;}
    .contact-grid{grid-template-columns:1fr;gap:46px;}
    .about-stats{grid-template-columns:1fr;}
  }
  @media (max-width:600px){
    .wrap{padding:0 20px;}
    .hero{padding:140px 0 80px;}
    section{padding:76px 0;}
    .pillar-item{grid-template-columns:1fr;}
    .pillar-item .idx{display:none;}
  }