/* Global Styles */
:root {
  --primary: #1e3a8a;  /* Deep blue */
  --primary-light: #2563eb;
  --secondary: #f97316; /* Orange */
  --light: #f8fafc;
  --dark: #0f172a;
  --gray: #64748b;
  --gray-light: #e2e8f0;
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
  --body-font: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  --heading-font: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  font-family: var(--body-font);
  color: var(--dark);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--heading-font);
  font-weight: 700;
  line-height: 1.3;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--primary-light);
}

.section-title {
  font-size: 2.25rem;
  margin-bottom: 1rem;
  color: var(--primary);
  position: relative;
  padding-bottom: 15px;
}

.section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: var(--secondary);
}

.lead {
  font-size: 1.15rem;
  font-weight: 400;
}

.btn {
  padding: 0.6rem 1.5rem;
  border-radius: 30px;
  font-weight: 600;
  transition: all 0.3s ease;
}

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

.btn-primary:hover {
  background-color: var(--primary-light);
  border-color: var(--primary-light);
}

.btn-outline-primary {
  color: var(--primary);
  border-color: var(--primary);
}

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

.img-fluid {
  max-width: 100%;
  height: auto;
}

/* Navbar Styles */
.navbar {
  padding: 1rem 0;
  transition: all 0.3s ease;
  background-color: transparent;
}

.navbar.scrolled {
  background-color: var(--primary);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 0.5rem 0;
}

.navbar-brand {
  font-size: 1.5rem;
  font-weight: 700;
}

.brand-text {
  color: white;
}

.brand-accent {
  color: var(--secondary);
}

.navbar-dark .navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
  padding: 0.5rem 1rem;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
  color: white;
}

/* Hero Section */
.hero {
  position: relative;
  background: url('../images/hero-bg.jpg') no-repeat center center;
  background-size: cover;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  color: white;
  padding: 100px 0;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.7);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-btns {
  margin-top: 2rem;
}

.hero-info {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.hero-info .info-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.1rem;
}

.hero-info .info-item i {
  font-size: 1.25rem;
  color: var(--secondary);
}

/* AC Problems Banner */
.ac-problems {
  background-color: var(--secondary);
  color: white;
}

.ac-problems h2 {
  color: white;
  font-weight: 700;
}

.ac-problems .lead {
  font-weight: 500;
}

/* Services Section */
.services {
  background-color: white;
}

.service-card {
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  padding: 30px;
  height: 100%;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.service-card.highlight {
  border-top: 4px solid var(--secondary);
}

.popular-tag {
  position: absolute;
  top: -12px;
  right: 20px;
  background-color: var(--secondary);
  color: white;
  padding: 4px 12px;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 30px;
}

.icon-box {
  width: 70px;
  height: 70px;
  background-color: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.icon-box i {
  font-size: 1.75rem;
}

.service-card h3 {
  margin-bottom: 15px;
  color: var(--primary);
}

.service-card .btn {
  margin-top: 15px;
}

.service-list {
  padding-left: 20px;
  margin: 15px 0;
}

.service-list li {
  margin-bottom: 5px;
  position: relative;
}

.mini-service {
  text-align: center;
  background-color: white;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.mini-service:hover {
  transform: translateY(-5px);
}

.mini-service i {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 10px;
}

.mini-service h4 {
  font-size: 1.1rem;
  margin-bottom: 0;
}

/* Why Choose Us Section */
.why-us {
  background-color: var(--light);
}

.feature-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 25px;
}

.feature-item i {
  font-size: 1.5rem;
  color: var(--success);
  margin-right: 15px;
  margin-top: 5px;
}

.feature-item h4 {
  margin-bottom: 5px;
  color: var(--primary);
}

.feature-item p {
  margin-bottom: 0;
}

/* Process Section */
.process {
  background-color: white;
}

.process-step {
  text-align: center;
  padding: 30px 15px;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  height: 100%;
}

.process-number {
  width: 60px;
  height: 60px;
  background-color: var(--primary);
  color: white;
  border-radius: 50%;
  font-size: 1.5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.process-step h3 {
  margin-bottom: 15px;
  color: var(--primary);
}

/* Testimonials Section */
.testimonials {
  background-color: var(--light);
}

.testimonial-card {
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  padding: 30px;
  height: 100%;
}

.rating {
  color: var(--warning);
  font-size: 1.25rem;
  margin-bottom: 15px;
}

.quote {
  font-style: italic;
  position: relative;
  padding: 10px 0;
}

.quote::before {
  content: '\201C';
  font-size: 3rem;
  color: var(--gray-light);
  position: absolute;
  top: -20px;
  left: -10px;
  font-family: Georgia, serif;
}

.client {
  margin-top: 20px;
  border-top: 1px solid var(--gray-light);
  padding-top: 20px;
}

.client h4 {
  margin-bottom: 5px;
  color: var(--primary);
}

.client p {
  margin-bottom: 0;
  color: var(--gray);
}

/* Call to Action */
.cta {
  background-color: var(--primary);
  color: white;
}

.cta h2 {
  font-size: 2rem;
  margin-bottom: 5px;
}

/* Contact Section */
.contact {
  background-color: var(--light);
}

.contact-info {
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  padding: 30px;
}

.info-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 25px;
}

.info-item i {
  font-size: 1.5rem;
  color: var(--primary);
  margin-right: 15px;
  margin-top: 5px;
}

.info-item h4 {
  margin-bottom: 5px;
  color: var(--primary);
}

.info-item p {
  margin-bottom: 0;
}

.map-container {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contact-form {
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  padding: 30px;
  height: 100%;
}

/* Footer */
.footer {
  background-color: var(--dark);
  color: white;
}

.footer-heading {
  font-size: 1.25rem;
  margin-bottom: 20px;
  color: white;
}

.social-links {
  margin-top: 20px;
}

.social-links a {
  color: white;
  background-color: rgba(255, 255, 255, 0.1);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background-color: var(--secondary);
  transform: translateY(-3px);
}

.footer-links {
  list-style: none;
  padding-left: 0;
}

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

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: white;
  padding-left: 5px;
}

.hours-list {
  list-style: none;
  padding-left: 0;
}

.hours-list li {
  margin-bottom: 10px;
  display: flex;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.7);
}

.hours-list span {
  font-weight: 600;
  color: white;
}

.emergency {
  color: var(--secondary);
  font-weight: 600;
  margin-top: 15px;
}

hr {
  border-color: rgba(255, 255, 255, 0.1);
  margin: 30px 0;
}

.footer a {
  color: rgba(255, 255, 255, 0.7);
}

.footer a:hover {
  color: white;
}

/* Responsive Styles */
@media (max-width: 991px) {
  .hero {
    height: auto;
    padding: 120px 0 80px;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
}

@media (max-width: 767px) {
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero-btns .btn {
    margin-bottom: 10px;
  }
  
  .section-title {
    font-size: 1.75rem;
  }
  
  .process-step {
    margin-bottom: 20px;
  }
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.fadeIn {
  animation: fadeIn 1s ease-in-out;
}
