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



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



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








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











/* Responsive Design */
@media (max-width: 768px) {
    /* For tablets */
    .card {
      width: 45%; /* Display 2 cards per row */
      height: 350px;
    }
  }
  
  @media (max-width: 480px) {
    /* For phones */
    .card {
      width: 90%; /* Display 1 card per row */
      height: 300px;
    }
  
    .card-text h3 {
      font-size: 0.8em;
    }
  
    .card-text p {
      font-size: 1em;
    }
  
    .card-hover-text {
      font-size: 0.9em;
      padding: 10px;
    }
  }
  
  
 
  @media (max-width: 991px)
  {
    .contact{
      padding: 50px;
    }
    .container{
      flex-direction: column;
  
    }
    .container .containerinfo{
      margin-bottom: 40px;
     
    }
    .container .containerinfo,
    .contact-form{
      width: 100%;
     
    }
  }
  
  
  
  @media only screen and (max-width: 979px) {
    .ag-courses_item {
      -ms-flex-preferred-size: calc(50% - 30px);
      flex-basis: calc(50% - 30px);
    }
    .ag-courses-item_title {
      font-size: 24px;
    }
  }
  
  @media only screen and (max-width: 767px) {
    .ag-format-container {
      width: 96%;
    }
  
  }
  @media only screen and (max-width: 639px) {
    .ag-courses_item {
      -ms-flex-preferred-size: 100%;
      flex-basis: 100%;
    }
    .ag-courses-item_title {
      min-height: 72px;
      line-height: 1;
  
      font-size: 24px;
    }
    .ag-courses-item_link {
      padding: 22px 40px;
    }
    .ag-courses-item_date-box {
      font-size: 16px;
    }
  }
  
  
  
  
  
  
  
  
  


/* Portfolio Section */
.portfolio-gallery {
  padding: 100px 20px 60px;
  background-color: #fff;
  text-align: center;
}

.gallery-title {
  font-size: 3.2rem;
  margin-bottom: 30px;
  color: #222;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Responsive Image Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 10px;
}

.gallery-grid img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-grid img:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

/* Responsive Typography */
@media (max-width: 768px) {
  .gallery-title {
    font-size: 1.8rem;
  }

  .portfolio-gallery {
    padding-top: 80px;
  }
}

@media (max-width: 480px) {
  .gallery-title {
    font-size: 1.5rem;
  }

  .gallery-grid {
    gap: 16px;
  }
}
