
/* Section IDs for scrolling targets */
#sports,
#art-music,
#clubs-societies,
#student-wellness {
  scroll-margin-top: 100px; /* Adjust based on your header height */
}


/* Hero Section */
.hero {
  position: relative;
  height: 70vh;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-image: linear-gradient(rgba(0, 89, 95, 0.3), rgba(0, 49, 58, 0.3)), url('students4.jpg');
  background-size: cover;
  background-position: 70% center;
  background-repeat: no-repeat;
  padding:  0 20px;
}

.hero__content {
  position: relative;
  width: 100%;
  height: 100%;
  width: 1200px;
  display: flex;
  align-items: flex-end;
}

.hero__content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.hero__title {
  color: white;
  font-size: 3rem;
  font-weight: 700;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.801);
  margin-bottom: 20px;
}

/* Responsive Hero Section */
@media (max-width: 768px) {
  .hero {
    height: 50vh;
    min-height: 400px;
  }
  
  .hero__title {
    font-size: 2.5rem;
  }
}

@media (max-width: 480px) {
  .hero {
    height: 40vh;
    min-height: 300px;
  }
  
  .hero__title {
    font-size: 2rem;
  }
}

/* Student Life Section */
.student-life {
    padding: 80px 0;
    background: #f8f9fa;
}

.student-life .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Student Life Grid */
.student-life-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.life-item {
    position: relative;
    overflow: hidden;
}

.life-text {
    background: #fff;
    display: flex;
    align-items: center;
    padding: 0;
}

.life-content {
    padding: 60px 50px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.life-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #000000;
    margin: 0 0 30px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.life-features {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.feature h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--blue);
    margin: 0 0 10px 0;
    line-height: 1.3;
}

.feature p {
    font-size: 1rem;
    line-height: 1.6;
    color: #666;
    margin: 0;
}

.life-image {
    height: 600px;
    overflow: hidden;
}

.life-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.life-image:hover img {
    transform: scale(1.05);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .student-life-grid {
        grid-template-columns: 1fr;
    }
    
    .life-item {
        grid-column: 1 !important;
    }
    
    .life-text {
        order: 1;
        height: auto;
    }
    
    .life-image {
        order: 2;
        height: 400px;
    }
    
    .life-content {
        padding: 40px 30px;
    }
    
    .life-content h3 {
        font-size: 1.5rem;
        margin: 0 0 25px 0;
    }
}

@media (max-width: 768px) {
    .student-life {
        padding: 60px 0;
    }
    
    .life-content {
        padding: 35px 25px;
    }
    
    .life-content h3 {
        font-size: 1.3rem;
        margin: 0 0 20px 0;
    }
    
    .feature h4 {
        font-size: 1.1rem;
    }
    
    .feature p {
        font-size: 0.95rem;
        line-height: 1.5;
    }
    
    .life-features {
        gap: 20px;
    }
    
    .life-image {
        height: 300px;
    }
}

@media (max-width: 480px) {
    .student-life {
        padding: 40px 0;
    }
    
    .life-content {
        padding: 30px 20px;
    }
    
    .life-content h3 {
        font-size: 1.2rem;
    }
    
    .feature h4 {
        font-size: 1rem;
    }
    
    .feature p {
        font-size: 0.9rem;
    }
    
    .life-features {
        gap: 15px;
    }
    
    .life-image {
        height: 250px;
    }
}

