/* ========================================================
   CSS Variables & Global Reset
======================================================== */
:root {
  --primary-color: #ff9800; /* Electric Orange/Yellow */
  --primary-hover: #e68900;
  --secondary-color: #0b2031; /* Deep Navy Blue */
  --text-dark: #333333;
  --text-muted: #666666;
  --bg-light: #f8f9fa;
  --white: #ffffff;
  --transition: all 0.3s ease;
  --shadow-sm: 0 2px 10px rgba(0,0,0,0.05);
  --shadow-md: 0 10px 20px rgba(0,0,0,0.1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--bg-light);
  font-family: 'Inter', system-ui, -apple-system, sans-serif; 
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ========================================================
   Buttons
======================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  border: 2px solid transparent;
  background-color: var(--primary-color);
  color: var(--secondary-color);
  transition: var(--transition);
  gap: 8px;
}

.btn:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: transparent;
  border-color: var(--white);
  color: var(--white);
}

.btn-secondary:hover {
  background-color: var(--white);
  color: var(--secondary-color);
}

.btn-accent {
  background-color: var(--secondary-color);
  color: var(--white);
}

.btn-accent:hover {
  background-color: #153856;
  color: var(--white);
}

.btn-emergency {
  background-color: #d32f2f;
  color: var(--white);
}

.btn-emergency:hover {
  background-color: #b71c1c;
}

.btn-large {
  padding: 16px 36px;
  font-size: 1.1rem;
}

/* ========================================================
   Header & Navigation
======================================================== */
.navbar {
  background-color: var(--white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--secondary-color);
  display: flex;
  flex-direction: column;
}

.logo a {
  color: var(--secondary-color);
}

.logo span {
  color: var(--primary-color);
}

#authorised p {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 25px;
}

.nav-links a {
  font-weight: 500;
  color: var(--text-dark);
  position: relative;
  padding: 5px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--primary-color);
  transition: var(--transition);
}

.nav-links a:hover::after, 
.nav-links a.active::after {
  width: 100%;
}

.nav-links a.active {
  color: var(--primary-color);
}

.call-btn {
  background-color: var(--secondary-color);
  color: var(--white) !important;
  padding: 8px 16px !important;
  border-radius: 4px;
  font-weight: 600;
}

.call-btn:hover {
  background-color: var(--primary-color);
  color: var(--secondary-color) !important;
}

.call-btn i {
  color: var(--primary-color);
}

.call-btn:hover i {
  color: var(--secondary-color);
}

.mobile-menu {
  display: none;
  font-size: 1.5rem;
  color: var(--secondary-color);
  cursor: pointer;
}

/* ========================================================
   Hero Section
======================================================== */
.page-hero {
  background: linear-gradient(rgba(11, 32, 49, 0.85), rgba(11, 32, 49, 0.85)), 
              url('https://images.unsplash.com/photo-1621905252507-b35492cc74b4?auto=format&fit=crop&w=1920&q=80');
  background-size: cover;
  background-position: center;
  padding: 100px 0;
  color: var(--white);
  text-align: center;
}

.page-hero h1 {
  font-size: 3rem;
  margin-bottom: 15px;
}

.page-hero p {
  font-size: 1.2rem;
  color: #e0e0e0;
}

/* ========================================================
   Services Section Page Content
======================================================== */
.services-page {
  padding: 80px 0;
}

.service-category {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 80px;
}

.service-info h2 {
  font-size: 2rem;
  color: var(--secondary-color);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.service-info h2 i {
  color: var(--primary-color);
}

.service-info p {
  color: var(--text-muted);
  margin-bottom: 20px;
}

.service-info ul {
  margin-bottom: 30px;
}

.service-info li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.service-info li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
}

.service-image img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow-md);
}

/* ========================================================
   Features Section
======================================================== */
.features {
  background-color: var(--white);
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 2.5rem;
  color: var(--secondary-color);
  margin-bottom: 10px;
}

.section-title p {
  color: var(--text-muted);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.feature-card {
  padding: 30px 20px;
  text-align: center;
  border-radius: 8px;
  background-color: var(--bg-light);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background-color: rgba(255, 152, 0, 0.15);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 1.5rem;
  margin: 0 auto 20px auto;
}

.feature-card h3 {
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ========================================================
   Call to Action (CTA)
======================================================== */
.cta-section {
  background: linear-gradient(135deg, var(--secondary-color) 0%, #153856 100%);
  padding: 80px 0;
  color: var(--white);
  text-align: center;
}

.cta-section h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.cta-section p {
  color: #ccc;
  margin-bottom: 30px;
  font-size: 1.1rem;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

/* ========================================================
   Footer
======================================================== */
.footer {
  background-color: #05101a;
  color: #a0aab2;
  padding-top: 70px;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
}

.footer-section h3 {
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 10px;
}

.footer-section h3::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 2px;
  background-color: var(--primary-color);
}

.footer-section ul li {
  margin-bottom: 12px;
}

.footer-section a:hover {
  color: var(--primary-color);
}

.footer-section i {
  color: var(--primary-color);
  margin-right: 10px;
}

.copyright {
  background-color: #030a10;
  padding: 20px 0;
  text-align: center;
  font-size: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* ========================================================
   Responsive Media Queries
======================================================== */
@media (max-width: 992px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-category {
    gap: 25px;
  }
}

@media (max-width: 768px) {
  .mobile-menu {
    display: block;
  }

  .nav-links {
    display: none; /* Controlled via JS toggle */
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--white);
    flex-direction: column;
    padding: 20px;
    box-shadow: var(--shadow-md);
  }

  .nav-links.active {
    display: flex;
  }

  .page-hero h1 {
    font-size: 2.2rem;
  }

  .service-category {
    grid-template-columns: 1fr;
  }

  .service-category:nth-child(even) .service-image {
    order: 2;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }
}
