/* ============================================
   COOLBREEZE AIRCON — Emergency Service Design
   ============================================ */
@import url('https://fonts.googleapis.com/css2?family=Prompt:wght@300;400;500;600;700&display=swap');

:root {
  --primary: #0056b3;       /* Ice Blue */
  --primary-dark: #004494;
  --secondary: #ff6b00;     /* Action Orange */
  --secondary-hover: #e05e00;
  --bg-white: #ffffff;
  --bg-light: #f4f6f9;      /* Light Grey */
  --text-dark: #1a202c;
  --text-body: #4a5568;
  
  --line-green: #06C755;
  --glow-line: rgba(6, 199, 85, 0.4);
  --glow-orange: rgba(255, 107, 0, 0.4);

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 3rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  
  --shadow-sm: 0 4px 10px rgba(0,0,0,0.05);
  --shadow-md: 0 8px 20px rgba(0,86,179,0.08); /* slight blue shadow */
  
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-full: 50px;
}

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

html { scroll-behavior: smooth; font-size: 16px; font-family: 'Prompt', sans-serif; }

body {
  color: var(--text-body);
  background: var(--bg-white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: all 0.3s ease; }
ul { list-style: none; }

h1, h2, h3, h4 { color: var(--text-dark); font-weight: 700; line-height: 1.25; }

.container { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 var(--space-sm); }
.section { padding: var(--space-xl) 0; }
.text-center { text-align: center; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: none;
  font-size: 1.05rem;
  transition: all 0.3s ease;
}

.btn-orange { background: var(--secondary); color: var(--bg-white); }
.btn-orange:hover { background: var(--secondary-hover); transform: translateY(-2px); box-shadow: 0 5px 15px rgba(255,107,0,0.3); }

.btn-blue { background: var(--primary); color: var(--bg-white); }
.btn-blue:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 5px 15px rgba(0,86,179,0.3); }

.btn-pulse { animation: emergency-pulse 2s infinite; }

@keyframes emergency-pulse {
  0% { box-shadow: 0 0 0 0 var(--glow-orange); }
  70% { box-shadow: 0 0 0 15px rgba(255,107,0,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,107,0,0); }
}

.title-accent {
  display: inline-block;
  background: rgba(0, 86, 179, 0.1);
  color: var(--primary);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
.header { position: sticky; top: 0; z-index: 1000; background: var(--bg-white); box-shadow: var(--shadow-sm); }

.top-bar { background: var(--primary); color: var(--bg-white); padding: 8px 0; font-size: 0.95rem; font-weight: 500; }
.top-bar .container { display: flex; justify-content: space-between; align-items: center; }
.top-contact { display: flex; gap: 24px; align-items: center; }
.top-contact a { display: flex; align-items: center; gap: 6px; }
.top-contact a:hover { color: var(--secondary); }
.top-contact svg { width: 16px; height: 16px; fill: currentColor; }

.badge-emergency { background: var(--secondary); color: var(--bg-white); padding: 4px 12px; border-radius: 4px; font-weight: 700; font-size: 0.85rem; display: flex; align-items: center; gap: 5px; animation: flash 1.5s infinite alternate; }
@keyframes flash { from { opacity: 0.8; } to { opacity: 1; } }

.main-nav { padding: 12px 0; }
.main-nav .container { display: flex; justify-content: space-between; align-items: center; }

.brand-logo { color: var(--primary); font-size: 1.6rem; font-weight: 800; display: flex; align-items: center; gap: 8px; }
.brand-logo svg { width: 32px; height: 32px; fill: var(--primary); }

.nav-links { display: flex; gap: 30px; align-items: center; }
.nav-links a { font-weight: 600; color: var(--text-dark); }
.nav-links a:hover { color: var(--primary); }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.hamburger span { width: 25px; height: 3px; background: var(--primary); border-radius: 2px; }

/* ============================================
   HERO BANNER
   ============================================ */
.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  background-color: var(--primary-dark);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('images/hero.jpg');
  background-size: cover;
  background-position: center;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,40,90,0.9) 0%, rgba(0,40,90,0.7) 60%, rgba(0,40,90,0.2) 100%);
  z-index: 2;
}

.hero .container { position: relative; z-index: 3; }

.hero-content {
  max-width: 650px;
  background: rgba(0, 30, 70, 0.7);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  padding: 40px;
  border-left: 6px solid var(--secondary);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.hero-title { font-size: clamp(2rem, 4vw, 3.2rem); color: var(--bg-white); margin-bottom: 15px; line-height: 1.2; text-shadow: 2px 2px 4px rgba(0,0,0,0.5); }
.hero-subtitle { font-size: 1.15rem; color: #e2e8f0; margin-bottom: 30px; line-height: 1.6; }

.hero-buttons { display: flex; gap: 15px; flex-wrap: wrap; }
.btn-outline-white { background: transparent; color: var(--bg-white); border: 2px solid var(--bg-white); }
.btn-outline-white:hover { background: rgba(255,255,255,0.1); transform: translateY(-2px); }

/* ============================================
   CORE SERVICES
   ============================================ */
.services-section { background: var(--bg-light); border-bottom: 1px solid #e2e8f0; }

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  margin-top: 40px;
}

.service-card {
  background: var(--bg-white);
  padding: 30px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  text-align: center;
  border: 1px solid #e2e8f0;
  transition: all 0.3s ease;
  cursor: pointer;
}

.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--primary); background: #f8fbff; }

.service-icon {
  width: 70px; height: 70px;
  background: rgba(0, 86, 179, 0.1);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  color: var(--primary);
  transition: all 0.3s ease;
}
.service-icon svg { width: 32px; height: 32px; fill: currentColor; }
.service-card:hover .service-icon { background: var(--primary); color: var(--bg-white); }

.service-card h3 { font-size: 1.3rem; margin-bottom: 8px; }
.service-card p { font-size: 0.95rem; color: var(--secondary); font-weight: 600; margin-bottom: 0; }

/* ============================================
   WHY CHOOSE US
   ============================================ */
.why-us { background: var(--bg-white); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 40px;
}

.why-item { display: flex; gap: 15px; align-items: flex-start; }
.why-check { flex-shrink: 0; width: 36px; height: 36px; background: var(--secondary); color: var(--bg-white); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-top: 3px; }
.why-check svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 3; }

.why-text h3 { font-size: 1.35rem; margin-bottom: 10px; }
.why-text p { font-size: 1rem; color: var(--text-body); }

/* ============================================
   PRICING TABLE
   ============================================ */
.pricing { background: var(--bg-light); }

.pricing-table {
  max-width: 800px;
  margin: 40px auto 0;
  background: var(--bg-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.pricing-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 30px;
  border-bottom: 1px solid #e2e8f0;
}

.pricing-row:last-child { border-bottom: none; }
.pricing-row:nth-child(even) { background: #f8fbff; }
.pricing-row:hover { background: #f0f7ff; }

.pricing-name { font-size: 1.15rem; font-weight: 600; color: var(--text-dark); }
.pricing-value { font-size: 1.35rem; font-weight: 700; color: var(--primary); }

.pricing-cta { padding: 30px; text-align: center; background: rgba(0,86,179,0.03); border-top: 1px dashed #cbd5e0; }

/* ============================================
   REVIEWS
   ============================================ */
.reviews { background: var(--bg-white); }

.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 40px; }

.review-card {
  background: var(--bg-light);
  padding: 30px;
  border-radius: var(--radius-sm);
  position: relative;
  border-top: 4px solid var(--primary);
}

.review-stars { color: #facc15; margin-bottom: 15px; display: flex; gap: 4px; }
.review-stars svg { width: 22px; height: 22px; fill: currentColor; }

.review-text { font-size: 1.05rem; font-weight: 500; margin-bottom: 20px; font-style: italic; }
.review-author { font-weight: 700; color: var(--text-dark); display: flex; align-items: center; gap: 10px; }
.author-verified { background: #10b981; color: white; font-size: 0.65rem; padding: 2px 6px; border-radius: 4px; text-transform: uppercase; }

/* ============================================
   LOCATION & CONTACT (FOOTER)
   ============================================ */
.footer { background: var(--primary-dark); color: #cbd5e0; padding: var(--space-xl) 0 0; }

.footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; margin-bottom: 40px; }

.footer-col h3 { color: var(--bg-white); font-size: 1.5rem; margin-bottom: 25px; display: flex; align-items: center; gap: 10px; }
.footer-col h3 svg { width: 24px; height: 24px; fill: var(--secondary); }

.service-areas { display: flex; flex-wrap: wrap; gap: 10px; }
.area-tag { background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); padding: 8px 15px; border-radius: 4px; font-weight: 600; color: var(--bg-white); }

.contact-list { display: flex; flex-direction: column; gap: 20px; }
.contact-item { display: flex; align-items: center; gap: 15px; font-size: 1.15rem; font-weight: 700; color: var(--bg-white); }
.contact-icon { width: 45px; height: 45px; background: rgba(255,255,255,0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--secondary); }
.contact-icon svg { width: 22px; height: 22px; fill: currentColor; }

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

/* ============================================
   MANDATORY MASSIVE LINE FLOATING CTA
   ============================================ */
.float-line-huge {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: var(--line-green);
  color: var(--bg-white);
  font-size: 1.25rem;
  font-weight: 700;
  padding: 16px 36px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 0 30px var(--glow-line), 0 10px 20px rgba(0,0,0,0.2);
  border: 4px solid var(--bg-white);
  z-index: 9999;
  animation: mega-pulse-urgent 1.5s infinite;
}

.float-line-huge svg { width: 32px; height: 32px; fill: currentColor; }

@keyframes mega-pulse-urgent {
  0%, 100% { transform: scale(1); box-shadow: 0 0 20px rgba(6, 199, 85, 0.4), 0 5px 15px rgba(0,0,0,0.2); }
  50% { transform: scale(1.03); box-shadow: 0 0 50px rgba(6, 199, 85, 0.8), 0 15px 30px rgba(0,0,0,0.3); border-color: #E8FDEE; }
}

/* ============================================
   RESPONSIVE DESIGN (Highly focused on Mobile)
   ============================================ */
@media (max-width: 1024px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; }
  .why-item { background: var(--bg-light); padding: 20px; border-radius: var(--radius-sm); }
  .review-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-content { background: rgba(0, 30, 70, 0.85); padding: 30px; border-left: none; border-bottom: 6px solid var(--secondary); border-radius: var(--radius-sm); }
}

@media (max-width: 768px) {
  .top-bar { display: none; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .main-nav .btn-orange { display: none; }
  
  .hero-title { font-size: 2.2rem; }
  .hero-buttons { flex-direction: column; width: 100%; }
  .hero-buttons .btn { width: 100%; justify-content: center; }
  
  .service-grid { grid-template-columns: 1fr; gap: 15px; }
  
  .pricing-row { flex-direction: column; align-items: flex-start; gap: 10px; }
  
  .float-line-huge { font-size: 1rem; padding: 12px 20px; bottom: 15px; right: 15px; border-width: 2px; }
  .float-line-huge svg { width: 26px; height: 26px; }
}
