@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');

:root {
  --primary-color: #007BFF; /* Bright Blue */
  --secondary-color: #FFA500; /* Vibrant Orange */
  --accent-color: #28a745; /* Success Green */
  --text-color: #333;
  --text-light: #6c757d;
  --bg-color: #FFFFFF;
  --bg-light-gray: #F8F9FA;
  --border-color: #dee2e6;
}

body {
  margin: 0;
  font-family: 'Poppins', 'Segoe UI', 'Arial', sans-serif;
  background: var(--bg-color);
  color: var(--text-color);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

.container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
}

.top-bar {
  background: var(--primary-color);
  color: #fff;
  padding: 0.5rem 0;
  font-size: 0.9rem;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar .phone-number {
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s;
}

.top-bar .phone-number:hover {
  color: var(--secondary-color);
}

.top-bar-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

#online-status {
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 12px;
  font-size: 0.8rem;
  color: #fff;
}

#online-status.online {
  background-color: var(--accent-color);
}

#online-status.offline {
  display: none;
}

header {
  background: var(--bg-color);
  padding: 1rem 0;
  text-align: center;
  border-bottom: 1px solid var(--border-color);
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

header h1 {
  margin: 0;
}

#logo {
  max-width: 250px;
  height: auto;
}

main {
  flex: 1;
}

.hero {
  text-align: center;
  padding: 5rem 0;
  background: var(--bg-light-gray);
}

.hero h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--primary-color);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero .subtitle {
  font-size: 1.2rem;
  color: var(--text-light);
  font-weight: 400;
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-bottom: 3rem;
}

.cta-btn {
  display: inline-block;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 50px;
  padding: 1rem 2.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  border: 2px solid transparent;
}

.cta-btn.primary {
  color: #fff;
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
  box-shadow: 0 5px 15px rgba(255, 165, 0, 0.4);
}

.cta-btn.primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(255, 165, 0, 0.5);
}

.cta-btn.secondary {
  color: var(--primary-color);
  background-color: transparent;
  border-color: var(--primary-color);
}

.cta-btn.secondary:hover {
  background-color: var(--primary-color);
  color: #fff;
}

.smart-icons {
  margin-top: 3rem;
  display: flex;
  justify-content: center;
  gap: 3rem;
}

.smart-icons img {
  width: 45px;
  height: 45px;
  opacity: 0.7;
  transition: opacity 0.3s, transform 0.3s;
}

.smart-icons img:hover {
  opacity: 1;
  transform: scale(1.1);
}

.section {
  padding: 5rem 0;
  text-align: center;
}

#local-promise {
  background: var(--bg-light-gray);
}

.section-title {
  font-size: 2.2rem;
  color: var(--primary-color);
  margin-bottom: 3rem;
  font-weight: 700;
}

.promise-content {
  display: flex;
  align-items: center;
  gap: 3rem;
  text-align: left;
}

.promise-text {
  flex: 2;
}

.promise-text h3 {
  font-size: 1.8rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.promise-points {
  list-style: none;
  padding: 0;
  margin-top: 1.5rem;
}

.promise-points li {
  margin-bottom: 0.75rem;
  font-weight: 600;
  color: var(--text-light);
}

.promise-image {
  flex: 1;
  text-align: center;
}

.promise-image img {
  max-width: 30px;
  border-radius: 50%;
  box-shadow: 0 10px 30px rgba(0, 123, 255, 0.2);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 15px;
  padding: 2rem;
  text-align: left;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s, box-shadow 0.3s;
}

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

.testimonial-card p {
  font-style: italic;
  margin: 0 0 1rem 0;
  color: var(--text-light);
}

.testimonial-card .author {
  font-weight: 700;
  color: var(--primary-color);
  text-align: right;
}

.features-list {
  list-style: none;
  padding: 0;
  max-width: 600px;
  margin: 0 auto;
  text-align: left;
  font-size: 1.1rem;
}

.features-list li {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
}

.features-list .icon {
  color: var(--accent-color);
  font-size: 1.5rem;
  margin-right: 1rem;
}

footer {
  background: #343a40;
  color: #f8f9fa;
  text-align: center;
  padding: 2rem 0;
  margin-top: 4rem;
  font-size: 0.9rem;
}

footer a {
  color: var(--secondary-color);
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

footer strong {
  color: #fff;
}

/* Accordion Styles */
.accordion {
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
}

.accordion-item {
  border: 1px solid var(--border-color);
  border-radius: 8px;
  margin-bottom: 1rem;
  overflow: hidden;
}

.accordion-button {
  background-color: #fff;
  color: var(--text-color);
  cursor: pointer;
  padding: 1.5rem;
  width: 100%;
  text-align: left;
  border: none;
  font-size: 1.1rem;
  font-weight: 600;
  transition: background-color 0.3s;
  position: relative;
  padding-right: 3rem;
}

.accordion-button:hover {
  background-color: var(--bg-light-gray);
}

.accordion-button::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--primary-color);
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  transition: transform 0.3s;
}

.accordion-button.active::after {
  content: '−';
  transform: translateY(-50%) rotate(180deg);
}

.accordion-content {
  background-color: #fff;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.accordion-content p {
  padding: 0 1.5rem 1.5rem;
  margin: 0;
  color: var(--text-light);
  line-height: 1.6;
}

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Mobile Call to Action */
.mobile-call-cta {
  display: none; /* Hidden by default on larger screens */
}

@media (max-width: 768px) {
  body {
    /* Add padding to prevent sticky footer from overlapping content */
    padding-bottom: 60px;
  }

  .mobile-call-cta {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--accent-color);
    color: #fff;
    text-align: center;
    padding: 1rem 0;
    font-size: 1.2rem;
    font-weight: 700;
    text-decoration: none;
    z-index: 1000;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
    transition: background-color 0.3s;
  }

  .mobile-call-cta:hover {
    background-color: #218838; /* Darker green on hover */
  }

  .top-bar .container { flex-direction: column; gap: 0.5rem; }
  .hero h2 { font-size: 2rem; }
  .cta-buttons { flex-direction: column; width: 100%; }
  .cta-btn { width: 80%; text-align: center; }
  .promise-content { flex-direction: column; }
  .smart-icons { gap: 2rem; }
}
