/* =========================================
   1. Variables & Global Styles
   ========================================= */
:root {
  --primary-color: #0b1c39; /* Deep Royal Blue */
  --secondary-color: #ffc107; /* Vibrant Gold/Yellow */
  --accent-color: #ff3366; /* Punchy accent */
  --text-dark: #1a1a1a;
  --text-light: #666666;
  --white: #ffffff;
  --off-white: #f8f9fa;
  --dark-bg: #111111;
  --border-radius: 8px;
  --transition: all 0.3s ease;
  --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  --font-heading: "Outfit", sans-serif;
  --font-body: "Outfit", sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  line-height: 1.6;
  color: var(--text-light);
  background-color: var(--white);
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--text-dark);
  font-weight: 700;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 80px 0;
}

.bg-light {
  background-color: var(--off-white);
}

.text-center {
  text-align: center;
}

.text-highlight {
  color: var(--secondary-color);
}

/* =========================================
   2. Components (Buttons, Titles)
   ========================================= */
.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-primary {
  background-color: var(--secondary-color);
  color: var(--primary-color);
}

.btn-primary:hover {
  background-color: #e0a800;
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: var(--primary-color);
  color: var(--white);
}

.btn-secondary:hover {
  background-color: #1a2a4a;
  transform: translateY(-2px);
}

.btn-outline {
  border-color: var(--white);
  color: var(--white);
  background: transparent;
}

.btn-outline:hover {
  background-color: var(--white);
  color: var(--primary-color);
}

.section-header {
  margin-bottom: 50px;
}

.section-subtitle {
  color: var(--secondary-color);
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 2px;
  margin-bottom: 10px;
  display: block;
}

.section-title {
  font-size: 36px;
  margin-bottom: 15px;
}

/* =========================================
   3. Header & Navigation
   ========================================= */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: var(--transition);
  background: transparent;
}

.header.sticky {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 15px 0;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 24px;
  font-weight: 800;
  color: var(--white);
}

.header.sticky .logo {
  color: var(--primary-color);
}

.logo span {
  color: var(--secondary-color);
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links a {
  color: var(--white);
  font-weight: 500;
  font-size: 16px;
  position: relative;
}

.header.sticky .nav-links a {
  color: var(--primary-color);
}

.nav-links a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: var(--secondary-color);
  transition: var(--transition);
}

.nav-links a:hover::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.hamburger {
  display: none;
  cursor: pointer;
}

.hamburger .bar {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  transition: all 0.3s ease-in-out;
  background-color: var(--white);
}

.header.sticky .hamburger .bar {
  background-color: var(--primary-color);
}

/* =========================================
   4. Hero Section
   ========================================= */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url("../images/hero-bg.png")
    no-repeat center center/cover;
  text-align: center;
  color: var(--white);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(11, 28, 57, 0.7); /* Deep blue overlay */
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 60px;
}

.hero-title {
  font-size: 64px;
  margin-bottom: 20px;
  line-height: 1.1;
  color: var(--white);
}

.hero-subtitle {
  font-size: 20px;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  color: rgba(255, 255, 255, 0.9);
}

.hero-btns {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.scroll-down {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.mouse {
  width: 30px;
  height: 50px;
  border: 2px solid var(--white);
  border-radius: 15px;
  position: relative;
}

.wheel {
  width: 4px;
  height: 8px;
  background: var(--white);
  border-radius: 2px;
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  animation: scroll 1.5s infinite;
}

@keyframes scroll {
  0% {
    top: 10px;
    opacity: 1;
  }
  100% {
    top: 30px;
    opacity: 0;
  }
}

/* =========================================
   5. Stats Section
   ========================================= */
.stats-section {
  background-color: var(--secondary-color);
  padding: 60px 0;
  margin-top: -60px; /* Slight overlap */
  position: relative;
  z-index: 10;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
  gap: 20px;
}

.stat-item h2 {
  font-size: 48px;
  color: var(--primary-color);
  margin-bottom: 5px;
}

.stat-item p {
  color: var(--primary-color);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 14px;
}

/* =========================================
   6. About Section
   ========================================= */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.image-placeholder {
  width: 100%;
  height: 400px;
  background-color: #eee;
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 60px;
  color: #ccc;
  background: url("../images/ac-repair.png")
    center center/cover;
  box-shadow: var(--shadow);
}

.feature-list {
  margin: 30px 0;
}

.feature-list li {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.feature-list li i {
  color: var(--secondary-color);
}

/* =========================================
   6a. Why Us Section
   ========================================= */
.why-us-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}

.why-us-item {
  border: 1px dotted #ccc;
  padding: 20px 15px;
  text-align: center;
  transition: var(--transition);
  background: var(--white);
  height: 100%;
}

.why-us-item:hover {
  background-color: var(--off-white);
  border-style: solid;
  border-color: var(--secondary-color);
}

.why-us-icon {
  font-size: 40px;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.why-us-item h3 {
  font-size: 16px;
  margin-bottom: 8px;
  color: var(--primary-color);
}

.why-us-item p {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 0;
}

/* Responsiveness for Why Us Section */
@media (max-width: 1024px) {
  .why-us-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .why-us-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================
   7. Services Section
   ========================================= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.service-card {
  background: var(--white);
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.icon-box {
  width: 60px;
  height: 60px;
  background-color: rgba(255, 193, 7, 0.1);
  color: var(--secondary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
  transition: var(--transition);
}

.service-card:hover .icon-box {
  background-color: var(--secondary-color);
  color: var(--white);
}

.service-card h3 {
  margin-bottom: 15px;
  font-size: 20px;
}

.service-card p {
  color: var(--text-light);
  margin-bottom: 20px;
  font-size: 14px;
}

.read-more {
  color: var(--primary-color);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 14px;
}

.read-more:hover {
  gap: 10px;
}

/* =========================================
   8. CTA Section
   ========================================= */
.cta-section {
  padding: 100px 0;
  background: url("https://images.unsplash.com/photo-1621905251189-08b95d632b9b?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80")
    center center/cover fixed;
  position: relative;
  color: var(--white);
}

.cta-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(11, 28, 57, 0.85);
}

.cta-content {
  position: relative;
  z-index: 2;
}

.cta-content h2 {
  font-size: 42px;
  color: var(--white);
  margin-bottom: 20px;
}

.cta-content p {
  font-size: 18px;
  margin-bottom: 40px;
  color: rgba(255, 255, 255, 0.9);
}

/* =========================================
   9. Testimonials Section
   ========================================= */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.testimonial-card {
  background: var(--white);
  padding: 40px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  border-bottom: 4px solid var(--secondary-color);
}

.quote-icon {
  font-size: 30px;
  color: #eee;
  margin-bottom: 20px;
}

.testimonial-card p {
  font-style: italic;
  margin-bottom: 20px;
}

.client-info h5 {
  color: var(--primary-color);
  margin-bottom: 5px;
}

.client-info span {
  font-size: 12px;
  color: #999;
}

/* =========================================
   10. Footer
   ========================================= */
.footer {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 80px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-col h3 {
  color: var(--white);
  margin-bottom: 20px;
  font-size: 24px;
}

.footer-col h3 span {
  color: var(--secondary-color);
}

.footer-col h4 {
  color: var(--white);
  margin-bottom: 20px;
  font-size: 18px;
  position: relative;
  display: inline-block;
}

.footer-col h4::after {
  content: "";
  position: absolute;
  width: 40px;
  height: 2px;
  bottom: -8px;
  left: 0;
  background-color: var(--secondary-color);
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col ul li a {
  color: #ccc;
}

.footer-col ul li a:hover {
  color: var(--secondary-color);
  padding-left: 5px;
}

.contact-list li {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
  color: #ccc;
}

.contact-list li i {
  color: var(--secondary-color);
  margin-top: 5px;
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-links a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--secondary-color);
  color: var(--primary-color);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  font-size: 14px;
  color: #888;
}

.footer-bottom a {
  color: var(--secondary-color);
}

/* =========================================
   11. Mobile Styles
   ========================================= */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 300px;
  height: 100vh;
  background-color: var(--white);
  z-index: 1001;
  padding: 60px 20px;
  box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
  transition: 0.4s ease-in-out;
}

.mobile-menu.active {
  right: 0;
}

.close-menu {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 30px;
  cursor: pointer;
  color: var(--primary-color);
}

.mobile-nav-links li {
  margin-bottom: 20px;
  border-bottom: 1px solid #eee;
  padding-bottom: 10px;
}

.mobile-nav-links a {
  font-size: 18px;
  color: var(--text-dark);
  font-weight: 500;
}

@media (max-width: 992px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-title {
    font-size: 48px;
  }
}

@media (max-width: 768px) {
  .navbar {
    display: none;
  }

  .hamburger {
    display: block;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .image-placeholder {
    height: 300px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-title {
    font-size: 36px;
  }

  .cta-content h2 {
    font-size: 32px;
  }

  .stats-section {
    margin-top: 0;
  }
}

/* =========================================
   12. Utilities (Animations)
   ========================================= */
.fade-in {
  opacity: 0;
  transition: opacity 0.8s ease-out;
}

.fade-in.visible {
  opacity: 1;
}

.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.8s ease-out,
    transform 0.8s ease-out;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 1s ease;
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(50px);
  transition: all 1s ease;
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.delay-1 {
  transition-delay: 0.1s;
}
.delay-2 {
  transition-delay: 0.2s;
}
.delay-3 {
  transition-delay: 0.3s;
}

/* =========================================
   13. Gallery Section
   ========================================= */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
    height: 250px;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(11, 28, 57, 0.7); /* Primary color with opacity */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-info {
    text-align: center;
    color: var(--white);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-info {
    transform: translateY(0);
}

.gallery-info h4 {
    color: var(--secondary-color);
    font-size: 20px;
    margin-bottom: 5px;
}

.gallery-info p {
    font-size: 14px;
    opacity: 0.9;
}

/* Floating Action Buttons */
.floating-actions {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 1000;
  align-items: flex-end;
}

.action-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-family: 'Outfit', sans-serif;
  box-shadow: 2px 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  font-size: 16px;
}

.action-btn i {
  font-size: 20px;
}

.action-btn:hover {
  transform: translateY(-3px);
  box-shadow: 2px 6px 15px rgba(0, 0, 0, 0.3);
}

/* WhatsApp Button */
.whatsapp-btn {
  background-color: #25d366;
  color: white;
}

.whatsapp-btn:hover {
  background-color: #20ba5a;
  color: white;
}

/* Call Button */
.call-btn {
  background-color: #ffc107; /* Yellow */
  color: #333; /* Dark Text */
}

.call-btn:hover {
  background-color: #ffca2c;
  color: #333;
}



/* Chat Notification Bubble */
.chat-notification {
  background: white;
  padding: 10px 15px;
  border-radius: 10px 10px 0 10px;
  box-shadow: 2px 5px 15px rgba(0,0,0,0.2);
  margin-bottom: 5px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  color: #333;
  position: relative;
  /* Animation to pop in */
  animation: popIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) 1s backwards;
}

.chat-notification button {
  background: none;
  border: none;
  font-size: 16px;
  cursor: pointer;
  color: #999;
}

@keyframes popIn {
  from { opacity: 0; transform: scale(0.5) translateY(20px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

