

/* Join Our Community Section */
.join-community {
    position: relative;
    width: 100%;
    height: 65vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 50px 5%;
    overflow: hidden;
}

/* Background Image *//* Keep the Background Image */
.community-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2; /* Stays behind everything */
}

/* Add an Overlay Without Breaking Layout */
.join-community::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,50, 0.8); /* Change this to control color and intensity */
    z-index: -1; /* Sits between the background and content */
}

/* Ensure Content Stays Centered */
.community-content {
    max-width: 800px;
    color: white;
    background: rgba(0, 0, 50, 0.8); /* Keeps the blue-black effect */
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    text-align: center;
    margin: auto; /* Keeps content centered */
}


/* Title */
.community-content h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

/* Paragraph */
.community-content p {
    font-size: 1.2rem;
    margin-bottom: 25px;
}

/* Buttons */
.community-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.btn {
    display: inline-block;
    padding: 12px 25px;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
}

.primary-btn {
    background: linear-gradient(45deg, #ff7e5f, #feb47b);
    color: white;
}

.primary-btn:hover {
    background: linear-gradient(45deg, #feb47b, #ff7e5f);
    transform: scale(1.1);
}

.secondary-btn {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 1px solid white;
}

.secondary-btn:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: scale(1.05);
}

/* Scroll Animation */
.join-community.visible .community-content {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media screen and (max-width: 768px) {
    .community-content {
        width: 100%;
        padding: 20px;
    }

    .btn {
        width: 100%;
        text-align: center;
    }
}


/* Back to Top Button */
#toTopBtn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: linear-gradient(45deg, #ff7e5f, #feb47b);
    color: white;
    font-size: 1.8rem;
    font-weight: bold;
    padding: 10px 15px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    display: none; /* Hidden by default */
    transition: all 0.3s ease-in-out;
    z-index: 20;
}

/* Wiggle Animation on Hover */
#toTopBtn:hover {
    animation: wiggle 0.5s infinite;
    background: linear-gradient(45deg, #feb47b, #ff7e5f);
}

/* Smooth Wiggle Animation */
@keyframes wiggle {
    0% { transform: rotate(0deg); }
    25% { transform: rotate(-10deg); }
    50% { transform: rotate(10deg); }
    75% { transform: rotate(-10deg); }
    100% { transform: rotate(0deg); }
}

/* Mobile-Friendly */
@media screen and (max-width: 600px) {
    #toTopBtn {
        font-size: 1.5rem;
        padding: 8px 12px;
    }
}

























.admission-section-dark {
    position: relative;
    background: #0b1a2e; /* fallback */
    background-image: url('images/class2.webp'); /* Replace with your actual image path */
    background-size: cover;
    background-position: center;
    color: #fff;
    overflow: hidden;
  }
  
  .admission-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 50, 0.75);
    z-index: 1;
  }
  
  .admission-section-dark .container {
    position: relative;
    z-index: 2;
  }
  
  .admission-description-dark {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(6px);
    font-size: 1.05rem;
    line-height: 1.7;
    border-radius: 12px;
  }
  
  .admission-roles ul {
    padding-left: 1.2rem;
    list-style-type: disc;
  }
  
  @media (max-width: 768px) {
    .admission-description-dark {
      font-size: 1rem;
      padding: 1.5rem;
    }
  
    .admission-roles ul {
      padding-left: 1rem;
    }
  }
  
  
  
  .admission-gallery {
    background: #0b1a2e;
    padding: 3rem 0;
  }
  
  .gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
  }
  
  .admission-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease;
  }
  
  .admission-img:hover {
    transform: scale(1.03);
  }
  
  
  .admission-req-section {
    background: #0b1a2e;
    color: #fff;
  }
  
  .admission-cards {
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }
  
  .admission-card {
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    gap: 2rem;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(6px);
  }
  
  .admission-card img {
    width: 200px;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
  }
  
  .admission-text h4 {
    color: #ffc107;
    margin-bottom: 0.5rem;
  }
  
  .admission-text ul {
    padding-left: 1.2rem;
  }
  
  .admission-text ul li {
    margin-bottom: 0.4rem;
    list-style-type: disc;
  }
  
  /* Responsive */
  @media (max-width: 768px) {
    .admission-card {
      flex-direction: column;
      text-align: center;
    }
  
    .admission-card img {
      width: 100%;
      height: auto;
    }
  
    .admission-text {
      text-align: left;
    }
  }
  
  
  .admission-prep-section {
    background-color: #0b1a2e;
    color: #fff;
    padding: 4rem 0;
  }
  
  .prep-text {
    flex: 1 1 400px;
  }
  
  .prep-text h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
  }
  
  .prep-text p {
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 1rem;
  }
  
  .prep-image {
    flex: 1 1 300px;
  }
  
  .prep-image img {
    width: 100%;
    border-radius: 12px;
    object-fit: cover;
    max-height: 300px;
  }
  
  /* Responsive tweak */
  @media (max-width: 768px) {
    .admission-prep-section .container {
      flex-direction: column;
      text-align: center;
    }
  
    .prep-image img {
      max-height: none;
    }
  
    .prep-text {
      text-align: left;
    }
  }
  









  .vacancy-section {
    background: #0e162e;
    color: white;
    padding: 100px 20px;
    text-align: center;
    position: relative;
}

.vacancy-title {
    color: #fbc531;
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.vacancy-dates {
    color: #ccc;
    font-size: 1.2rem;
    margin-bottom: 40px;
}

.vacancy-image-container {
    position: relative;
    max-width: 500px;
    margin: 0 auto;
}

.vacancy-image {
    width: 100%;
    border-radius: 12px;
    cursor: pointer;
    transition: 0.3s;
}

.fullscreen-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255,255,255,0.8);
    border: none;
    border-radius: 50%;
    padding: 8px;
    cursor: pointer;
}

.vacancy-fullscreen-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.9);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.vacancy-fullscreen-overlay img {
    max-width: 90%;
    max-height: 90vh;
    border-radius: 8px;
}

.vacancy-close-btn {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 2rem;
    color: white;
    background: none;
    border: none;
    cursor: pointer;
}
