.welcome-wrapper {
  padding: 80px 20px;
  /* margin-top: 10px; */
  background: linear-gradient(135deg, #092c5c, #22407b);
  border-radius: 12px;
  box-shadow: 0 12px 34px rgba(9, 44, 92, 0.4);
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.welcome-image {
  flex: 1 1 420px;
  text-align: center;
  perspective: 1000px;
  min-width: 280px;
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
}

.welcome-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,204,0,0.3), rgba(9,44,92,0.6));
  opacity: 0.5;
  pointer-events: none;
  transition: opacity 0.6s ease;
  z-index: 2;
  border-radius: 16px;
}

.welcome-image:hover::after {
  opacity: 0.7;
}

.welcome-image img {
  max-width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.25);
  transition: transform 0.7s ease, box-shadow 0.7s ease;
  cursor: pointer;
  position: relative;
  z-index: 3;
}

.welcome-image:hover img {
  transform: scale(1.1);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
}

/* Buttons */
.welcome-button {
  background: linear-gradient(90deg, #ffcc00, #ffd84d);
  color: #092c5c;
  font-size: 1.1rem;
  font-weight: 700;
  padding: 14px 24px;
  margin: 8px 18px 18px 0;
  border: none;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 14px rgba(255, 204, 0, 0.5);
  cursor: pointer;
  user-select: none;
}

.welcome-button:hover {
  background: linear-gradient(90deg, #092c5c, #22407b);
  color: #fff;
  transform: translateY(-5px) scale(1.07);
  box-shadow: 0 10px 28px rgba(9, 44, 92, 0.6);
}

.button-icon {
  font-size: 1.4rem;
  transition: transform 0.3s ease;
  color: inherit;
}

.welcome-button:hover .button-icon {
  transform: translateX(6px);
}

/* Fade in animation */
.fade-in-up {
  opacity: 0;
  transform: translateY(25px);
  animation: fadeInUp 1s ease forwards;
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(25px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 992px) {
  .welcome-wrapper {
    margin-top: -50px;
  }
  .welcome-content {
    flex: 1 1 100%;
  }
  .welcome-image {
    flex: 1 1 100%;
    margin-top: 24px;
  }
}

@media (max-width: 768px) {
  .welcome-grid {
    flex-direction: column;
    gap: 36px;
  }
  .welcome-button {
    font-size: 1rem;
    padding: 12px 20px;
  }
  .button-icon {
    font-size: 1.2rem;
  }
}

@media (max-width: 480px) {
  .welcome-wrapper {
    padding: 50px 12px;
    margin-top: -60px;
  }
  .welcome-button {
    padding: 10px 16px;
  }
}
/* Container Spacing */
.welcome-wrapper {
    padding: 60px 0;
    max-width: 1200px;
    margin: 0 auto;
}

/* Add this to assets/css/gskcbse/WelcomeSection.css */

.welcome-video-section {
    margin-top: 40px;
    text-align: center;
}

.video-header h3 {
    margin-bottom: 20px;
    color: #fefafa;
    font-weight: bold;
}

.video-container {
    width: 100%;
    max-width: 900px; /* Limits width on desktop so it's not too huge */
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    background: #000; /* Keeps it clean while loading */
}

.school-intro-video {
    width: 100%;
    display: block;
    aspect-ratio: 16 / 9; /* Maintains standard widescreen look */
    object-fit: cover;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .welcome-video-section {
        margin-top: 25px;
        padding: 0 15px;
    }
    
    .video-container {
        border-radius: 12px;
    }
}

.video-container {
    position: relative; /* Essential for overlay positioning */
    cursor: pointer;
}

.video-play-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.2); /* Subtle dark tint over video */
    transition: opacity 0.4s ease;
    z-index: 5;
}

.play-btn-circle {
    width: 90px;
    height: 90px;
    background: #ffcc00; /* School Gold */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #092c5c;
    font-size: 2.5rem;
    padding-left: 8px; /* Visual centering for the play triangle */
    box-shadow: 0 0 0 0 rgba(255, 204, 0, 0.7);
    animation: playGlow 2s infinite;
    transition: transform 0.3s ease, background 0.3s ease;
}

.play-btn-circle i {
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.video-container:hover .play-btn-circle {
    transform: scale(1.1);
    background: #fff;
    color: #d1002c; /* GSK Red */
}

/* The Prominent Glow Animation */
@keyframes playGlow {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 204, 0, 0.7);
    }
    70% {
        box-shadow: 0 0 0 25px rgba(255, 204, 0, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 204, 0, 0);
    }
}

/* Mobile Adjustments for the Button */
@media (max-width: 768px) {
    .play-btn-circle {
        width: 65px;
        height: 65px;
        font-size: 1.8rem;
    }
}