/* style.css */

/* General Reset */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #333;
  line-height: 1.6;
  background-color: #007bff;
}

h2 {
  font-weight: 600;
  color: #003366;
}

h5 {
  font-weight: 600;
  color: #e7ebee;
}

/* Header */
header {
  background-color: #ffffff;
  border-bottom: 2px solid #e0e0e0;
}

.navbar-nav .nav-link {
  font-weight: 500;
  color: #333;
  transition: color 0.3s;
}

.navbar-nav .nav-link:hover {
  color: #007bff;
}

/* Carousel */
.carousel-caption {
  background-color: rgba(0, 0, 0, 0.5);
  padding: 20px;
  border-radius: 8px;
}

/* Section Titles */
section h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  position: relative;
}

section h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background-color: #007bff;
  margin: 10px auto 0;
  border-radius: 2px;
}

/* Cards */
.card {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  border: none;
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
}

.card-body{
background-color: #e6f3fd;
border-radius: 4px;
}

.card-body i {
  display: block;
  margin-bottom: 15px;
}

/* About & Solar Sections */
#about, #solar {
  background-color: #ffffff;
  border-top: 1px solid #dee2e6;
  border-bottom: 1px solid #dee2e6;
}

/* Contact Form */
form .form-control {
  border-radius: 0.5rem;
}

form button.btn {
  background-color: #007bff;
  border: none;
}

form button.btn:hover {
  background-color: #0056b3;
}

/* Footer */
footer {
  background-color: #003366;
}

footer a {
  color: #ffc107;
  text-decoration: none;
}

footer a:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* Responsive Utilities */
@media (max-width: 768px) {
  .carousel-caption {
    font-size: 0.9rem;
    padding: 10px;
  }

  header .container-fluid {
    flex-direction: column;
    align-items: flex-start;
  }
}



  .work-slider {
    max-width: 100%;
    height: 240px;
  }

  .work-track {
    animation: scrollLoop 40s linear infinite;
    width: max-content;
  }

  .work-img-wrapper {
    flex: 0 0 auto;
    width: 250px;
    margin: 0 10px;
    overflow: hidden;
    border-radius: 10px;
    transition: transform 0.3s ease-in-out;
  }

  .work-img-wrapper img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    transition: transform 0.5s ease;
    border-radius: 10px;
  }

  .work-img-wrapper:hover img {
    transform: scale(1.1);
  }

    @keyframes scrollLoop {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
  }