/* ==========================================================================
   LIFLO CHARGERS - MASTER STYLESHEET
   ========================================================================== */

/* --- 1. Custom CSS Variables (Design System) --- */
:root {
  --primary-color: #00A859;
  --primary-hover: #008f4b;
  --secondary-color: #0F172A;
  --secondary-light: #1E293B;
  --accent-color: #38BDF8;
  --bg-light: #F8FAFC;
  --text-muted: #64748B;
  --white: #FFFFFF;
  --border-color: rgba(226, 232, 240, 0.8);
  --shadow-sm: 0 4px 14px rgba(15, 23, 42, 0.05);
  --shadow-lg: 0 20px 40px rgba(15, 23, 42, 0.08);
}

/* --- 2. General Reset & Typography --- */
body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-light);
  color: var(--secondary-color);
  overflow-x: hidden;
  padding-top: 80px; /* Space for fixed navbar */
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  color: var(#ffffff);
  letter-spacing: -0.5px;
}

.tracking-wider {
  letter-spacing: 1.5px;
}

.cursor-pointer {
  cursor: pointer;
}

/* --- 3. Header & Navigation --- */
.navbar {
  transition: all 0.3s ease;
  padding: 1.2rem 0;
  background-color: var(--secondary-color);
}

.navbar.scrolled {
  background-color: rgba(15, 23, 42, 0.95) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  padding: 0.8rem 0;
}

.navbar-brand {
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--white) !important;
}

.navbar-brand span {
  color: var(--primary-color);
}

.nav-link {
  color: rgba(255, 255, 255, 0.85) !important;
  font-weight: 500;
  font-size: 0.95rem;
  margin: 0 0.2rem;
  transition: color 0.2s ease;
}

.nav-link:hover, 
.nav-link.active {
  color: var(--primary-color) !important;
}

/* Navigation Dropdown Menu */
@media (min-width: 1200px) {
  .navbar .nav-item.dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
    animation: fadeIn 0.3s ease;
  }
}

.dropdown-menu {
  border-radius: 12px;
  border: 1px solid var(--border-color);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.15);
  background-color: var(--white);
  padding: 0.5rem;
}

.dropdown-item {
  font-weight: 500;
  font-size: 0.9rem;
  border-radius: 8px;
  padding: 0.5rem 1rem;
  color: var(--secondary-color);
  transition: all 0.2s ease;
}

.dropdown-item:hover {
  background-color: var(--bg-light);
  color: var(--primary-color);
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --- 4. Custom Buttons --- */
.btn-primary-custom {
  background-color: var(--primary-color);
  color: var(--white);
  border: none;
  font-weight: 600;
  padding: 0.75rem 1.8rem;
  border-radius: 50px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 14px rgba(0, 168, 89, 0.3);
}

.btn-primary-custom:hover {
  background-color: var(--primary-hover);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 168, 89, 0.4);
}

.btn-outline-custom {
  border: 2px solid var(--accent-color);
  color: var(--white);
  font-weight: 600;
  padding: 0.75rem 1.8rem;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.btn-outline-custom:hover {
  background-color: var(--accent-color);
  color: var(--secondary-color);
  transform: translateY(-2px);
}

/* --- 5. Hero Banner & Page Banners --- */
.hero-section {
  position: relative;
  min-height: 85vh;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.92), rgba(15, 23, 42, 0.82)), 
              url('https://images.unsplash.com/photo-1563720223185-11003d516935?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
  display: flex;
  align-items: center;
}

.page-banner {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(15, 23, 42, 0.85)), 
              url('https://images.unsplash.com/photo-1563720223185-11003d516935?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
  padding: 80px 0 60px 0;
  color: var(--white);
}

/* --- 6. Card & Hover Effects --- */
.card-hover {
  border: 1px solid var(--border-color);
  border-radius: 16px;
  background: var(--white);
  transition: all 0.3s ease;
}

.card-hover:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg) !important;
  border-color: rgba(0, 168, 89, 0.4) !important;
}

.feature-icon-box {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  background: rgba(0, 168, 89, 0.1);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.25rem;
  transition: all 0.3s ease;
}

.card-hover:hover .feature-icon-box {
  background: var(--primary-color);
  color: var(--white);
}

/* --- 7. Product Gallery & Specifications Table --- */
.main-image-box {
  background-color: var(--bg-light);
  border-radius: 16px;
}

.thumbnail-box {
  transition: all 0.2s ease;
  border: 1px solid var(--border-color);
}

.thumbnail-box:hover {
  border-color: var(--primary-color) !important;
  transform: scale(1.03);
}

.table-striped > tbody > tr:nth-of-type(odd) > * {
  --bs-table-bg-type: rgba(248, 250, 252, 0.7);
}

/* --- 8. Statistics Counter Section --- */
.stats-section {
  background-color: var(--secondary-color);
  color: var(--white);
  padding: 5rem 0;
  position: relative;
}

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--accent-color);
}

/* --- 9. Process Step Badges --- */
.step-number {
  width: 42px;
  height: 42px;
  background: var(--primary-color);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-bottom: 1rem;
}

/* --- 10. Forms & Controls --- */
.form-control, .form-select {
  border-radius: 10px;
  padding: 0.75rem 1rem;
  border: 1px solid #CBD5E1;
  transition: all 0.2s ease;
}

.form-control:focus, .form-select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.25rem rgba(0, 168, 89, 0.15);
}

/* --- 11. Accordion / FAQ --- */
.accordion-button:not(.collapsed) {
  color: var(--primary-color);
  background-color: rgba(0, 168, 89, 0.05);
  box-shadow: none;
}

.accordion-button:focus {
  box-shadow: none;
  border-color: var(--border-color);
}

/* --- 12. Footer --- */
.footer-dark {
  background-color: var(--secondary-color);
  color: #94A3B8;
  padding-top: 4rem;
  padding-bottom: 2rem;
}

.footer-dark h5 {
  color: var(--white);
  font-weight: 700;
  margin-bottom: 1.2rem;
}

.footer-links a {
  color: #94A3B8;
  text-decoration: none;
  display: block;
  margin-bottom: 0.6rem;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--primary-color);
}

.social-icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 0.4rem;
  transition: all 0.3s ease;
}

.social-icon-btn:hover {
  background: var(--primary-color);
  color: var(--white);
  transform: translateY(-2px);
}

/* --- 13. Responsive Utilities --- */
@media (max-width: 991.98px) {
  body {
    padding-top: 70px;
  }
  .navbar-collapse {
    background-color: var(--secondary-color);
    padding: 1.5rem;
    border-radius: 12px;
    margin-top: 0.5rem;
  }
  .stat-number {
    font-size: 2.2rem;
  }
}
/* ==========================================================================
   CONTACT PAGE SPECIFIC STYLES
   ========================================================================== */

/* Contact Cards Hover & Glow */
.contact-info-card {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid var(--border-color);
}

.contact-info-card:hover {
  transform: translateY(-3px);
  border-color: var(--primary-color) !important;
  box-shadow: 0 10px 25px rgba(0, 168, 89, 0.1) !important;
}

/* Contact Icon Pulse Animation on Hover */
.contact-icon-wrapper {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(0, 168, 89, 0.1);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.contact-info-card:hover .contact-icon-wrapper {
  background: var(--primary-color);
  color: var(--white);
  transform: scale(1.08);
}

/* Contact Form Input Glow */
.contact-form .form-control,
.contact-form .form-select {
  border-radius: 12px;
  border: 1px solid #CBD5E1;
  padding: 0.8rem 1rem;
  font-size: 0.95rem;
  transition: all 0.25s ease;
  background-color: #FAFAFC;
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
  background-color: var(--white);
  border-color: var(--primary-color);
  box-shadow: 0 0 0 4px rgba(0, 168, 89, 0.12);
}

.contact-form textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

/* Google Maps Container Frame */
.map-container {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(15, 23, 42, 0.08);
  border: 1px solid var(--border-color);
  transition: border-color 0.3s ease;
}

.map-container:hover {
  border-color: rgba(0, 168, 89, 0.3);
}

.map-container iframe {
  vertical-align: middle;
  filter: grayscale(10%) contrast(100%);
  transition: filter 0.3s ease;
}

.map-container:hover iframe {
  filter: grayscale(0%);
}