/* ------------------------------------------ Products -------------------------------- */
/* Custom CSS for Card Styling  */
.solar-card .card-img-top {
  height: 180px;
  object-fit: cover;
  object-position: center;
  border-top-left-radius: 1rem;
  border-top-right-radius: 1rem;
}

.solar-card {
  border-radius: 1rem;
  overflow: hidden;
  transition: box-shadow 0.3s;
}

.solar-card:hover {
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
}

.icon-circle {
  width: 70px;
  height: 70px;
  background-color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: -35px;
  margin-bottom: 15px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.card-title {
  font-weight: 600;
  font-size: 1.1rem;
}

.card-text,
ul.fs-6 {
  font-size: 0.95rem;
}

.learn-more {
  font-weight: 500;
  color: #0d6efd;
  text-decoration: none;
}

.learn-more:hover {
  text-decoration: underline;
}

/* ----------------------------------------------- Services ----------------------------------------- */

/* Styling for service cards */
.service-card {
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover effect for card */
.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

/* Heading styling */
.service-card-heading {
  background-color: #619e46;
  padding: 8px 15px;
  display: inline-block;
  border-left: 5px solid #3ab0de;
  margin-left: -15px;
  font-size: 1.2rem;
  color: white;
}

/* List styling */
.service-card ul {
  list-style-type: none;
  padding-left: 20px;
}

.service-card ul li {
  font-size: 0.9rem;
  color: #333;
  margin-bottom: 10px;
}

.service-card ul li::before {
  content: "✔️";
  color: #3ab0de;
  margin-right: 10px;
}

/* -------------------------------------- Projects --------------------------------- */

#portfolio {
  background: linear-gradient(
      to right,
      rgba(0, 0, 0, 0) 30%,
      rgba(0, 0, 0, 0.95) 80%
    ),
    url("../img/bg/bg-1.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.portfolio-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
  justify-content: center;
  min-height: 500px;
  padding: 20px 15px;
}

@media (min-width: 768px) {
  .portfolio-content {
    padding: 40px 30px;
  }
}

@media (min-width: 992px) {
  .portfolio-content {
    flex-direction: row;
    justify-content: space-between;
  }
}

.portfolio-image img {
  width: 100%;
  max-width: 400px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.portfolio-text {
  max-width: 600px;
  padding: 0 15px;
  text-align: center;
}

@media (min-width: 992px) {
  .portfolio-text {
    text-align: left;
    padding: 0 20px;
  }
}

.portfolio-text h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 20px;
}

@media (min-width: 768px) {
  .portfolio-text h2 {
    font-size: 2.2rem;
  }
}

.know-more-btn {
  display: inline-block;
  padding: 12px 24px;
  color: #fff;
  background-color: transparent;
  border: 2px solid #fff;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.know-more-btn:hover {
  background-color: #28a745;
  border-color: #28a745;
  color: #fff;
}

/* ------------------------------------------------- responsive ------------------------------------ */
/* Reset and base styles */
header {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.topbar {
  background-color: #6aa549;
  color: white;
  font-size: 14px;
}

.topbar a {
  color: white;
  margin-right: 15px;
  text-decoration: none;
}

.topbar a:hover {
  text-decoration: underline;
}

/* Base styles for topbar content */
.topbar-content {
  display: flex;
  justify-content: space-between; /* Contact info left, language right */
  align-items: center;
  width: 100%;
}

.ht-topbar-left {
  display: flex;
}

.select-language select {
  background-color: white;
  border: none;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 14px;
}

/* Logo & main header */
.logo-area img.nav-logo {
  max-height: 40px;
}

.logo-text {
  font-size: 18px;
}

@media (max-width: 576px) {
  .logo-text {
    display: none; /* Hide company name on phone */
  }
}

/* Main menu styles */
.main-menu .menu-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
  display: flex;
  gap: 25px;
}

.main-menu .menu-list li a {
  text-decoration: none;
  font-weight: 500;
  color: #333;
  transition: color 0.3s;
}
.theme-main-menu .ht-topbar-left a {
  position: static;
}

.main-menu .menu-list li a:hover {
  color: #6aa549;
}

@media (min-width: 768px) and (max-width: 991px) {
  .ht-topbar-left {
    display: inline;
    text-align: center;
  }
}

/* Responsive menu and spacing */
@media (max-width: 992px) {
  .main-menu {
    display: none !important;
  }

  .hamburger-menu {
    font-size: 24px;
    cursor: pointer;
    color: #333;
  }

  .hamburger-menu .round-menu {
    background: #6aa549;
    color: white;
    padding: 6px 10px;
    border-radius: 4px;
  }
}

/* Contact button */
.client-area-btn .ht-btn.contact-top {
  background-color: #6aa549;
  color: white;
  padding: 8px 14px;
  border-radius: 4px;
  font-size: 14px;
  text-decoration: none;
  transition: background 0.3s;
}

.client-area-btn .ht-btn.contact-top:hover {
  background-color: #5c9440;
}

/* Padding for header sections */
.main-header-area {
  background-color: #fff;
  border-bottom: 1px solid #ddd;
}

/* Responsive alignment for topbar content */
@media (max-width: 768px) {
  .topbar-content {
    flex-direction: column; /* Stack items vertically */
    align-items: flex-start; /* Align to the left */
  }

  .ht-topbar-left {
    flex-direction: column; /* Stack contact info vertically */
    width: 100%;
    margin-bottom: 0; /* Remove extra bottom margin */
  }

  .ht-topbar-left a {
    margin: 0; /* Remove extra margin between contact items */
  }

  .select-language {
    margin-top: 10px;
    width: 100%;
    text-align: left;
  }

  /* Decrease font size for mobile */
  .ht-phone,
  .ht-email,
  .ht-office-schedule {
    font-size: 12px; /* Smaller text on mobile */
  }

  .select-language select {
    font-size: 12px;
  }
}

/* Smaller screens (Phones) */
@media (max-width: 576px) {
  .topbar-content {
    flex-direction: column; /* Stack items vertically */
    align-items: flex-start; /* Align to the left */
  }

  .ht-topbar-left {
    flex-direction: column; /* Stack contact info vertically */
    width: 100%;
    margin-bottom: 0; /* Remove extra bottom margin */
  }

  .ht-topbar-left a {
    margin: 0; /* Remove extra margin between contact items */
  }

  .select-language {
    margin-top: 10px;
    width: 100%;
    text-align: left;
  }

  .ht-phone,
  .ht-email,
  .ht-office-schedule {
    font-size: 12px; /* Smaller font size on small screens */
  }

  .select-language select {
    font-size: 12px;
  }
}

/* ------------------ Hero --------------- */
/* Hero section padding adjustments */
@media (max-width: 1199.98px) {
  .ht-slider-wrapper {
    padding-top: 150px !important;
    padding-bottom: 100px !important;
  }
}

@media (max-width: 991.98px) {
  .ht-slider-wrapper {
    padding-top: 100px !important;
    padding-bottom: 80px !important;
  }

  .main-title {
    font-size: 32px;
    line-height: 1.3;
  }

  .ht-subtitle {
    font-size: 14px;
    padding: 5px 8px;
  }

  .ht-btn-four {
    padding: 10px 20px;
    font-size: 14px;
  }

  .ht-slider-wrapper span[data-animation-in] {
    font-size: 18px;
  }
}

@media (max-width: 575.98px) {
  .ht-slider-wrapper {
    padding-top: 80px !important;
    padding-bottom: 60px !important;
  }

  .main-title {
    font-size: 26px;
  }

  .ht-subtitle {
    font-size: 13px;
  }

  .ht-btn-four {
    font-size: 13px;
    padding: 8px 16px;
  }

  .ht-slider-wrapper span[data-animation-in] {
    font-size: 16px;
  }
}

/* ------------------------- About us ------------------------- */

/* Adjust padding on smaller screens */
@media (max-width: 991.98px) {
  .text-feature-one {
    padding-top: 60px !important;
    padding-bottom: 30px !important;
    margin-top: -60px !important;
  }
  .about{
    margin-top: 0 !important;
  }
  .text-wrapper-one {
    padding-right: 0 !important;
  }

  .img-wrapper-five {
    text-align: center !important;
  }

  .img-wrapper-five .main-img2 {
    display: none !important;
  }

  .expe-box {
    padding-right: 0 !important;
    text-align: center;
  }

  .expe-box .icon {
    float: none !important;
    display: block;
    margin: 0 auto;
  }

  .expe-box p {
    padding-top: 10px;
    font-size: 16px;
  }

  .title-style-one h2.section-title {
    font-size: 24px;
    line-height: 1.3;
  }

  .border-text {
    font-size: 16px !important;
    padding-left: 0 !important;
  }

  .feature-list-two .text {
    font-size: 15px !important;
  }

  .ht-btn-two {
    display: inline-block;
    width: 100%;
    text-align: center;
  }
}

/* For very small devices */
@media (max-width: 575.98px) {
  .about{
    margin-top: 0 !important;
  }
  .section-title {
    font-size: 22px;
  }

  .feature-list-two {
    display: flex;
    align-items: flex-start;
    gap: 5px;
  }

  .feature-list-two .icon {
    font-size: 18px;
  }

  .feature-list-two .text {
    font-size: 14px;
  }

  .ht-btn-two {
    font-size: 16px;
    padding: 10px 20px;
  }
}

/* ----------------- Our Products -------------------------- */
/* Responsive padding and spacing tweaks */
@media (max-width: 767.98px) {
  .title-style-one {
    margin-bottom: 30px !important;
  }
  
  .service-style-one {
    margin-bottom: 30px !important;
  }

  .service-thumb img {
    height: auto;
    max-width: 100%;
    object-fit: cover;
  }

  .service-tag {
    flex-wrap: wrap;
    gap: 8px;
  }

  .content {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
}

/* ------------------ services ---------------- */

/* Adjust padding for small screens */
@media (max-width: 767.98px) {
  .ht-service-section {
    padding-top: 80px !important;
    padding-bottom: 40px !important;
  }
  .title-style-one .section-title {
    font-size: 24px;
    line-height: 1.3;
  }

  .service-card-heading {
    font-size: 18px;
  }

  .service-card ul {
    padding-left: 18px;
  }
}

/* -------------------- Project ---------------- */

/* Stack columns vertically on smaller devices */
@media (max-width: 991.98px) {
  .project{
    padding-top: 60px !important;
  }
  .ht-progress-section .row {
    flex-direction: column-reverse;
  }

  .ht-progress-section .img-box img {
    width: 100%;
    height: auto;
    object-fit: cover;
  }

  .ht-progress-section .skill-wrapper-box {
    padding: 20px;
    text-align: left;
  }
}

/* Tweak text spacing and readability on smaller screens */
@media (max-width: 575.98px) {
  .ht-progress-section .title-style-one h2 {
    font-size: 1.8rem;
  }

  .ht-progress-section .title-style-one h5 {
    font-size: 1rem;
  }

  .ht-progress-section .skill-category {
    font-size: 1rem;
  }

  .ht-progress-section p {
    font-size: 0.95rem;
  }
}

/* --------------------- appointment form --------------- */

/* Responsive text alignment */
@media (max-width: 767.98px) {
  .title-style-one.text-center {
    padding: 0 15px;
  }

  .title-style-one h2.section-title {
    font-size: 28px;
  }

  .title-style-one p {
    font-size: 15px;
  }
}

/* Input spacing fix for small screens */
@media (max-width: 575.98px) {
  .contact-form .input-wrapper {
    flex-direction: column;
    align-items: flex-start;
  }

  .contact-form .input-wrapper span {
    margin-bottom: 8px;
  }

  .contact-form select.service-chose {
    width: 100%;
  }

  .contact-form textarea {
    min-height: 120px;
  }
}

/* 
@media (max-width: 767.98px) {
  .logo-text { display: none !important; }
  .title-style-one, .service-style-one { margin-bottom: 30px !important; }
  .service-thumb img { height: auto; max-width: 100%; object-fit: cover; }
  .service-tag { flex-wrap: wrap; gap: 8px; }
  .content { padding: 0 1rem !important; }
  .ht-service-section { padding: 80px 0 40px !important; }
  .title-style-one .section-title { font-size: 24px; line-height: 1.3; }
  .service-card-heading { font-size: 18px; }
  .service-card ul { padding-left: 18px; }
  .title-style-one.text-center { padding: 0 15px; }
  .title-style-one h2.section-title { font-size: 28px; }
  .title-style-one p { font-size: 15px; }
}

@media (max-width: 575.98px) {
  .ht-slider-wrapper { padding: 80px 0 !important; }
  .main-title { font-size: 26px; }
  .ht-subtitle { font-size: 13px; }
  .ht-btn-four { font-size: 13px; padding: 8px 16px; }
  .ht-slider-wrapper span[data-animation-in] { font-size: 16px; }
  .section-title { font-size: 22px; }
  .feature-list-two { display: flex; align-items: flex-start; gap: 5px; }
  .feature-list-two .icon { font-size: 18px; }
  .feature-list-two .text { font-size: 14px; }
  .ht-btn-two { font-size: 16px; padding: 10px 20px; }
  .ht-progress-section .title-style-one h2 { font-size: 1.8rem; }
  .ht-progress-section .title-style-one h5,
  .ht-progress-section .skill-category,
  .ht-progress-section p { font-size: 1rem; }
  .ht-progress-section p { font-size: 0.95rem; }
  .contact-form .input-wrapper { flex-direction: column; align-items: flex-start; }
  .contact-form .input-wrapper span { margin-bottom: 8px; }
  .contact-form select.service-chose,
  .contact-form textarea { width: 100%; }
  .contact-form textarea { min-height: 120px; }
}

@media (max-width: 991.98px) {
  .hamburger-menu { display: block !important; }
  .main-menu { display: none !important; }
  .ht-slider-wrapper { padding: 100px 0 !important; }
  .main-title { font-size: 32px; line-height: 1.3; }
  .ht-subtitle { font-size: 14px; padding: 5px 8px; }
  .ht-btn-four { padding: 10px 20px; font-size: 14px; }
  .ht-slider-wrapper span[data-animation-in] { font-size: 18px; }
  .text-feature-one { padding: 60px 0 30px !important; margin-top: -60px !important; }
  .text-wrapper-one, .expe-box { padding-right: 0 !important; text-align: center; }
  .img-wrapper-five { text-align: center !important; }
  .img-wrapper-five .main-img2 { display: none !important; }
  .expe-box .icon { float: none !important; display: block; margin: 0 auto; }
  .expe-box p { padding-top: 10px; font-size: 16px; }
  .title-style-one h2.section-title { font-size: 24px; line-height: 1.3; }
  .border-text { font-size: 16px !important; padding-left: 0 !important; }
  .feature-list-two .text { font-size: 15px !important; }
  .ht-btn-two { display: inline-block; width: 100%; text-align: center; }
  .ht-progress-section .row { flex-direction: column-reverse; }
  .ht-progress-section .img-box img { width: 100%; height: auto; object-fit: cover; }
  .ht-progress-section .skill-wrapper-box { padding: 20px; text-align: left; }
}

@media (max-width: 1199.98px) {
  .ht-slider-wrapper { padding: 150px 0 !important; }
} */
