html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden; /* disables horizontal scroll */
  width: 100%;
}
.hero-section {
  height: 80vh;
  
  width: 100%;
}
 
.hero-section img {
  object-fit: cover;
  height: 80vh;
  width: 100%;


}
@font-face {
  font-family: 'Araboto Black 400';
  src: url('animation/Araboto Black 400.ttf');
}


/* Navigation */
.nav-link {
  color: black;
  transition: all 0.3s ease;
  font-family: 'Rowdies-Light';
}

.nav-link:not(.fw-bold):hover {
  color: white;
  background-color: #F8AF18;
  border-radius: 5px;
  padding: 5px 10px;
  font-family: 'Rowdies-Light';
  
}
  @font-face {
          font-family: 'Rowdies-Light';
          src: url('animation/Rowdies-Light.ttf') format('truetype');
        }

.nav-link.fw-bold {
  border-bottom: 3px solid #F8AF18;
}

.navbar-nav {
  border-bottom-left-radius: 100px;
  border-bottom-right-radius: 15px;
}

/* BESS Section */
.bess-section {
  background-blend-mode: overlay;
}

/* 3D Carousel Styles - Renamed to avoid Bootstrap conflicts */
.d3-carousel-container {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  height: 40vh;
  perspective: 1000px;
}

.d3-carousel-item {
  position: absolute;
  width: 40vh;
  height: 40vh;
  transition: all 0.8s ease;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
  cursor: pointer;
}

.d3-carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.center {
  transform: translateZ(200px) scale(1.2);
  z-index: 10;
}

.left {
  transform: translateX(-300px) translateZ(-100px) rotateY(25deg);
  opacity: 0.8;
  z-index: 5;
}

.right {
  transform: translateX(300px) translateZ(-100px) rotateY(-25deg);
  opacity: 0.8;
  z-index: 5;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  color: white;
  text-align: center;
  padding: 1rem;
}

.d3-carousel-item:hover .overlay {
  opacity: 1;
}

.controls {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
}

/* .why-choose-section {
  padding: 80px 0;
} */

.feature-card {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  padding: 20px;
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 15px;
}
.card-container {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}
.card-container h5 {
  margin-top: 15px;
  margin-bottom: 15px;
  font-weight: 600;
  text-align: center;
}

.card-container:hover {
  transform: translateY(-5px);
}

.feature-icon {
  height: 200px;
  width: 200px;
  display: block;
  margin: 0 auto;
}

.feature-card h5 {
  margin-top: 10px;
  margin-bottom: 15px;
  font-weight: 600;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: #fcaf17;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  /* Removed invalid property 'transparent' */
  transition: opacity 0.3s ease;
}

.card-container:hover .overlay {
  opacity: 0.8;
}

.overlay-text {
  padding: 10px;
  text-align: left;
  font-size: 1.2rem;
  line-height: 1.5;
}

.overlay-text p {
  margin: 0;
}
.page-title {
  font-family: Arial, sans-serif;
  font-weight: bold;
  font-size: 2.5rem;
  color: #2c5f2d;
  text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.2);
  text-align: center;
  margin: 30px 0;
}

.storage-container {
  padding: left 50px;right: 50px;
  max-width: 850px;
  margin: 0 auto;
  
}

.storage-image {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  background: linear-gradient(to right, rgb(203, 203, 108), rgb(143, 143, 247));
}

.storage-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 20px;
}

.storage-info p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #333;
}

@media (max-width: 780px) {
  .storage-info {
      padding-left: 0;
      padding-top: 20px;
  }
}

.contact-container {
  max-width: 900px;
  margin: 0 auto;
  border-radius: 30px;
  overflow: hidden;
  border: 4px solid #3498db;
  background-image: url('/api/placeholder/900/200'); /* Replace with actual solar panel image */
  background-size: cover;
  background-position: center;
  position: relative;
}

.contact-overlay {
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(90deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.2) 100%);
}

.contact-text {
  flex: 1;
  padding-right: 20px;
}

.contact-text h2 {
  color: white;
  font-size: 2.5rem;
  font-weight: bold;
  margin: 0;
  line-height: 1.1;
  text-transform: uppercase;
}

.contact-form {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-form input {
  padding: 12px 15px;
  border-radius: 8px;
  border: none;
  background-color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  color: #333;
}

.contact-form input::placeholder {
  color: #666;
}

.contact-form button {
  align-self: flex-end;
  padding: 10px 30px;
  border-radius: 5px;
  border: none;
  background-color: #f39c12;
  color: white;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s;
}

.contact-form button:hover {
  background-color: #e67e22;
}

@media (max-width: 768px) {
  .contact-overlay {
      flex-direction: column;
      padding: 15px;
  }
  
  .contact-text {
      padding-right: 0;
      padding-bottom: 15px;
      text-align: center;
  }
  
  .contact-text h2 {
      font-size: 2rem;
  }
  
  .contact-form button {
      align-self: center;
      width: 100%;
      margin-top: 5px;
  }
}
.learn-more-btn {
  background-color: rgba(0, 72, 94, 0.8);
  color: white;
  border: none;
  border-radius: 4px;
  padding: 8px 16px;
  font-size: 16px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  transition: all 0.3s ease;
  cursor: pointer;
}

.learn-more-btn:hover {
  background-color: rgba(0, 72, 94, 1);
  color: white;
}

.arrow-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background-color: white;
  border-radius: 50%;
  margin-left: 10px;
}

.arrow-icon svg {
  width: 14px;
  height: 14px;
  fill: rgba(0, 72, 94, 0.8);
  transition: transform 0.3s ease;
}

.learn-more-btn:hover .arrow-icon svg {
  fill: rgba(0, 72, 94, 1);
}

.arrow-down svg {
  transform: rotate(90deg);
}
#mytext {
  overflow: hidden; /* Hides text outside of the container */
  border-right: transparent; /* Blicks cursor */
  white-space: nowrap; /* Prevents text from wrapping */
  margin: 0 auto; /* Centers the text */
  letter-spacing: .15em; /* Adjust as needed */
  animation: slideInLeft 0.8s ease-in-out forwards; /* Adjust duration and timing as needed */
}

@keyframes slideInLeft {
  from {
    left: -100%; /* Start off-screen */
  }
  to {
    left: 0; /* Slide into view */
  }
}

.read-more-btn {
  background-color:  #183665   ;
  color: white;
  border: none;
  border-radius: 4px;
  padding: 8px 16px;
  font-size: 16px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  transition: all 0.3s ease;
  cursor: pointer;
  border-radius: 50px;
}

.read-more-btn:hover {
  background-color: rgba(0, 72, 94, 1);
  color: white;
}

.arrowicon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background-color: white;
  border-radius: 50%;
  margin-left: 10px;
}

.arrowicon svg {
  width: 14px;
  height: 14px;
  fill: rgba(0, 72, 94, 0.8);
  transition: transform 0.3s ease;
}

.learn-more-btn:hover .arrowicon svg {
  fill: rgba(0, 72, 94, 1);
}

.arrowdown svg {
  transform: rotate(90deg);
}



.choose-us-container {

  height: 70vh;
  width: 100%;
  display: flex;
  border-radius: 15px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
  align-self: space-around;
  align-items: space-around;
  overflow: hidden;
  align-content: space-around;
  justify-content: space-around;
}
.choose-us-container video {
  position: absolute;
  overflow-x: hidden;
  width: 90%;
  height: 70vh;
  object-fit: cover;
  z-index: 0;
  opacity: 0.5; /* Optional: add transparency */
}


.choose-box {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: all 0.5s ease;
  animation: hoverAnimation 8s infinite linear;
}

@keyframes hoverAnimation {
  0% { transform: rotateY(0deg); }
  50% { transform: rotateY(10deg); }
  100% { transform: rotateY(0deg); }
}

.choose-overlay, .choose-info {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  color: white;
  display:inline-flex;
  justify-content: center;
  text-align: left;
  align-items: center;
  padding: 2%;
  opacity: 0;
  transition: all 0.5s ease;
  text-align: center;
  font-size: clamp(0.6vw, 2vw, 1.2rem);
  flex-direction: column;
}

.choose-box:hover {
  animation-play-state: paused;
}

/* Hover behavior */
.choose-box:hover .choose-overlay {
  opacity: 0;
}
.choose-box:hover .choose-info {
  opacity: 1;
  background: #183665;
  border-radius: 20px;
  animation: fadeIn 1s ease forwards;
}

/* Auto-active behavior */
.choose-box.active-auto .choose-overlay {
  opacity: 0;
}
.choose-box.active-auto .choose-info {
  opacity: 1;
  background: #183665;
  border-radius: 20px;
  animation: fadeIn 1s ease forwards;
}

.choose-overlay h5 {
  font-size: 1.8rem;
  font-weight: bold;
  color: #fff;
}

.info-title {
  background-color: #FFD700;
  color: black;
  font-weight: bold;
  padding: 6px 12px;
  border-radius: 10px;
  margin-bottom: 15px;
  font-size: 1.2rem;
}

@keyframes fadeIn {
  0% { opacity: 0; transform: scale(0.9); }
  100% { opacity: 1; transform: scale(1); }
}

/* Responsive */
@media (max-width: 80vh) {
  .choose-us-container {
    flex-direction: column;
    
  }

  .choose-box {
    height: 80vh;
  }
}

.who-we-are  {
  background: linear-gradient(to right, #ffffff, #e7bc66);
  padding: 60px 20px;
  /* font-family: 'Segoe UI', sans-serif; */
  overflow: hidden;
  text-align: justify;
}

.container-who-we-are {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.image-section img {
  width: 100%;
  max-width: 500px;
  /* border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); */
  transition: transform 0.4s ease;
}

.image-section img:hover {
  transform: scale(1.03);
}

/* Text Styles */
.text-section {
  flex: 1;
  min-width: 300px;
}

.text-section h2 {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #183665   ;
  font-family:  'InknutAntiqua-Black';

}

.text-section p {
  font-size: 1.15em;
  line-height: 1.8;
  color: #333;
  margin-bottom: 20px;
}

.text-section strong {
  color: #183665   ;
}

/* Animation classes */
.animate-left {
  opacity: 0;
  transform: translateX(-50px);
  animation: fadeLeft 1s ease forwards;
  animation-delay: 0.3s;
}

.animate-right {
  opacity: 0;
  transform: translateX(50px);
  animation: fadeRight 1s ease forwards;
  animation-delay: 0.6s;
}

/* Keyframes */
@keyframes fadeLeft {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeRight {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .container {
    flex-direction: column;
    text-align: center;
  }

  .text-section h2 {
    font-size: 2.2em;
  }

  .animate-left,
  .animate-right {
    transform: translateY(30px);
    animation: fadeUp 1s ease forwards;
  }
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}