:root {
  --brand: #224092;
  --brand-deep: #05058c;
  --icon: #005095;
  --accent: #ce1724;
  --selected: #9edb39;
  --hover: #2d7cff;
  --ink: #111318;
  --muted: #5d6470;
  --line: #e5e9f0;
  --soft: #f4f6f9;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(10, 34, 78, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  overflow-x:hidden;
  width:100%;
  margin: 0;
  font-family: "Source Sans 3", "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  font-size: 1.02rem;
}


a {
  color: inherit;
  text-decoration: none;
}

p {
  font-size: 18px;
}

img {
  max-width: 100%;
}

.top-strip {
  background: var(--brand);
  color: #fff;
  font-size: 0.91rem;
}

.top-strip a {
  color: #fff;
}

.brand-bar{
  background:#fff;
  border-bottom:1px solid #e5e9f0;
  padding:8px 0;
}

.header-flex{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:12px;
}

.header-logo-left,
.header-logo-right{
  flex-shrink:0;
}

.brand-logo{
  width:90px;
  height:auto;
  object-fit:contain;
}

.hpcl-logo{
  width:90px;
  height:auto;
  object-fit:contain;
}

.header-banner-wrap{
  flex:1;
  display:flex;
  justify-content:center;
}

.header-banner{
  width:100%;
  max-width:1080px;
  height:150px;
  object-fit:contain;
  display:block;
}

@media(max-width:768px){

  .header-flex{
    gap:6px;
  }

  .brand-logo,
  .hpcl-logo{
    width:60px;
  }

  .header-banner{
    max-width:100%;
  }

}

h1,
h2,
h3,
h4,
h5,
h6,
.navbar .nav-link,
.btn,
.section-kicker,
.product-code {
  font-family: "Manrope", "Segoe UI", Arial, sans-serif;
}

.navbar{
  background:#224092 !important;
  box-shadow:0 8px 20px rgba(0,0,0,0.08);
}


.navbar .nav-link{
  color:#fff !important;
  font-weight:700;
  padding:12px 20px !important;
  border-radius:30px;
  transition:all .3s ease;
}

.navbar .nav-link:hover,
.navbar .nav-link.active{
  background-color:#8cc63f !important;
  color:#fff !important;
}


.navbar .nav-link:hover::after,
.navbar .nav-link.active::after {
  transform: scaleX(1);
}

.navbar .nav-link::after{
  display:none;
}

.navbar-toggler{
  border-color:#fff;
}

.navbar-toggler-icon{
  filter:brightness(0) invert(1);
}

.btn-brand,
.btn-outline-brand:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.btn-brand:hover {
  background: #af101b;
  border-color: #af101b;
  color: #fff;
  transform: translateY(-1px);
}

.btn-outline-brand {
  border-color: var(--brand);
  color: var(--brand);
}

.btn,
.form-control,
.form-select {
  border-radius: 8px;
}

.hero-carousel .carousel-item {

  height: 533px;
}

.hero-carousel img {
  
  max-width: 100%;
  height: 533px;
  object-fit: cover;
  
}

.hero-caption {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  color: #fff;
  /*background: linear-gradient(90deg, rgba(9, 22, 54, 0.84), rgba(9, 22, 54, 0.35), rgba(9, 22, 54, 0.08));*/
}

.hero-caption h1 {
  font-size: clamp(2.35rem, 5vw, 4.7rem);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: 0;
}

.counter-number {
  display: inline-block;
  min-width: 1.25ch;
  font-variant-numeric: tabular-nums;
}

.hero-caption p {
  max-width: 680px;
  font-size: clamp(1rem, 2vw, 1.22rem);
  color: rgba(255, 255, 255, 0.88);
}

.section {
  padding: 35px 0;
}

.section-soft {
  background: var(--soft);
}

.section-title {
  color: var(--brand);
  font-weight: 750;
  letter-spacing: 0;
  font-size: 2rem;
}

.section-kicker {
  color: var(--accent);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.82rem;
}

.lead-copy {
  color: var(--muted);
  font-size: 1.2rem;
  line-height: 1.75;
}

.stat-box,
.product-card,
.gallery-card,
.contact-panel,
.map-panel,
.info-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 34px rgba(10, 34, 78, 0.08);
}

.stat-box {
  padding: 1.6rem;
}

.stat-box strong {
  color: #dc3545;
  display: block;
  font-size: 2rem;
  line-height: 1;
}

.icon-round {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--icon);
  flex: 0 0 auto;
}

.product-card {
  height: 100%;
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.product-card:hover {
  transform: translateY(-7px);
  border-color: rgba(206, 23, 36, 0.35);
  box-shadow: 0 22px 48px rgba(34, 64, 146, 0.16);
}

.product-media {
  aspect-ratio: 1 / 1;
  background: linear-gradient(135deg, #eef3fb, #ffffff);
  overflow: hidden;
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.product-media-inner img {
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.product-card:hover img {
  transform: scale(1.06);
}

.product-body {
  padding: 1.25rem;
}

.product-body h3 {
  color: var(--brand);
  font-size: 1.16rem;
  font-weight: 800;
  margin: 0 0 0.55rem;
}

.product-body p,
.product-body li {
  color: var(--muted);
}

.product-code {
  color: var(--accent);
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.map-panel {
  padding: clamp(1rem, 3vw, 2rem);
  background: linear-gradient(180deg, #fff, #f7f9fc);
  animation: mapEntrance 0.85s ease both;
}

.map-wrap {
  position: relative;
}

.ap-map {
  display: block;
  width: 100%;
  height: auto;
  max-height: 720px;
}

.district path {
  stroke: #fff;
  stroke-width: 4;
  vector-effect: non-scaling-stroke;
  cursor: pointer;
  transition: fill 0.38s ease, filter 0.38s ease, transform 0.38s ease;
  transform-box: fill-box;
  transform-origin: center;
}

.district text {
  fill: #fff;
  font-family: "Manrope", "Segoe UI", Arial, sans-serif;
  font-size: 12px;
  font-weight: 800;
  text-anchor: middle;
  pointer-events: none;
  paint-order: stroke;
  stroke: rgba(0, 0, 0, 0.28);
  stroke-width: 3px;
  stroke-linejoin: round;
}

.district.compact text {
  font-size: 10px;
}

.district.micro text {
  font-size: 8px;
}

.district.gray path {
  fill: #666;
}

.district.active path {
  fill: var(--brand-deep);
}

.district.selected path {
  fill: var(--selected);
  animation: pulseSelected 2.2s ease-in-out infinite;
}

.district.is-hovered path {
  fill: var(--hover);
  filter: drop-shadow(0 0 15px rgba(45, 124, 255, 0.55));
  transform: scale(1.025);
}

.district.selected.is-hovered path {
  fill: #b8ee51;
}

.map-tooltip {
  position: fixed;
  z-index: 50;
  pointer-events: none;
  background: #0d1731;
  color: #fff;
  padding: 0.46rem 0.7rem;
  border-radius: 6px;
  font-size: 0.88rem;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translate(-50%, -110%);
  transition: opacity 0.18s ease;
}

.map-tooltip.show {
  opacity: 1;
}

.legend-dot {
  width: 14px;
  height: 14px;
  border-radius: 3px;
  display: inline-block;
}

.dot-active {
  background: var(--brand-deep);
}

.dot-upcoming {
  background: #666;
}

.dot-selected {
  background: var(--selected);
}

.gallery-card {
  overflow: hidden;
}

.gallery-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.gallery-card:hover img {
  transform: scale(1.05);
}

.contact-panel {
  padding: clamp(1.2rem, 3vw, 2rem);
}

.footer {
  background: #07142c;
  color: rgba(255, 255, 255, 0.82);
}

.footer h5 {
  color: #fff;
  font-weight: 800;
}

.footer a:hover {
  color: #fff;
}

.footer-bottom {
  background: #030a18;
  color: rgba(255, 255, 255, 0.68);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal img:hover{
  transform: translateY(-7px);
  transition: transform 0.5s ease-in-out;
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.page-hero {
  min-height: 320px;
  display: flex;
  align-items: center;
  color: #fff;
  background: linear-gradient(90deg, rgba(7, 20, 44, 0.92), rgba(34, 64, 146, 0.72)), url("../images/nsr-hpcl-about.jpg") center/cover;
}

.page-hero h1 {
  font-weight: 900;
  letter-spacing: 0;
}

.timeline-item {
  border-left: 3px solid var(--brand);
  padding-left: 1rem;
  margin-bottom: 1.2rem;
}

.timeline-item h3 {
  color: var(--brand);
  font-size: 1.1rem;
  font-weight: 800;
}

.form-status {
  display: none;
  border-radius: 8px;
  padding: 0.8rem 1rem;
}

.form-status.show {
  display: block;
}

.map-embed {
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid var(--line);
  box-shadow: 0 12px 34px rgba(10, 34, 78, 0.08);
  min-height: 340px;
}

.map-embed iframe {
  display: block;
  width: 100%;
  min-height: 340px;
  border: 0;
}

@keyframes mapEntrance {
  from {
    opacity: 0;
    transform: scale(0.96);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes pulseSelected {
  0%,
  100% {
    filter: drop-shadow(0 0 0 rgba(158, 219, 57, 0));
  }
  50% {
    filter: drop-shadow(0 0 14px rgba(158, 219, 57, 0.65));
  }
}


@media (max-width: 991.98px) {
  .brand-logo,
  .hpcl-logo {
    width: 64px;
    height: 64px;
  }

  .brand-title {
    font-size: 1.35rem;
  }

  .header-banner {
    max-height: 82px;
  }

  .hero-carousel .carousel-item,
  .hero-carousel img {
    max-width: 100%;
    height: auto;
  }

  .navbar .nav-link {
    padding: 0.8rem 0;
  }

  .navbar .nav-link::after {
    left: 0;
    right: 0;
    bottom: 0.45rem;
  }
}

@media (max-width: 575.98px) {
  .top-strip {
    font-size: 0.78rem;
  }

  .brand-title {
    font-size: 1.05rem;
  }

  .brand-subtitle {
    font-size: 0.78rem;
  }

  .header-banner {
    max-height: 58px;
  }

  .hero-carousel .carousel-item,
  .hero-carousel img {
    max-width: 100%;
    height: auto;
  }

  .hero-caption {
    background: linear-gradient(180deg, rgba(9, 22, 54, 0.88), rgba(9, 22, 54, 0.52));
  }

  .section {
    padding: 58px 0;
  }

  .district text {
    font-size: 10px;
  }

  .district.compact text {
    font-size: 8px;
  }

  .district.micro text {
    font-size: 7px;
  }
}

.gallery-filter{
  display:flex;
  justify-content:center;
  gap:15px;
  flex-wrap:wrap;
}

.filter-btn{
  border:none;
  background:#224092;
  color:#fff;
  padding:10px 24px;
  border-radius:30px;
  font-weight:400;
  transition:.3s;
}

.filter-btn:hover,
.filter-btn.active{
  background:#8cc63f;
}

.gallery-card{
  overflow:hidden;
  border-radius:18px;
  background:#fff;
  box-shadow:0 10px 25px rgba(0,0,0,0.08);
  transition:.3s;
}

.gallery-card img{
  width:100%;
  height:280px;
  object-fit:cover;
  transition:.4s;
  cursor:pointer;
}

.gallery-card:hover img{
  transform:scale(1.08);
}

.gallery-card figcaption{
  padding:18px;
  font-weight:700;
  color:#224092;
}

.feature-card{
  background:#fff;
  border-radius:24px;
  padding:35px 30px;
  text-align:center;
  box-shadow:0 10px 30px rgba(0,0,0,0.08);
  transition:.3s;
  height:100%;
}

.feature-card:hover{
  transform:translateY(-8px);
}

.feature-card i{
  font-size:42px;
  color:#224092;
  margin-bottom:20px;
}

.feature-card h3{
  color:#224092;
  font-size:24px;
  margin-bottom:15px;
  font-weight:800;
}

.feature-card p{
  color:#555;
  margin:0;
}

.mission-box{
  background:#f5f8ff;
  padding:30px;
  border-left:5px solid #8cc63f;
  border-radius:16px;
}

img{
    max-width:100%;
    height:auto;
}

.section{
    overflow:hidden;
}

.reveal{
    opacity:1;
    transform:none;
}

.feature-card{
    background:#fff;
    border-radius:24px;
    padding:35px 30px;
    text-align:center;
    box-shadow:0 10px 30px rgba(0,0,0,0.08);
    transition:.3s;
    height:100%;
}

.feature-card:hover{
    transform:translateY(-8px);
}

/* ================================
   WhatsApp Floating Button
================================ */

.whatsapp-float{
    position:fixed;
    width:60px;
    height:60px;
    bottom:25px;
    right:25px;
    background:#25d366;
    color:#fff !important;
    border-radius:50%;
    text-align:center;
    font-size:34px;
    display:flex;
    align-items:center;
    justify-content:center;
    z-index:9999;
    box-shadow:0 8px 20px rgba(0,0,0,0.25);
    transition:all .3s ease;
    text-decoration:none;
}

.whatsapp-float:hover{
    transform:scale(1.1);
    background:#1ebe5d;
    color:#fff;
}

@media(max-width:768px){

    .whatsapp-float{
        width:54px;
        height:54px;
        font-size:30px;
        bottom:18px;
        right:18px;
    }

}

html{
    scroll-behavior:smooth;
}

#backToTop{
    position:fixed;
    bottom:100px;
    right:25px;
    width:55px;
    height:55px;
    border:none;
    border-radius:50%;
    background:#224092;
    color:#fff;
    font-size:32px;
    cursor:pointer;

    display:flex;
    align-items:center;
    justify-content:center;

    z-index:9999;

    opacity:0;
    visibility:hidden;
    transform:translateY(20px);

    transition:all .35s ease;

    box-shadow:0 8px 20px rgba(0,0,0,0.2);
}

#backToTop.show{
    opacity:1;
    visibility:visible;
    transform:translateY(0);
}

#backToTop:hover{
    background:#8cc63f;
    transform:translateY(-5px);
}

@media(max-width:768px){

    #backToTop{
        width:40px;
        height:40px;
        font-size:28px;
        right:18px;
        bottom:85px;
    }

}

.navbar .dropdown-menu {
    border-radius: 12px;
    border: none;
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.navbar .dropdown-item {
    padding: 10px 20px;
}

.navbar .dropdown-item:hover {
    background: #f5f7fa;
    color: #0d6efd;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-links a {
  width: 42px;
  height: 42px;
  background: rgba(255,255,255,0.1);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all .3s ease;
  font-size: 20px;
}

.social-links a:hover {
  background: #007bff;
  color: #fff;
  transform: translateY(-4px);
}

/* Style the list container */
    .custom-icon-list {
      list-style: none; /* Removes the default bullet points */
      padding: 0;
      margin: 0;
    }

    /* Style the list items */
    .custom-icon-list li {
      font-size: 18px; /* Sets font size to 18px */
      line-height: 1.5;
      padding-left: 30px; /* Creates space for the custom icon */
      margin-bottom: 12px; /* Adds spacing between items */
      background-image: url('../images/drop-icon.png'); /* Replace with your image URL */
      background-repeat: no-repeat;
      background-position: left top; /* Aligns icon to the left and centers vertically */
      background-size: 15px auto; /* Restricts the size of your icon image */
    }

/* Triggers the dropdown menu on desktop hover */
@media (min-width: 992px) {
  .nav-item.dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0; 
  }
}