@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;
}
footer p a{
  color: #000;
}


#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;
  background-color: white;
}

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;
}


/* 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);
  }
}







 .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;
  }
}












body {
  
  background: -webkit-linear-gradient(top, rgba(0, 0, 0, 0.7) 0%, rgba(85,152,195,1) 100%);
	background: -moz-linear-gradient(top, rgba(85,152,195,0.7) 0%, rgba(85,152,195,1) 100%);
	background: -o-linear-gradient(top, rgba(85,152,195,0.7) 0%, rgba(85,152,195,1) 100%);
	background: -ms-linear-gradient(top, rgba(85,152,195,0.7) 0%, rgba(85,152,195,1) 100%);
	background: linear-gradient(top, rgba(85,152,195,0.7) 0%, rgba(85,152,195,1) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='rgba(85,152,195,0.7)', endColorstr='rgba(85,152,195,1)',GradientType=0 );
  color:#777; 
  text-align:center;
}

p { margin:15px;  } 
.callback { 
 
  color:rgba(0,0,0,0.2);
  padding-top:25px;
  line-height:1.5em;
}
input{
  border:0;
  border-bottom:1px dotted rgba(0,0,0,0.1);
  margin:0;
  height:20px;
  outline: none;
  font-family: 'Special Elite', cursive;
}

#name{
  font-size: 20px;
}

#email{
  font-size: 20px;
}


input::-webkit-input-placeholder { 
  color: rgba(1,1,1,0.5);
  transition: color 0.3s;
}
input:focus::-webkit-input-placeholder { 
  color: rgba(1,1,1,0.1);
}

input::-moz-placeholder {
  color: rgba(1,1,1,0.5);
  transition: color 0.3s;
}
input:focus::-moz-placeholder {
  color: rgba(1,1,1,0.1);
}

p:nth-child(3){
  margin-top:-10px;
  margin-left:0;
  border:0;
}
#send {
  background:transparent;
  cursor:pointer;
  position:relative;
  color:#777;
  font-size:20px;
  transition:color 0.3s;
  height: 50px

  
}

#send:hover{
  color: #9b1d4a;
}

#envelope {
  width:600px;
  height:350px;
	background: #f2f2f2;
  margin:100px auto;
  position:relative;
}



#envelope div:first-child {
  width:100%;
  height:135px;
  position:absolute;
  bottom:0;
  background: -webkit-linear-gradient(top, #fff 0%, #f2f2f2 20%);
	background: -moz-linear-gradient(top, #fff 0%, #f2f2f2 20%);
	background: -o-linear-gradient(top, #fff 0%, #f2f2f2 20%);
	background: -ms-linear-gradient(top, #fff) 0%, #f2f2f2 20%);
	background: linear-gradient(top, #fff 0%, #f2f2f2 20%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fff', endColorstr='#f2f2f2',GradientType=0 );
  z-index:10;
  box-shadow: 0px -2px 4px rgba(0,0,0,0.1);
}

#envelope div:nth-child(2) {
  width: 500px;
  height: 350px;
  background: #fff;
  position: absolute;
  z-index: 5;
  top: -44px;
  left: 50%;
  margin-left: -250px; /* half of width */
  padding: 30px 20px;
  box-sizing: border-box;
}
#envelope div:nth-child(2):before {
  content:"";
  position:absolute;
  width: 0;
	height: 0;
	border-top: 84px solid #e6e6e6;
	border-left: 9px solid transparent;
  left:-9px;
  top:50px;
}

#envelope div:nth-child(2):after {
  content:"";
  position:absolute;
  width: 0;
	height: 0;
	border-top: 84px solid #e6e6e6;
	border-right: 9px solid transparent;
  right:-9px;
  top:50px;
}

#envelope div:nth-child(3){
  width:100%;
  height:9px;
  position:absolute;
  bottom:0;
  overflow:hidden;
  z-index:850;
}

.line {
  width:35px;
  height:9px;
  float:left;
  transform: skewX(25deg);
  z-index:900;
  margin: 0 0 0 19px;
}

.line:nth-child(odd) { background:#005091; }
.line:nth-child(even) { background:#9b1d4a; }
#envelope div:nth-child(5) .line:nth-child(odd) { background:#9b1d4a; }
#envelope div:nth-child(5) .line:nth-child(even) { background:#005091; }

.line:first-child{  margin-left:-10px; }

#envelope div:nth-child(4){
  width:140px;
  height:9px;
  position:absolute;
  top:88px;
  left:9px;
  overflow:hidden;
  z-index:850;
  transform:rotate(-270deg);
  transform-origin:0 0;
}

#envelope div:nth-child(5){
  width:136px;
  height:9px;
  position:absolute;
  top:88px;
  right:-136px;
  overflow:hidden;
  z-index:850;
  transform:rotate(-270deg);
  transform-origin:0 0;

}

#envelope div:nth-child(5) .line {
    transform: skewX(-25deg);
}

#envelope div:nth-child(5) .line:first-child {
  margin-left:-7px;
}

.sending {
    animation:sending 1.5s forwards;
}




@media (max-width: 600px) {





  #envelope {
    width: 90%;
    height: auto;
    margin: 50px auto;
    padding-bottom: 20px;
  }

  #envelope div:nth-child(2) {
    width: 100%;
    height: auto;
    margin-left: 0;
    left: 0;
    top: 0;
    position: relative;
    padding: 20px 15px;
    box-sizing: border-box;
  }

  #envelope div:nth-child(2):before,
  #envelope div:nth-child(2):after {
    display: none; /* Hide the envelope triangle flaps on mobile */
  }

  #envelope div:first-child {
    display: none; /* Hide bottom envelope shape */
  }

  #envelope div:nth-child(3),
  #envelope div:nth-child(4),
  #envelope div:nth-child(5) {
    display: none; /* Hide decorative lines on mobile */
  }

  #contactus {
    font-size: 1.6rem;
    margin-bottom: 15px;
  }

  input[type="text"],
  input[type="submit"] {
    width: 100%;
    padding: 10px;
    font-size: 1rem;
    box-sizing: border-box;
  }

  input[type="submit"] {
    margin-top: 10px;
    height: 45px;
  }

  form p {
    margin: 10px 0;
  }

  body {
    text-align: center;
    padding: 10px;
  }




  
}

/* Hide hamburger on desktop */
.hamburger {
  display: none;
}

/* Show hamburger on small screens */
@media (max-width: 768px) {
  .hamburger {
    display: block;
    cursor: pointer;
  }

  /* Hide desktop menu on small screens */
  .desktop-main-menu {
    display: none;
  }
}




/* 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;
  }
}




.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);
}


@media (max-width: 767px) {
  .logo img {
      display: block;
      width: 70%;
      height: auto;
  }
}


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;
}
