/* styles.css - Northeast Power Solutions (NEPS) */
:root {
  --navy: #0a192f;
  --navy-light: #112240;
  --green: #25D366;
  --green-accent: #a5ea31;
  --green-hover: #1eb956;
  --gold: #d4a017;
  --gold-dark: #b2830f;
  --gold-light: #fff8e8;
  --white: #ffffff;
  --gray-light: #f8f9fa;
  --gray-medium: #e2e8f0;
  --text-dark: #1a202c;
  --text-medium: #4a5568;
  --text-light: #a0aec0;
  
  --font-main: 'Inter', sans-serif;
  
  --transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --border-radius: 14px;
}

/* Reset & Basics */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-main);
  color: var(--text-dark);
  background-color: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
  position: relative;
}

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

ul {
  list-style: none;
}

img, svg, video, iframe {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  line-height: 1.2;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1rem;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

h1 {
  font-size: clamp(2rem, 5.5vw + 0.5rem, 3.5rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.5rem, 3.5vw + 0.4rem, 2.5rem);
  letter-spacing: -0.01em;
}

h3 {
  font-size: clamp(1.2rem, 2.5vw + 0.3rem, 1.75rem);
}

p {
  margin-bottom: 1rem;
  color: var(--text-medium);
  overflow-wrap: break-word;
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

@media (max-width: 640px) {
  .container {
    padding: 0 1rem;
  }
}

@media (max-width: 360px) {
  .container {
    padding: 0 0.75rem;
  }
}

.section {
  padding: 5rem 0;
}

@media (max-width: 768px) {
  .section {
    padding: 3.5rem 0;
  }
}

.section-bg-light {
  background-color: var(--gray-light);
}

.section-bg-dark {
  background-color: var(--navy);
  color: var(--white);
}

.section-bg-dark h2, .section-bg-dark h3, .section-bg-dark p {
  color: var(--white);
}

.text-center {
  text-align: center;
}

.grid {
  display: grid;
  gap: 2rem;
}

.grid-2 {
  grid-template-columns: 1fr;
}

.grid-3 {
  grid-template-columns: 1fr;
}

.grid-4 {
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  
  h1 { font-size: 3.5rem; }
  h2 { font-size: 2.5rem; }
}

@media (min-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.75rem;
  font-weight: 600;
  border-radius: 50px;
  transition: var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-primary {
  background-color: var(--green);
  color: var(--navy);
}

.btn-primary:hover {
  background-color: var(--green-hover);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(165, 234, 49, 0.3);
}

.btn-secondary {
  background-color: var(--navy);
  color: var(--white);
}

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

.btn-outline {
  background-color: transparent;
  border-color: var(--navy);
  color: var(--navy);
}

.btn-outline:hover {
  background-color: var(--navy);
  color: var(--white);
}

.btn-outline-light {
  background-color: transparent;
  border-color: var(--white);
  color: var(--white);
}

.btn-outline-light:hover {
  background-color: var(--white);
  color: var(--navy);
}

/* Top Announcement Bar */
.top-announcement-bar {
  background: var(--navy);
  color: var(--white);
  font-size: 0.78rem;
  padding: 0.35rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.top-bar-left strong {
  color: var(--gold);
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.top-bar-right a {
  color: var(--gold);
  font-weight: 600;
  transition: var(--transition);
}

.top-bar-right a:hover {
  text-decoration: underline;
}

.top-divider {
  color: rgba(255, 255, 255, 0.3);
}

.support-phones a {
  white-space: nowrap;
}

@media (max-width: 992px) {
  .top-bar-flex {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.35rem 0.75rem;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .top-announcement-bar {
    font-size: 0.72rem;
    padding: 0.35rem 0.5rem;
  }
  .top-bar-left {
    display: none;
  }
  .top-bar-flex {
    justify-content: center;
    text-align: center;
  }
  .top-bar-right {
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.25rem 0.5rem;
  }
  .top-bar-right span {
    font-size: 0.72rem;
  }
  .top-divider, .top-bar-right span:last-child {
    display: none;
  }
  .support-phones {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.2rem 0.4rem;
  }
}

@media (max-width: 360px) {
  .support-phones .phone-slash {
    display: none;
  }
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  border-bottom: 1px solid var(--gray-medium);
  transition: var(--transition);
}

.header.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.header-main-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}

@media (max-width: 768px) {
  .header-main-wrap {
    height: 62px;
  }
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.logo-img {
  height: 52px;
  width: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}

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

.logo-text-group {
  display: flex;
  flex-direction: column;
}

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

.logo-sub {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gold-dark);
  letter-spacing: 1px;
  line-height: 1;
}

.logo-tagline {
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--text-medium);
  letter-spacing: 0.8px;
  margin-top: 1px;
}

@media (max-width: 768px) {
  .logo {
    gap: 0.5rem;
    max-width: calc(100% - 48px);
  }
  .logo-img {
    height: 42px;
  }
  .logo-brand {
    font-size: 1.05rem;
  }
  .logo-sub {
    font-size: 0.66rem;
  }
  .logo-tagline {
    font-size: 0.52rem;
  }
}

@media (max-width: 360px) {
  .logo-img {
    height: 35px;
  }
  .logo-brand {
    font-size: 0.92rem;
  }
  .logo-sub {
    font-size: 0.58rem;
  }
  .logo-tagline {
    display: none;
  }
}

.nav-links {
  display: none;
}

@media (min-width: 1024px) {
  .nav-links {
    display: flex;
    gap: 0.85rem;
    align-items: center;
  }
  
  .nav-link {
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--navy);
    transition: var(--transition);
    position: relative;
    padding: 0.25rem 0;
    white-space: nowrap;
  }
  
  .nav-link:hover {
    color: var(--gold-dark);
  }
  
  .nav-quote-btn {
    padding: 0.55rem 1.1rem;
    font-size: 0.82rem;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.25);
    white-space: nowrap;
  }
}

@media (min-width: 1280px) {
  .nav-links {
    gap: 1.25rem;
  }
  
  .nav-link {
    font-size: 0.90rem;
  }
  
  .nav-quote-btn {
    padding: 0.65rem 1.35rem;
    font-size: 0.88rem;
  }
}

.mobile-menu-btn {
  display: block;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
}

.mobile-menu-btn span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: var(--navy);
  margin: 5px 0;
  transition: var(--transition);
}

@media (min-width: 1024px) {
  .mobile-menu-btn {
    display: none;
  }
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  background-color: rgba(10, 25, 47, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: var(--white);
  z-index: 999;
  padding: 5.5rem 1.5rem 2rem;
  transform: translateX(100%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease, visibility 0.35s;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.mobile-menu-overlay.active {
  transform: translateX(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.mobile-nav-links a {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--white);
  display: block;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 0.5rem;
}

.mobile-brand-header {
  text-align: center;
  padding-bottom: 1.5rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

/* Full Hero Slider */
.hero-full-slider::-webkit-scrollbar { 
  display: none; 
}

.hero-slide { 
  flex: 0 0 100%; 
  width: 100%; 
  scroll-snap-align: start; 
  padding: 135px 0 5rem;
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
}

@media (max-width: 768px) {
  .hero-slide {
    padding: 110px 0 3.5rem;
    min-height: auto;
  }
  .hero-slide .slide-img-wrap {
    margin-top: 1.5rem;
  }
  .hero-slide .slide-img-wrap img {
    max-height: 250px;
    border-radius: 12px;
  }
  .hero-slider-nav {
    bottom: 1rem;
    gap: 0.6rem;
  }
  .hero-slide .hero-content h1 {
    font-size: clamp(2rem, 7vw, 2.75rem);
  }
  .hero-slide .hero-content p {
    font-size: 0.98rem !important;
  }
  .hero-slide .hero-content ul {
    font-size: 0.88rem !important;
  }
}

.hero-slide .slide-img-wrap {
  margin-top: 3rem;
}

.hero-slide .slide-img-wrap img {
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
  width: 100%;
  max-height: 500px;
  object-fit: cover;
}

/* Dots navigation */
.hero-slider-nav {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 1rem;
  z-index: 10;
}

.hero-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--gray-medium);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  padding: 0;
}

.hero-dot.active {
  background-color: var(--green);
  transform: scale(1.3);
}

/* Scroll-Driven Slide Animations */
@supports ((animation-timeline: view()) and (animation-range: entry)) {
  .hero-slide .hero-content {
    animation: slide-in-text auto linear both;
    animation-timeline: view(inline);
  }
  .hero-slide .slide-img-wrap {
    animation: slide-in-img auto linear both;
    animation-timeline: view(inline);
  }
}

@keyframes slide-in-text {
  0% { transform: translateX(-40px); opacity: 0; }
  45%, 55% { transform: translateX(0); opacity: 1; }
  100% { transform: translateX(40px); opacity: 0; }
}

@keyframes slide-in-img {
  0% { transform: scale(0.9) translateX(40px); opacity: 0; }
  45%, 55% { transform: scale(1) translateX(0); opacity: 1; }
  100% { transform: scale(0.9) translateX(-40px); opacity: 0; }
}

@media (min-width: 1024px) {
  .hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 4rem;
  }
  .hero-slide .slide-img-wrap {
    margin-top: 0;
  }
}

.badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background-color: rgba(165, 234, 49, 0.2);
  color: var(--navy);
  font-weight: 600;
  font-size: 0.85rem;
  border-radius: 2rem;
  margin-bottom: 1rem;
}

/* Trust Strip */
.trust-strip {
  background-color: var(--navy);
  padding: 2rem 0;
  color: var(--white);
}

@media (max-width: 640px) {
  .trust-strip {
    padding: 1.25rem 0;
  }
  .trust-strip .grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.6rem !important;
  }
  .trust-item {
    font-size: 0.8rem;
    gap: 0.5rem;
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    justify-content: flex-start !important;
  }
  .trust-item svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
  }
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-weight: 600;
  transition: var(--transition);
}

.trust-item:hover {
  transform: translateY(-5px);
  color: var(--green);
}

.trust-item:hover svg {
  transform: scale(1.15) rotate(5deg);
}

.trust-item svg {
  color: var(--green);
  width: 24px;
  height: 24px;
  transition: var(--transition);
}

/* Cards */
.card {
  background-color: var(--white);
  border: 1px solid var(--gray-medium);
  border-radius: var(--border-radius);
  padding: 2.5rem 2rem;
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}

@media (max-width: 768px) {
  .card {
    padding: 1.5rem 1.15rem !important;
  }
}

.card:hover {
  box-shadow: 0 15px 40px rgba(10, 25, 47, 0.08);
  border-color: var(--green);
  transform: translateY(-8px);
}

.card-icon {
  width: 60px;
  height: 60px;
  background-color: rgba(165, 234, 49, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--green);
  transition: var(--transition);
}

.card:hover .card-icon {
  background-color: var(--green);
  color: var(--navy);
  transform: scale(1.1);
}

.card-title {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.card-body {
  flex-grow: 1;
}

.card-link {
  margin-top: 1.5rem;
  font-weight: 600;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition);
}

.card-link:hover {
  color: var(--green);
}

/* Project Cards */
.project-card {
  border: 1px solid var(--gray-medium);
  border-radius: var(--border-radius);
  overflow: hidden;
  transition: var(--transition);
  background: var(--white);
}

.project-card:hover {
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.project-img-wrap {
  width: 100%;
  height: 240px;
  background-color: var(--gray-medium);
  overflow: hidden;
  border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.project-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.project-content {
  padding: 1.5rem;
}

.project-tag {
  font-size: 0.8rem;
  color: var(--green);
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  display: block;
}

/* Footer */
.footer {
  background-color: var(--navy-light);
  color: var(--white);
  padding: 4rem 0 2rem;
}

.footer h4 {
  color: var(--white);
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--text-light);
  transition: var(--transition);
}

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

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 3rem;
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

/* Floating WhatsApp */
.floating-whatsapp {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background-color: #25D366;
  color: white;
  border-radius: 50px;
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
  z-index: 100;
  transition: var(--transition);
}

.floating-whatsapp:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
}

@media (max-width: 768px) {
  .floating-whatsapp {
    bottom: 1.25rem;
    right: 1.25rem;
    width: 48px;
    height: 48px;
    padding: 0;
    border-radius: 50%;
    justify-content: center;
    box-shadow: 0 6px 18px rgba(37, 211, 102, 0.45);
  }
  .floating-whatsapp span {
    display: none;
  }
  .floating-whatsapp svg {
    width: 24px;
    height: 24px;
  }
}

/* Forms */
.form-group {
  margin-bottom: 1.5rem;
}

@media (max-width: 640px) {
  .form-group {
    margin-bottom: 1.15rem;
  }
}

.form-label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--navy);
  font-size: 0.92rem;
}

.form-control {
  width: 100%;
  padding: 1rem 1.25rem;
  border: 1px solid var(--gray-medium);
  border-radius: 12px;
  font-family: var(--font-main);
  font-size: 1rem;
  transition: var(--transition);
  background-color: var(--white);
}

@media (max-width: 640px) {
  .form-control {
    padding: 0.8rem 1rem;
    font-size: 0.95rem;
  }
}

.form-control:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(165, 234, 49, 0.2);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

/* Hero Pages */
.page-hero {
  padding: 10.5rem 0 4.5rem;
  background: linear-gradient(135deg, #071526 0%, #0b1e36 60%, #132a4a 100%);
  color: #ffffff;
  text-align: center;
  position: relative;
}

.page-hero h1,
.page-hero h2,
.page-hero h3,
.page-hero h4,
.page-hero h5,
.page-hero h6 {
  color: #ffffff !important;
}

.page-hero p,
.page-hero .lead,
.page-hero .text-medium,
.page-hero .text-muted {
  color: #cbd5e1 !important;
  font-size: 1.15rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.page-hero .founder-badge-top {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(212, 160, 23, 0.18);
  border: 1px solid var(--gold);
  color: #f6c860 !important;
  padding: 0.4rem 1.1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.page-hero .breadcrumb,
.page-hero .breadcrumb a {
  color: rgba(255, 255, 255, 0.75);
}

.page-hero .breadcrumb a:hover {
  color: var(--gold);
}

@media (max-width: 768px) {
  .page-hero {
    padding: 7.5rem 0 3rem !important;
  }
  .page-hero h1 {
    font-size: clamp(1.85rem, 6vw, 2.5rem);
  }
  .page-hero p {
    font-size: 0.95rem !important;
    padding: 0 0.5rem;
  }
}

/* Utils */
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }

.color-green { color: var(--green); }
.color-navy { color: var(--navy); }
.color-gold { color: var(--gold-dark); }

/* Product Showcase Grid & Cards */
.product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 640px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 640px) {
  .product-grid {
    gap: 1.25rem;
  }
}

.product-card {
  background: var(--white);
  border: 1px solid var(--gray-medium);
  border-radius: var(--border-radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(10, 25, 47, 0.04);
  position: relative;
}

.product-card:hover {
  transform: translateY(-8px);
  border-color: var(--gold);
  box-shadow: 0 16px 36px rgba(10, 25, 47, 0.12);
}

.product-card-header {
  position: relative;
  background: #fdfefe;
  padding: 3.25rem 1.25rem 1.5rem 1.25rem;
  border-bottom: 1px solid var(--gray-medium);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 250px;
  overflow: hidden;
}

@media (max-width: 640px) {
  .product-card-header {
    min-height: 200px;
    padding: 2.75rem 0.85rem 1rem;
  }
}

.product-card-img {
  max-width: 100%;
  max-height: 185px;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform 0.4s ease;
  display: block;
  position: relative;
  z-index: 1;
}

@media (max-width: 640px) {
  .product-card-img {
    max-height: 155px;
  }
}

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

.product-badge-warranty {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  background: #e63946;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.72rem;
  padding: 0.35rem 0.75rem;
  border-radius: 50px;
  box-shadow: 0 2px 8px rgba(230, 57, 70, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 10;
  pointer-events: none;
}

.product-badge-category {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  background: var(--navy);
  color: var(--white);
  font-weight: 700;
  font-size: 0.72rem;
  padding: 0.35rem 0.65rem;
  border-radius: 4px;
  letter-spacing: 0.5px;
  z-index: 10;
  pointer-events: none;
}

@media (max-width: 480px) {
  .product-badge-category, .product-badge-warranty {
    font-size: 0.65rem;
    padding: 0.25rem 0.55rem;
  }
}

.product-card-body {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

@media (max-width: 640px) {
  .product-card-body {
    padding: 1.25rem 1rem;
  }
}

.product-brand-tag {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gold-dark);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}

.product-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

@media (max-width: 640px) {
  .product-title {
    font-size: 1.2rem;
  }
}

.product-spec-pill {
  display: inline-block;
  background: var(--gold-light);
  color: var(--gold-dark);
  border: 1px solid rgba(212, 160, 23, 0.25);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  margin-bottom: 1rem;
  align-self: flex-start;
}

@media (max-width: 480px) {
  .product-spec-pill {
    font-size: 0.78rem;
    padding: 0.2rem 0.5rem;
  }
}

.product-features-list {
  font-size: 0.88rem;
  color: var(--text-medium);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

@media (max-width: 640px) {
  .product-features-list {
    font-size: 0.84rem;
    margin-bottom: 1.25rem;
  }
}

.product-features-list li {
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.product-features-list li svg {
  color: var(--green);
  flex-shrink: 0;
}

.product-btn-wa {
  background: #25D366;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.85rem 1.25rem;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-decoration: none;
  transition: var(--transition);
  width: 100%;
}

@media (max-width: 480px) {
  .product-btn-wa {
    font-size: 0.88rem;
    padding: 0.75rem 1rem;
  }
}

.product-btn-wa:hover {
  background: #1eb956;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.35);
}

/* Category Section Header */
.category-section-header {
  border-bottom: 2px solid var(--gold);
  padding-bottom: 1rem;
  margin-bottom: 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.category-section-header.border-navy {
  border-bottom-color: var(--navy);
}

@media (max-width: 768px) {
  .category-section-header {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    margin-bottom: 1.75rem;
  }
  .category-section-header .btn {
    width: 100%;
  }
}

/* Category Filter Tabs */
.category-filter-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 2.5rem;
}

@media (max-width: 768px) {
  .category-filter-nav {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    padding: 0.4rem 0.25rem 1rem;
    gap: 0.5rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .category-filter-nav::-webkit-scrollbar {
    display: none;
  }
  .cat-filter-btn {
    white-space: nowrap;
    flex-shrink: 0;
    padding: 0.55rem 1.1rem;
    font-size: 0.84rem;
  }
}

.cat-filter-btn {
  background: var(--white);
  border: 1px solid var(--gray-medium);
  padding: 0.7rem 1.4rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--navy);
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

.cat-filter-btn:hover, .cat-filter-btn.active {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

/* Leadership & Founder Section */
.founder-card {
  background: linear-gradient(145deg, #0b1e36 0%, #112746 100%);
  border-radius: 20px;
  color: #ffffff;
  padding: 3.5rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(11, 30, 54, 0.2);
  border: 1px solid rgba(212, 160, 23, 0.25);
}

@media (max-width: 768px) {
  .founder-card {
    padding: 1.75rem 1.15rem !important;
    border-radius: 14px;
  }
}

.founder-card::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(212, 160, 23, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.founder-badge-top {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(212, 160, 23, 0.15);
  border: 1px solid var(--gold);
  color: var(--gold);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  max-width: 100%;
}

.founder-name {
  font-size: 2.4rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.35rem;
}

@media (max-width: 768px) {
  .founder-name {
    font-size: 1.85rem;
  }
}

.founder-title {
  font-size: 1.15rem;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 1.75rem;
}

@media (max-width: 768px) {
  .founder-title {
    font-size: 1rem;
    margin-bottom: 1.25rem;
  }
}

.founder-quote-box {
  background: rgba(255, 255, 255, 0.05);
  border-left: 4px solid var(--gold);
  padding: 1.5rem 2rem;
  border-radius: 0 12px 12px 0;
  margin: 1.75rem 0;
  font-style: italic;
  font-size: 1.15rem;
  color: #f0f4f8;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .founder-quote-box {
    padding: 1rem 1.15rem;
    font-size: 1.02rem;
    margin: 1.25rem 0;
  }
}

.founder-creed {
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--gold);
  letter-spacing: 0.5px;
  margin-top: 1.5rem;
  text-align: center;
}

@media (max-width: 768px) {
  .founder-creed {
    font-size: 1.1rem;
  }
}

.founder-highlights {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

@media (min-width: 768px) {
  .founder-highlights {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .founder-highlights {
    grid-template-columns: 1fr !important;
    gap: 0.75rem !important;
    margin-top: 1.5rem;
  }
}

.founder-highlight-item {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.5rem;
  border-radius: 12px;
  text-align: center;
}

@media (max-width: 768px) {
  .founder-highlight-item {
    padding: 1rem;
  }
}

.founder-highlight-item h4 {
  color: var(--gold);
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 0.25rem;
}

.founder-highlight-item p {
  color: var(--text-light);
  font-size: 0.85rem;
  margin: 0;
}

/* Official Address & Verification Card */
.address-card-hq {
  background: var(--white);
  border: 2px solid var(--gold);
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: 0 10px 30px rgba(11, 30, 54, 0.06);
  position: relative;
}

@media (max-width: 768px) {
  .address-card-hq {
    padding: 1.75rem 1.15rem !important;
  }
}

.address-badge-hq {
  position: absolute;
  top: -14px;
  left: 2rem;
  background: var(--navy);
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.35rem 1rem;
  border-radius: 50px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

@media (max-width: 768px) {
  .address-badge-hq {
    left: 1rem;
    font-size: 0.68rem;
    padding: 0.25rem 0.65rem;
  }
}

/* Responsive Table Wrapper */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 1.5rem;
  border-radius: 12px;
  position: relative;
}

.table-responsive table {
  min-width: 650px;
  width: 100%;
}

@media (max-width: 768px) {
  .table-responsive {
    padding: 0.25rem;
    border: 1px solid var(--gray-medium);
    background: #fff;
  }
  .table-responsive th,
  .table-responsive td {
    padding: 0.75rem 0.85rem !important;
    font-size: 0.84rem !important;
  }
}

/* Responsive Form Rows for Nested Grids */
.form-row-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 992px) {
  .form-row-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Responsive HQ and Overview Cards */
.contact-hq-card {
  background-color: var(--navy);
  color: var(--white);
  padding: 3rem;
  border-radius: 16px;
  border: 1px solid rgba(212, 160, 23, 0.3);
  box-shadow: 0 16px 40px rgba(11, 30, 54, 0.15);
}

@media (max-width: 768px) {
  .contact-hq-card {
    padding: 1.5rem 1.15rem !important;
  }
}

.about-neps-card {
  background: linear-gradient(135deg, #0b1e36 0%, #152e50 100%);
  border-radius: 20px;
  padding: 3rem 2.5rem;
  color: #fff;
  box-shadow: 0 15px 40px rgba(11, 30, 54, 0.12);
  border: 1px solid rgba(212, 160, 23, 0.3);
  text-align: center;
}

@media (max-width: 768px) {
  .about-neps-card {
    padding: 1.75rem 1.15rem !important;
  }
}

@media (max-width: 480px) {
  .neps-card-grid {
    grid-template-columns: 1fr !important;
  }
}

/* Stats Section Responsiveness */
@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1.5rem 1rem !important;
  }
  .stats-grid h2 {
    font-size: 2.1rem !important;
  }
  .stats-grid p {
    font-size: 0.88rem !important;
  }
  .stats-grid span {
    font-size: 0.72rem !important;
  }
}

@media (max-width: 360px) {
  .stats-grid h2 {
    font-size: 1.75rem !important;
  }
}

/* Mobile Gap Limiter for Large Inlines */
@media (max-width: 768px) {
  .grid[style*="gap: 4rem"],
  .grid[style*="gap: 3.5rem"],
  .grid[style*="gap: 3rem"],
  .grid[style*="gap: 2.5rem"],
  [style*="gap: 4rem"],
  [style*="gap: 3.5rem"],
  [style*="gap: 3rem"] {
    gap: 1.75rem !important;
  }
}

/* Typography Responsive Clamping */
@media (max-width: 768px) {
  h1 {
    font-size: clamp(1.75rem, 6.5vw, 2.35rem) !important;
  }
  h2 {
    font-size: clamp(1.35rem, 5vw, 1.85rem) !important;
  }
  h3 {
    font-size: clamp(1.1rem, 4vw, 1.35rem) !important;
  }
  .founder-name {
    font-size: clamp(1.6rem, 5.5vw, 2rem) !important;
  }
}

/* Mobile Button Stacking in Hero & Cards */
@media (max-width: 480px) {
  .hero-slide .hero-content div[style*="display: flex"],
  .page-hero div[style*="display: flex"],
  .founder-card div[style*="display: flex"],
  .card div[style*="display: flex"] {
    flex-direction: column !important;
    width: 100% !important;
    gap: 0.75rem !important;
  }
  .hero-slide .hero-content .btn,
  .page-hero .btn,
  .founder-card .btn,
  .card div[style*="display: flex"] .btn {
    width: 100% !important;
    text-align: center !important;
  }
}

/* Small Screen Optimizations (<=360px) */
@media (max-width: 360px) {
  .product-card-header {
    min-height: 175px;
    padding: 2.25rem 0.5rem 0.75rem;
  }
  .product-card-img {
    max-height: 135px;
  }
  .product-title {
    font-size: 1.1rem;
  }
  .btn {
    padding: 0.75rem 1.25rem;
    font-size: 0.88rem;
  }
}



