*{
  margin:0;
  padding:0;
  box-sizing:border-box;
  font-family: var(--font-sans);
}

html {
    scroll-behavior: smooth;
}


body{
  background:#f5f7fb;
  overflow-x:hidden;
  color:#222;
}

.login-page{
  margin: 0;
  padding: 0;
  height: 100%; 
  display: flex;
  flex-direction: column; 
  min-height: 100vh; 
}

/* TOP BAR */

.top-bar{
  background:var(--navy);
  color:white;
  padding:10px 7%;
  display:flex;
  justify-content:space-between;
  align-items:center;
  font-size:14px;
  font-family: var(--font-sans);
}

.top-left a{
  color:white;
  margin-right:15px;
  text-decoration:none;
}

/* HEADER */

header{
  background:white;
  padding:20px 1%;
  display:flex;
  justify-content:space-between;
  align-items:center;
  box-shadow:0 2px 10px rgba(0,0,0,0.08);
  position:sticky;
  top:0;
  z-index:999;
}

.hamburger {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: var(--navy);
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}

.logo{
  display:flex;
  align-items:center;
  gap:5px;
}

.logo img{
  width:70px;
}

.logo h1{
  color:var(--navy);
  font-size:28px;
  font-family: var(--font-sans);
}

.logo p{
  color:#666;
  font-size:14px;
  font-family: var(--font-sans);
}

nav{
  display:flex;
  gap:25px;
}

nav a{
  padding: 5px 2px 5px 2px;
  text-decoration:none;
  color:#222;
  font-size:17px;
  transition:.3s;
  font-weight:bold;
  font-family: var(--font-sans);
}

nav a:hover{
  color:var(--blue);
}

.login-btn{
  padding:5px 10px 5px 10px;
  background:var(--blue);
  color:rgb(255, 255, 255);
  border:none;
  font-size:15px;
  font-family: var(--font-sans);
  border-radius: var(--radius-full);
  cursor:pointer;
  transition:.3s;
}

.login-btn:hover{
  color:var(--white);
  background:var(--navy);
}

/* HERO */

.hero{
  height:90vh;
  /*background:url('/assests/images/419ae6e1-a97b-4bcf-b97d-15cbe3094bc3.jpeg') no-repeat;*/
  background-size:cover;
  background-position:center;
  position:relative;
  display:flex;
  justify-content:center;
  align-items:center;
}

/* SLIDER */
.hero {
  position: relative;
  overflow: hidden;
}

/* each slide */
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.6s ease;
}

/* active slide */
.hero-slide.active {
  opacity: 1;
  z-index: 1;
  background-color: rgba(0, 0, 0, 0.4);
}

/* arrows */
.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.4);
  border: none;
  color: white;
  /*font-size: 30px;*/
  padding: 10px 15px;
  cursor: pointer;
  z-index: 3;
  transition: .3s;
}

.arrow:hover {
  background: rgba(0,0,0,0.7);
}

.prev {
  right: 5px; /* RTL */
  border-radius: var(--radius-full);
}

.next {
  left: 5px;
  border-radius: var(--radius-full);
}

.overlay{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,0.55);
}

.hero-content{
  position:relative;
  z-index:2;
  color:white;
  text-align:center;
  max-width:800px;
  padding:20px;
}

.hero-content h2{
  font-size:58px;
  margin-bottom:20px;
  font-family: var(--font-sans);
}

.hero-content p{
  font-size:22px;
  
  line-height:2;
  margin-bottom:25px;
}

.hero-content button{
  padding:15px 40px;
  border:none;
  background:var(--blue);
  color:white;
  font-size:18px;
  font-family: var(--font-sans);
  border-radius: var(--radius-full);
  cursor:pointer;
  transition:.3s;
}

.hero-content button:hover, .about-content button:hover{
  background:var(--navy);
}

/* HERO NAVBAR OVERLAY */
.hero-nav {
  position: relative;
}

.hero-nav header {
  position: absolute;
  top: 0;
  width: 100%;
  background: transparent;
  box-shadow: none;
  z-index: 10;
}

.hero-nav nav a {
  color: white;
}

.hero-nav .logo h1,
.hero-nav .logo p {
  color: white;
}

.hero-nav .login-btn {
  background: rgba(255,255,255,0.15);
  border: 1px solid white;
}

.hero-nav .login-btn:hover {
  background: white;
  color: var(--navy);
}

/* SPLIT HERO */
.hero-split {
  padding: 80px 7%;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  gap: 30px;
  background: white;
}

.hero-box {
  text-align: center;
}

.hero-box h2 {
  color: var(--navy);
  font-size: 32px;
  margin-bottom: 15px;
}

.hero-box p {
  color: #555;
  line-height: 2;
}

.hero-image img {
  width: 100%;
  border-radius: 12px;
}


/* MEMBERS */
.members {
  padding: 90px 7%;
  background: var(--light);
}

.members-container {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(200px,1fr));
  gap: 30px;
  text-align: center;
}

.member-card {
  background: white;
  padding: 30px;
  border-radius: 10px;
  transition: .3s;
}

.member-card:hover {
  transform: translateY(-8px);
}

.member-card img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
}

.member-card h3 {
  color: var(--navy);
  margin-bottom: 5px;
}

.member-card p {
  color: #777;
  font-size: 14px;
}

/* RESPONSIVE */
@media(max-width:659px){
  .hero-split {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

/* STATS */

.stats{
  padding:80px 7%;
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
  gap:30px;
  background:white;
}

.stat-box{
  background:var(--light);
  padding:45px;
  text-align:center;
  border-top:5px solid var(--blue);
  transition:.3s;
}

.stat-box:hover{
  transform:translateY(-8px);
}

.stat-box i{
  font-size:40px;
  color:var(--blue);
  margin-bottom:15px;
}

.stat-box h3{
  font-size:42px;
  color:var(--navy);
}

.stat-box p{
  margin-top:10px;
  color:#555;
  font-size:18px;
}

/* ABOUT */

.about{
  padding:90px 7%;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:50px;
  align-items:center;
  background:white;
  
}

.about-image img{
  width:100%;
  border-radius:10px;
}

.about-content h2{
  color:var(--navy);
  font-size:42px;
  font-family: var(--font-sans);
  margin-bottom:20px;
}

.about-content p{
  line-height:2.2;
  color:#555;
  font-family: var(--font-sans);
  margin-bottom:25px;
  font-size:18px;
  font-family: var(--font-sans);
}

.about-content button{
  padding:14px 35px;
  border:none;
  background:var(--blue);
  color:white;
  cursor:pointer;
  font-size:16px;
  font-family: var(--font-sans);
  border-radius: var(--radius-full);
}

/* NEWS */

.news{
  background:white;
  padding:90px 7%;
}

.section-header{
  text-align:center;
  margin-bottom:50px;
}

.section-header h2{
  font-size:42px;
  font-family: var(--font-sans);
  color:var(--navy);
}

/* Carousel shell: nav buttons sit outside the cards, viewport clips the sliding track */
.news-carousel{
  display:flex;
  align-items:center;
  gap:20px;
}

.news-viewport{
  overflow:hidden;
  flex:1;
}

.news-nav{
  flex:0 0 auto;
  width:48px;
  height:48px;
  border-radius:var(--radius-full);
  border:none;
  background:var(--navy);
  color:white;
  font-size:16px;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  transition:.3s;
}

.news-nav:hover{
  background:var(--blue);
}

.news-nav:disabled{
  opacity:.4;
  cursor:default;
  background:var(--navy);
}

.news-container{
  display:flex;
  gap:30px;
  transition:transform .5s ease;
}

.news-card{
  background:white;
  box-shadow:0 5px 20px rgba(0,0,0,0.08);
  border-radius:14px;
  overflow:hidden;
  transition:.3s;
  flex:0 0 calc((100% - 60px) / 3); /* 3 cards on desktop, 2 gaps of 30px */
}

.news-card:hover{
  transform:translateY(-10px);
}

.news-card img{
  width:100%;
  height:230px;
  object-fit:cover;
  transition:transform .4s ease;
}

.news-card:hover img{
  transform:scale(1.08);
}

@media(max-width:900px){
  .news-card{
    flex:0 0 calc((100% - 30px) / 2); /* 2 cards on tablet */
  }
}

@media(max-width:659px){
  .stats{
    grid-template-columns: 1fr 1fr;
    gap:15px;
    padding:60px 5%;
  }

  .stat-box{
    box-sizing:border-box;
    padding:20px 15px;
    border-radius:14px;
    background:linear-gradient(180deg,var(--light) 0%,#eef3fa 100%);
  }

  .stat-box i{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:52px;
    height:52px;
    margin-bottom:10px;
    border-radius:50%;
    background:white;
    color:var(--blue);
    font-size:22px;
    box-shadow:0 4px 10px rgba(0,0,0,0.08);
  }

  .stat-box h3{
    font-size:28px;
  }

  .stat-box p{
    font-size:14px;
    margin-top:6px;
  }

  .news{
    padding:90px 4%;
  }

  .news-carousel{
    gap:10px;
  }

  .news-card{
    flex:0 0 100%; /* 1 card on mobile */
  }
  .news-nav{
    width:34px;
    height:34px;
    font-size:12px;
  }
}

.news-content{
  padding:25px;
}

.news-content span{
  color:var(--blue);
  font-size:14px;
  font-family: var(--font-sans);
}

.news-content h3{
  margin:15px 0;
  color:var(--navy);
  font-family: var(--font-sans);
}

.news-content p{
  color:#666;
  line-height:1.9;
  font-family: var(--font-sans);
}

/* WAITING */

.waiting{
  background:var(--navy);
  color:white;
  padding:40px 7%;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:40px;
  align-items:center;
}

.waiting-cta-wrap{
  display:flex;
  align-items:center;
  justify-content:center;
}

.waiting-cta{
  display:inline-flex;
  align-items:center;
  gap:10px;
  background:white;
  color:var(--navy);
  text-decoration:none;
  padding:16px 36px;
  border-radius:var(--radius-full);
  font-family:var(--font-sans);
  font-size:17px;
  font-weight:bold;
  box-shadow:0 4px 12px rgba(0,0,0,.25);
  transition:opacity .3s;
}

.waiting-cta:hover{
  opacity:.6;
}

.waiting-info h2{
  font-size:45px;
  margin-bottom:20px;
  font-family: var(--font-sans);
}

.waiting-info p{
  line-height:2;
  font-size:18px;
  font-family: var(--font-sans);
}

form{
  background:white;
  padding:5px;
}

.waiting form{
  background:none;
  padding:0;
}

input,select{
  width:100%;
  padding:15px 20px;
  margin-bottom:18px;
  border:1px solid #ddd;
  font-size:16px;
  font-family: var(--font-sans);
  text-align: right;
  color: gray;
  border-radius: var(--radius-full);
}

form button{
  width:100%;
  padding:15px;
  border:none;
  background:var(--blue);
  color:white;
  font-size:18px;
  font-family: var(--font-sans);
  cursor:pointer;
  border-radius: var(--radius-full);
}

#waitingForm input,
#waitingForm select,
#waitingForm button{
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,.25);
}

/* PASSWORD TOGGLE */
.input-wrapper {
  position: relative;
  margin-bottom: 18px;
}

.input-wrapper input {
  margin-bottom: 0;
  padding-left: 46px; /* space for the eye button (RTL: left side) */
}

.eye-btn {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: var(--gray);
  font-size: 17px;
  padding: 4px;
  transition: color .2s;
  width: auto;
}

.eye-btn:hover { color: var(--blue); }

/* LOGIN */

.login-section{
  padding:90px 7%;
}

.login-box{
  max-width:500px;
  margin:auto;
  background:white;
  padding:45px;
  box-shadow:0 5px 20px rgba(0,0,0,0.08);
}

.login-box h2{
  text-align:center;
  margin-bottom:30px;
  color:var(--navy);
}

/* MAIN FOOTER */
.main-footer{
  background:#061b38;
  color:white;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:10px 7%;
  height:70px; /* makes it thin */
  margin-top: auto;
}

/* LEFT (LOGO) */
.footer-left img{
  height:40px;
}

/* CENTER (SOCIAL) */
.footer-center{
  display:flex;
  gap:15px;
}

.footer-center a{
  width:40px;
  height:40px;
  background:var(--blue);
  color:white;
  display:flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  font-size:18px;
  font-family: var(--font-sans);
  transition:.3s;
  border-radius:12px;
}

.footer-center a:hover, button[type="submit"]:hover{
  background:var(--navy);
  transform:translateY(-3px);
}

/* RIGHT (TEXT) */
.footer-right p{
  font-size:14px;
  font-family: var(--font-sans);
  margin:0;
  text-align: left;
}

/* RESPONSIVE */

@media(max-width:480px){

  nav{
    display:none;
  }

  #navbar { padding: 1rem 1.2rem; }

  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1.5px solid var(--border);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1rem;
  }

  .nav-links.open { display: flex; }

  .hamburger { display: block; }

  .hero-content h2{
    font-size:38px;
    font-family: var(--font-sans);
  }

  .hero-content p{
    font-size:15px;
    font-family: var(--font-sans);
    margin: 10px;
  }

  .about,
  .waiting{
    grid-template-columns:1fr;
  }

}