@import url('https://fonts.googleapis.com/css2?family=Inter:wght@600&display=swap');
:root {
  --primary: #062368;
  --accent:#ffd60a;
  --text: #1a1a1a;
  --muted: #f5f6f8;

}

section{
  padding-top:150px ;
  padding-bottom:200px ;
  display:block;
}
.partners{
  padding:110px 0 ;
}


body, header nav a{
  font-family: "Inter", Arial, sans-serif;
}


.card-gradient{
  position: relative;
  overflow:hidden;

  background: linear-gradient(
    135deg,
    rgba(255,214,10,.72),
    rgba(0,82,255,.78)
  );

  border-radius:16px;
  padding:26px;
  text-align:center;
  color:#062368;

  border:1px solid rgba(0,0,0,.08);
  box-shadow:0 14px 30px rgba(0,0,0,.10);

  transition:.35s ease;
}

.card-gradient:hover{
  transform:translateY(-6px);
  box-shadow:0 28px 65px rgba(0,0,0,.20);

  background: linear-gradient(
    135deg,
    rgba(255,214,10,.50),
    rgba(0,82,255,.65)
  );
}


.header:hover{
  background:rgba(135,176,255,.35);
  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);
  border-bottom:1px solid rgba(255,255,255,.18);
}



.hover-glass{
  position: relative;
  overflow: hidden;
  transition:.35s ease;
  border-radius:16px;   
}

.hover-glass *{
  position: relative;
  z-index: 2;
}

.hover-glass::after{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(135deg,
    rgba(255, 214, 10, 0.35),
    rgba(0, 82, 255, 0.35)
  );
  opacity:0;
  transition:.35s ease;
  border-radius:inherit;
  pointer-events:none;
}

.hover-glass:hover::after{
  opacity:1;
}

.hover-glass:hover{
  transform: translateY(-6px);
}


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", sans-serif;
}

body {
  color: var(--text);
  line-height: 1.7;
}


.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}


.hero-simple{
  position: relative;
  width:100%;
  height:100vh;
  min-height:650px;
  overflow:hidden;
}

.hero-bg{
  position:absolute;
  inset:0;
  background-size:cover;
  background-position:center;
  opacity:0;
  transition: opacity .8s ease;
}

.hero-bg.active{
  opacity:1;
}

.hero-simple::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(
    to bottom,
    rgba(0,0,0,.45),
    rgba(0,0,0,.55)
  );
  z-index:1;
}

.hero-text{
  position:relative;
  z-index:2;
  height:100%;
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:18px;
  max-width:950px;
  padding-top:80px;
}

.hero-text h1{
  font-size:46px;
  font-weight:800;
  line-height:1.28;
  color:#fff;
  margin:0;
}

.hero-text p{
  color:#fff;
  opacity:.95;
  line-height:1.8;
  max-width:820px;
  font-size:17px;
}


.hero-buttons{
  display:flex;
  gap:16px;
  margin-top:10px;
}

.btn-primary,
.btn-secondary{
  position:relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:13px 22px;
  border-radius:14px;
  font-weight:700;
  font-size:15px;
  text-decoration:none;
  cursor:pointer;
  overflow:hidden;
  transition:.25s ease;
}

.btn-primary{
  background:#062368;
  color:#fff;
}

.btn-secondary{
  border:2px solid rgba(255,255,255,.9);
  color:#fff;
  background:transparent;
}

.btn-primary::before,
.btn-secondary::before{
  content:"";
  position:absolute;
  inset:-6px -12px;
  border-radius:22px;
  background:linear-gradient(135deg,var(--otx-yellow),var(--otx-blue));
  opacity:0;
  filter:blur(3px);
  z-index:-1;
  transition:.35s ease;
}

.btn-primary:hover::before,
.btn-secondary:hover::before{
  opacity:1;
}

.btn-primary:hover,
.btn-secondary:hover{
  transform:translateY(-2px);
}


@media(max-width:900px){

  .hero-simple{
    height:auto;
    min-height:620px;
    padding:110px 0 60px;
  }

  .hero-text{
    text-align:center;
    align-items:center;
  }

  .hero-text h1{
    font-size:30px;
  }

  .hero-buttons{
    flex-direction:column;
    width:100%;
    max-width:260px;
  }
}

.hero-footer {
  position: absolute;
  bottom: 30px;
  left: 5%;
  right: 5%;
  display: flex;
  gap: 40px;
  z-index: 3;
  background: transparent;
}

.hero-footer-item {
  position: relative;
  color: #fff;
  font-size: 14px;
  opacity: 0.65;
  padding-bottom: 10px;
}

.hero-footer-item.active {
  opacity: 1;
}

.hero-footer-item.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  background: var(--primary);
}


.section {
  padding: 90px 0;
}


.section h2 {
  font-size: 34px;
  margin-bottom: 18px;
  color: var(--primary);
  font-weight: 700;
}

.section p {
  font-size: 16px;
  opacity: .9;
  max-width: 850px;
}


.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(280px,1fr));
  gap: 28px;
}

.card {
  background: #fff;
  padding: 22px;
  border-radius: 6px;
  border-left: 4px solid var(--primary);
}

.card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 12px;
}

.otx-footer{
  background:#0e1724;
  color:#d8e0ff;
  padding:60px 0 20px;
  margin-top:60px;
}

.footer-top{
  display:grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap:40px;
  align-items:flex-start;
}

.f-logo{
  width:95px;
  margin-bottom:14px;
}

.footer-col p{
  opacity:.9;
  line-height:1.7;
}

.footer-col h4{
  margin-bottom:12px;
  font-weight:800;
  color:#fff;
}

/* Links */
.footer-col a{
  display:block;
  color:#d8e0ff;
  margin:6px 0;
  text-decoration:none;
}

.footer-col a:hover{
  color:#ffd60a;
}

.footer-bottom{
  text-align:center;
  border-top:1px solid rgba(255,255,255,.15);
  padding-top:16px;
  margin-top:30px;
  opacity:.85;
  font-size:14px;
}


.who-block{
  margin-top: 90px;
}

.who-image-wrapper{
  position: relative;
  width: 100%;
  height: 420px;
  overflow: hidden;
}

.who-image{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.who-overlay{
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0,0,0,.75),
    rgba(0,0,0,.45)
  );
}

/* text content */
.who-content{
  position: absolute;
  inset: 0;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  max-width: 900px;
  padding: 0 26px;
}

.who-pretitle{
  opacity: .9;
  font-size: 16px;
}

.who-content h2{
  font-size: 28px;
  line-height: 1.6;
  font-weight: 600;
}



.who-btn{
  position:relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;

  background:#062368;
  color:#fff;
  padding:12px 22px;

  border-radius:16px;
  text-decoration:none;
  font-weight:700;
  font-size:16px;
  line-height:1;
  cursor:pointer;

  overflow:hidden;
  transition:.25s ease;
  z-index:1;
}

.who-btn:visited{
  color:#fff;
}

.who-btn::before{
  content:"";
  position:absolute;
  inset:-6px -10px;
  border-radius:22px;

  background:linear-gradient(
    135deg,
    var(--otx-yellow),
    var(--otx-blue)
  );

  opacity:0;
  filter:blur(3px);
  box-shadow:0 8px 25px rgba(0,0,0,.25);
  transition:.35s ease;
  z-index:-1;
}

.who-btn:hover::before{
  opacity:1;
}

.who-btn:hover{
  transform:translateY(-2px);
}

.card h3{
  margin:10px 0;
  font-weight:700;
}

.card p{
  opacity:.9;
  line-height:1.7;
}



#contact{
  display:flex;
  justify-content:center;
  align-items:center;
  min-height:90vh;
}



.contact-desc{
  max-width:650px;
  opacity:.85;
  margin:0 auto 22px;
  text-align:center;
}


.contact-card{
  max-width:720px;
  width:100%;
  margin:auto;
  padding:28px;

  background:rgba(255,255,255,.45);
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);

  border-radius:18px;
  border:1px solid rgba(255,255,255,.35);

  box-shadow:0 25px 60px rgba(0,0,0,.12);
  position:relative;
  overflow:hidden;
}


.contact-card::after{
  content:"";
  position:absolute;
  inset:0;
  border-radius:inherit;
  background:linear-gradient(135deg,
    rgba(255,214,10,.22),
    rgba(0,82,255,.22)
  );
  z-index:-1;
}


.contact-form{
  display:flex;
  flex-direction:column;
  gap:18px;
}


.form-group label{
  font-weight:700;
  margin-bottom:6px;
  color:#062368;
}


.input-wrap{
  display:flex;
  align-items:center;
  gap:10px;
  border:1px solid rgba(0,0,0,.15);
  padding:12px 14px;
  border-radius:14px;
  background:#fff;
  transition:.25s;
}

.input-wrap span{
  font-size:18px;
  opacity:.7;
}


.input-wrap input,
.input-wrap textarea{
  border:none;
  background:transparent;
  width:100%;
  font-size:15px;
  outline:none;
}


.input-wrap.textarea{
  align-items:flex-start;
}


.input-wrap:focus-within{
  border-color:#062368;
  box-shadow:0 0 0 3px rgba(31,75,255,.18);
}


button.full{
  width:100%;
  margin-top:10px;
  font-size:16px;
  padding:14px;
  border-radius:14px;
  background:#062368;
  color:#fff;
  font-weight:800;
  border:none;
  cursor:pointer;
  transition:.25s ease;
}

button.full:hover{
  transform:translateY(-2px);
  box-shadow:0 12px 25px rgba(0,0,0,.18);
}



.partners{

  padding:110px 0;
}


.partners-header{
  text-align:center;
  max-width:850px;
  margin:auto;
  margin-bottom:50px;
}

.partners-header h2{
  font-size:42px;
  font-weight:800;
  color:#0d1c53;
}

.partners-text{
  margin-top:12px;
  font-size:17px;
  opacity:.9;
  line-height:1.8;
}

.partners-cards{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:26px;
}


.p-card{
  position: relative;
  overflow:hidden;

  /* التدرّج موجود دائم */
  background: linear-gradient(
    135deg,
    rgba(255,214,10,.42),
    rgba(0,82,255,.58)
  );

  border-radius:16px;
  padding:26px;
  text-align:center;
  color:#062368;

  border:1px solid rgba(0,0,0,.08);
  box-shadow:0 14px 30px rgba(0,0,0,.10);

  transition:.35s ease;
}

.p-card:hover{
  transform:translateY(-6px);
  box-shadow:0 28px 65px rgba(0,0,0,.20);

  background: linear-gradient(
    135deg,
    rgba(255,214,10,.50),
    rgba(0,82,255,.65)
  );
}




.p-icon{
  font-size:34px;
  margin-bottom:10px;
}


.p-card h3{
  font-size:20px;
  color:#0d1c53;
  margin-bottom:8px;
  font-weight:800;
}


.p-card p{
  opacity:.9;
  line-height:1.7;
  font-weight:500;
}




.p-card:hover::after{
  opacity:1;
}



.why-section{
  padding:110px 0;

}

.why-section h2{
  text-align:center;
  font-size:40px;
  font-weight:900;
  color:#062368;
  margin-bottom:35px;
}

/* Grid */
.why-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
  gap:20px;
}

.why-item{
  position: relative;
  overflow:hidden;

  background: linear-gradient(
    135deg,
    rgba(255,214,10,.25),
    rgba(0,82,255,.28)
  );

  border-radius:14px;
  padding:16px 18px;
  font-size:16px;
  font-weight:600;
  color:#062368;

  border:1px solid rgba(0,0,0,.08);
  box-shadow:0 14px 30px rgba(0,0,0,.10);

  transition:.35s ease;
}

.why-item:hover{
  transform:translateY(-4px);
  box-shadow:0 24px 55px rgba(0,0,0,.18);

  background: linear-gradient(
    135deg,
    rgba(255,214,10,.45),
    rgba(0,82,255,.45)
  );
}




.values{
  margin-top:80px;   
}


.values-section{
  padding:110px 0;

}

.values-section h2{
  text-align:center;
  font-size:40px;
  font-weight:900;
  color:#062368;
  margin-bottom:35px;
}
.values-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
  gap:26px;
  margin-top:30px;
}

.value-item{
  position: relative;
  overflow:hidden;

  background: linear-gradient(
    135deg,
    rgba(255,214,10,.25),
    rgba(0,82,255,.28)
  );

  border-radius:16px;
  padding:18px 20px;
  text-align:center;

  font-size:18px;
  font-weight:700;
  color:#062368;

  border:1px solid rgba(0,0,0,.08);
  box-shadow:0 14px 30px rgba(0,0,0,.10);

  transition:.35s ease;
}

.value-item:hover{
  transform:translateY(-4px);

  background: linear-gradient(
    135deg,
    rgba(255,214,10,.45),
    rgba(0,82,255,.45)
  );

  box-shadow:0 24px 55px rgba(0,0,0,.18);
}


.value-card{
  background:rgba(245,247,255,.9);
  border-radius:16px;
  padding:22px;
  text-align:center;
  font-size:18px;
  font-weight:800;
  color:#062368;
  border:1px solid rgba(0,0,0,.08);
  box-shadow:0 14px 30px rgba(0,0,0,.1);
  position:relative;
  overflow:hidden;
  transition:.35s ease;
}



.value-card:hover{
  transform:translateY(-4px);
}


.motion{
  opacity:0;
  transform:translateY(25px);
  transition:.7s ease;
}

.motion.show{
  opacity:1;
  transform:none;
}




body{
  transform: none !important;
}
html, body{
  height:100%;
  margin:0;
}

body::before{
  content:"";
  position: fixed;
  inset: 0;
  z-index:-1;

  background:
    radial-gradient(circle at top left,  rgba(255,214,10,0.25) 0, transparent 55%),
    radial-gradient(circle at bottom right, rgba(0,82,255,0.30) 0, transparent 55%),
    linear-gradient(180deg, #eef3ff 0%, #e3ecff 50%, #d9e4ff 100%);
}
.hero-simple::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:1;

  background:linear-gradient(
    180deg,
    rgba(0,0,0,.25),
    rgba(0,0,0,.35)
  );
}


.card,
.why-item,
.value-item,
.p-card,
.contact-card,
.mission-box,
.vision-box{
  transition: transform .35s ease, box-shadow .35s ease;
  will-change: transform;
}

.card:hover,
.why-item:hover,
.value-item:hover,
.p-card:hover,
.contact-card:hover,
.mission-box:hover,
.vision-box:hover{
  transform: translateY(-6px);
  box-shadow: 0 18px 38px rgba(0,0,0,.14);
}


.logo img{
  height: 48px;
  display: block;
}


header .container.nav{
  width: 90%;
  max-width: 1200px;
  margin: auto;

  padding: 18px 5%;

  display: flex;
  align-items: center;
  justify-content: center;

  gap: 42px;
  flex-wrap: nowrap;
}


header nav{
  display: flex;
  align-items: center;
  gap: 38px;
  flex-wrap: nowrap;
}


header nav a{
  font-family: "Inter", Arial, sans-serif;
  font-size: 17px;
  font-weight: 600;
  line-height: 18px;

  color:#184181;
  text-decoration: none;

  padding: 10px 18px;
  border-radius: 18px;

  white-space: nowrap;

  font-optical-sizing: none;
  font-stretch: 100%;
  font-variation-settings: "wght" 600,"wdth" 100;
}

.hero-footer-item{
  cursor: pointer;
}
header{
  position: fixed;
  top: 0;
  left:0;
  width:100%;
  z-index: 1000;

  background: rgba(255,255,255,.45);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
#home,
#who,
#what,
#news,
#careers,
#contact{
  scroll-margin-top: 120px;  
}
nav a.active{
  position: relative;
  color:#062368;
  font-weight:700;
}

nav a.active::after{
  content:"";
  position:absolute;
  inset:0;
  border-radius:inherit;
  background:linear-gradient(
    135deg,
    rgba(255,214,10,.45),
    rgba(0,82,255,.45)
  );
  opacity:1;
}



.motion{
  opacity:0;
  transform: translateY(25px);
  transition: 
    opacity .6s ease-out,
    transform .6s ease-out;
}

.motion.show{
  opacity:1;
  transform: translateY(0);
}



img{
  max-width:100%;
  height:auto;
  object-fit:cover;
  border-radius:14px;   
}



.p-card{
  box-sizing:border-box !important;
  margin:0 !important;
  padding:26px !important;
}

.p-logo{
  display:block !important;
  margin:0 auto 14px auto !important;
  max-height:70px !important;
  object-fit:contain !important;
}
.partners{
  margin-bottom:60px !important;
}

.partners{
  padding-top:120px !important;
  padding-bottom:120px !important;

  margin-top:120px !important;
  margin-bottom:120px !important;

  display:block !important;
  clear:both !important;

  position:relative !important;
  z-index:2;
  
}

.partners *{
  background:transparent;
  border-top:1px solid transparent; /* مهم!! */
}

.partners::before{
  content:"";
  position:absolute;
  top:-40px;
  left:0;
  right:0;
  height:1px;
}
.card,
.value-item,
.why-item,
.p-card,
.about-card,
.contact-card {
  transition: transform .35s ease, box-shadow .35s ease;
  will-change: transform;
}

.card:hover,
.value-item:hover,
.why-item:hover,
.p-card:hover,
.about-card:hover,
.contact-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 38px rgba(0,0,0,.14);
}

.section-title{
  text-align:center;
  font-size:40px;
  font-weight:900;
  color:#062368;

  margin-top:20px;     
  margin-bottom:35px;  
}

.partners-slider .p-card{
  width:340px;
  transition:.45s ease;
  opacity:0;
  transform:scale(.6);
  position:absolute;
}

.p-card.left{
  opacity:.7;
  transform:translateX(-250px) scale(.9);
}

.p-card.center{
  opacity:1;
  transform:translateY(-15px) scale(1.12);
  z-index:5;
}

.p-card.right{
  opacity:.7;
  transform:translateX(250px) scale(.9);
}

.p-card.hidden{
  opacity:0;
  pointer-events:none;
}

.partners-slider .p-card:not(.left):not(.center):not(.right){
  display:none;
}




.section-title{
  text-align:center;
  font-size:40px;
  font-weight:900;
  color:#062368;
  margin-bottom:30px;
}

.partners-wrapper{
  width:100%;
  display:flex;
  justify-content:center;
  margin-top:10px;
  margin-bottom:60px;
}

.partners-slider{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:65px;
  position:relative;
}
.section-title{
  text-align:center;
  font-size:40px;
  font-weight:900;
  color:#062368;
  margin-bottom:45px;  
}

.partners-wrapper{
  margin-top:65px;     
}
.section-title{
  position:relative;
  z-index: 10;
  margin-bottom:95px; 
}

.partners-slider{
  position:relative;
  z-index: 1;
  margin-top:200px;   
}

.p-card{
  position:relative;
  z-index:2;
}

:root{
  --otx-blue: #1f4bff;
  --otx-yellow: #ffd60a;
}

/* ================= DESKTOP BASE ================= */

section{
  padding-top: 150px;
  padding-bottom: 200px;
}

.container{
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* Header */
header{
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255,255,255,.45);
  backdrop-filter: blur(10px);
}

.hero-simple{
  position: relative;
  height: 100vh;
  min-height: 650px;
  overflow: hidden;
}

.hero-bg{
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity .8s ease;
}

.hero-bg.active{ opacity:1; }

.hero-text{
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 950px;
  padding-top: 80px;
}

.who-image-wrapper{
  position: relative;
  height: 420px;
  overflow: hidden;
}

.who-content{
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 26px;
}

.grid-3{
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 28px;
}


/* ================= TABLET ================= */
@media (max-width: 1024px){

  section{
    padding-top: 80px;
    padding-bottom: 100px;
  }

  .hero-simple{
    height: auto;
    min-height: 620px;
  }

  .hero-text{
    max-width: 720px;
    text-align: center;
    align-items: center;
  }

  .hero-text h1{
    font-size: 34px;
  }

  .grid-3{
    grid-template-columns: repeat(2,1fr);
  }

  .who-image-wrapper{
    height: 380px;
  }

  .who-content h2{
    font-size: 24px;
  }

  .partners-slider{
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 20px;
    position: static;
  }

  .partners-slider .p-card{
    position: static;
    opacity: 1;
    transform: none;
  }

}


/* MOBILE RESET – FINAL */
@media (max-width: 768px){

  body{
    background:#fff;
    margin:0;
    padding:0;
  }

  body::before{
    display:none;
  }

  header{
    position:fixed;
    top:0;
    left:0;
    height:90px;
    width:100%;
    z-index:1000;
  }

  .hero-simple{
    position:relative;
    min-height:100svh;
    padding-top:110px;
    padding-bottom:40px;
    overflow:hidden;

    /* gradient ثابت وناعم */
    background:
      linear-gradient(
        180deg,
        rgba(0,0,0,.45) 0%,
        rgba(0,0,0,.25) 45%,
        rgba(0,0,0,.50) 100%
      );
  }

  .hero-bg{
    position:absolute;
    inset:0;
    z-index:0;
    background-size:cover;
    background-position:center;
  }

  .hero-text,
  .hero-footer{
    position:relative;
    z-index:2;
  }

  .hero-footer{
    position:static;
    margin-top:36px;
    overflow-x:auto;
    -webkit-overflow-scrolling:touch;
  }

  section{
    position:relative;
    background:
      linear-gradient(
        180deg,
        #ffffff 0%,
        #f6f8fc 100%
      );
    padding:70px 0;
  }

  #who,
  #what,
  #news,
  #careers,
  #contact{
    padding-top:70px;
    margin:0;
  }

  .section-title{
    margin:0 0 30px;
    position:relative;
    z-index:3;
  }
}
