body {
  margin: 0;
  padding: 0;
  font-family: "Avenir", sans-serif;
    /* font-family: "Libre Baskerville", serif; */
  background-color: #010101;
}
html {
  scroll-behavior: smooth;
}
a {
  text-decoration: none;
  color: inherit;
}

/* Logos */
.footer-logos {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: auto;
  /* remove the 25% restriction */
  align-items: flex-start;
  /* force items left */
  width: 28%;
  align-items: center;
}
.footer-logos p{
  font-size: 10px;
 font-family: "Avenir", sans-serif;
  color: white;
  font-weight: 100;
  line-height: 1.3;
}
.footer-logo {
  filter: brightness(0) invert(1);
  /* makes logo white */
  height: 60px;
  /* fix the height */
  width: 100px;
  /* keep aspect ratio */
  object-fit: contain;
}
.footer-logo.b{
  display: none;
}
.footer-logo.small {
  height: 45px;
  width: auto;
  padding-top: 10px;
  filter:none;
}
.footer-cateagory-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: justify;
    word-spacing: -0.07rem;
}
.footer-content{
    display: flex;
    justify-content: space-between;
    gap: 30px;
}
.footer-content {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 30px;
height: auto;
  overflow: visible;
}
.footer-contact-left {
  width: 35%;
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-height: 100vh;

  /* Hide scrollbar */
  overflow-y: scroll;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE 10+ */
}

.footer-contact-left::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

.footer-contact-right{
    width: 45%;
    display: flex;
    align-items: center;
    /* vertical center */
    justify-content: center;
    position: relative;
  width: 45%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.logo-icon {
  width: 230px;
  height: 300px;
  filter: invert(1);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, 30%);
  transition: all 0.8s ease;
  z-index: 10;
}

.logo-icon.fixed {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, 0%);
}

.logo-icon.stopped {
  position: absolute;
  top: 100%;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, 150%);
}
/*  */
@font-face {
  font-family: "Avenir";
  src: url("fonts/Avenir.woff2") format("woff2"),
       url("fonts/Avenir.woff") format("woff"),
       url("fonts/Avenir.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

/* top-video-file */
.top-video-file {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  z-index: 1;
}


.top-video-file video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: none; /* no need for translate if using full width/height */
}

/* main-content-section */
/* .main-content-section {
  width: 82%;
  height: 100vh;
  margin: 0vh auto;
  background-color: #000000;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 25vh;
} */
/* main-content-section */
.main-content-section {
  position: absolute;  
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 85vh;
  opacity: 0;
  background-color: #000000; /* start with no bg */
  transition: opacity 1.5s ease-in-out, background-color 1.5s ease-in-out;
  z-index: 2;
  display: flex;
  gap: 15vh;
  flex-direction: column;
  padding: 7vh 0;
}

/* Show with fade-in */
.main-content-section.visible {
  opacity: 1;
  background-color: #000000; /* fade-in bg */
}

/* top-sectiion */
.top-sectiion {
  display: flex;
  justify-content: space-between;
  align-items: center;
  
}

.logo {
  height: 55px;
  width: auto;
  cursor: pointer;
}


.category-section {
  display: flex;
  align-items: center;
  gap: 50px;
}
.category-section.b {
  display: none;
}


.category {
  margin: 0;
  color: #ffffff;
  font-size: 11px;
  font-weight: 100;
  text-transform: capitalize;
}
.menu{
  display: none;
}

/* second-section */

.text {
  font-size: 12px;
  margin: 0;
  color: #d7d7d7;
  font-weight: 100;
  line-height: 1rem;
  text-align: justify;
  word-spacing: -0.06rem;
}
.text.i{
  font-size: 11px;
  font-weight: 100;
  color: #d7d7d7;
  text-align: initial;
}
.text.b {
  width: 58%;
  font-size: 11px;
  font-weight: 100;
  text-align: center;
  color: #d7d7d7;
}

.text.c {
  font-size: 11px;
  font-weight: 100;
  color: #d7d7d7;
  text-align: center;
}

/* third-section */
.third-section {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.third-section-top {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.third-logo {
  height: 36px;
  width: 110px;
}

.heading {
  font-size: 40px;
  font-weight: 500;
  font-family: "Libre Baskerville", serif;
  margin: 0;
  color: #ffffff;
text-align: left;
  letter-spacing: -0.05em;
  line-height: 1.2em;
}
.second-head{
  font-size: 16px;
  font-weight: 500;
  /* font-family: "Libre Baskerville", serif; */
  margin: 0;
  color: #ffffff;
text-align: left;
  letter-spacing: -0.05em;
  line-height: 1.2em;
  padding-bottom: 15px;
}
.heading.b {
  text-align: left;
  width: 90%;
}

.third-section-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
}

.third-section-bottom-left {
  width: 45%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: justify;
  word-spacing: -0.02rem;
}

.third-section-bottom-right {
  width: 62%;
  display: flex;
  flex-direction: column;
    justify-content: space-between;
  align-items: flex-end;
  height: 100%; /* important: allow full height */
}

.egs-frame{
  width: 450px;
  height: auto;
}
.visible .egs-frame {
  animation-delay: 2.6s !important;;
}

.overview-row {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  /* push children (arrow, line, text) to the right */
  text-align: right;
  gap: 8px;
}

.overview-row.b {
  gap: 5px;
}
.length-arrow {
  display: block;  /* removes inline spacing under image */
  height: 20px;
  width: auto;
}

.company-overview-text {
  font-size: 14px;
  font-weight: 200;
  text-transform: uppercase;
  font-family: "Libre Baskerville", serif;
  letter-spacing: 0.03em;
  color: #ffffff;
  margin: 0;
}

.company-overview-text.b {
  padding-top: 10px;
}

.arrow {
  display: inline-block;
  /* removes block spacing */
  font-size: 40px;
  font-weight: bold;
  color: #ffffff;
  margin: 0;             /* remove paragraph default margin */
  padding: 0;            /* remove extra padding */
  line-height: 0;  
  /* removes extra top/bottom gap */
}


.company-line {
  width: 45%;
  height: 1px;
  background-color: #ffffff;
}

.company-line.b {
  width: 25%;
  align-self: flex-end;
  /* force this line to hug the right side */
}
.company-line.c {
  width: 65%;
  height: 1px;
  background-color: #ffffff;
}

/* institutional-section */
.institutional-section {
  position: relative; /* keep this! */
  height: 90vh;
  background: url(./images/city.jpeg) center / cover no-repeat;
  color: white;
  overflow: hidden;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding:0 50px;
}







.fade-in {
  opacity: 0;
  transform: translateY(0px); /* stays fixed */
}

/* Trigger animation when visible */
.visible .fade-in {
  animation: fadeInOnly 2s ease forwards;
}

/* Keyframes: just opacity */
@keyframes fadeInOnly {
  from {
    opacity: 0;
    transform: translateY(0px);
  }
  to {
    opacity: 1;
    transform: translateY(0px);
  }
}

/* Staggered delays */
.visible .heading,
.visible .text,
.visible .second-head {
  animation-delay: 2s;
}

.visible .third-logo,
.visible .arrow {
  animation-delay: 2.2s;
}

.visible .company-overview-text,
.visible .company-line,
.visible .top-sectiion,
.visible .category-section {
  animation-delay: 2.4s;
}



/* Transparent black overlay */
.institutional-section .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1;
}


/* Text content */
.institutional-section .content {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: flex-end;
  flex-direction: column;
  gap: 40px;
  width: 50%;
}

.institutional-content {
  display: flex;
  flex-direction: column;
  gap: 40px;
  transform: translateX(0%);
}

.institutional-grid {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 50%;
  padding-left: 30px;
  border-left: 2px solid #ffffff;
}

.institutional-grid-head {
  margin: 0;
  font-size: 14px;
  color: #ffffff;
  font-weight: 400;
}
.fade-in {
  opacity: 0;
  transform: translateY(0); /* stays fixed position */
}

/* Animate when visible */
.fade-in.visible {
  animation: fadeInOnly 1s ease forwards;
  animation-delay: 1s; /* starts 1 second after element is visible */
}

@keyframes fadeInOnly {
  from {
    opacity: 0;
    transform: translateY(0);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* Hidden state */
.fade-zoom-in {
  opacity: 0;
  transform: scale(1); /* slightly smaller */
}

/* Animate when visible */
.fade-zoom-in.visible {
  animation: fadeZoomIn 1s ease forwards;
  animation-delay: 0.5s; /* delay after visible */
}

@keyframes fadeZoomIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* body-content */
.body-content {
  position: relative;
  height: 100vh;
  background: url(./images/lines.avif) center center / cover no-repeat;

  margin: 0 auto;
  background-color: #000000;

  display: flex;
  justify-content: center;
  /* horizontal center */
  align-items: center;
  /* vertical center */
}

/* Transparent black overlay */
.body-content .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  /* adjust opacity */
  z-index: 1;
}

.body-content-grid {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 15vh;
  width: 82%;
  margin: 0 auto;
  height: 60vh;
   justify-content: center;
}

.body-content-grid.d {
  gap: 50px;
  width: 82%;
  margin: 0 auto;
}

.team-text {
  margin: 0;
  width: 50%;
  font-family: "Libre Baskerville", serif;
  font-size: 32px;
  color: #ffffff;
  font-weight: normal;
  line-height: 1em;
  text-align: center;
  margin: 0 auto;
}

.team-text span {
  font-style: italic;
  font-weight: 700;
  letter-spacing: -0.05em;
}

.team-text.b {
  width: 100%;
  margin: 0;
  font-weight: 400;
}

.team-text.c {
  text-align: left;
  margin: 0;
  font-weight: 200;
  font-size: 24px;
  line-height: 1.2em;
  width: 65%;
}

.team-text.d {
  width: 76%;
  text-align: center;
  line-height: 1.2em;
  font-weight: 200;
}

.team-grid-section {
  display: flex;
  justify-content: space-around;
  align-items: center;
  width: 80%;
  margin: 0 auto;
}

.team-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  width: 30%;
}

.arrow-section {
  display: flex;
  justify-content: flex-end;
  /* push contents to right */
  flex-direction: column;
  gap: 5px;
  width: 100%;
  /* take full width of parent */
}

.bottom-logo {
  height: 45px;
  width: auto;
  padding-bottom: 10px;
}

.bottom-logo-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 10vh;
}

.bottom-logo-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: center;
  width: 17%;
}

.bottom-logo-grid-head {
  margin: 0;
  color: #ffffff;
  font-size: 14px;
  font-weight: 500;
  
}
/* Hidden state */
.fade-zoom-out {
  opacity: 0;
  transform: scale(1.2); /* start slightly bigger */
}

.fade-in {
  opacity: 0;
}

/* Fade Zoom Out */
.fade-zoom-out.visible {
  animation: fadeZoomOut 2s ease forwards; /* 1s smooth */
}

/* Fade In */
.fade-in.visible {
  animation: fadeIn 3s ease forwards; /* 2s smooth */
}

/* Keyframes */
@keyframes fadeZoomOut {
  from {
    opacity: 0;
    transform: scale(1.2);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* image-section */
.image-section {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.section-img {
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: center;
}

/* Black transparent overlay */
.image-section::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.2);
}

/* bottom-section */
.bottom-section {
  position: relative;
  height: auto;
  background-image: url(./images/lines.avif);
  background-repeat: repeat;
  background-position: top left;
  background-size: 1400px auto; /* adjust this size as you like */
  margin: 0 auto;
  background-color: #000000;
  display: flex;
  flex-direction: column;
  gap: 6vh;
}
.bottom-section.b{
  background: none;
}
/* Transparent black overlay */
.bottom-section .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  /* adjust opacity */
  z-index: 1;
}

.capital-section {
  display: flex;
  flex-direction: column;
  gap: 50px;
  position: relative;
  z-index: 2;
}

.capital-section-top {
  display: flex;
  flex-direction: column;
  gap: 50px;
  padding: 20vh 0px;
  width: 82%;
  margin: 0 auto;
}
.main-img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: auto;
  object-fit: cover;
  opacity: 0;
  animation: fadeImageIn 2s ease forwards;
}

@keyframes fadeImageIn {
  from { opacity: 0.3; transform: scale(1.02); }
  to { opacity: 1; transform: scale(1); }
}


/* footer */
.footer {
  display: flex;
  flex-direction: column;
  width: 90%;
  margin: 0 auto;
  gap: 5px;
  padding: 10vh 20px;
  position: relative;
  z-index: 2;
  padding-bottom: 5vh;
}
.footer.f{
  width: 100%;
  padding: 10vh 0px;
}

.footer-section {
  width: 75%;
  color: #ffffff;
  /* black text since you don't want background */
  margin: 0 auto;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}

/* Logos */
.footer-logos {
  display: flex;
  justify-content: space-between;
  width: auto;
  /* remove the 25% restriction */
  align-items: flex-start;
  /* force items left */
  width: 28%;
  align-items: center;
}

.footer-logo {
  filter: brightness(0) invert(1);
  /* makes logo white */
  height: 60px;
  /* fix the height */
  width: auto;
  /* keep aspect ratio */
  object-fit: contain;
}
.footer-logo.b{
  display: none;
}

.footer-logo.small {
  height: 45px;
  width: auto;
  padding-top: 10px;
  filter:none;
}

/* Contact Info */
.footer-contact {
  display: flex;
  align-items: center;
    justify-content: space-between;
  gap: 20px;
  width: 100%;
  font-size: 14px;
  border-bottom: 0.5px solid #fff;
   padding-bottom: 8px;
}

.address {
  width: 60%;
  font-size: 10px;
  font-weight: 100;
  margin: 0;
  color: #ffffff;
}

.footer-contact div {
  width: 20%;
}

.footer-contact .email {
  font-size: 10px;
  margin: 0;
   font-weight: 100;
  text-align: center;
}

.footer-contact .phone {
  font-size: 10px;
  text-align: right;
 font-weight: 100;
  margin: 0;
}

/* Contact Us Right Side */
.arrow {
  font-size: 30px;
  margin: 0;
  line-height: 1;
}

/* Footer Links */
.footer-links {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: center;
  font-size: 10px;
}

.footer-links a {
  color: #ffffff;
  text-decoration: none;
  margin: 0 0px;
   font-weight: 100;
}

.footer-links a:hover {
  text-decoration: underline;
}

/* Footer Note */
.footer-note {
  font-size: 10px;
 font-weight: 100;
  line-height: 1.5em;
  margin: 0;
  letter-spacing: 0.01rem;
}

.footer-link-section {
  width: 75%;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
/* new inner pages */
.contact{
  padding: 100px 0px 100px;
}
