/* =========================================================
   Rumana Electric Private Limited - Homepage Stylesheet
   Colors: Navy #001f4d | Green #2f9b18 | White #ffffff
   ========================================================= */

:root {
  --navy: #001f4d;
  --navy-light: #0a3266;
  --green: #2f9b18;
  --green-dark: #257812;
  --white: #ffffff;
  --bg-light-blue: #eaf3fb;
  --text-muted: #7c8aa0;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(0, 31, 77, 0.08);
}

body {
  font-family: 'Poppins', 'Segoe UI', Arial, sans-serif;
  color: var(--navy);
  background: var(--white);
}

a {
  text-decoration: none;
}

.btn-green {
  background: var(--green);
  color: var(--white);
  border: none;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 8px;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-green:hover {
  background: var(--green-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(47, 155, 24, 0.35);
}

.section-title {
  font-weight: 700;
  font-size: 2rem;
  color: var(--navy);
  position: relative;
  padding-bottom: 14px;
  margin-bottom: 40px;
}

.section-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 70px;
  height: 4px;
  background: var(--green);
  border-radius: 2px;
}

/* ============ TOP BAR ============ */
.top-bar {
  background: var(--navy);
  color: var(--white);
  font-size: 0.85rem;
  padding: 8px 0;
}

.top-bar a {
  color: var(--white);
  opacity: 0.9;
}

.top-bar a:hover {
  color: var(--green);
  opacity: 1;
}

.top-bar .divider {
  opacity: 0.4;
  margin: 0 10px;
}

.top-bar .social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  margin-left: 8px;
  font-size: 0.8rem;
  transition: background 0.2s ease;
}

.top-bar .social-icons a:hover {
  background: var(--green);
}

/* ============ MAIN HEADER ============ */
.main-header {
  background: var(--white);
  padding: 18px 0;
}

.main-header .logo-img {
  width: 78px;
  height: 78px;
}

.brand-name {
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.1;
  margin: 0;
  letter-spacing: 0.5px;
}

.brand-sub {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--green);
  letter-spacing: 3px;
}

.brand-tagline {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 2px;
}

.header-features {
  display: flex;
  align-items: center;
}

.header-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 18px;
  border-left: 1px solid #e3e8f0;
}

.header-feature:first-child {
  border-left: none;
}

.header-feature .icon-circle {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 50%;
  border: 2px solid var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  font-size: 1.1rem;
}

.header-feature .feature-text {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.25;
}

/* ============ NAVBAR ============ */
.main-nav {
  background: var(--navy);
}

.main-nav .navbar-nav .nav-link {
  color: var(--white) !important;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 18px 16px !important;
  transition: background 0.2s ease, color 0.2s ease;
}

.main-nav .navbar-nav .nav-link:hover {
  color: var(--green) !important;
}

.main-nav .navbar-nav .nav-link.active {
  background: var(--green);
  color: var(--white) !important;
}

.main-nav .navbar-toggler {
  border-color: rgba(255, 255, 255, 0.4);
}

.main-nav .navbar-toggler-icon {
  filter: invert(1);
}

.btn-quote {
  background: var(--green);
  color: var(--white);
  font-weight: 700;
  padding: 10px 22px;
  border-radius: 8px;
  font-size: 0.9rem;
  white-space: nowrap;
  transition: all 0.25s ease;
}

.btn-quote:hover {
  background: var(--white);
  color: var(--navy);
  transform: translateY(-2px);
}

/* ============ HERO ============ */
.hero-section {
  background: linear-gradient(180deg, #f3f9fd 0%, var(--bg-light-blue) 100%);
  padding: 70px 0 130px;
  overflow: hidden;
}

.hero-heading {
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.15;
}

.hero-heading .accent-green {
  color: var(--green);
}

.hero-sub {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-top: 6px;
}

.hero-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px 0;
}

.hero-divider .line {
  width: 60px;
  height: 3px;
  background: var(--green);
  border-radius: 2px;
}

.hero-divider i {
  color: var(--green);
}

.hero-desc {
  color: var(--text-muted);
  font-size: 1.02rem;
  max-width: 480px;
  margin-bottom: 28px;
}

.hero-visual {
  position: relative;
  width: 100%;
}

.hero-visual .hero-showcase-img {
  display: block;
  width: 100%;
  height: auto;
}

/* ============ SERVICE STRIP ============ */
.service-strip {
  background: var(--navy);
  border-radius: var(--radius);
  margin-top: -80px;
  position: relative;
  z-index: 2;
  box-shadow: var(--shadow);
  padding: 40px 20px;
}

.service-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 10px 20px;
}

.service-item .icon-circle {
  width: 56px;
  height: 56px;
  min-width: 56px;
  border-radius: 50%;
  border: 2px solid var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  font-size: 1.4rem;
}

.service-item h5 {
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 6px;
}

.service-item p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.85rem;
  margin: 0;
}

/* ============ STATS ============ */
.stats-section {
  padding: 60px 0 20px;
}

.stats-wrap {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 30px 10px;
}

.stat-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-align: left;
}

.stat-item .icon-circle {
  width: 54px;
  height: 54px;
  min-width: 54px;
  border-radius: 50%;
  background: var(--bg-light-blue);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.stat-item h3 {
  font-weight: 800;
  color: var(--navy);
  margin: 0;
  font-size: 1.7rem;
}

.stat-item span {
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 600;
}

/* ============ PRODUCTS ============ */
.products-section {
  padding: 70px 0;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  border: 1px solid #eef2f7;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 36px rgba(0, 31, 77, 0.15);
}

.product-card .product-img-wrap {
  background: var(--bg-light-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 25px;
  height: 190px;
}

.product-card .product-img-wrap img {
  max-height: 140px;
  max-width: 100%;
}

.product-card .product-body {
  padding: 18px;
  text-align: center;
}

.product-card h5 {
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 14px;
  font-size: 1.05rem;
}

.product-card .btn-green {
  width: 100%;
  justify-content: center;
  padding: 10px 0;
  font-size: 0.85rem;
}

/* ============ FEATURE STRIP ============ */
.feature-strip {
  background: var(--bg-light-blue);
  padding: 45px 0;
}

.feature-box {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 20px;
  border-left: 1px solid rgba(0, 31, 77, 0.12);
}

.feature-box:first-child {
  border-left: none;
}

.feature-box .icon-circle {
  width: 50px;
  height: 50px;
  min-width: 50px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.feature-box h6 {
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 2px;
  font-size: 0.95rem;
}

.feature-box p {
  color: var(--text-muted);
  font-size: 0.8rem;
  margin: 0;
}

/* ============ FOOTER ============ */
.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.75);
  padding-top: 60px;
}

.site-footer .footer-logo {
  background: #ffffff;
  border-radius: 50%;
  padding: 6px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.site-footer h3 {
  color: var(--white);
  font-weight: 800;
  font-size: 1.2rem;
  margin: 14px 0 0;
}

.site-footer .footer-sub {
  color: var(--green);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 2px;
  margin-bottom: 14px;
}

.site-footer p {
  font-size: 0.88rem;
  line-height: 1.7;
}

.site-footer h5 {
  color: var(--white);
  font-weight: 700;
  font-size: 1.02rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.site-footer h5::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 3px;
  background: var(--green);
  border-radius: 2px;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.88rem;
  transition: color 0.2s ease, padding-left 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-links a:hover {
  color: var(--green);
  padding-left: 4px;
}

.footer-links a i {
  color: var(--green);
  font-size: 0.7rem;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 0.88rem;
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.75);
}

.footer-contact a:hover {
  color: var(--green);
}

.footer-contact i {
  color: var(--green);
  margin-top: 3px;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  margin-right: 8px;
  transition: background 0.2s ease;
}

.footer-social a:hover {
  background: var(--green);
}

.footer-cta-box {
  background: var(--navy-light);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius);
  padding: 26px 22px;
  text-align: center;
}

.footer-cta-box .icon-circle {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--white);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin: 0 auto 14px;
}

.footer-cta-box h5 {
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.footer-cta-box h5::after {
  display: none;
}

.footer-cta-box p {
  font-size: 0.82rem;
  margin-bottom: 16px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 40px;
  padding: 18px 0;
  font-size: 0.82rem;
}

/* discreet developer credit */
.dev-credit {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.25);
}

.dev-credit a {
  color: rgba(255, 255, 255, 0.3);
  text-decoration: none;
}

.dev-credit a:hover {
  color: var(--green);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 991.98px) {
  .header-features {
    display: none;
  }

  .hero-heading {
    font-size: 2.1rem;
  }

  .service-strip {
    margin-top: 20px;
  }

  .hero-visual {
    margin-top: 40px;
  }

  .main-nav .navbar-nav .nav-link {
    padding: 12px 16px !important;
  }

  .main-nav .navbar-nav .nav-link.active {
    display: inline-block;
  }
}

@media (max-width: 767.98px) {
  .top-bar .cin-text {
    display: none;
  }

  .brand-name {
    font-size: 1.4rem;
  }

  .main-header .logo-img {
    width: 58px;
    height: 58px;
  }

  .hero-heading {
    font-size: 1.7rem;
  }

  .hero-section {
    padding: 40px 0 90px;
  }

  .service-item {
    padding: 14px 10px;
  }

  .stat-item {
    justify-content: flex-start;
    margin-bottom: 16px;
  }

  .feature-box {
    border-left: none;
    border-top: 1px solid rgba(0, 31, 77, 0.12);
    padding: 16px 10px;
  }

  .feature-box:first-child {
    border-top: none;
  }

  .section-title {
    font-size: 1.5rem;
  }
}
