:root {
  --primary: #003366;      /* Deep Professional Blue */
  --accent: #007bff;       /* High-visibility Blue */
  --bg-gray: #f8fafd;
  --dark-footer: #0a1118;  /* Professional Dark Footer */
  --white: #ffffff;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: "Segoe UI", sans-serif; background: var(--bg-gray); color: #333; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* HEADER / NAV */
.navbar {
  height: 80px;
  background: var(--white);
  display: flex;
  align-items: center;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.nav-flex { display: flex; justify-content: space-between; align-items: center; width: 100%; }

.logo {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary);
  text-decoration: none;
}
.logo span { color: var(--accent); }

.nav-links { display: flex; list-style: none; align-items: center; }
.nav-links li { margin-left: 30px; }
.nav-links a { text-decoration: none; color: #444; font-weight: 600; }
.nav-links a.active { color: var(--primary); }

.btn-nav {
  border: 2px solid var(--primary);
  padding: 8px 18px;
  border-radius: 6px;
  color: var(--primary) !important;
  transition: 0.3s;
}
.btn-nav:hover { background: var(--primary); color: #fff !important; }

/* HERO SLIDER */
.hero-slider { height: 65vh; margin-top: 80px; position: relative; overflow: hidden; }
.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: 1s ease;
  display: flex;
  align-items: center;
}
.slide.active { opacity: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; position: absolute; }

.slide-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 1;
}

.slide-content {
  position: relative;
  z-index: 2;
  margin-left: 8%;
  color: white;
  max-width: 700px;
}
.tag {
  background: var(--accent);
  color: white;
  padding: 5px 15px;
  font-weight: bold;
  border-radius: 4px;
  margin-bottom: 15px;
  display: inline-block;
}
.slide-content h1 { font-size: 3.5rem; margin-bottom: 10px; }
.slide-content p { font-size: 1.15rem; opacity: 0.95; }

/* TESTIMONIALS SLIDER */
.client-feedback {
  padding: 100px 0;
  background: linear-gradient(135deg, #eef2f6, #ffffff);
}

.section-header { text-align: center; margin-bottom: 40px; }
.sub-title {
  display: inline-block;
  color: var(--accent);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}
.section-header h2 { color: var(--primary); font-size: 2.4rem; }

.testimonial-slider-wrapper { max-width: 950px; margin: 0 auto; position: relative; }
.test-slide { display: none; }
.test-slide.active { display: block; animation: fadeUp 0.35s ease-in-out; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.test-content-box {
  display: grid;
  grid-template-columns: 220px 1fr;
  background: var(--white);
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 18px 45px rgba(0,0,0,0.08);
}

.test-img-side {
  background: #f3f6fb;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
}
.test-img-side img {
  width: 180px;
  height: 180px;
  object-fit: cover;
  border-radius: 14px;
  border: 4px solid rgba(0,123,255,0.12);
}

.test-text-side { padding: 42px 46px; }

.stars { color: #ffc107; margin-bottom: 14px; font-weight: 800; }
.stars span { color: #6b7280; font-weight: 600; margin-left: 8px; }

.quote {
  font-size: 1.15rem;
  font-style: italic;
  color: #374151;
  line-height: 1.7;
  margin-bottom: 22px;
}

.test-text-side h4 { margin: 0; font-size: 1.2rem; color: var(--primary); }
.designation { display: block; margin-top: 6px; color: #6b7280; font-weight: 600; }

.slider-nav-btns {
  position: absolute;
  bottom: -60px;
  right: 0;
  display: flex;
  gap: 10px;
}
.slider-nav-btns button {
  background: var(--primary);
  color: white;
  border: none;
  width: 44px;
  height: 44px;
  cursor: pointer;
  border-radius: 10px;
  transition: 0.25s ease;
}
.slider-nav-btns button:hover { background: var(--accent); transform: translateY(-1px); }

/* SOLAR SECTION */
.solar-spotlight { padding: 100px 0; }

.card-look {
  background: var(--white);
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.05);
}

.solar-image img { width: 100%; border-radius: 12px; }

.badge {
  color: var(--accent);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 25px;
}
.f-item { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.f-item i { color: var(--accent); font-size: 1.2rem; }

/* INQUIRY SECTION */
.inquiry-section { padding: 100px 0; background: #eef2f6; }

.inquiry-box {
  background: var(--white);
  padding: 60px;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

.inquiry-info h2 { color: var(--primary); font-size: 2.5rem; margin-bottom: 20px; }
.contact-methods { margin-top: 30px; }

.c-method {
  margin-bottom: 15px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 15px;
}
.c-method i { color: var(--accent); width: 20px; }

.inquiry-form-styled input,
.inquiry-form-styled textarea {
  width: 100%;
  padding: 15px;
  margin-bottom: 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background: #fdfdfd;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }

.btn-submit {
  background: var(--primary);
  color: white;
  border: none;
  padding: 15px 30px;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
  width: 100%;
}
.btn-submit:hover { background: var(--accent); }

/* INDEX FOOTER */
.main-footer { background: var(--dark-footer); color: #fff; padding: 80px 0 20px; }

.grid-footer { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 50px; }

.logo-white {
  font-size: 1.8rem;
  font-weight: 800;
  color: #fff;
  text-decoration: none;
}
.logo-white span { color: var(--accent); }

.footer-brand p { margin-top: 20px; color: #999; }

.footer-links h4,
.footer-social h4 { margin-bottom: 25px; color: var(--accent); }

.footer-links a {
  display: block;
  color: #ccc;
  text-decoration: none;
  margin-bottom: 10px;
}

.social-icons a { font-size: 1.5rem; color: #fff; margin-right: 20px; }

.footer-bottom {
  text-align: center;
  border-top: 1px solid #222;
  margin-top: 60px;
  padding-top: 20px;
  color: #666;
  font-size: 0.9rem;
}

/* PROFILE HEADER + LEADERSHIP */
.profile-header {
  padding: 140px 0 60px;
  margin-top: 80px; /* IMPORTANT because navbar is fixed */
  background: linear-gradient(135deg, var(--primary), #002244);
  color: white;
  text-align: center;
}
.profile-header h1 { font-size: 3rem; margin-bottom: 15px; }
.profile-header p { font-size: 1.2rem; opacity: 0.92; }

.leadership { padding: 100px 0; background: var(--bg-gray); }

.leadership-intro {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 60px;
}
.leadership-intro h2 {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 18px;
}
.leadership-intro p {
  color: #555;
  line-height: 1.75;
  font-size: 1.05rem;
}

.leader-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.leader-card {
  background: white;
  padding: 30px;
  border-radius: 18px;
  text-align: center;
  box-shadow: 0 15px 40px rgba(0,0,0,0.06);
  transition: 0.3s ease;
}
.leader-card:hover { transform: translateY(-6px); }

.leader-card img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 20px;
  border: 4px solid rgba(0,123,255,0.15);
}

.leader-card h4 { margin-bottom: 6px; color: var(--primary); }
.leader-card .role {
  display: block;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 12px;
}
.leader-card p { font-size: 0.95rem; color: #666; line-height: 1.6; }

/* PROFILE FOOTER */
.footer {
  text-align: center;
  padding: 30px 0;
  background: var(--dark-footer);
  color: #cbd5e1;
  margin-top: 60px;
}

/* UTILS */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }

/* RESPONSIVE */
@media (max-width: 992px) {
  .leader-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-footer { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .grid-2, .grid-footer, .form-row { grid-template-columns: 1fr; }
  .test-content-box { grid-template-columns: 1fr; }
  .test-img-side img { width: 140px; height: 140px; }
  .test-text-side { padding: 28px 22px 34px; }
  .slider-nav-btns { position: static; margin-top: 16px; justify-content: center; }
  .profile-header h1 { font-size: 2.2rem; }
  .hero-slider { height: 60vh; }
  .slide-content h1 { font-size: 2.4rem; }
}

/* ============================= */
/* MOBILE NAVBAR FIX (IMPORTANT) */
/* ============================= */
@media (max-width: 768px) {

  .navbar {
    height: auto;
    padding: 14px 0;
  }

  .nav-flex {
    flex-direction: column;
    gap: 12px;
  }

  .logo {
    font-size: 1.5rem;
  }

  .nav-links {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    padding-bottom: 6px;
  }

  .nav-links li {
    margin-left: 0;
  }

  .btn-nav {
    padding: 7px 14px;
    font-size: 0.95rem;
    border-radius: 8px;
  }
}