@import url('https://fonts.googleapis.com/css2?family=Familjen+Grotesk:wght@400;600;700&display=swap');

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


#background-container {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

#background-image {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s ease-in-out;
}

.slide-in {
  transform: translateX(100%);
}

.slide-reset {
  transform: translateX(0);
}



body {
  font-family: 'Familjen Grotesk', sans-serif;
  background: #ffffff;
  color: #fff;
}

a {
  text-decoration: none;
  color: #ffffff; 
}

ul {
  list-style: none;
}

/* Header/Navbar */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-transform: uppercase;
  height: 100px;
  padding: 0 30px;
  transition: transform 0.3s ease-in-out;
  background-color: rgba(15, 14, 14, 0.488); /* Semi-transparent white background */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Subtle shadow for separation */
}

.main-header.hidden {
  transform: translateY(-100%);
}

.section-a{
  margin-bottom: 80px; /* Adjust the value as needed */
}
.section-b{
  margin-bottom: 200px;
}

.section-c .image-container {
  margin-top: 100px; /* Adjust the value as needed */
}

/* Logo */
.logo {
  width: 210px;
  height: auto;
}

.logo img {
  display: block;
  width: 90%;
  height: auto;
}

/* Desktop Menu */
.desktop-main-menu {
  margin-right: 50px;
}

.desktop-main-menu ul {
  display: flex;
  
}

.desktop-main-menu ul li {
  position: relative;
  margin-right: 20px;
 
  padding-bottom: 2px;
}

/* Menu item bottom border */
.desktop-main-menu ul li a::after {
  content: '';
  position: absolute;
  bottom: 0;
 
  left: 0;
  width: 100%;
  height: 1px;
  background: #fff;
  transform: scaleX(0);
  transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1);
  transform-origin: right center;
}

.desktop-main-menu ul li a:hover::after {
  transform: scaleX(1);
  transform-origin: left center;
  transition-duration: 0.4s;
}

/* Sections */
section {
  position: relative;
  height: 100vh;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  text-transform: uppercase;
}

.section-inner {
  position: absolute;
  bottom: 200px;
  left: 150px;
  max-width: 560px;
}

.section-inner h4 {
  font-size: 22px;
  margin-bottom: 5px;
  font-weight: 300;
  color: #ffffff;
  animation: fadeInUp 0.5s ease-in-out;
}

.section-inner h2 {
  font-size: 50px;
  font-weight: 900;
  margin-bottom: 20px;
  color: #ffffff;
  animation: fadeInUp 0.5s ease-in-out 0.2s;
  animation-fill-mode: both; 
}

.section-inner a {
  animation: fadeInUp 0.5s ease-in-out 0.4s;
  animation-fill-mode: both; 
}

/* Background images */


.background-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}


.section-b {
  background-image: url('../img/section-b.webp');
}
.section-c {
  background-image: url('../img/section-c.webp');
}
.section-d {
  background-image: url('../img/section-d.webp');
}
.section-e {
  background-image: url('../img/section-e.webp');
}
.section-f {
  background-image: url('../img/section-f.webp');
}


.scroll-arrow {
  position: absolute;
  bottom: 50px;
  left: 50%;
  transform: translateX(-50%);
  animation: fadeBounce 5s infinite;
}

/* Footer */
footer {
  position: relative;
  padding: 55px 0;
}

footer ul {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

footer ul li {
  margin-right: 30px;
  color: #aaa;
  text-transform: uppercase;
  font-size: 13px;
  line-height: 2.5;
}

footer ul li a {
  color: #000000;
  transition: color 0.6s;
}

footer ul li a:hover {
  color: #aaa;
}

footer p a{
  color: #000;
}


/* Overlay */
.overlay-show {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 3;
}

/* Stop body scroll */
.stop-scrolling {
  overflow: hidden;
}




/* Inner Pages */
.bg-falcon-9 {
  background-image: url('../img/falcon-9.webp');
}

.bg-falcon-heavy {
  background-image: url('../img/falcon-heavy.webp');
}

.bg-dragon {
  background-image: url('../img/dragon.webp');
}

.section-animate {
  animation: fadeIn 2s ease-in-out;
}

.section-inner-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-transform: uppercase;
  text-align: center;
  width: 80%;
}

.section-inner-center h3 {
  
  font-size: 70px;
  margin-bottom: 15px;
  animation: fadeInUp 0.5s ease-in-out;
  color: rgb(255, 255, 255);
  font-weight: 1500;
  font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
 
}

.section-inner-center p {
  font-size: 20px;
  animation: fadeInUp 0.5s ease-in-out 0.2s;
  animation-fill-mode: both;
  color: rgb(252, 251, 255);
}

/* Stats */
.stats {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: center;
  text-transform: uppercase;
}

.stats div span {
  font-size: 160px;
}

.stats div h4 {
  font-size: 24px;
  font-weight: 300;
}

/* Animations */

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(140px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@keyframes fadeBounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    opacity: 0;
    transform: translateY(-20px);
  }

  40% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Media Queries */


/* Card Container */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  padding: 20px;
}

/* Individual Card */
.card {
  position: relative;
  width: 300px;
  height: 400px;
  overflow: hidden;
  border-radius: 0px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.6);
  cursor: pointer;
  transition: transform 0.3s ease;
  background-color: black;
}

.card:hover {
  transform: scale(1.05); /* Scale the card on hover */
  opacity: 1; /* Maintain full opacity on hover */
}

.card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: filter 0.4s ease, transform 0.2s ease, opacity 0.2s ease;
  transition-timing-function: ease-in-out;
}

.card:hover img {
  filter: blur(5px); /* Blur the image on hover */
  transform: translateY(100%); /* Move the image to the bottom */
  opacity: 0; /* Fade out the image */
}

/* Text Overlay - Always Visible */
.card-text {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 15px;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), transparent);
  color: #fff;
  z-index: 2;
}

.card-text h3 {
  font-size: 0.9em;
  text-transform: uppercase;
  margin-bottom: 5px;
  font-weight: bold;
  color: #ccc;
}

.card-text p {
  font-size: 1.1em;
  font-weight: bold;
  line-height: 1.3;
}

/* Hover Overlay Text */
.card-hover-text {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6); /* Dark overlay */
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  padding: 20px;
  box-sizing: border-box;
  z-index: 3;
}

.card:hover .card-hover-text {
  opacity: 1; /* Show the hover text */
}


/* Section C */
.section-c {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center; /* Horizontally center everything */
  justify-content: center; /* Vertically center content */
  overflow: hidden;
  background: #ffffff;
  height: 100vh; /* Full-screen height */
}

/* Image Container */
.image-container {
  position: relative;
  z-index: 1; /* Keeps the image in the background */
}

.image-container img {
  width: 100%;
  max-width: 500px;
  transition: transform 0.2s ease-out;
  object-fit: cover;
  border-radius: 10px;
}

/* Text Container - Below the Image */
.text-container {
  position: relative; /* Relative to its normal flow */
  margin-top: 20px; /* Space between image and text */
  text-align: center; /* Center the text */
  color: #fff; /* White text for contrast */
  font-size: 1.2em;
  z-index: 2; /* Keeps text above the background */
}

.text-heading {
  font-size: 2em;
  margin-bottom: 10px;
  font-weight: bold;
  color: #000;
}

.text-paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #000;
}

.join-link {
  color: #a770ff; /* Accent color for the link */
  text-decoration: none;
  font-size: 1.2em;
  font-weight: bold;
}

.join-link span {
  display: inline-block;
  margin-left: 8px;
  font-size: 1.2em;
  transform: translateY(2px);
}



/* section d */
/* Section Styling */
.scrolling-text-section {
  width: 100%;
  height: 100vh; /* Full screen height */
  display: flex;
  align-items: center; /* Vertically center */
  justify-content: center; /* Horizontally center */
  background-color: #000;
  color: #fff;
  overflow: hidden;
}

/* Wrapper for Continuous Scrolling */
.scrolling-text-wrapper {
  display: flex;
  white-space: nowrap;
  position: relative;
}

/* Scrolling Content */
.scrolling-text {
  display: flex;
  animation: scrollText 25s linear infinite; /* Slow scrolling animation */
}

/* Individual Text Block */
.text-block {
  display: inline-block;
  white-space: normal;
  width: 600px; /* Wider text block */
  margin-right: 100px; /* Space between blocks */
  box-sizing: border-box;
  text-align: center; /* Center align text */
}

/* Date Style */
.text-date {
  font-size: 1.2em; /* Larger date text */
  color: #ccc;
  margin-bottom: 10px;
  font-weight: bold;
}

/* Title Style */
.text-title {
  font-size: 2.5em; /* Larger text size for main title */
  font-weight: bold;
  line-height: 1.3;
  text-transform: uppercase;
}

/* Keyframes for Smooth, Continuous Scrolling */
@keyframes scrollText {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}

/* Pause Scroll on Hover */
.scrolling-text-wrapper:hover .scrolling-text {
  animation-play-state: paused; /* Pauses animation on hover */
}


/* Contact us page */
.contact{
 
  display: flex;
  
  padding: 150px 100px;
  min-height: 100vh;
  flex-direction: column;
  background-image: url("../img/JPEG image-323E086D2B68-1.jpeg");
  background-size: cover;
  justify-content: center;
  align-items: center;

}

.contact .content{
  text-align: center;
  max-width: 800px;
}

.contact .content h2{
  font-size: 40px;
  font-weight:600;
  color: #000000;

  margin-top: 0px;
}

.contact .content p{

  font-size: large;
  padding-top: 10px;
  font-weight: 1000;
 color: rgb(0, 0, 0);
 padding-bottom: 20px;
}

.contact .container{
  background: rgba(255, 255, 255, 0.1); /* Semi-transparent white background */
  backdrop-filter: blur(10px); /* Applies the blur effect */
  border-radius: 10px; /* Optional: adds rounded corners */
  padding: 20px; /* Adds spacing inside */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); /* Optional: adds a shadow for a neat effect */
}

.container{
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 30px;
  width: 100%;

  
}


.container .containerinfo{
  width: 50%;
  display: flex;
  flex-direction: column;

}


.container .containerinfo .box{
  position: relative;
  padding: 20px 0px;
  display: flex;

}



.container .containerinfo .box .icon {
  background: #6f6b6b;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  min-width: 60px;
  height: 60px;
  font-size: 22px ;

}

.container .containerinfo .box .text  {
  display: flex;
  margin-left: 15px;
  margin-right: 25px;
  color: #fff;
  font-size: 16px;
  flex-direction: column;
  font-weight: 300;


}

.container .containerinfo .box .text  h3 {
  color: rgba(0, 0, 0, 0.867);
  font-weight: 500;
  

}

.contact-form{

  width: 70%;
  padding: 40px;
  background: #666768;
  margin-left: 20px;




}

.contact-form h2{
  font-size: 30px;
  color: #ffffff;
  font-weight: 500;
}


.contact-form .inputbox{
  position: relative;
  width: 100%;
  margin-top: 10px;
  color: #000;
}


.contact-form .inputbox input,
.contact-form .inputbox textarea{
  width: 100%;
  padding: 5px 0px;
  font-size: 20px;
  margin: 10px 0px;
  border: none;
  border-bottom: 2px solid #333;
  outline: none;
  resize: none;
  background: #666768; /* Semi-transparent white background */
  backdrop-filter: blur(10px); /* Applies the blur effect */
  border-radius: 10px; /* Optional: adds rounded corners */
}


.contact-form .inputbox span{
  position: absolute;
  left: 0;
  padding: 5px 0px;
  font-size: 16px;
  margin: 10px 0;
  pointer-events: none;
  transition: 0.5s;
  color: #ffffff;
}


.contact-form .inputbox input:focus ~ span,
.contact-form .inputbox input:valid ~ span,
.contact-form .inputbox textarea:focus ~ span,
.contact-form .inputbox textarea:valid ~ span
{
  color: rgba(0, 0, 0, 0.867);
  font-size: 12px;
  transform: translateY(-20px);
}


.contact-form .inputbox input[type="submit"]
{
  width: 100px;
  background: #333;
  color: #fff;
  border: none;
  cursor: pointer;
  padding: 10px;
  font-size: 18px;
  
}



/* Button */


/* CSS */
.button-27 {
  appearance: none;
  background-color: #000000;
  border: 2px solid #1A1A1A;
  border-radius: 15px;
  box-sizing: border-box;
  color: #FFFFFF;
  cursor: pointer;
  display: inline-block;
  font-family: Roobert,-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";
  font-size: 16px;
  font-weight: 600;
  line-height: normal;
  margin: 0;
  min-height: 60px;
  min-width: 0;
  outline: none;
  padding: 16px 24px;
  text-align: center;
  text-decoration: none;
  transition: all 300ms cubic-bezier(.23, 1, 0.32, 1);
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
 
  will-change: transform;
}

.button-27:disabled {
  pointer-events: none;
}

.button-27:hover {
  box-shadow: rgba(0, 0, 0, 0.25) 0 8px 15px;
  transform: translateY(-2px);
}

.button-27:active {
  box-shadow: none;
  transform: translateY(0);
}


 /* services */
 .container-services{
  min-height: 100vh;
  width: 100%;
  background-color: #000000;
 }


 .service-wrapper{
  padding: 5% 8%;
  
 }

 .services{
    display: flex;
    flex-direction: column;
    align-items: center;
 }

 .services h1{
  color: #ffffff;
  font-size: 5rem;
  background-color: #00A97F;
  background: linear-gradient(8deg, rgba(8,52,83,1) 0%,rgba(0,230,173,1) 41%, rgba(41,17,45,1) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
 }

 .services h1:after{
    content: "";
    position: absolute;
    top: 100%;
    left: 10%;
    height: 8px;
    width: 80%;
    border-radius: 8px;
    background: #2a2b2b;

 }






 .ag-format-container {
  width: 1142px;
  margin: 0 auto;
}


body {
  background-color: #ffffff;
}
.ag-courses_box {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;

  padding: 50px 0;
}
.ag-courses_item {
  -ms-flex-preferred-size: calc(33.33333% - 30px);
  flex-basis: calc(33.33333% - 30px);

  margin: 0 15px 30px;

  overflow: hidden;

  border-radius: 28px;
}
.ag-courses-item_link {
  display: block;
  padding: 30px 20px;
  background-color: #121212;

  overflow: hidden;

  position: relative;
}
.ag-courses-item_link:hover,
.ag-courses-item_link:hover .ag-courses-item_date {
  text-decoration: none;
  color: #FFF;
}
.ag-courses-item_link:hover .ag-courses-item_bg {
  -webkit-transform: scale(10);
  -ms-transform: scale(10);
  transform: scale(10);
}
.ag-courses-item_title {
  min-height: 87px;
  margin: 0 0 25px;

  overflow: hidden;

  font-weight: bold;
  font-size: 30px;
  color: #FFF;

  z-index: 2;
  position: relative;
}
.ag-courses-item_date-box {
  font-size: 18px;
  color: #FFF;

  z-index: 2;
  position: relative;
}
.ag-courses-item_date {
  font-weight: bold;
  color: #4c49ea;

  -webkit-transition: color .5s ease;
  -o-transition: color .5s ease;
  transition: color .5s ease
}
.ag-courses-item_bg {
  height: 128px;
  width: 128px;
  background-color: #4c49ea;

  z-index: 1;
  position: absolute;
  top: -75px;
  right: -75px;

  border-radius: 50%;

  -webkit-transition: all .5s ease;
  -o-transition: all .5s ease;
  transition: all .5s ease;
}
.ag-courses_item:nth-child(2n) .ag-courses-item_bg {
  background-color: #4c49ea;
}
.ag-courses_item:nth-child(3n) .ag-courses-item_bg {
  background-color: #4c49ea;
}
.ag-courses_item:nth-child(4n) .ag-courses-item_bg {
  background-color: #4c49ea;
}
.ag-courses_item:nth-child(5n) .ag-courses-item_bg {
  background-color: #4c49ea;
}
.ag-courses_item:nth-child(6n) .ag-courses-item_bg {
  background-color: #4c49ea;
}


/*  hamburger */
/* Fade Effect for Background Image */
.fade-out {
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

/* Mobile Menu */
.mobile-main-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 60%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.9);
  transition: right 0.3s ease-in-out;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.mobile-main-menu.active {
  right: 0;
}

/* Hamburger Button */
.hamburger {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1000;
}

.hamburger span {
  display: block;
  width: 30px;
  height: 3px;
  background: #fff;
  margin: 6px 0;
  transition: 0.3s;
}

.hamburger.active .hamburger-top {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active .hamburger-middle {
  opacity: 0;
}

.hamburger.active .hamburger-bottom {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Hide hamburger menu on desktop */
@media (min-width: 768px) {
  .hamburger {
    
    display: none;
  }
}
/* Hide desktop menu on mobile */
@media (max-width: 767px) {
  .desktop-main-menu {
    display: none;
  }

  /* Show mobile menu (hamburger) */
  .hamburger {
    display: block;
    position: absolute;
    top: 35px;
    right: 20px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1000;
  }

  .hamburger span {
    display: block;
    width: 30px;
    height: 3px;
    background: #fff;
    margin: 6px 0;
    transition: 0.3s;
  }
}



/* ============================
   Global Reset for Mobile
============================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  height: 100%;
  overflow-x: hidden; /* Prevents horizontal scrolling */
}

/* ============================
   Mobile View Styles (Max: 767px)
============================ */
@media (max-width: 767px) {

  /* Home page *******************************/

  .logo img {
    display: block;
    width: 70%;
    height: auto;
  }


  .section-inner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center; /* Ensures text stays centered */
    max-width: 560px;
    width: 90%; /* Adjust width for better mobile responsiveness */
  }
  
  section {
    position: relative;
    background-image: url(../img/girl.jpg);
    height: 100vh;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    text-transform: uppercase;
  }



  /* services ********************************************/
  .section-inner-center {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100%;
  }
  
  .section-inner-center h3 {
    font-size: 50px;
    margin-bottom: 15px;
    animation: fadeInUp 0.5s ease-in-out;
    color: rgb(255, 255, 255);
    font-weight: 600;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
  }



  .services {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
  }
  
  .services h1 {
    color: #ffffff;
    font-size: 5rem;
    background: linear-gradient(8deg, rgba(8,52,83,1) 0%, rgba(0,230,173,1) 41%, rgba(41,17,45,1) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    display: inline-block;
  }
  
  .services h1:after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    height: 8px;
    width: 80%;
    border-radius: 8px;
    background: #2a2b2b;
  }

  .ag-courses_box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 50px 0;
  }
  
  .ag-courses_item {
    width: 90%; /* Same width for all cards */
    max-width: 350px; /* Prevent extra-wide cards */
    height: 150px; /* Fixed height for all cards */
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #121212;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-align: center;
  }
  
  
  
}


footer {
  background-color: #ffffff;
  color: #000000;
  padding: 20px;
  text-align: center;
}

footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

footer ul li {
  display: inline;
  margin: 0 10px;
}

footer ul li a {
  color: #000000;
  text-decoration: none;
}

footer ul li a:hover {
  color: #000000;
}
