/*=============== GOOGLE FONTS ===============*/
@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600&display=swap");
@import url('https://cdn.jsdelivr.net/npm/boxicons@latest/css/boxicons.min.css');
@import url('https://fonts.googleapis.com/css2?family=Amarante&display=swap');

/*=============== VARIABLES CSS ===============*/
:root {
  --header-height: 4rem;

  /*========== Colors ==========*/
  --hue: 174;
  --sat: 63%;
  --first-color: yellow;
  --first-color-alt: hsl(var(--hue), var(--sat), 36%);
  --title-color: white;
  --text-color: hsl(var(--hue), 8%, 35%);
  --body-color: hsl(var(--hue), 100%, 99%);
  --container-color: #000000;

  /*========== Font and typography ==========*/
  --body-font: 'Open Sans', sans-serif;
  --h1-font-size: 1.5rem;
  --normal-font-size: .838rem;
  --tiny-font-size: .525rem;

  /*========== z index ==========*/
  --z-tooltip: 10;
  --z-fixed: 100;
}

@media screen and (min-width: 968px) {
  :root {
    --h1-font-size: 2.25rem;
    --normal-font-size: 1rem;
  }
}

/*=============== BASE ===============*/
* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  font-family: "poppins", sans-serif;
  font-weight: 400;
}

html {
  scroll-behavior: smooth;
}

body {
  margin-top: var(--header-height) 0 0 0;
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  background: rgb(0, 0, 0);
  background-repeat: no-repeat;
  background-attachment: fixed;


  color: var(--text-color);
}

@keyframes glowMove {
  0% {
    background-position: 20% 30%, 80% 70%, 60% 20%;
  }

  50% {
    background-position: 25% 35%, 75% 65%, 55% 25%;
  }

  100% {
    background-position: 20% 30%, 80% 70%, 60% 20%;
  }
}

body {
  animation: glowMove 10s ease-in-out infinite alternate;
}


ul {
  list-style: none;
}

a {
  text-decoration: none;
}


/*=============== REUSABLE CSS CLASSES ===============*/
.section {
  padding: 4.5rem 0 1rem;
}

.section__title {
  font-size: var(--h1-font-size);
  color: var(--title-color);
  text-align: center;
  margin-bottom: 1.5rem;
}

.section__height {
  height: 100vh;
}

/*=============== LAYOUT ===============*/
.container {
  max-width: 100%;
}

/*=============== HEADER ===============*/
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--container-color);
  z-index: var(--z-fixed);
  transition: .4s;
}

/*=============== NAV ===============*/
.nav {
  height: var(--header-height);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 1rem;
}

.nav__img {
  width: 32px;
  border-radius: 50%;
}

.nav__logo img {
  padding: .5rem;
  width: 8rem;
  height: 8rem;
}

@media screen and (max-width: 767px) {
  .nav__menu {
    position: fixed;
    bottom: 0;
    left: 0;
    background-color: var(--container-color);
    box-shadow: 0 -1px 12px hsla(var(--hue), var(--sat), 15%, 0.15);
    width: 100%;
    height: 4rem;
    padding: 0 1rem;
    display: grid;
    align-content: center;
    border-radius: 1.25rem 1.25rem 0 0;
    transition: .4s;
  }
}

.nav__list,
.nav__link {
  display: flex;
}

.nav__link {
  flex-direction: column;
  align-items: center;
  row-gap: 4px;
  color: var(--title-color);
  font-weight: 400;
}

.nav__list {
  justify-content: space-around;
}

.nav__name {
  font-size: 0.7rem;
}

.nav__icon {
  font-size: 1.1rem;
}

/*Active link*/
.active-link {
  position: relative;
  color: var(--first-color);
  transition: .3s;
}


/* Change background header */
.scroll-header {
  box-shadow: 0 1px 12px hsla(var(--hue), var(--sat), 15%, 0.15);
}

/*=============== MEDIA QUERIES ===============*/
/* For small devices */
@media screen and (max-width: 320px) {
  .nav__name {
    display: none;
  }
}

/* For medium devices */
@media screen and (min-width: 576px) {
  .nav__list {
    justify-content: center;
    column-gap: 3rem;
  }
}

@media screen and (min-width: 767px) {
  body {
    margin: 0;
  }

  .section {
    padding: 7rem 0 2rem;
  }

  .nav {
    height: calc(var(--header-height) + 1.5rem);
    /* 4.5rem */
  }

  .nav__img {
    display: none;
  }

  .nav__icon {
    display: none;
  }

  .nav__name {
    font-size: var(--normal-font-size);
  }

  .nav__link:hover {
    color: var(--first-color);
  }

  /* Minimalist design */
  .active-link::before {
    bottom: -.75rem;
  }
}

/* --------------------------
| MOUSE ANIMATION STYLING   |
---------------------------*/
.mouse {
  position: fixed;
  width: 50px;
  height: 50px;
  border: 1px solid #ffff00;
  border-radius: 50%;
  left: 0;
  top: 0;
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 200;
}

.mouse2 {
  position: fixed;
  width: 8px;
  height: 8px;
  background-color: #ffffff;
  border-radius: 50%;
  left: 0;
  top: 0;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: .15s;
  z-index: 200;
}




/* ---------------------------------
|       HERO SECTION STYLING       |
----------------------------------*/

.about-hero {
  position: relative;
  width: 100%;
  height: 100vh;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow: hidden;
  font-family: 'Poppins', sans-serif;
}

/* Background video */
.bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* Overlay */
.about-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  z-index: 1;
}

/* Content */
.about-hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 0 20px;
  animation: fadeUp 1.5s ease-out;
}

.about-title {
  font-size: 4rem;
  font-weight: 600;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.about-title span {
  color: #ffeb3b;
}

.about-subtitle {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #dddddd;
  max-width: 700px;
  margin: 0 auto 40px;
}

.about-btn {
  display: inline-block;
  padding: 12px 30px;
  border: 1.5px solid #ffeb3b;
  color: #ffeb3b;
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 0.5px;
  border-radius: 30px;
  transition: all 0.4s ease;
}

.about-btn:hover {
  background: #ffeb3b;
  color: #111;
}

/* ========== BOTTOM BRAND TEXT ========== */
.bottom-brand {
  position: absolute;
  bottom: 40px;
  width: 100%;
  text-align: center;
  z-index: 2;
  overflow: hidden;
}

.brand-text {
  font-size: 1.5rem;
  letter-spacing: 3px;
  font-weight: 500;
  color: #ffffff;
  opacity: 0;
  transform: translateY(100%);
  animation: revealText 1.2s ease forwards;
  animation-delay: 2.2s; /* Delayed until hero finishes loading */
}

/* ====== Animations ====== */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes revealText {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ================================
   RESPONSIVE - HERO SECTION
================================ */

/* --- Large Screens & Small Laptops (max-width: 1200px) --- */
@media (max-width: 1200px) {
  .about-title {
    font-size: 3.5rem;
  }

  .about-subtitle {
    max-width: 750px;
  }
}

/* --- Tablets Landscape / Small Laptops (max-width: 1024px) --- */
@media (max-width: 1024px) {
  .about-hero {
    height: 85vh;
    padding: 0 4%;
  }

  .about-title {
    font-size: 3rem;
  }

  .about-subtitle {
    font-size: 1.05rem;
  }
}

/* --- Tablets Portrait (max-width: 900px) --- */
@media (max-width: 900px) {
  .about-title {
    font-size: 2.7rem;
  }
  
  .about-subtitle {
    max-width: 650px;
  }

  .brand-text {
    font-size: 1.3rem;
  }
}

/* --- General Mobile (max-width: 768px) --- */
@media (max-width: 768px) {
  .about-hero {
    height: auto;
    padding: 120px 5% 100px;
  }

  .about-title {
    font-size: 2.4rem;
    line-height: 1.2;
  }

  .about-subtitle {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 30px;
  }

  .about-btn {
    padding: 10px 26px;
    font-size: 0.95rem;
  }

  .bottom-brand {
    bottom: 25px;
  }

  .brand-text {
    font-size: 1.15rem;
  }
}

/* --- Small Mobile (max-width: 550px) --- */
@media (max-width: 550px) {
  .about-hero {
    padding: 100px 6% 90px;
  }

  .about-title {
    font-size: 2rem;
  }

  .about-subtitle {
    font-size: 0.95rem;
  }

  .about-btn {
    padding: 9px 22px;
    font-size: 0.9rem;
  }

  .brand-text {
    font-size: 1rem;
    letter-spacing: 2px;
  }
}

/* --- Extra Small Mobile (max-width: 400px) --- */
@media (max-width: 400px) {
  .about-title {
    font-size: 1.7rem;
  }

  .about-subtitle {
    font-size: 0.9rem;
  }

  .about-btn {
    padding: 8px 20px;
    font-size: 0.85rem;
  }

  .brand-text {
    font-size: 0.95rem;
  }
}




.about-dual-section {
  background-color: #fbfbfb;
  color: #303030;
  padding: 120px 7%;
  font-family: 'Poppins', sans-serif;
}

.about-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 80px;
  max-width: 1200px;
  margin: 0 auto;
}

.about-text {
  flex: 1;
}

.about-text h2 {
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: #000000;
}

.about-text p {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 15px;
  color: #303030;
  text-align: justify;
}

.about-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-image img {
  width: 100%;
  max-width: 400px;
  height: 350px;
  border-radius: 40px 40px 40px 0;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.about-image img:hover {
  transform: scale(1.03);
}

/* Initial hidden state */
.about-text, 
.about-image {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.5s ease, transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform; /* improves smoothness on all devices */
}

/* Fade-in + slide-up */
.about-text.visible, 
.about-image.visible {
  opacity: 1;
  transform: translateY(0);
}


/* Responsive Design */
@media (max-width: 900px) {
  .about-container {
    flex-direction: column;
    text-align: center;
  }

  .about-text p {
    text-align: center;
  }

  .about-image img {
    max-width: 400px;
  }
}







/* --------------------------
|     WHY US SECTION        |
---------------------------*/

.why-us-section {
  color: #fff;
  padding: 100px 4%;
  font-family: 'Poppins', sans-serif;
}


.why-us-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 80px;
  flex-wrap: wrap;
}

.why-title {
  font-size: 2.3rem;
  font-weight: 600;
  margin-bottom: 20px;
  position: relative;
}

.why-title span {
  color: #ffeb3b;
}

.why-text {
  font-size: 1rem;
  line-height: 1.8;
  color: #ddd;
  margin-bottom: 25px;
  max-width: 500px;
}

.why-list {
  list-style: none;
  padding: 0;
}

.why-list li {
  margin-bottom: 12px;
  font-size: 1rem;
  color: #ccc;
  display: flex;
  align-items: center;
  gap: 10px;
}

.why-list i {
  color: #ffeb3b;
  font-size: 1.2rem;
}

/* ====== ANIMATION EFFECTS ====== */
.fade-up {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease-out;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ====== RESPONSIVE ====== */
@media (max-width: 992px) {
  .why-us-content {
    flex-direction: column;
    gap: 60px;
  }

  .why-title {
    font-size: 2rem;
  }

  .why-text {
    font-size: 0.95rem;
  }
}



/* --------------------------
|       TEAM SECTION        |
---------------------------*/


.team-section {
  background-color: #fbfbfb;
  color: #303030;
  padding: 100px 4%;
  font-family: 'Poppins', sans-serif;
  text-align: center;
}

.section-title-t {
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: 1px;
}

.section-subtitle-t {
  font-size: 1rem;
  color: #444444;
  margin-bottom: 60px;
}

.team-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
}

/* ========== TEAM CARD ========== */
.team-card {
  position: relative;
  width: 320px;
  height: 400px;
  overflow: hidden;
  border-radius: 10px;
  background-color: #fff;
  cursor: pointer;
  transition: transform 0.4s ease;
}

.team-card:hover {
  transform: translateY(-10px);
}

.team-image {
  position: relative;
  width: 100%;
  height: 100%;
}

.team-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.team-card:hover img {
  transform: scale(1.1);
}

/* ========== OVERLAY CONTENT ========== */
.team-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 25px;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.team-card:hover .team-overlay {
  opacity: 1;
}

.team-name {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.team-bio {
  font-size: 0.9rem;
  line-height: 1.5;
  color: #ddd;
  margin-bottom: 20px;
}

/* ========== LINKEDIN ICON ========== */
.linkedin-link {
  color: #0a66c2;
  font-size: 1.8rem;
  transition: color 0.3s ease;
}

.linkedin-link:hover {
  color: #fff;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 992px) {
  .team-grid {
    flex-direction: column;
    align-items: center;
  }
}



.stats-section {
  background-image: url(/assets/stats-image1.jpg);
  background-size: cover;
  color: #ffffff;
  padding: 120px 20px;
  text-align: center;
  font-family: 'Poppins', sans-serif;
  position: relative;
}

.stats-content {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 100px;
  flex-wrap: wrap;
}

.divider {
  width: 1px;
  height: 80px;
  background-color: #f1c40f;
  opacity: 0.6;
}


.stat h2 {
  font-size: 64px;
  font-weight:100;
  margin-bottom: 10px;
  transition: color 0.3s ease;
}

.stat p {
  font-size: 18px;
  letter-spacing: 1px;
  opacity: 0.8;
}

.stat:hover h2 {
  color: #f1c40f;
}

/* Fade-in animation */
.stat {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.stat.visible {
  opacity: 1;
  transform: translateY(0);
}


@media (max-width: 768px) {
  .stats-section {
  background-image: url(/assets/stats-image-m.jpeg);
  background-size: cover;
  }
  .divider {
    display: none;
  }
  .stats-content {
    gap: 60px;
  }
}