/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px; /* height of your navbar */
}

body {
  font-family: "Segoe UI", sans-serif;
  line-height: 1.6;
  color: #333;
  background: #f9f9f9;
}

a {
  text-decoration: none;
  color: inherit;
}
.navbar-logo img {
  max-height: 50px; /* controls height */
  width: auto; /* keeps aspect ratio */
  object-fit: contain;
}
.logo img {
  width: 75px;
}
.btn {
  background: #0056b3;
  color: #fff;
  padding: 10px 20px;
  border-radius: 5px;
  display: inline-block;
  transition: 0.3s;
}
.btn:hover {
  background: #003d80;
}
.btn.secondary {
  background: #28a745;
}
.btn.secondary:hover {
  background: #1e7e34;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 40px;
  background: #04012e;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
  color: whitesmoke;
}
.navbar ul {
  display: flex;
  list-style: none;
  gap: 20px;
}

nav ul li a:hover {
  color: #1a73e8; /* Bright blue hover */
}
/* Active link style */
nav ul li a.active {
  color: #1a73e8;
}
.hamburger {
  display: none; /* hidden on desktop */
  font-size: 28px;
  cursor: pointer;
  color: white;
  background: none;
  border: none;
}

/* ========= MOBILE MENU ========= */
#mobileMenu {
  position: fixed;
  top: 0;
  right: -260px; /* hidden off-screen */
  width: 260px;
  height: 100vh;
  background: #04012e;
  flex-direction: column;
  padding-top: 60px;
  transition: right 0.3s ease-in-out;
  z-index: 2000;
}

/* When active (JS adds .show) */
#mobileMenu.show {
  right: 0;
}

/* Close button inside mobile menu */
.close-btn {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 30px;
  cursor: pointer;
  color: white;
  background: none;
  border: none;
}

/* Mobile menu links */
#mobileMenu ul {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-left: 20px;
  list-style: none;
}
#mobileMenu ul li a {
  font-size: 18px;
  color: white;
  text-decoration: none;
  transition: color 0.3s;
}
#mobileMenu ul li a:hover {
  color: #1a73e8;
}

/* ========= RESPONSIVE ========= */
@media (max-width: 768px) {
  nav {
    display: none; /* hide desktop nav */
  }
  .btn {
    display: none; /* hide desktop button */
  }
  .hamburger {
    display: block; /* show hamburger */
  }
  #mobileMenu {
    display: flex; /* enable flex column for menu */
  }
}
.logo {
  font-weight: bold;
  color: #0056b3;
  font-size: 1.3rem;
}

/* Hero */
.hero {
  background: url("./assets/solarpanel.png") no-repeat center/cover;
  height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}
.hero-content {
  max-width: 700px;
  background: rgba(0, 0, 0, 0.6);
  padding: 30px;
  border-radius: 10px;
}
.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}
.hero-discription {
  margin-bottom: 20px;
}
/* About Us Card */
.about-card {
  max-width: 900px;
  margin: auto;
  background: linear-gradient(135deg, #0a1a2f, #052953);
  color: #fff;
  padding: 40px 30px;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
  text-align: center;
}

.about-card h2 {
  margin-bottom: 15px;
  color: #4da6ff;
}

.about-card p {
  font-size: 1rem;
  line-height: 1.7;
  color: #e0e0e0;
}

/* Product Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1100px;
  margin: auto;
  padding: 20px;
}

/* Product Card */
.product-card {
  background: linear-gradient(135deg, #0a1a2f, #1d3557);
  color: #fff;
  border-radius: 15px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.35);
}

/* Product Image */
.product-card img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
}

/* Headings and Text */
.product-card h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: #4da6ff;
}

.product-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #e0e0e0;
  margin-bottom: 20px;
}

/* Button */
.btn-quote {
  display: inline-block;
  padding: 10px 18px;
  background: #007bff;
  color: #fff;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.btn-quote:hover {
  background: #0056b3;
}

/* Grid layout for industries */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

/* Industry card */
.industry-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease;
}

.industry-card:hover {
  transform: translateY(-6px);
}

/* Icons */
.industry-card .icon img {
  width: 60px;
  height: 60px;
  margin-bottom: 15px;
}

/* Titles */
.industry-card h3 {
  font-size: 1.2rem;
  margin-bottom: 15px;
  color: #003366;
}

/* Lists */
.industry-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.industry-card ul li {
  font-size: 0.95rem;
  color: #333;
  margin: 8px 0;
  text-align: left;
  padding-left: 22px;
  position: relative;
}

.industry-card ul li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #1a73e8;
  font-weight: bold;
}

/* Section */
.section {
  padding: 60px 20px;
  text-align: center;
  background: #fff;
  margin: 20px 0;
}
.section:nth-child(even) {
  background: #f1f5f9;
}
.section h2 {
  color: #0056b3;
  margin-bottom: 20px;
}
/* Section Title */
.section-title {
  text-align: center;
  font-size: 2rem;
  color: #0a1a2f;
  margin-bottom: 40px;
  font-weight: 700;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 30px;
}
.card {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Contact Form */
.contact-section {
  padding: 60px 20px;
  background: #f9f9f9;
  text-align: center;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #0a1f44;
}

.section-subtitle {
  font-size: 1rem;
  margin-bottom: 40px;
  color: #555;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.contact-card {
  background: #fff;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.contact-card i {
  font-size: 28px;
  color: #004aad; /* corporate blue */
  margin-bottom: 15px;
}

.contact-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #222;
}

.contact-card p,
.contact-card a {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.5;
  text-decoration: none;
}

.contact-card a:hover {
  color: #004aad;
  text-decoration: underline;
}

/* Footer */
footer {
  background: #222;
  color: #fff;
  text-align: center;
  padding: 20px;
}
