/* ===== Reset and Base Styles ===== */
:root {
  --primary-color: #0056b3; /* Deep Blue for AC/Cooling */
  --secondary-color: #00a8cc; /* Light cyan */
  --accent-color: #ff9800; /* Orange for CTA buttons */
  --text-dark: #333333;
  --text-light: #666666;
  --bg-light: #f4f7f6;
  --white: #ffffff;
  --font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --transition: all 0.3s ease;
  --box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  --header-height: 80px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--white);
  padding-top: var(--header-height);
}

a {
  text-decoration: none;
  color: var(--primary-color);
  transition: var(--transition);
}

a:hover {
  color: var(--secondary-color);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; color: var(--primary-color); }
h3 { font-size: 1.5rem; }
p { margin-bottom: 1rem; color: var(--text-light); }

.text-center { text-center; }
.text-primary { color: var(--primary-color); }
.section-title { text-align: center; margin-bottom: 3rem; }
.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--accent-color);
  margin: 10px auto 0;
}

/* ===== Layout Utility ===== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 80px 0;
}

.bg-light {
  background-color: var(--bg-light);
}

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

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 5px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--white);
}

.btn-primary:hover {
  background-color: var(--secondary-color);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0,168,204,0.3);
}

.btn-accent {
  background-color: var(--accent-color);
  color: var(--white);
}

.btn-accent:hover {
  background-color: #e68a00;
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(230,138,0,0.3);
}

.btn-outline {
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  background: transparent;
}

.btn-outline:hover {
  background: var(--primary-color);
  color: var(--white);
}

/* ===== Header & Navigation ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--white);
  box-shadow: var(--box-shadow);
  z-index: 1000;
  height: var(--header-height);
  display: flex;
  align-items: center;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo h1 {
  font-size: 1.8rem;
  margin: 0;
  color: var(--primary-color);
}

.logo span {
  color: var(--secondary-color);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-links a {
  color: var(--text-dark);
  font-weight: 500;
  font-size: 1rem;
}

.nav-links a:hover, .nav-links a.active {
  color: var(--primary-color);
}

.mobile-menu-btn {
  display: none;
  font-size: 1.5rem;
  color: var(--primary-color);
  cursor: pointer;
  background: none;
  border: none;
}

/* ===== Hero Section ===== */
.hero {
  background: linear-gradient(rgba(0, 86, 179, 0.8), rgba(0, 168, 204, 0.8)), url('https://images.unsplash.com/photo-1581094288338-2314dddb7ece?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
  color: var(--white);
  padding: 120px 0;
  text-align: center;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  color: var(--white);
}

.hero p {
  font-size: 1.2rem;
  color: var(--white);
  max-width: 800px;
  margin: 0 auto 30px;
}

.hero .btn {
  margin: 0 10px;
}

/* ===== Services Cards ===== */
.service-card {
  background: var(--white);
  border-radius: 8px;
  padding: 30px;
  text-align: center;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  border-bottom: 4px solid transparent;
}

.service-card:hover {
  transform: translateY(-10px);
  border-bottom: 4px solid var(--primary-color);
}

.service-icon {
  font-size: 3rem;
  color: var(--secondary-color);
  margin-bottom: 20px;
}

.service-card h3 {
  margin-bottom: 15px;
}

/* ===== About Section ===== */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-image img {
  border-radius: 8px;
  box-shadow: var(--box-shadow);
}

.about-features {
  margin-top: 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.feature-item i {
  color: var(--primary-color);
  font-size: 1.2rem;
}

/* ===== Testimonials ===== */
.testimonial-card {
  background: var(--white);
  padding: 30px;
  border-radius: 8px;
  box-shadow: var(--box-shadow);
  font-style: italic;
  position: relative;
}

.testimonial-card::before {
  content: '\201C';
  font-size: 4rem;
  color: var(--bg-light);
  position: absolute;
  top: 10px;
  left: 20px;
  z-index: 0;
}

.testimonial-text {
  position: relative;
  z-index: 1;
}

.testimonial-author {
  margin-top: 20px;
  font-weight: 700;
  color: var(--primary-color);
  font-style: normal;
}

/* ===== Footer ===== */
.footer {
  background-color: #222222;
  color: #dddddd;
  padding: 60px 0 20px;
}

.footer h4 {
  color: var(--white);
  margin-bottom: 20px;
  font-size: 1.2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #dddddd;
}

.footer-links a:hover {
  color: var(--secondary-color);
  padding-left: 5px;
}

.social-icons {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255,255,255,0.1);
  color: var(--white);
  border-radius: 50%;
  transition: var(--transition);
}

.social-icons a:hover {
  background-color: var(--primary-color);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.9rem;
}

/* ===== WhatsApp & Contact Floating Buttons ===== */
.floating-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--white);
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  z-index: 100;
  transition: var(--transition);
}

.whatsapp-btn {
  background-color: #25d366;
  bottom: 90px;
}

.whatsapp-btn:hover {
  background-color: #128c7e;
  transform: scale(1.1);
  color: var(--white);
}

.call-btn {
  background-color: var(--primary-color);
}

.call-btn:hover {
  background-color: #004494;
  transform: scale(1.1);
  color: var(--white);
}

/* ===== Contact Form/Page ===== */
.contact-info-card {
  background: var(--primary-color);
  color: var(--white);
  padding: 40px;
  border-radius: 8px;
}

.contact-info-card h3 {
  color: var(--white);
}

.contact-info-card p {
  color: #e0e0e0;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}

.contact-info-item i {
  font-size: 1.5rem;
  color: var(--accent-color);
}

.contact-form {
  background: var(--white);
  padding: 40px;
  border-radius: 8px;
  box-shadow: var(--box-shadow);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

.form-control {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-family: var(--font-family);
  font-size: 1rem;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(0,86,179,0.2);
}

/* ===== Blog Section ===== */
.blog-card {
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.blog-card:hover {
  transform: translateY(-5px);
}

.blog-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-content {
  padding: 20px;
}

.blog-meta {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 10px;
}

.blog-title {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.blog-title a {
  color: var(--text-dark);
}

.blog-title a:hover {
  color: var(--primary-color);
}

/* Blog Post Detail */
.post-header {
  margin-bottom: 30px;
}

.post-img {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 30px;
}

.post-content h2, .post-content h3 {
  margin-top: 30px;
}

.post-content ul, .post-content ol {
  margin-left: 20px;
  margin-bottom: 20px;
}

.post-content li {
  margin-bottom: 10px;
}

/* Sidebar */
.sidebar {
  background: var(--bg-light);
  padding: 30px;
  border-radius: 8px;
}

.sidebar-widget {
  margin-bottom: 30px;
}

.sidebar-widget h4 {
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary-color);
}

/* ===== FAQ Section ===== */
.faq-item {
  margin-bottom: 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  overflow: hidden;
}

.faq-question {
  background: var(--white);
  padding: 15px 20px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-answer {
  background: var(--bg-light);
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease;
}

.faq-answer.open {
  padding: 15px 20px;
  max-height: 500px;
}

/* ===== Media Queries ===== */
@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: var(--header-height);
    left: -100%;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background-color: var(--white);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
  }

  .nav-links.active {
    left: 0;
  }

  .mobile-menu-btn {
    display: block;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .about-content {
    grid-template-columns: 1fr;
  }

  .contact-info-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

/* Map Container */
.map-container iframe {
  width: 100%;
  height: 400px;
  border: 0;
  border-radius: 8px;
}
