@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600&family=Source+Sans+Pro:wght@300;400;600&display=swap');


:root {
  --text-color: #ffffff;
  --highlight: #ea1538;
  --btn-hover: #b81b2a;
  --transition: 0.3s ease-in-out;
  --body-font: 'Source Sans Pro', sans-serif;
  --heading-font: 'Playfair Display', serif;
}

body {
  margin: 0;
  padding: 0;
  /* font-family: var(--body-font); */
  background-color: #121212;
  color: var(--text-color);
  overflow-x: hidden;
  /* Prevent horizontal scroll */
}

.hub-section {
  padding: 20px 0;
}

.background-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.background-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background-attachment: fixed;
}

/* Hamburger Menu Icon */
.hamburger-menu {
  margin-bottom: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  font-size: 1.2rem;
  cursor: pointer;
  padding: 10px 20px;
  /* border: 2px solid var(--highlight); */
  /* border-radius: 5px; */
  background-color: transparent;
  color: var(--text-color);
  transition: transform var(--transition), background-color var(--transition);
  animation: pulseani infinite 2s;
}

@keyframes pulseani {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.2);
    /* Added a scaling effect for the pulse */
  }
}

.hamburger-menu p:hover {
  color: var(--highlight);
}

/* Side Tab */
.side-tab {
  position: fixed;
  top: auto;
  left: -250px;
  width: 250px;
  height: 50vh;
  background-color: #000000;
  transition: var(--transition);
  z-index: 1000;
  padding: 20px 5px;
  overflow-y: auto;
}

.side-tab.active {
  left: 0;
  top: auto;
}

.close-btn {
  font-size: 1.5rem;
  color: var(--text-color);
  cursor: pointer;
  text-align: right;
  margin-bottom: 20px;
}

.side-nav a {
  display: block;
  padding: 10px 15px;
  text-decoration: none;
  color: var(--text-color);
  font-family: var(--heading-font);
  font-size: 1rem;
  border-bottom: 1px solid var(--highlight);
  transition: background-color var(--transition);
}

.side-nav a:hover {
  background-color: var(--btn-hover);
}

/* Intro Section */
.intro {
  max-width: 800px;
  margin: auto;
  text-align: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.7);
  border-radius: 10px;
}

.intro h1 {
  font-family: var(--heading-font);
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.intro p {

  font-family: var(--body-font);
  font-weight: bold;
  font-size: 1.2rem;
  line-height: 1.8;
}



/* Subsections */
.subsections {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 20px;
}

.subsection {
  display: flex;
  gap: 20px;
  align-items: center;
  padding: 20px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.5);
  flex-wrap: wrap;
}

.subsection img {
  width: 14vw;
  height: 35vh;
  object-fit: cover;
  border-radius: 10px;
}

.subsection .content {
  flex: 1;
}

.subsection h2 {
  font-size: 1.8rem;
  margin-bottom: 10px;
  font-family: var(--heading-font);
}

.subsection p {
  font-family: var(--body-font);
  font-size: 1rem;
  margin-bottom: 15px;
}

.subsection .btn {
  font-family: var(--heading-font);
  display: inline-block;
  padding: 10px 20px;
  background: var(--highlight);
  color: var(--text-color);
  text-decoration: none;
  border-radius: 5px;
  transition: background var(--transition);
  animation: scaleAnimation 2s infinite ease-in-out; /* Apply the scaling animation */
}
  
  /* Keyframe Animation for Scaling */
  @keyframes scaleAnimation {
    0% {
      transform: scale(1); /* Initial size */
    }
    50% {
      transform: scale(1.1); /* Scaled up */
    }
    100% {
      transform: scale(1); /* Back to original size */
    }
  }

.subsection .btn:hover {
  background: var(--btn-hover);
}

/* Responsive Design */
@media (max-width: 768px) {
  .subsection img {
    width: 40vw;
    height: 25vh;
  }

  .intro h1 {
    font-size: 2rem;
  }

  .intro p {
    font-size: 1rem;
  }

  .subsection {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .intro h1 {
    font-size: 1.8rem;
  }

  .subsection h2 {
    font-weight: bolder;
    font-size: 1rem;
  }

  .subsection p {
    font-size: 0.8rem;
  }

  .subsection .btn {
    padding: 8px 16px;
  }
}