@charset "utf-8";
/* CSS Document */

 /* CSS for the restructured banners */
.gensafebanner-main-banner {
  position: relative;
  width: 100%;
  height: 50vh;
  max-height: 500px;
  overflow: hidden;
  margin-bottom: 20px;
  border-radius: 20px;
  margin-top: 103px; /* Added top margin for sticky menu */
  margin-left: 40px; /* Consistent left margin */
  margin-right: 40px;
  width: calc(100% - 80px); /* Adjust width to account for margins */
}

.gensafebanner-accordion-container {
  position: relative;
  width: calc(100% - 80px); /* Adjust width to account for margins */
  height: 50vh;
  max-height: 450px;
  display: flex;
  overflow: hidden;
  margin-left: 40px; /* Consistent left margin */
  margin-right: 40px;
}

.gensafebanner-panel {
  position: relative;
  height: 100%;
  overflow: hidden;
  transition: flex 0.7s ease;
  flex: 1;
  border-radius: 20px;
  margin: 0 5px;
  cursor: pointer;
  filter: grayscale(100%);
}

#board{
	margin-left:0;
}
#bid{
	margin-right:0;
}
.gensafebanner-panel.gensafebanner-active {
  flex: 8;
  filter: grayscale(0%);
}

.gensafebanner-panel-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.7s ease;
}

.gensafebanner-panel:hover .gensafebanner-panel-bg {
  transform: scale(1.05);
}

/* Main banner panel background */
.gensafebanner-main-banner .gensafebanner-panel-bg {
  transform: scale(1);
  transition: transform 10s ease;
}

.gensafebanner-main-banner:hover .gensafebanner-panel-bg {
  transform: scale(1.1);
}

.gensafebanner-bannercontent {
  position: absolute;
  bottom: 110px;
  left: 40px;
  color: white;
  z-index: 10;
  max-width: 80%;
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.5s ease 0.4s, transform 0.5s ease 0.4s;
  pointer-events: none;
  visibility: hidden;
}

.gensafebanner-main-banner .gensafebanner-bannercontent {
  opacity: 1;
  transform: translateX(0);
  pointer-events: all;
  visibility: visible;
}

.gensafebanner-panel.gensafebanner-active .gensafebanner-bannercontent {
  opacity: 1;
  transform: translateX(0);
  pointer-events: all;
  visibility: visible;
}

.gensafebanner-heading {
  font-size: 3rem !important;
  letter-spacing: 2px;
  margin-bottom: 15px;
  font-weight: 300;
  text-transform: uppercase;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.9);
  color: white;
}

.gensafebanner-description {
  font-size: 1.7rem !important;
  margin-bottom: 20px;
  line-height: 1.5;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
  color: white;
	max-width: 880px;
}

.gensafebanner-btn {
  display: inline-block;
  padding: 12px 25px;
  background-color: rgba(105, 217, 185, 0.85);
  color: white;
  text-decoration: none;
  border-radius: 30px;
  font-weight: 600;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.gensafebanner-btn:hover {
  background-color: #2e383c;
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Overlay to darken images */
.gensafebanner-main-banner::after,
.gensafebanner-panel::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.2) 50%, rgba(0,0,0,0.1) 100%);
  z-index: 1;
}

/* Vertical text labels */
.gensafebanner-vertical-label {
  position: absolute;
  top: 30px;
  left: 30px;
  color: white;
  font-size: 20px;
  font-weight: 300;
  writing-mode: vertical-lr;
  text-orientation: upright;
  letter-spacing: 3px;
  z-index: 5;
  padding: 15px 5px;
  border: 2px solid white;
  transition: transform 0.7s ease, opacity 0.7s ease;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.gensafebanner-panel.gensafebanner-active .gensafebanner-vertical-label {
  transform: translateX(-100px);
  opacity: 0;
}

/* Small logo */
.gensafebanner-small-logo {
  position: absolute;
  bottom: 30px;
  left: 40px;
  width: 204px;
  height: 50px;
  z-index: 5;
  opacity: 0;
  transform: translateX(100px);
  transition: transform 0.7s ease, opacity 0.7s ease;
}

.gensafebanner-panel.gensafebanner-active .gensafebanner-small-logo {
  opacity: 1;
  transform: translateX(0);
}

/* Enhanced animated effects for main banner */
.gensafebanner-animated-effect {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  background: 
    linear-gradient(135deg, rgba(105, 217, 185, 0.1) 0%, transparent 80%),
    radial-gradient(circle at 80% 20%, rgba(105, 217, 185, 0.2) 0%, transparent 40%);
  pointer-events: none;
  opacity: 0.8;
  animation: pulseGlow 8s ease-in-out infinite alternate;
}

@keyframes pulseGlow {
  0% {
    opacity: 0.4;
    background-position: 0% 0%;
  }
  50% {
    opacity: 0.7;
  }
  100% {
    opacity: 0.4;
    background-position: 100% 100%;
  }
}

/* Animated floating lines */
.gensafebanner-main-banner::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  background-image: 
    repeating-linear-gradient(90deg, transparent, transparent 1px, rgba(105, 217, 185, 0.1) 1px, rgba(105, 217, 185, 0.1) 2px),
    repeating-linear-gradient(0deg, transparent, transparent 1px, rgba(105, 217, 185, 0.1) 1px, rgba(105, 217, 185, 0.1) 2px);
  background-size: 30px 30px;
  pointer-events: none;
  opacity: 0.4;
  animation: moveGrid 20s linear infinite;
}

@keyframes moveGrid {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 30px 30px;
  }
}

/* Particles effect */
.gensafebanner-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 4;
}

.gensafebanner-particles::before {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  background: radial-gradient(circle, rgba(105, 217, 185, 0.8) 0%, rgba(105, 217, 185, 0) 70%);
  border-radius: 50%;
  filter: blur(3px);
  animation: floatParticles 15s ease-in-out infinite;
  box-shadow: 
    100px 100px 0 -5px rgba(105, 217, 185, 0.6),
    200px 200px 0 -3px rgba(105, 217, 185, 0.5),
    300px 50px 0 -8px rgba(105, 217, 185, 0.4),
    400px 300px 0 -2px rgba(105, 217, 185, 0.7),
    500px 150px 0 -7px rgba(105, 217, 185, 0.5),
    600px 250px 0 -4px rgba(105, 217, 185, 0.6),
    700px 100px 0 -6px rgba(105, 217, 185, 0.5),
    800px 300px 0 -3px rgba(105, 217, 185, 0.6);
}

@keyframes floatParticles {
  0%, 100% {
    transform: translateY(0) translateX(0);
    opacity: 0.5;
  }
  25% {
    transform: translateY(-20px) translateX(10px);
    opacity: 0.8;
  }
  50% {
    transform: translateY(0px) translateX(20px);
    opacity: 0.6;
  }
  75% {
    transform: translateY(20px) translateX(10px);
    opacity: 0.8;
  }
}

/* Additional animated glow effect */
.gensafebanner-main-banner::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, 
    rgba(0, 0, 0, 0.6) 0%, 
    rgba(0, 0, 0, 0.2) 50%, 
    rgba(0, 0, 0, 0.1) 100%);
  z-index: 1;
}

/* Moving horizontal lines */
.gensafebanner-main-banner .gensafebanner-bannercontent::after {
  content: '';
  position: absolute;
  top: -50px;
  right: -100px;
  width: 200px;
  height: 200px;
  background-image: 
    linear-gradient(0deg, transparent 0%, transparent 49%, rgba(105, 217, 185, 0.2) 50%, rgba(105, 217, 185, 0.2) 51%, transparent 52%, transparent 100%);
  background-size: 100% 10px;
  transform: rotate(-45deg);
  animation: movingLines 12s linear infinite;
  z-index: -1;
  opacity: 0.7;
}

@keyframes movingLines {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 0 100px;
  }
}

/* Responsive adjustments */
@media (min-aspect-ratio: 16/11) {
    .gensafebanner-main-banner {
       
        border: 0px solid blue !important;
	}
		.gensafebanner-bannercontent {
			bottom: 50px !important;
    }
}

@media (min-aspect-ratio: 16/9) {
    .gensafebanner-main-banner {
        min-height: 400px;
        border: 0px solid red !important;
	}
}
@media (max-width: 1201px) {
  .gensafebanner-main-banner {
    margin-top: 125px; /* Remove top margin on mobile */
  }
}
	@media (max-width: 1025px) {
  
  .gensafebanner-heading {
    font-size: 2rem !important;
  }
  
  .gensafebanner-description {
    font-size: 1.4rem !important;
  }
	}
@media (max-width: 768px) {
  .gensafebanner-main-banner {
    height: 40vh;
    margin-top: 120px; /* Remove top margin on mobile */
    margin-left: 20px;
    margin-right: 20px;
    width: calc(100% - 40px);
	  min-height:500px;
  }
  
  .gensafebanner-accordion-container {
    height: 60vh;
    margin-left: 20px;
    margin-right: 20px;
    width: calc(100% - 40px);
  }
  
  .gensafebanner-heading {
    font-size: 2rem !important;
  }
  
  .gensafebanner-description {
    font-size: 1.4rem !important;
  }
  
  .gensafebanner-bannercontent {
    bottom: 90px;
    left: 20px;
  }
  
  .gensafebanner-vertical-label {
    font-size: 16px;
    top: 20px;
    left: 20px;
  }
  
  .gensafebanner-small-logo {
    width: 163px;
    height: 40px;
    bottom: 20px;
    left: 25px;
  }
}

@media (max-width: 480px) {
  .gensafebanner-heading {
    font-size: 1.9rem !important;
  }
  
  .gensafebanner-description {
    font-size: 1.4rem !important;
  }
}
	

/* Vertical accordion styles for smaller screens */
@media (max-width: 700px) {
  .gensafebanner-accordion-container {
    flex-direction: column;
    height: auto;
    max-height: none;
  }
  
  .gensafebanner-panel {
    height: 80px; /* Collapsed height */
    flex: none;
    margin: 5px 0;
    transition: height 0.7s ease, filter 0.7s ease;
  }
  
  .gensafebanner-panel.gensafebanner-active {
    height: 300px; /* Expanded height */
    flex: none;
  }
  
  /* Adjust vertical labels to be horizontal */
  .gensafebanner-vertical-label {
    writing-mode: horizontal-tb;
    text-orientation: mixed;
    letter-spacing: 1px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: none;
    padding: 5px 10px;
    width: auto;
    text-align: center;
  }
  
  .gensafebanner-panel.gensafebanner-active .gensafebanner-vertical-label {
    transform: translateY(-100px);
    opacity: 0;
  }
  
  /* Adjust content position for vertical layout */
  .gensafebanner-bannercontent {
    bottom: 70px;
    left: 20px;
    max-width: 90%;
  }
  
  .gensafebanner-heading {
    font-size: 1.9rem !important;
  }
  
  .gensafebanner-description {
    font-size: 1.4rem !important;
  }
  
  /* Adjust logo position */
  .gensafebanner-small-logo {
    bottom: 15px;
    left: 20px;
    width: 160px;
    height: 40px;
  }
  
  /* Use scale instead of flex for smoother animations in vertical layout */
  .gensafebanner-panel-bg {
    transition: transform 0.7s ease;
  }
  
  .gensafebanner-panel:hover .gensafebanner-panel-bg {
    transform: scale(1.02);
  }
}
}
