/* =========================
   Global Variables
========================= */
:root {
  --solar-blue: #002d5b;
  --solar-gold: #ffb400;
  --light-grey: #f8f9fa;
  --text-main: #333;
  --text-muted: #6c757d;
  --shadow-soft: 0 6px 18px rgba(0, 0, 0, 0.08);
}

/* =========================
   Base Styles
========================= */
body {
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  color: var(--text-main);
  line-height: 1.6;
  background-color: #ffffff;
}

/* =========================
   Navbar
========================= */
.navbar-brand {
  font-weight: 600;
  letter-spacing: 0.3px;
}

.nav-link {
  font-weight: 500;
}

.nav-link.active {
  color: var(--solar-gold) !important;
}

/* =========================
   Hero Section (Home)
========================= */
.hero-section {
  height: 70vh;
  background:
    linear-gradient(rgba(0, 45, 91, 0.65), rgba(0, 45, 91, 0.65)),
    url("images/renewable\ solar\ energy.jpeg") center / cover no-repeat;
  display: flex;
  align-items: center;
}

.hero-section h1 {
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 700;
}

.hero-section p.lead {
  font-size: 1.2rem;
  opacity: 0.95;
}

/* =========================
   Section Headings
========================= */
section h2 {
  font-weight: 700;
  color: var(--solar-blue);
}

section p {
  color: var(--text-muted);
}

/* =========================
   Gallery
========================= */
.gallery-img {
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  box-shadow: var(--shadow-soft);
}

.gallery-img:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* =========================
   Services Page
========================= */
.hero {
  background:
    linear-gradient(rgba(0, 45, 91, 0.65), rgba(0, 45, 91, 0.65)),
    url("images/renewable solar energy.jpeg") center / cover no-repeat;
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 90px 20px;
  text-align: center;
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
}

.hero p {
  font-size: 1.1rem;
  opacity: 0.9;
}

.card {
  border: none;
  border-radius: 12px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

.card-title {
  color: var(--solar-blue);
  font-weight: 600;
}

.card ul {
  padding-left: 18px;
}

/* =========================
   CTA Section
========================= */
.bg-light {
  background-color: var(--light-grey) !important;
}

/* =========================
   Buttons
========================= */
.btn-primary {
  background-color: var(--solar-blue);
  border: none;
  padding: 12px 26px;
  font-weight: 600;
}

.btn-primary:hover {
  background-color: #004080;
}

.btn-light {
  font-weight: 600;
}

/* =========================
   Back to Top Button
========================= */
#backToTop {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
  background-color: var(--solar-blue);
  color: white;
  border: none;
  border-radius: 50%;
  padding: 12px 15px;
  font-size: 18px;
  cursor: pointer;
  display: none;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  transition: background-color 0.3s ease, transform 0.3s ease;
}

#backToTop:hover {
  background-color: #004080;
  transform: translateY(-3px);
}

/* =========================
   Footer
========================= */
footer {
  background-color: var(--solar-blue);
  color: #ffffff;
  font-size: 0.95rem;
}

/* =========================
   Utility Tweaks
========================= */
img {
  max-width: 100%;
  height: auto;
}

a {
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}
