* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, sans-serif;
  color: #1f2933;
}

.header {
  background-color: #ffffff;
  border-bottom: 1px solid #e5e7eb;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 0;;

  display: flex;
  align-items: center;
  justify-content: space-between;
}
.container-header {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 24px;;

  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  width: 100px;
  height: auto;
}

.logo span {
  font-weight: 600;
  font-size: 16px;
}
.nav {
  display: flex;
  gap: 32px;
}

.nav a {
  text-decoration: none;
  color: #1f2933;
  font-size: 15px;
  font-weight: 500;
}

.nav a:hover {
  color: #053185;
}
.btn-primary {
  background-color: #053185;
  color: #ffffff;
  text-decoration: none;

  padding: 10px 18px;
  border-radius: 6px;

  font-size: 14px;
  font-weight: 600;
}

.btn-primary:hover {
  border: 1px solid #053185;
  background-color: #ffffff;
  color: #053185;
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background-color: #053185;
}
.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 16px;

  background-color: #ffffff;
  padding: 20px 24px;
  border-top: 1px solid #e5e7eb;
}

.mobile-menu a {
  text-decoration: none;
  color: #1f2933;
  font-weight: 500;
}
.mobile-menu a:last-child {
  color: white;
}
.mobile-menu a:hover {
  color: #053185;
}
.hero {
  position: relative;
  height: 90vh;
  background-image: url("images/bts-smart-homes-bg.jpeg");
  background-size: cover;
  background-position: center;

  display: flex;
  align-items: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.45);
}
.hero-content {
  position: relative;
  max-width: 600px;
  padding: 0 24px;
  margin-left: 80px;

  color: #ffffff;
}

.hero-content h1 {
  font-size: 42px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
}

.hero-content p {
  font-size: 18px;
  margin-bottom: 28px;
}

.solutions {
  padding: 80px 24px;
  display: flex;
  justify-content: space-between;
  background-color: #f9fafb;
}
.section-header-title { 
  margin: auto;
}
.section-title {
  text-align: center;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 48px;
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 32px;
}
.solution-card {
  background-color: #ffffff;
  padding: 32px;
  border-radius: 12px;
  text-align: center;

  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.solution-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.solution-card .icon {
  font-size: 40px;
  margin-bottom: 16px;
}

.solution-card h3 {
  font-size: 18px;
  margin-bottom: 12px;
}

.solution-card p {
  font-size: 14px;
  color: #4b5563;
  line-height: 1.6;
}
.services {
  padding: 80px 24px;
}

.service-item {
  max-width: 1200px;
  margin: 0 auto 64px;
  display: flex;
  justify-content: space-between;
  background-color: #00000017;;
  padding: 32px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service-content {
  width: 37%;
  /* padding: 0 24px; */
}

.service-item h3 {
  font-size: 24px;
  margin-bottom: 12px;
}

.service-item p {
  color: #053185;
  margin-bottom: 16px;
  line-height: 1.7;
}

.service-item ul {
  margin-bottom: 24px;
  padding-left: 20px;
}

.service-item li {
  margin-bottom: 8px;
  color: #053185;
  list-style-type: none;
}
.service-img {
  width: 55%;
  height: 250px;
  /* margin-bottom: 16px;
  border-radius: 8px;
  overflow: hidden; */
}
.service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* border-radius: 8px;
  margin-bottom: 16px; */
}
.btn-outline {
  display: inline-block;
  padding: 10px 18px;
  border: 2px solid #053185;
  color: #053185;
  text-decoration: none;
  font-weight: 600;
  border-radius: 6px;
}

.btn-outline:hover {
  background-color: #053185;
  color: #ffffff;
}
.container-small {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 0;;
}
.maintenance {
  padding: 80px 24px;
  background-color: #ffffff;
}

.maintenance-content {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  display: flex;
}
.maintenance-img {
  border-radius: 24px;
  overflow: hidden;
}
.maintenance-img img {
  width: 100%;
  max-height: 420px;
  object-fit: contain;
}
.maintenance-text {
  max-width: 500px;
  margin: 0 auto;
}
.maintenance-intro {
  color: #4b5563;
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 32px;
}

.maintenance-list {
  list-style: none;
  margin-bottom: 40px;
  padding: 0;
}

.maintenance-list li {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
  font-size: 15px;
  color: #374151;
}

.check-icon {
  margin-right: 12px;
  flex-shrink: 0;
}


/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.5);
}

.modal-content {
    background-color: #fefefe;
    margin: 10% auto;
    padding: 0;
    border: 1px solid #888;
    width: 90%;
    max-width: 500px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    margin: 10px;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
}

.modal-header {
    padding: 20px;
    border-bottom: 1px solid #e5e7eb;
}

.modal-header h2 {
    margin: 0;
    color: #1f2933;
}

.modal-body {
    padding: 20px;
}

.modal-img {
    width: 100%;
    max-height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.modal-body p {
    margin-bottom: 15px;
    line-height: 1.6;
}

.modal-body ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.modal-body li {
    margin-bottom: 5px;
}

.modal-details p {
    font-style: italic;
    color: #666;
}

.modal-footer {
    padding: 20px;
    border-top: 1px solid #e5e7eb;
    text-align: center;
}








@media (max-width: 768px) {
  .nav,
  .desktop-btn, .Cta {
    display: none;
  }
  .container {
    justify-content: space-around;
    flex-direction: column;
  }
  .container-header {
    justify-content: space-around;
  }

  .hamburger {
    display: flex;
  }

  .mobile-menu.active {
    display: flex;
    /* align-items: center; */
  }
  
  .hero-content {
    margin-left: 0;
    text-align: center;
    max-width: 100%;
  }

  .hero-content h1 {
    font-size: 32px;
  }

  .service-item {
    flex-direction: column;
    align-items: center;
  }
  .service-img {
    width: 100%;
    height: 200px;
    margin-bottom: 16px;
  }
  .service-content {
    width: 100%;
  }
  .solutions {
    flex-direction: column;
  }
  .maintenance-content {
   flex-direction: column;
  }
  .maintenance-img img {
    width: 100%;
    max-height: 600px;
}
.maintenance-text {
    margin-top: 40px;
  }

}

/* Footer Styles */
.footer {
  background-color: #1f2933;
  color: #ffffff;
  padding: 40px 24px 20px;
  margin-top: 80px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 10px;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-logo-nav {
  display: flex;
  align-items: center;
  gap: 849px;
}

.footer-logo img {
  width: 50px;
  height: auto;
}

.footer-nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-nav a {
  text-decoration: none;
  color: #d1d5db;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.3s ease;
}

.footer-nav a:hover {
  color: #053185;
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid #374151;
  padding-top: 20px;
}

.footer-bottom p {
  margin: 0;
  font-size: 14px;
  color: #d1d5db;
}

.social-media {
  display: flex;
  gap: 16px;
}

.social-link {
  color: #d1d5db;
  text-decoration: none;
  transition: color 0.3s ease;
}

.social-link:hover {
  color: #053185;
}

.social-link svg {
  width: 24px;
  height: 24px;
}

@media (max-width: 768px) {
  .footer-top {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-nav {
    justify-content: center;
  }
  .footer-logo-nav {
    /* flex-direction: column; */
    gap: 20px;
  }
}

