* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden; 
  font-family: "Poppins", sans-serif;
}


/* == HEADER -----> */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 98px;

  display: flex;
  justify-content: space-between;
  align-items: center;

  margin-top: -23px;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.75) 0%,
    rgba(0, 0, 0, 0.45) 45%,
    rgba(0, 0, 0, 0.15) 70%,
    rgba(0, 0, 0, 0) 100%
  );
  z-index: 1000;
}
.nav-left {
  flex-shrink: 0;
}
.logo {
  height: 73px;
  border-radius: 0 0 5px 0;
}
.nav-right {
  display: flex;
  align-items: center;
  gap: 24px;
}
.contact {
  display: flex;
  gap: 20px;
  color: #fff;
  font-size: 14px;
  white-space: nowrap;
}
.erp-btn {
  background: #c40000;
  color: #fff;
  border: none;
  padding: 10px 18px;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
  white-space: nowrap;
}
.menu-btn {
  width: 40px;
  height: 40px;
  background:
    linear-gradient(#fff 0 0) 50% 30%/22px 2px,
    linear-gradient(#fff 0 0) 50% 50%/22px 2px,
    linear-gradient(#fff 0 0) 50% 70%/22px 2px;
  background-repeat: no-repeat;
  border: none;
  cursor: pointer;
}



/* hero section here -- */
.hero {
  position: relative;
  height: 900px;
  width: 100%;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;

  max-width: 1010px;
  text-align: center;
  color: #fff;
}

.hero-content h1 {
  font-size: 82px;
  line-height: 1.2;
  margin: 0 0 12px;
  font-weight: 700;
}
.hero-content p {
  font-size: 22px;
  margin: 0 0 32px;
  font-weight: 500;
}
.hero-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
}
.btn {
  padding: 16px 26px;
  font-size: 18px;
  border-radius: 6px;
  text-decoration: none;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.btn{
  transition: all .35s cubic-bezier(.05,.7,.1,1);
}

.btn.primary {
  background: #cb0b19;
}
.btn.primary:hover{
  background: #ffffff;
  color: #000;
}
.btn.secondary {
  background: rgba(0, 0, 0, 0.2);
  border: 2px solid #fff;
}
.btn.secondary:hover{
  background: #ffffff;
  color: #000;
}
.hero-links {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 98px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 0%,
    #000 100%
  );
  z-index: 2;
}

.hero-links a {
  color: #fff;
  font-size: 16px;
  padding: 0 24px;
  text-decoration: none;
  border-right: 2px solid rgba(255, 255, 255, 0.3);
}
.hero-links a:last-child {
  border-right: none;
}





/* Affilation section here --- */
.affiliations h2 {
  font-size: 30px;
  font-weight: 400;
  margin: 40px 0 32px;
  text-align: center;
}
.affiliations-track {
  overflow: hidden;
  position: relative;
  margin-bottom: 100px;
 width: 100%;
 overflow: hidden;
}
.affiliations-row {
  display: flex;
  gap: 100px;
  white-space: nowrap;
}

.affiliations-row img {
  height: 58px;
  width: auto;
  object-fit: contain;
}
.affiliations-track::before,
.affiliations-track::after {
  content: "";
  position: absolute;
  top: 0;
  width: 170px;
  height: 100%;
  z-index: 2;
  
}

.affiliations-track::before {
  left: 0;
  background: linear-gradient(to right, #fff, transparent);
}
.affiliations-track::after {
  right: 0;
  background: linear-gradient(to left, #fff, transparent);
}












/* INTRO SECTION --- >*/
.intro {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: 100%;
}


.intro-col {
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.intro-col.light {
  background: #fffae8;
}

.intro-col.mid {
  background: #e7dcc3;
}


.intro-card {
  width: 100%;
  max-width: 520px;
  height: 718px;
  padding: 60px;
  border: 1px solid #e7dcc3;
  border-radius: 20px;
  text-align: center;
}


.intro-img {
  width: 180px;
  height: 180px;
  border-radius: 12px;
  object-fit: cover;
  margin-bottom: 20px;
}

.intro-card h3 {
  font-size: 30px;
  font-weight: 500;
  margin-bottom: 20px;
}
.intro-card p {
  font-size: 16px;
  line-height: 26px;
}
.stats-card {
  width: 100%;
  max-width: 520px;
  height: 716px;
  padding: 75px 60px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 20px;

  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  text-align: center;
}
.stat .label {
  font-size: 20px;
}

.stat .value {
  font-size: 50px;
  font-weight: 600;
}

.divider {
  width: 40px;
  border-top: 2px solid #fff;
}









/* that fake sign up js widget - -- */
.signup {
  padding: 80px 24px;
  text-align: center;
  background: #fff;
}
.signup h2 {
  font-size: 32px;
  margin-bottom: 24px;
}
#signupForm {
  max-width: 420px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
#signupForm label {
  display: flex;
  flex-direction: column;
  text-align: left;
  font-size: 14px;
}

#signupForm input {
  padding: 12px 14px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 6px;
}

#signupForm input:focus {
  outline: 2px solid #cb0b19;
  outline-offset: 2px;
}

#signupForm button {
  position: relative;
  padding: 14px;
  font-size: 16px;
  background: #cb0b19;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

#signupForm button[disabled] {
  opacity: 0.7;
  cursor: not-allowed;
}

.error {
  color: #c40000;
  font-size: 14px;
  min-height: 18px;
}

.success {
  color: #0a7a2f;
  font-size: 16px;
  margin-top: 8px;
}

.btn-loader {
  display: none;
  width: 18px;
  height: 18px;
  border: 2px solid #fff;
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto;

}

.loading .btn-text {
  visibility: hidden;
}

.loading .btn-loader {
  display: inline-block;
  margin-right: 43px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}



/* = DISCOVER SECTION ===== */
.discover {
  position: relative;
  width: 100%;
  min-height: 973px;
  background: #000;
  overflow: hidden;
  padding: 120px 0;
}

.discover-bg {
  position: absolute;
  inset: 0;
  background: url("./public/Background.jpg") center/cover no-repeat;
  opacity: 0.5;
  z-index: 0;
}

.discover-header {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #fff;
  margin-bottom: 80px;
}

.discover-header h2 {
  font-family: "Inter", sans-serif;
  font-size: 60px;
  font-weight: 600;
  margin-bottom: 16px;
}

.discover-header p {
  font-family: "Inter", sans-serif;
  font-size: 20px;
  font-weight: 500;
}

.discover-cards {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.discover-card {
  position: relative;
  width: 460px;
  height: 562px;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
}

.discover-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;

  transform: scale(1);
  transition: transform 2s cubic-bezier(0.15, 0.85, 0.25, 1);
}
.discover-card:hover img {
  transform: scale(1.03);
}
.card-overlay {
  position: absolute;
  inset: 0;

  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.8) 0%,
    rgba(0, 0, 0, 0.4) 40%,
    rgba(0, 0, 0, 0) 65%
  );

  transform: translateY(45%);

  transition:
  transform 3s cubic-bezier(0.15, 0.85, 0.25, 1),
  background 3s cubic-bezier(0.15, 0.85, 0.25, 1);
}

.discover-card:hover .card-overlay {
  transform: translateY(0);

  background: linear-gradient(
    to top,
    rgba(221, 1, 1, 0.863) 0%,
    rgba(214, 3, 3, 0.596) 40%,
    rgba(200, 0, 0, 0) 95%
  );
}


/* Arrow (SVG version) */
.card-arrow {
  position: absolute;
  top: 50%;
  left: 50%;

  transform: translate(-50%, -50%);
  color: #fff;

  opacity: 0;
  z-index: 3;
  pointer-events: none;

  transition: opacity 3.9s cubic-bezier(0.05, 0.7, 0.1, 1);
}

/* Bigger arrow */
.card-arrow svg {
  display: block;
  width: 76px;
  height: 76px;
}

/* Hover state – ONLY opacity */
.discover-card:hover .card-arrow {
  opacity: 1;
}

/* Card text */
.discover-card h3 {
  position: absolute;
  bottom: 0px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  padding: 0 40px;
  text-align: center;

  font-family: "Poppins", sans-serif;
  font-size: 40px;
  font-weight: 400;
  color: #fff;
}

.discover-card.center {
  transform: translateY(0px);
}

@media (max-width: 768px) {
  .discover-header h2 {
    font-size: 38px;
  }

  .discover-card {
    width: 90%;
    height: 480px;
  }

  .discover-card h3 {
    font-size: 28px;
  }
}






/* this styles are for the announcemnet section -- with very good responsiveness */
.announcements {
  background: #fff;
  padding: 100px 0; 
}

.announcements-container {
  max-width: 1560px;
  margin: auto;
}

.announcements-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 70px;
}

.announcements-header h2 {
  font-size: 58px;
  font-weight: 600;
}
.announcements-header p {
  font-size: 16px;
  margin: 10px 0 26px;
  color: #555;
}
.announcement-tabs {
  display: flex;
  gap: 12px;
}
.tab {
  padding: 8px 18px;
  border-radius: 24px;
  font-size: 14px;
  border: 1px solid #ddd;
  background: #fff;
  cursor: pointer;
}

.tab.active {
  background: #000;
  color: #fff;
  border-color: #000;
}

.announcement-nav {
  display: flex;
  gap: 12px;
}

.nav-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid #ddd;
  background: #fff;
  cursor: pointer;
}
.announcement-cards {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 32px;
}
.announcement-card {
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 30px 26px;
  text-align: left;
}
.date span {
  font-size: 14px;
  color: #777;
}
.date strong {
  display: block;
  font-size: 26px;
  font-weight: 600;
  color: #d50000;
}
.announcement-card p {
  font-size: 15px;
  margin-top: 14px;
  color: #222;
  line-height: 1.45;
}
.announcement-footer {
  text-align: center;
  margin-top: 70px;
}







/* For footer's styling here - */
.footer {
  background: #000;
  color: #fff;
  padding: 120px 0 60px;
}
.footer-inner {
  max-width: 1680px;
  margin: 0 auto;
  padding: 0 120px;
}
/* columns */
.footer-cols {
  display: flex;
  justify-content: space-between;
  gap: 68px;
  flex-wrap: wrap;
} 
.footer-col h4 {
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 24px;
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-col li {
  font-size: 16px;
  line-height: 44px;
  color: #a1a6ac;
}
 
.footer-col.wide {
  max-width: 330px;
}

.footer-divider {
  margin: 80px 0 32px;
  border-top: 1px solid #313438;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-bottom p {
  font-size: 16px;
  color: #a1a6ac;
}
.footer-social {
  display: flex;
  gap: 18px;
}
.footer-social i {
  font-size: 18px;
  color: #fff;
  cursor: pointer;
}









/* RESPONSIVE */
@media (max-width: 768px) {
  .contact {
    display: none;
  }
  .logo {
    height: 44px;
    width: 220px;
  }
  .erp-btn {
    padding: 8px 14px;
    font-size: 13px;
  }
  .hero {
    height: 70vh;
  }
  .hero-content h1 {
    font-size: 42px;
  }
  .hero-content p {
    font-size: 18px;
  }
  .hero-actions {
    flex-direction: column;
  }
  .hero-links {
    display: none;
  }
  .intro {
    grid-template-columns: 1fr;
  }
  .intro-col {
    padding: 40px 24px;
  }
  .intro-card,
  .stats-card {
    max-width: 100%;
    height: auto;
    padding: 40px 32px;
  }
  .stats-card {
    padding: 48px 32px;
  }
  .stat .value {
    font-size: 42px;
  }
  .footer-cols {
    flex-direction: column;
    gap: 48px;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}
/* extra for logo only on 440 mobile */
@media (max-width: 440px){.logo{height: 36px;width: 180px;}}
/*extra only for intro section*/
@media (max-width: 1350px) {
  .intro {
    grid-template-columns: 1fr;
  }
  .intro-col {
    padding: 32px;
  }

  .intro-card,
  .stats-card {
    max-width: 460px;
    padding: 40px 32px;
  }

  .intro-img {
    width: 160px;
    height: 160px;
  }

  .stat .value {
    font-size: 44px;
  }
}
/* normal for all 360px */
@media (max-width: 360px) {
  .navbar {
    height: 72px;
    padding: 4px 12px 0;
  }

  .logo {
    height: 36px;
    width: 107px;
  }

  .erp-btn {
    padding: 6px 10px;
    font-size: 12px;
  }
  .intro-col {
    padding: 28px 16px;
  }

  .intro-card,
  .stats-card {
    padding: 28px 20px;
  }

  .intro-img {
    width: 140px;
    height: 140px;
  }

  .intro-card h3 {
    font-size: 22px;
  }

  .intro-card p {
    font-size: 14px;
    line-height: 22px;
  }

  .stat .label {
    font-size: 16px;
  }

  .stat .value {
    font-size: 34px;
  }
}

