/* =========================
   RESET
========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
    overflow-x: hidden;

}

body {
  color: white;
  min-height: 100vh;
  overflow-x: hidden;
  overflow-y: auto; /* ✅ allow vertical scrolling */
  font-family: "Kumar One", serif;
}
html, body {
  max-width: 100%;
  overflow-x: hidden;
}
@media (max-width: 900px) {
  .sidenav-expanded {
    display: none !important;
  }
}

@media (max-width: 900px){
  .background, .investment {
    padding: 30px 5% !important;
}
.background p {
    max-width: 90% !important;
    font-size: 18px !important;
}
}
@media(max-width: 500px) {
  .hero-titles p {
    font-size: 20px !important;
  }
  .hero-titles {
    top: 90% !important;
    left: 20px !important;
  }
  html [dir = "rtl"] .hero-titles {
    
    right: 20px !important;
    left: 0px !important;
  }
  .background h1, .investment h1{
    font-size: 30px !important;
  }
  .footer-link {
    font-size: 14px !important;
  }
  .footer-copy, .footer-partner {
    font-size: 10px !important;
    padding: 10px !important;
  }
  .footer-top {
    padding: 10px !important;
  }
  .newsletter-left h4{
    font-size: 16px !important;
  }
  .newsletter-left p{
    font-size: 9px !important;
  }
  .newsletter-right {
    font-size: 9px !important;
  }
  .bio-hero-right {
    padding: 50px 5% !important;
  }
    .bio-hero-right p{
    font-size: 18px !important;
  }
}

a {
  position: relative;
  color: white;
  text-decoration: none;
}

/* underline */
a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -6px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  transition: transform 0.3s ease;
}
.footer-link::after{
  width: 50% !important;
}
/* hover animation */
a:hover::after {
  transform: translateX(-50%) scaleX(1);
}

/* =========================
   HERO FRAME
========================= */

.hero, .bio-hero {
  position: relative;
  height: 100vh;
  width: 100%;
  border: 1px solid rgba(255,255,255,0.3);
}

/* =========================
   TOP BANNER
========================= */

.hero-banner {
  position: absolute;
  top: 0;
  height: 15%;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 90px;
  border-bottom: 1px solid rgba(255,255,255,0.3);
  z-index: 3;
}

.hero-banner h1 {
  font-size: 36px;
  letter-spacing: 2px;
  color: white;
}
.hero-banner h1 a::after{
   content: "";
  position: absolute;
  left: 50%;
  bottom: -6px;
  width: 100%;
  height: 0px !important;
  background: currentColor;
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  transition: transform 0.3s ease;
}
.hero-banner .tagline {
  font-size: 14px;
  letter-spacing: 2px;
  opacity: 0.85;
  margin-top: 6px;
}

/* RTL */
html[dir="rtl"] .hero-banner {
  padding-left: 0;
  padding-right: 90px;
  text-align: right;
}

html[dir="rtl"] .hero-banner h1 {
  font-size: 46px;
  letter-spacing: 0 !important;
}
html[dir="rtl"] .hero-banner p{
  font-size: 22px;
  letter-spacing: 0 !important;
}

/* =========================
   BACKGROUND
========================= */

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -90;
}

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

/* =========================
   PERSON
========================= */

/* Home */
.home .hero-person {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  height: 80vh;
  z-index: 1;
}

/* Bio */
.bio .hero-person {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  height: 80vh;
  z-index: 1;
}

/* =========================
   RIGHT TITLES
========================= */

.hero-titles {
  position: absolute;
  right: 80px;
  top: 80%;
  transform: translateY(-50%);
  z-index: 2;
}
html[dir="rtl"] .hero-titles {
  right: auto;
  left: 80px;
  text-align: left;
}

.hero-titles p {
  font-size: 26px;
  letter-spacing: 2px;
  margin-bottom: 12px;
  opacity: 0.85;
}
html[dir="rtl"] .hero-titles p{
  letter-spacing: 0px;
    font-size: 36px;

}
/* =========================
   SIDENAV
========================= */
html[dir="rtl"] .sidenav {
  left: auto;
  right: 0;
  border-right: none;
  border-left: 1px solid rgba(255,255,255,0.3);
}
html[dir="rtl"] .sidenav-expanded {
  left: auto;
  right: 90px;
}

.sidenav {
    position: absolute;
  top: 15%;
  bottom: auto;
  width: 90px;
  height: 85%;
  border-right: 1px solid rgba(255, 255, 255, 0.8);
  z-index: 4;
  color: white;

}

.contact .sidenav {
  position: absolute;
  top: 15%;
  bottom: auto;
  width: 90px;
  height: 85%;
  border-right: 1px solid rgba(0, 0, 0, 0.3);
  z-index: 4;
  color: black;
}
html[dir="rtl"] .contact .sidenav {
    border-left: 1px solid rgba(0, 0, 0, 0.3);

}
.contact .sidenav-collapsed {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-bottom: 1px solid rgba(0, 0, 0, 0.3);
}

/* MENU */
.menu-container {
  position: relative;
  height: 60vh;
  width: 100%;
  border-bottom: 1px solid rgba(255,255,255,0.3);
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}
.contact .menu-container {
  position: relative;
  height: 60%;
  width: 100%;
  border-bottom: 1px solid rgba(0, 0, 0, 0.3);
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}
.menu-text {
  transform: rotate(-90deg);
  font-size: 36px;
  letter-spacing: 2px;
}
html[dir="rtl"] .menu-text{
    transform: rotate(90deg);

  letter-spacing: 0px;

}
/* EXPANDED PANEL */
.sidenav-expanded {
  position: absolute;
  left: 90px;
  top: 0;
  width: calc(100vw - 90px);
  height: 100%;
  background: rgba(161, 161, 161, 0.9);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 120px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.contact .sidenav-expanded {
  position: absolute;
  left: 90px;
  top: 0;
  color: black;
  width: calc(100vw - 90px);
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 120px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.menu-container:hover .sidenav-expanded {
  opacity: 1;
  pointer-events: auto;
}

/* SOCIAL */
.social-container {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 20vh;
}

.social-icons {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.social-icons img {
  width: 36px;
  height: 36px;
}

/* LANGUAGE */
.lang-switch {
  height: 5vh;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-top: 1px solid rgba(255,255,255,0.3);
  cursor: pointer;
  gap: 5px;
}
.contact .lang-switch {
  height: 50px;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-top: 1px solid rgba(0, 0, 0, 0.3);
  cursor: pointer;
  gap: 5px;
}

/* EXPANDED CONTENT */
.nav-links {
  list-style: none;
}

.nav-links li {
  font-size: 26px;
  margin-bottom: 22px;
}

.email {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: "Inter", sans-serif;
  color: white;
}
.contact-email {
  font-size: 23px;
  color: black !important;
}
/* =========================
   CONTENT SECTIONS
========================= */

.background,
.investment {
  padding:100px 80px;
  color: black;
}

.background h1,
.investment h1 {
  padding-bottom: 25px;
  font-size: 36px;
  color: black;
}

.background p {
  max-width: 80%;
  padding-top: 20px;
  font-size: 24px;
  font-family: "Inter", sans-serif;
}

/* =========================
   INVESTMENTS GRID
========================= */

.investment {
  padding: 100px 80px;
}

.logo-grid {
  display: grid;
  gap: 40px;
  justify-content: center;
}

.logo-card {
  width: 350px;
  height: 260px;
  border: 1px solid rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.logo-card:hover {
  opacity: 0.85;
}

.logo-card img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* GRID BREAKPOINTS */
@media (min-width: 1600px) {
  .logo-grid {
    grid-template-columns: repeat(4, 350px);
  }
}

@media (max-width: 1599px) and (min-width: 1200px) {
  .logo-grid {
    grid-template-columns: repeat(3, 400px);
  }
}

@media (max-width: 1199px) and (min-width: 700px) {
  .logo-grid {
    grid-template-columns: repeat(2, 350px);
  }
}

@media (max-width: 699px) {
  .logo-grid {
    grid-template-columns: 350px;
  }
}

/* =========================
   FOOTER
========================= */
html[dir="rtl"] .footer-middle {
  direction: rtl;
}

html[dir="rtl"] .footer-copy {
  border-right: none;
  border-left: 1px solid rgba(255,255,255,0.3);
}

.site-footer {
  position: relative;
  width: 100%;
  border-top: 1px solid rgba(255,255,255,0.3);
  overflow: hidden;
  bottom: 0;
}

/* FOOTER BACKGROUND */
.footer-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.footer-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* TOP */
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 40px 80px;
  border-bottom: 1px solid rgba(255,255,255,0.3);
}

.newsletter-left h4 {
  font-size: 24px;
  margin-bottom: 8px;
}

.newsletter-left p {
  font-size: 14px;
  opacity: 0.8;
}

.newsletter-right {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 16px;
  cursor: pointer;
}

.newsletter-right .arrow {
  font-size: 22px;
}

/* MIDDLE */
.footer-middle {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  text-align: center;
  padding: 40px 0;
  border-bottom: 1px solid rgba(255,255,255,0.3);
  font-size: 24px;
}

.footer-link {
  font-size: 26px;
  cursor: pointer;
}

/* BOTTOM */
.footer-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  text-align: center;
  font-family: "Inter", sans-serif;
}

.footer-copy,
.footer-partner {
  padding: 20px 40px;
  font-size: 14px;
  opacity: 0.85;
}

.footer-copy {
  border-right: 1px solid rgba(255,255,255,0.3);
}
.bio-hero {
  position: relative;
  min-height: 100vh;
  height: 100vh;
  width: 100%;
  display: flex;
  overflow: hidden;
}
.bio-hero .hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.bio-hero .hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.bio-hero-left {
  position: relative;
  width: 50%;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.bio-hero-left .hero-person {
  height: 80vh;
}
.bio-hero-right {
  position: relative;
  width: 50%;
  overflow-y: auto;
  z-index: 1;
  padding: 120px 80px;
  font-family: "Inter", sans-serif;
  height: calc(100vh - 150px);
  margin-top: 150px;
}
.bio-hero-right::-webkit-scrollbar {
  width: 6px;
}

.bio-hero-right::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.3);
}

.bio-hero-right p {
  font-family: Inter;
font-weight: 600;
font-style: Semi Bold;
font-size: 24px;
leading-trim: NONE;
letter-spacing: 0%;
margin-top: 20px;
}

/* =========================
   RTL SWITCH (Arabic)
========================= */

html[dir="rtl"] .bio-hero {
  flex-direction: row-reverse;
}

/* Swap paddings so text breathes correctly */
html[dir="rtl"] .bio-hero-right {
  padding: 120px 80px;
  text-align: right;
}

/* Optional: keep image nicely aligned */
html[dir="rtl"] .bio-hero-left {
  justify-content: center;
}
/* RTL: force swap columns */
html[dir="rtl"] .bio-hero-left { order: 2; }
html[dir="rtl"] .bio-hero-right { order: 1; }

/* Keep the background behind everything */
html[dir="rtl"] .bio-hero .hero-bg { order: 0; }

/* =========================
   CONTACT PAGE WRAPPER
========================= */

.contact-page {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  min-height: 100vh;
  margin-left: 90px; /* sidenav width */
  background: white;
  color: black;
}

/* RTL support */
html[dir="rtl"] .contact-page {
  margin-left: 0;
  margin-right: 90px;
  direction: rtl;
}

/* =========================
   PAGE TITLE BAR
========================= */

.contact-banner {
  position: absolute;
  top: 0;
  height: 15vh;
  width: 130vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 90px;
  margin-left: -90px;
  background: white;
  border-bottom: 1px solid rgba(0,0,0,0.35);
  z-index: 2;
  color: black;
}

.contact-banner h1 {
  font-size: 36px;
  letter-spacing: 2px;
  color: black;
}

.contact-banner .tagline {
  font-size: 14px;
  opacity: 0.7;
  margin-top: 6px;
}

/* RTL */
html[dir="rtl"] .contact-banner {
  padding-left: 0;
  padding-right: 90px;
  margin-right: -90px;
  text-align: right;
}

html[dir="rtl"] .contact-banner h1 {
  font-size: 46px;
  letter-spacing: 0;
}

/* =========================
   LEFT SIDE – FORM
========================= */

.contact-right {
  padding: calc(15vh + 60px) 80px 80px;
}

.contact-right h1 {
  font-size: 36px;
  margin-bottom: 40px;
}

/* Form */
.contact-form {
  max-width: 520px;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 28px;
}

.form-group label {
  font-size: 14px;
  margin-bottom: 8px;
}
html[dir="rtl"] .form-group label{
  font-size: 18px;
}
.form-group input,
.form-group textarea {
  border: 1px solid #9e9e9e;
  padding: 14px;
  font-size: 14px;
  font-family: "Inter", sans-serif;
  background: transparent;
}

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

.contact-form button {
  margin-top: 20px;
  width: 100%;
  padding: 14px;
  background: #d9d9d9;
  border: none;
  font-size: 14px;
  cursor: pointer;
}
html[dir="rtl"] .contact-form button{
  font-size: 18px;
}
/* =========================
   CENTER SEPARATOR
========================= */

.separator {
  background: rgba(0,0,0,0.35);
  margin-top: 15vh;
}

/* =========================
   RIGHT SIDE – INFO
========================= */

.contact-left {
  padding: calc(15vh + 80px) 80px 80px;
}

.contact-left h1 {
  font-size: 36px;
  margin-bottom: 50px;
}

/* Email block */
.contact-email {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: "Inter", sans-serif;
  color: white;
}
.contact-hero-email {
  display: flex;
  align-items: center;
  gap: 16px;
  color: white;
  font-family: "Inter", sans-serif;
}

.email-icon,
.hero-email-icon {
  width: 42px;
  height: 42px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 16px;
  line-height: 1;
}

/* =========================
   RTL FIXES
========================= */

html[dir="rtl"] .contact-right,
html[dir="rtl"] .contact-left {
  text-align: right;
}


html[dir="rtl"] .form-row.two-cols {
  direction: rtl;
}

/* =========================
   MOBILE
========================= */

@media (max-width: 1160px) {
  .bio .hero-person{
    display: none;
  }
  .home .hero-person{
    display: block;
  }
  .bio-hero-left{
    display: none;
  }
  .bio-hero-right{
    width: 90%;
  }
  .contact-page {
    grid-template-columns: 1fr;
    margin-left: 5%;
    margin-right: 5%;

  }
  .sidenav, .contact .sidenav {
    border-right: 0px;
    border-top: 0px;
      

  }
  dir [html="rtl"] .contact .sidenav-collapsed {
    border-left: 0px !important;
    border-bottom: 0px !important;
  }
  .separator , .contact .separator{
    display: none;
  }
  .nav-links, .contact .nav-links{
    display: none;
  }
    .social-container, .contact .social-container{
    display: none;
  }
  .email, .contact .email{
    display: none;
  }
  .menu-container,.contact .menu-container{
    display: none;
  }

  .sidenav, .contact .sidenav {
  position: relative;
}

.lang-switch ,.contact .lang-switch {
  position: absolute;
  top:16vh;
  left: 0;
  width: 100%;
  text-align: center;
  display: block !important;
  border-top: 0px;
}

  .hero-banner{
    padding-left: 5%;
  }
  html [dir="rtl"] .hero-banner{
    padding-right: 5%;
    padding-left: 0;
  }
  .contact-right{
    width: 90vw;
    margin-top: 5vh;
    padding: 160px 24px 60px 24px;
    margin-right: -60px;
  }
  html [dir="rtl"] .contact-right {
    margin-left: 0px;
    margin-right: -60px;

  }
  .bio-hero-right {
    margin-top: 190px !important;
  }
  .contact-banner{
    padding-left: 20% !important;
  }
  html [dir="rtl"] .contact-banner{
    padding-right: 20% !important;
        padding-left: 0 !important;

  }
  .contact-left {
    padding: 60px 24px;
  }
  .contact-left h1{
    font-size: 24px;
  }
  .contact-banner h1{
    font-size: 22px;
  }
  .contact-banner p{
    font-size: 16px;
  }
  .hero-banner h1{
    font-size: 22px;
  }
  .hero-banner p{
    font-size: 16px;
  }
  .contact-email {
    font-size: 18px;
  }
  .form-row.two-cols {
    grid-template-columns: 1fr;
  }
}
