/* General Styles */
body {
  font-family: 'Inter', sans-serif;
  margin: 0;
  padding: 0;
  color: #fff;
  background: #0a192f; /* Dark blue background */
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

/* Navigation Menu */
nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: transparent;
  padding: 20px 0;
  transition: background 0.3s ease;
}

nav.scrolled {
  background: #0a192f; /* Semi-transparent dark blue when scrolled */
}

nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 70px;
  transition: height 0.3s ease;
}

nav.scrolled .logo img {
  height: 40px; /* Smaller logo when scrolled */
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  z-index: 1001;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: #fff;
  margin: 4px 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger.active span:nth-child(1){
  transform:rotate(45deg) translate(5px, 5px);

}

.hamburger.active span:nth-child(2){
  opacity: 0;
}

.hamburger.active span:nth-child(3){
  transform:rotate(-45deg) translate(5px, -5px);
}

.nav-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
}

.nav-links li {
  margin-left: 20px;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #ff6b6b; /* Orange accent */
}

/* Hamburger Menu for Mobile */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 80px;
    right: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background: rgba(10, 25, 47, 0.9);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: right 0.3s ease;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links li {
    margin: 20px 0;
  }

  .nav-links a {
    font-size: 1.2rem;
  }
}

/* Header Section */
.group-header {
  position: relative;
  height: 100vh; /* Full viewport height */
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}

/* Background Image Slideshow */
.slideshow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  filter: brightness(50%);
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slide.active {
  opacity: 1;
}

/* Overlay */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 25, 47, 0.6); /* Semi-transparent dark blue overlay */
  z-index: 2;
}

/* Header Content */
.header-content {
  position: relative;
  z-index: 3;
  max-width: 800px;
  padding: 20px;
  animation: fadeIn 1.5s ease-in-out;
}

.header-content h1 {
  font-size: 4.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 4px;
   color: #ff6b6b; 
  animation: fadeInDown 1s ease-in-out;
}

.header-content p {
  font-size: 1.5rem;
  margin-bottom: 40px;
  color: #ccd6f6; /* Light blue text */
  font-weight: bolder;
  animation: fadeInUp 1s ease-in-out;
}

.header-content .cta {
  display: inline-block;
  padding: 15px 30px;
  font-size: 1.2rem;
  color: #fff;
  background-color: #213555; /* Dark blue button */
  border-radius: 5px;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.3s ease;
  animation: fadeIn 1.5s ease-in-out;
}

.header-content .cta:hover {
  background-color: #d35400; /* Orange accent on hover */
  transform: translateY(-5px);
}

/* Animations */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .header-content h1 {
    font-size: 3rem; /* Smaller font size for mobile */
    letter-spacing: 2px;
  }

  .header-content p {
    font-size: 1.2rem;
  }

  .header-content .cta {
    font-size: 1rem;
    padding: 12px 24px;
  }
}

@media (max-width: 480px) {
  .header-content h1 {
    font-size: 2.5rem; /* Even smaller font size for very small screens */
  }

  .header-content p {
    font-size: 1rem;
  }
}


/* About Section */
.about-group {
  padding: 80px 0;
  background: #fff; /* White background */
  color: #333;
}

.about-group h2 {
  font-size: 2.8rem;
  text-align: center;
  margin-bottom: 40px;
  color: #2c3e50; /* Dark blue */
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  position: relative;
}

.about-group h2::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -10px;
  width: 60px;
  height: 4px;
  background-color: #ff6b6b; /* Orange accent line */
  transform: translateX(-50%);
  border-radius: 2px;
}

.about-content {
  display: flex;
  align-items: center;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.about-text {
  flex: 1;
  background: #fff;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1); /* Soft shadow */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-text:hover {
  transform: translateY(-10px); /* Lift effect on hover */
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2); /* Deeper shadow on hover */
}

.about-text p {
  font-size: 1.1rem;
  color: #666; /* Gray text */
  line-height: 1.8;
  margin-bottom: 20px;
}

.about-image {
  flex: 1;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1); /* Soft shadow */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-image:hover {
  transform: translateY(-10px); /* Lift effect on hover */
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2); /* Deeper shadow on hover */
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 15px;
  transition: transform 0.3s ease;
}

.about-image:hover img {
  transform: scale(1.05); /* Zoom effect on hover */
}

/* Responsive Design */
@media (max-width: 768px) {
  .about-content {
    flex-direction: column;
    text-align: center;
  }

  .about-text {
    margin-bottom: 20px;
  }

  .about-image {
    order: -1; /* Move image above text on smaller screens */
  }
}

@media (max-width: 480px) {
  .about-group h2 {
    font-size: 2.2rem;
  }

  .about-text p {
    font-size: 1rem;
  }
}

/* Gallery Section */
.gallery-mezam {
  padding: 80px 20px;
  background-color: #f9f9f9;
  text-align: center;
}

.gallery-mezam h2 {
  font-size: 2.8rem;
  color: #333;
  margin-bottom: 40px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.gallery-grid a {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-grid a:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.gallery-grid img,
.gallery-grid video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 15px;
}

.gallery-grid .overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 15px;
}

.gallery-grid a:hover .overlay {
  opacity: 1;
}

.gallery-grid .overlay i {
  font-size: 2rem;
  color: #fff;
  transition: transform 0.3s ease;
}

.gallery-grid a:hover .overlay i {
  transform: scale(1.2);
}

/* Responsive Design */
@media (max-width: 768px) {
  .gallery-grid {
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }

  .gallery-mezam h2 {
      font-size: 2.2rem;
  }
}

@media (max-width: 480px) {
  .gallery-grid {
      grid-template-columns: 1fr;
  }
}


/* Back to Home Button */
.back-to-home {
  text-align: center;
  padding: 40px 0;
  background: #0a192f;
}

.back-to-home .btn {
  background: #213555;
  color: #fff;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.back-to-home .btn:hover {
  background: #d35400;
}

/* Footer */
footer {
  background: #0a192f;
  color: #fff;
  text-align: center;
  padding: 20px 0;
}

/* Responsive Design */
@media (max-width: 768px) {
  .header-content h1 {
    font-size: 2.5rem;
  }

  .header-content p {
    font-size: 1.2rem;
  }

  .about-content {
    flex-direction: column;
    text-align: center;
  }

  .about-image {
    order: -1;
  }

  .gallery-item {
    flex: 0 0 calc(50% - 20px);
  }
}

@media (max-width: 480px) {
  .header-content h1 {
    font-size: 2rem;
  }

  .header-content p {
    font-size: 1rem;
  }

  .gallery-item {
    flex: 0 0 100%;
  }
}