/* --- Root Variables & Reset --- */
:root {
  --primary: #0f172a;    
  --accent: #2563eb;     
  --text: #334155;
  --light: #f8fafc;
  --white: #ffffff;
  --transition: all 0.3s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--white);
  padding-top: 80px; 
}

.container { max-width: 1100px; margin: 0 auto; padding: 0 2rem; }

/* --- Navigation --- */
.navbar {
  position: fixed;
  top: 0; width: 100%;
  padding: 1.2rem 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid #e2e8f0;
}
.nav-flex { display: flex; justify-content: space-between; align-items: center; }
.logo { font-weight: 800; font-size: 1.5rem; color: var(--primary); text-decoration: none; }
.logo span { color: var(--accent); }
nav a { text-decoration: none; color: var(--text); margin-left: 1.5rem; font-weight: 500; font-size: 0.9rem; transition: var(--transition); }
nav a:hover { color: var(--accent); }
.nav-cta { background: var(--primary); color: white !important; padding: 0.6rem 1.2rem; border-radius: 5px; }

/* --- Hero Sections --- */
.hero { 
  padding: 10rem 0; 
  text-align: center; 
  background: linear-gradient(rgba(15, 23, 42, 0.7), rgba(15, 23, 42, 0.7)), 
              url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?q=80&w=2070&auto=format&fit=crop'); 
  background-size: cover;
  background-position: center;
  color: white;
}
.hero-small { 
  padding: 6rem 0; 
  background: linear-gradient(rgba(15, 23, 42, 0.8), rgba(15, 23, 42, 0.8)), 
              url('https://images.unsplash.com/photo-1497366216548-37526070297c?q=80&w=2069&auto=format&fit=crop');
  background-size: cover;
  background-position: center;
  text-align: center; 
  color: white;
}
.hero h1 { font-size: 3.5rem; line-height: 1.1; margin: 1.5rem 0; font-weight: 800; }
.hero-small h1 { font-size: 2.8rem; margin-bottom: 1rem; }
.text-gradient { background: linear-gradient(to right, #3b82f6, #8b5cf6); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.badge { background: var(--accent); color: white; padding: 0.5rem 1rem; border-radius: 50px; font-size: 0.8rem; font-weight: 600; text-transform: uppercase; }

/* --- Components --- */
.section { padding: 6rem 0; }
.section-title { text-align: center; font-size: 2.2rem; margin-bottom: 3rem; color: var(--primary); }
.btn { display: inline-block; padding: 1rem 2.5rem; border-radius: 6px; text-decoration: none; font-weight: 600; transition: var(--transition); cursor: pointer; border: none; }
.btn-primary { background: var(--accent); color: white; }
.btn-secondary { background: white; color: var(--primary); margin-left: 1rem; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.card { background: var(--white); padding: 2.5rem; border-radius: 12px; border: 1px solid #e2e8f0; transition: var(--transition); }
.card:hover { transform: translateY(-10px); box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1); }

/* --- Services & Products --- */
.service-row { display: flex; align-items: center; gap: 4rem; margin-bottom: 6rem; }
.service-row.reverse { flex-direction: row-reverse; }
.service-image { flex: 1; height: 400px; border-radius: 20px; overflow: hidden; }
.service-image img { width: 100%; height: 100%; object-fit: cover; }
.service-content { flex: 1; }

.product-card { border: 1px solid #e2e8f0; border-radius: 12px; overflow: hidden; transition: var(--transition); }
.product-card img { width: 100%; height: 250px; object-fit: cover; }
.product-info { padding: 1.5rem; }

/* --- Contact --- */
.contact-wrapper { display: grid; grid-template-columns: 1fr 2fr; gap: 4rem; }
.info-card { background: var(--light); padding: 2rem; border-radius: 12px; margin-bottom: 1.5rem; }
.premium-form { display: flex; flex-direction: column; gap: 1.2rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group input, .form-group select, .form-group textarea { padding: 0.8rem; border: 1px solid #cbd5e1; border-radius: 6px; font-family: inherit; }

/* --- Footer --- */
.footer { padding: 4rem 0; background: var(--primary); color: #94a3b8; text-align: center; }

@media (max-width: 768px) {
  .hero h1 { font-size: 2.5rem; }
  .service-row, .service-row.reverse, .contact-wrapper { flex-direction: column; }
  nav { display: none; }
}/* --- Fire Service Enhancements --- */

.hero-fire {
  padding: 12rem 0 8rem;
  background: #020617; /* Deepest black-blue */
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}

.hero-fire::after {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: radial-gradient(circle at 50% 50%, rgba(37, 99, 235, 0.15) 0%, transparent 70%);
}

.badge-fire {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 50px;
  background: rgba(255,255,255,0.05);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 2rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 3rem;
  margin-top: -100px; /* Overlap with hero */
}

.glass-card {
  background: white;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  position: relative;
}

.glass-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 40px 80px -15px rgba(37, 99, 235, 0.2);
}

.card-number {
  position: absolute;
  top: 20px; right: 20px;
  font-size: 3rem;
  font-weight: 900;
  color: rgba(0,0,0,0.05);
  z-index: 1;
}

.card-image-wrap {
  height: 250px;
  overflow: hidden;
}

.card-image-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.glass-card:hover .card-image-wrap img {
  transform: scale(1.1);
}

.card-body {
  padding: 2.5rem;
}

.card-body h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--primary);
}

.learn-more {
  display: inline-block;
  margin-top: 1.5rem;
  color: var(--accent);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  transition: margin-left 0.3s ease;
}

.glass-card:hover .learn-more {
  margin-left: 10px;
}

.cta-banner {
  background: var(--accent);
  color: white;
  padding: 6rem 0;
  text-align: center;
  margin-top: 4rem;
}

.cta-banner h2 { font-size: 2.5rem; margin-bottom: 2rem; }
/* --- About Page Specifics --- */

.hero-about {
  padding: 12rem 0 8rem;
  background: linear-gradient(rgba(15, 23, 42, 0.85), rgba(15, 23, 42, 0.85)), 
              url('../images/about-hero.jpg'); /* Ensure this image is in your images/ folder */
  background-size: cover;
  background-position: center;
  color: white;
  text-align: center;
  position: relative;
}

.badge-about {
  display: inline-block;
  padding: 0.6rem 1.6rem;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50px;
  background: rgba(255,255,255,0.08);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  margin-bottom: 2rem;
  text-transform: uppercase;
}

.glitch-text {
  font-size: 4rem;
  line-height: 1.1;
  margin: 1.5rem 0;
  font-weight: 900;
  color: white; /* Default color before gradient */
}

/* Story Grid */
.story-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 5rem;
  align-items: center;
}

.story-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--primary);
}

.story-content p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 1.2rem;
  color: #475569;
}

.story-image-01 img {
  width: 100%;
  height: 450px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

/* Milestones Section */
.bg-dark-passion {
  background: #020617; /* Deep blue-black */
  color: white;
}

.section-title-light {
  text-align: center;
  font-size: 2.8rem;
  margin-bottom: 4rem;
  color: white; /* Overrides default primary color */
  font-weight: 800;
}

.milestone-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.milestone-card {
  background: rgba(37, 99, 235, 0.1); /* Subtle blue background */
  padding: 2.5rem;
  border-radius: 15px;
  text-align: center;
  border: 1px solid rgba(37, 99, 235, 0.2);
  transition: var(--transition);
}

.milestone-card:hover {
  background: rgba(37, 99, 235, 0.2);
  transform: translateY(-8px);
}

.milestone-card h4 {
  font-size: 2.2rem;
  color: var(--accent);
  margin-bottom: 0.8rem;
  font-weight: 900;
}

.milestone-card p {
  font-size: 0.95rem;
  color: #a78bfa; /* Lighter purple for detail */
}

/* Team Section */
.leadership-header {
  text-align: center;
  margin-bottom: 4rem;
}

.leadership-header h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--primary);
}

.leadership-header p {
  font-size: 1.1rem;
  color: #64748b;
  max-width: 800px;
  margin: 0 auto;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}

.team-member-card {
  text-align: center;
  background: var(--white);
  padding: 2rem;
  border-radius: 15px;
  border: 1px solid #f1f5f9;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  transition: var(--transition);
}

.team-member-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 45px rgba(0,0,0,0.08);
}

.team-member-card img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--accent);
  margin-bottom: 1.5rem;
  box-shadow: 0 0 0 8px rgba(37, 99, 235, 0.1);
}

.team-member-card h3 {
  font-size: 1.4rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.team-member-card p {
  font-size: 0.95rem;
  color: #64748b;
}

/* --- Responsive Adjustments --- */
@media (max-width: 992px) {
  .story-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .story-image-01 { order: -1; } /* Image above text on smaller screens */
  .milestone-grid, .team-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
}
@media (max-width: 768px) {
  .hero-about h1, .section-title-light, .leadership-header h2 { font-size: 2.2rem; }
  .story-content h2 { font-size: 2rem; }
  .milestone-grid, .team-grid { grid-template-columns: 1fr; }
}
/* --- Contact Page Layout --- */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  align-items: start;
}

.info-card {
  background: var(--light);
  padding: 2.5rem;
  border-radius: 12px;
  margin-bottom: 2rem;
  border: 1px solid #e2e8f0;
}

.info-card h4 {
  margin-bottom: 1rem;
  color: var(--primary);
  font-weight: 800;
}

.premium-form {
  display: grid;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
}

.form-group input, 
.form-group select, 
.form-group textarea {
  padding: 1rem;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
}

.form-group input:focus, 
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

@media (max-width: 768px) {
  .contact-wrapper {
    grid-template-columns: 1fr;
  }
}