:root {
  --primary: #1a2b4a;
  --secondary: #2c3e50;
  --accent: #e67e22;
  --accent-light: #f39c12;
  --light: #f8f9fa;
  --dark: #0e1a2b;
  --text: #2d3436;
  --muted: #6c757d;
  --white: #ffffff;
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --radius: 12px;
  --transition: all 0.3s ease;
}

body {
  font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background-color: var(--white);
  line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.02em;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: var(--transition);
}

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

.btn {
  border-radius: 50px;
  padding: 0.75rem 2rem;
  font-weight: 600;
  transition: var(--transition);
}

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

.btn-primary:hover {
  background: var(--dark);
  border-color: var(--dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 15px rgba(0,0,0,0.2);
}

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

.btn-accent:hover {
  background: var(--accent-light);
  border-color: var(--accent-light);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 15px rgba(230,126,34,0.3);
}

.btn-outline-light {
  border: 2px solid var(--white);
  color: var(--white);
}

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

.section-padding {
  padding: 100px 0;
}

.bg-light-section {
  background-color: var(--light);
}

.hero-bg {
  position: relative;
  background-size: cover;
  background-position: center;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-bg .overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.6);
  z-index: 1;
}

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

.hero-bg h1 {
  color: var(--white);
  font-size: 3.5rem;
  font-weight: 800;
  text-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.hero-bg p {
  color: rgba(255,255,255,0.9);
  font-size: 1.25rem;
  max-width: 700px;
  margin: 1.5rem auto;
}

.card {
  border: none;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.card-img-top {
  height: 250px;
  object-fit: cover;
}

.card-body {
  padding: 2rem;
}

.card-title {
  color: var(--primary);
  font-weight: 700;
}

.card-text {
  color: var(--muted);
}

.icon-circle {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  margin-bottom: 1.5rem;
}

.feature-box {
  text-align: center;
  padding: 2rem;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
  height: 100%;
}

.feature-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.form-control {
  border-radius: 10px;
  padding: 0.75rem 1rem;
  border: 2px solid #e9ecef;
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 0.2rem rgba(230,126,34,0.25);
}

.notification {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: var(--primary);
  color: var(--white);
  padding: 1rem 1.5rem;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  z-index: 9999;
  opacity: 0;
  transform: translateY(100px);
  transition: all 0.4s ease;
}

.notification.show {
  opacity: 1;
  transform: translateY(0);
}

.notification.error {
  background: #e74c3c;
}

.notification.success {
  background: #27ae60;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--dark);
  color: var(--white);
  padding: 1rem 2rem;
  z-index: 9998;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 -4px 10px rgba(0,0,0,0.1);
}

.cookie-banner .btn {
  margin-left: 1rem;
}

.carousel-item img {
  object-fit: cover;
  height: 500px;
}

.carousel-caption {
  background: rgba(0,0,0,0.5);
  padding: 2rem;
  border-radius: 10px;
}

.testimonial {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin: 1rem;
}

.testimonial .quote {
  font-size: 1.1rem;
  font-style: italic;
}

.testimonial .author {
  color: var(--accent);
  font-weight: 600;
  margin-top: 1rem;
}

.pricing-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2.5rem;
  text-align: center;
  border-top: 5px solid var(--primary);
  transition: var(--transition);
}

.pricing-card.featured {
  border-top-color: var(--accent);
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.pricing-card:hover {
  transform: scale(1.02);
}

.price {
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary);
}

.contact-info li {
  padding: 0.5rem 0;
  font-size: 1.1rem;
}

.contact-info i {
  color: var(--accent);
  width: 30px;
}

.map-container {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.map-container iframe {
  width: 100%;
  height: 400px;
  border: 0;
}

footer {
  background: var(--dark);
  color: rgba(255,255,255,0.8);
  padding: 3rem 0;
}

footer h5 {
  color: var(--white);
  margin-bottom: 1.5rem;
}

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

footer a:hover {
  color: var(--accent);
}

footer .social-icons a {
  font-size: 1.5rem;
  display: inline-block;
  margin-right: 1rem;
  color: rgba(255,255,255,0.8);
  transition: var(--transition);
}

footer .social-icons a:hover {
  color: var(--accent);
  transform: translateY(-3px);
}

.header-top {
  background: var(--primary);
  color: var(--white);
  padding: 0.5rem 0;
}

.header-top a {
  color: var(--white);
  margin-right: 1.5rem;
}

.header-top i {
  margin-right: 0.3rem;
}

@media (max-width: 768px) {
  .hero-bg h1 {
    font-size: 2.5rem;
  }
  .section-padding {
    padding: 60px 0;
  }
  .cookie-banner {
    flex-direction: column;
    text-align: center;
  }
  .cookie-banner .btn {
    margin: 0.5rem 0;
  }
}
/* ===== About page contrast & visibility overrides ===== */
/* Solid dark fallback behind image hero/mission sections */
.hero,
section[data-photo-slug="about-mission"] {
  background-color: #0f172a;
}
/* Project gallery captions: ensure solid dark backdrop so white text is readable */
.gallery-item .position-absolute {
  background: #000000 !important;
}
/* Ensure heading text in dark sections is white (global h2 color override) */
section[style*="#0a192f"] h2,
section[style*="#0a192f"] h4,
section[style*="#0a192f"] .card h4 {
  color: #ffffff !important;
}
/* Ensure mission/vision card heading is white */
section[data-photo-slug="about-mission"] h3 {
  color: #ffffff !important;
}

/* ===== Home page contrast & visibility overrides ===== */
/* Ensure headings inside dark sections are white (h5 defaults to dark --primary) */
section[style*="#0a192f"] h5 {
  color: #ffffff !important;
}
/* Give translucent stat/blog cards a solid dark background so white/amber text is readable */
div[style*="backdrop-filter:blur(10px)"] {
  background: #0f2547 !important;
}
/* Solid dark fallback behind any background-image hero/supply section */
#heroSlider .carousel-item {
  background-color: #0f172a;
}
section[style*="background-image"] {
  background-color: #0a192f;
}
