/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(to bottom, #f0f4f8, #e6f0ff);
  color: #333;
  line-height: 1.6;
  font-size: 2rem;
}

/* Header */
header {
  background: linear-gradient(to right, #003366, #005baa);
  color: white;
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.logo-img {
  height: 100px;
  width: auto;
  display: block;
}

.logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

nav {
  margin-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

nav a {
  color: white;
  font-weight: bold;
  font-size: 1.8rem;
  text-decoration: none;
  transition: color 0.3s ease;
}

nav a:hover {
  color: #ffcc00;
}

/* Hero */
.hero {
  background: linear-gradient(to bottom, #ffffff, #e6f0ff);
  padding: 5rem 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.hero h2 {
  color: #003366;
  font-size: 4rem;
  margin-bottom: 1rem;
  text-shadow: 2px 2px #dce3f0;
}

.hero p {
  font-size: 2.2rem;
  max-width: 900px;
  margin: 0 auto;
  color: #333;
}

.hero-image {
  padding: 1rem;
  max-width: 100%;
  height: auto;
  margin-top: 1.5rem;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.cooling {
  color: #007BFF;
  font-weight: bold;
}

.heating {
  color: #FF5722;
  font-weight: bold;
}

.diagnostics {
  color: #e6b800;
  font-weight: bold;
}

.investment {
  color: #2e7d32;
  font-weight: bold;
}

.highlight-gold {
  color: #b8860b;
  font-weight: bold;
}

/* Services */
.services {
  padding: 4rem 2rem;
  text-align: center;
  background: #fefefe;
}

.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  margin-top: 2rem;
}

.service {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  width: 600px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.service-btn {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.75rem 1.5rem;
  background-color: #005baa;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.service-btn:hover {
  background-color: #003366;
  transform: scale(1.05);
}

/* Contact */
.contact {
  padding: 4rem 2rem;
  background: linear-gradient(to bottom, #f0f4f8, #e6f0ff);
  text-align: center;
}

.contact form {
  max-width: 600px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact input,
.contact textarea {
  padding: 1rem;
  border: 2px solid #ccc;
  border-radius: 8px;
  font-size: 1.8rem;
  transition: border-color 0.3s ease;

    font-family: inherit;

}

.contact input:focus,
.contact textarea:focus {
  border-color: #005baa;
  outline: none;
}

.contact button {
  padding: 1rem;
  background-color: #003366;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 2rem;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.contact button:hover {
  background-color: #0055a5;
}

/* Reviews & Invoice */
.reviews, .review-form {
  max-width: 900px;
  margin: 3rem auto;
  padding: 3rem;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
}

.reviews h2, .review-form h3 {
  font-size: 2.4rem;
  margin-bottom: 1.5rem;
  color: #003366;
  text-align: center;
}

.review-form input,
.review-form textarea {
  padding: 1rem;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 1.6rem;

  width: 100%;

    font-family: inherit;

}

.review-form button {
  background-color: #003366;
  color: white;
  padding: 1rem 2rem;
  border: none;
  font-size: 1.6rem;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.review-form button:hover {
  background-color: #0055aa;
}

.review {
  border-top: 1px solid #eee;
  padding: 1.5rem 0;
}

.review strong {
  display: block;
  font-size: 1.6rem;
  color: #003366;
}

.review span {
  color: gold;
  font-size: 1.8rem;
}

.review p {
  font-size: 1.4rem;
}

.review small {
  color: #999;
}

.invoice-table-wrapper {
  overflow-x: auto;
  margin-top: 2rem;
}

.invoice-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1.6rem;
}

.invoice-table th,
.invoice-table td {
  border: 1px solid #ccc;
  padding: 1rem;
}

.invoice-table th {
  background-color: #003366;
  color: white;
}

.invoice-table tr:nth-child(even) {
  background-color: #f4f8ff;
}

/* Footer */
footer {
  text-align: center;
  padding: 2rem;
  background-color: #003366;
  color: white;
  font-size: 1.4rem;
}

.call-button {
  display: inline-block;
  font-size: 2.4rem;
  padding: 1rem 2rem;
  background: linear-gradient(to right, #005baa, #003366);
  color: white;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.3s ease;
}

.call-button:hover {
  background: linear-gradient(to right, #0077cc, #005baa);
}

.call-button-wrapper {
  text-align: center;
  margin: 2rem 0;
}

.about {
  background-color: #f7f7f7;
  padding: 4rem 2rem;
  text-align: center;
}

.about h2 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  color: #005baa;
}

.about p {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.6rem;
  line-height: 1.8;
}

.about-image {
  margin-top: 2rem;
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.service-icon {
  width: 100%;
  max-width: 400px;
  height: auto;
  display: block;
  margin: 0 auto;
}

.nav-link {
  padding: 1rem 2rem;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  transition: background-color 0.3s ease;
}

.nav-link:hover {
  background-color: #0077cc;
  color: white;
}

.nav-link.active {
  background-color: #005fa3;
  color: white;
}
/* Dropdown menu show on hover */
.nav-dropdown:hover .dropdown-menu {
  display: block;
  animation: fadeInDropdown 0.3s ease-in-out forwards;
}

/* Smooth fade-in animation for dropdown */
@keyframes fadeInDropdown {
  from {
    opacity: 0;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Keep dropdown hidden by default */
.dropdown-menu {
  display: none;
  position: absolute;
  background-color: #003366;
  min-width: 200px;
  box-shadow: 0px 8px 16px rgba(0,0,0,0.2);
  z-index: 10;
  border-radius: 5px;
  top: 100%;
  left: 0;
}
/* Make dropdown button look like other nav links */
.dropdown-toggle {
  background: none;
  border: none;
  color: white;
  text-decoration: none;
  font-size: 1.8rem;       /* match nav-link */
  font-weight: bold;       /* match nav-link */
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  transition: background-color 0.3s, color 0.3s;
  font-family: inherit;
  cursor: pointer;
}


.dropdown-toggle:hover,
.dropdown-toggle:focus {
  background-color: #0077cc;
  color: #fff;
}


/* Dropdown container */
.nav-dropdown {
  position: relative;
}

/* Dropdown menu hidden by default */
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #003366;
  min-width: 200px;
  box-shadow: 0px 8px 16px rgba(0,0,0,0.2);
  z-index: 1000;
  border-radius: 6px;
  overflow: hidden;
}

/* Dropdown shows on hover */
.nav-dropdown:hover .dropdown-menu {
  display: block;
}

/* Dropdown items styling */
.dropdown-item {
  color: white;
  padding: 0.75rem 1.25rem;
  display: block;
  text-decoration: none;
  transition: background-color 0.2s;
}

.dropdown-item:hover {
  background-color: #005fa3;
}
/* Fix for review stars */
#star-rating .star {
  font-size: 2rem;
  color: #ccc;
  cursor: pointer;
  transition: color 0.3s ease;
}

#star-rating .star.selected {
  color: gold;
}
/* Space between each review card */
#review-list .review {
  background-color: #f9f9f9;
  border-radius: 12px;
  padding: 1rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}

/* Improve spacing between form fields */
.review-form form input,
.review-form form textarea,
.review-form form button {
  display: block;
  width: 100%;
  margin-bottom: 1rem;
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
}

/* Style star rating */
#star-rating {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  gap: 0.5rem;
}

.star {
  font-size: 1.5rem;
  cursor: pointer;
  color: #ccc;
  transition: color 0.2s;
}

.star.selected {
  color: gold;
}

