/*
  HYDRONEXIS Engineering & Innovation Private Limited
  Premium Styling Sheet - Custom Navbar, Background Hero & Services Cards
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
  --primary-navy: #0F2042;
  --primary-navy-hover: #1E3A6E;
  --secondary-green: #10B981;
  --secondary-green-hover: #059669;
  --bg-white: #FFFFFF;
  --bg-slate: #F8FAFC;
  --bg-slate-dark: #F1F5F9;
  --text-dark: #0F172A;
  --text-slate: #475569;
  --text-light: #94A3B8;
  --border-light: #E2E8F0;
  
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.08), 0 2px 4px -2px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.1), 0 4px 6px -4px rgba(15, 23, 42, 0.05);
  --shadow-premium: 0 20px 25px -5px rgba(15, 23, 42, 0.08), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
   --gold: #F5A623;
  --flame: #FF6B00;
  --white: #FFFFFF;
  --muted: #9a9a9a;
  --glass: rgba(255, 255, 255, 0.04);
  --glass-border: rgba(245, 166, 35, 0.25);
  --grad-gold: linear-gradient(135deg, #F5A623 0%, #FF6B00 100%);
  --grad-dark: linear-gradient(180deg, #0B0B0B 0%, #1A1A1A 100%);
  --shadow-gold: 0 10px 40px -10px rgba(245, 166, 35, 0.45);
  --shadow-flame: 0 0 60px rgba(255, 107, 0, 0.35);

}

/* Page Preloader Overlay */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--primary-navy);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.spinner {
  width: 60px;
  height: 60px;
  position: relative;
}

.double-bounce1, .double-bounce2 {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: var(--secondary-green);
  opacity: 0.6;
  position: absolute;
  top: 0;
  left: 0;
  animation: sk-bounce 2.0s infinite ease-in-out;
}

.double-bounce2 {
  animation-delay: -1.0s;
  background-color: var(--bg-white);
}

@keyframes sk-bounce {
  0%, 100% { transform: scale(0.0) }
  50% { transform: scale(1.0) }
}

/* Global Reset & Base Styling */
body {
  font-family: var(--font-body);
  color: var(--text-slate);
  background-color: var(--bg-white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--primary-navy);
  font-weight: 700;
}

a {
  color: var(--secondary-green);
  text-decoration: none;
  transition: var(--transition-smooth);
}

a:hover {
  color: var(--secondary-green-hover);
}

/* Info Top Bar */
.top-bar {
  background-color: var(--primary-navy);
  color: rgba(255, 255, 255, 0.85);
  padding: 0.4rem 1.5rem;
  font-size: 0.8rem;
  font-weight: 500;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar a {
  color: rgba(255, 255, 255, 0.85);
  transition: var(--transition-smooth);
}

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

.top-bar i {
  color: #FF3E6C; /* Highlighted pink/orange icons matching the screenshot */
}

/* Navbar (White Background) */
.navbar-custom {
  background-color: var(--bg-white);
  padding: 0.9rem 1.5rem;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
  z-index: 1050;
  transition: var(--transition-smooth);
}

.navbar-custom.navbar-scrolled {
  padding: 0.6rem 1.5rem;
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.navbar-custom .navbar-brand {
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--primary-navy) !important;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  letter-spacing: -0.5px;
}

.navbar-custom .nav-link {
  color: var(--text-dark) !important;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.5rem 1rem !important;
  border-radius: 4px;
  transition: var(--transition-smooth);
  position: relative;
}

.navbar-custom .nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 1rem;
  background-color: var(--secondary-green);
  transition: var(--transition-smooth);
}

.navbar-custom .nav-link:hover::after,
.navbar-custom .nav-item.active .nav-link::after {
  width: calc(100% - 2rem);
}

.navbar-custom .nav-link:hover,
.navbar-custom .nav-item.active .nav-link {
  color: var(--secondary-green) !important;
}

/* Glassmorphic White Dropdown Menu */
.navbar-custom .dropdown-menu {
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(15px);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-premium);
  border-radius: 12px;
  padding: 0.6rem;
  margin-top: 15px;
  opacity: 0;
  visibility: hidden;
  display: block;
  transform: translateY(15px);
  transition: var(--transition-smooth);
}

.navbar-custom .dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.navbar-custom .dropdown-item {
  color: var(--text-dark) !important;
  font-weight: 500;
  font-size: 0.9rem;
  padding: 0.65rem 1.2rem;
  border-radius: 8px;
  transition: var(--transition-smooth);
}

.navbar-custom .dropdown-item:hover {
  background-color: var(--secondary-green) !important;
  color: var(--bg-white) !important;
  transform: translateX(6px);
}

.navbar-custom .dropdown-toggle::after {
  transition: transform 0.3s ease;
}
.navbar-custom .dropdown:hover .dropdown-toggle::after {
  transform: rotate(180deg);
}

/* Custom Hamburger Icon for White Navbar */
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2815, 32, 66, 0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

.navbar-toggler {
  border-color: rgba(15, 32, 66, 0.15) !important;
  padding: 0.4rem 0.6rem;
  transition: var(--transition-smooth);
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.4);
}

/* Consultation CTA Button */
.btn-cta-green {
  background-color: var(--secondary-green);
  color: var(--bg-white) !important;
  font-weight: 600;
  font-family: var(--font-heading);
  padding: 0.7rem 1.6rem;
  border-radius: 6px; /* Matches the square layout in screenshot */
  border: 2px solid var(--secondary-green);
  transition: var(--transition-smooth);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.25);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-cta-green::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 100%;
  background-color: var(--secondary-green-hover);
  transition: var(--transition-smooth);
  z-index: -1;
}

.btn-cta-green:hover::before {
  width: 100%;
}

.btn-cta-green:hover {
  color: var(--bg-white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.35);
}

/* Hero Section with Full Image Background */
.hero-section {
  position: relative;
  background-image: linear-gradient(to right, rgba(15, 32, 66, 0.85), rgba(16, 185, 129, 0.75)), url('../images/hero.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 13rem 0 10rem 0;
  min-height: 95vh;
  display: flex;
  align-items: center;
  color: var(--bg-white);
}

.hero-section::before {
  display: none;
}

.hero-subtitle {
  background-color: rgba(16, 185, 129, 0.2);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: var(--secondary-green);
  padding: 0.4rem 1.2rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 1.5rem;
}

.hero-subtitle::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  background-color: var(--secondary-green);
  border-radius: 50%;
  animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(0.9); opacity: 0.6; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.6; }
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  color: var(--bg-white);
  letter-spacing: -1px;
}

.hero-title span {
  color: #F97316; /* Highlighted orange matching screenshot */
}

.hero-description {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 1.5rem;
  max-width: 800px;
  line-height: 1.8;
}

.hero-subdescription {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2.5rem;
  max-width: 800px;
  line-height: 1.8;
}

.service-card {
  background: linear-gradient(180deg, #f3fff0 0%, #10b9814f 100%);
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: 18px;
  padding: 21px 15px;
  transition: .45s cubic-bezier(.2, .7, .2, 1);
  position: relative;
  overflow: hidden;
  height: 100%;
}

.service-card::after {
  content: '';
  position: absolute;
  background: radial-gradient(circle at top, rgba(245, 166, 35, .18), transparent 60%);
  opacity: 0;
  transition: .5s;
}

.service-card:hover {
  transform: translateY(-10px) rotateX(2deg);
  border-color: var(--gold);
  box-shadow: var(--shadow-flame)
}

.service-card:hover::after {
  opacity: 1
}

.service-icon {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(245, 166, 35, .18), rgba(255, 107, 0, .08));
  border: 1px solid var(--glass-border);
  color: var(--gold);
  font-size: 26px;
  margin-bottom: 24px;
  box-shadow: inset 0 0 20px rgba(245, 166, 35, .1);
  transition: .4s;
}

.service-card:hover .service-icon {
  background: var(--grad-gold);
  color: #0B0B0B;
  transform: rotate(-6deg) scale(1.05);
  box-shadow: 0 0 30px var(--flame)
}

.service-card h3 {
  font-size: 1.3rem;
  margin-bottom: 12px
}

.service-card p {
  font-size: .95rem;
  color: #0f172a;
}

/* Hero Action Buttons */
.btn-hero-green {
  background-color: var(--secondary-green);
  color: var(--bg-white) !important;
  font-weight: 600;
  padding: 0.8rem 1.8rem;
  border-radius: 6px;
  border: 2px solid var(--secondary-green);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition-smooth);
}

.btn-hero-green:hover {
  background-color: var(--secondary-green-hover);
  border-color: var(--secondary-green-hover);
  transform: translateY(-2px);
}

.btn-hero-outline {
  background-color: transparent;
  color: var(--bg-white) !important;
  font-weight: 600;
  padding: 0.8rem 1.8rem;
  border-radius: 6px;
  border: 2px solid rgba(255, 255, 255, 0.6);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition-smooth);
}

.btn-hero-outline:hover {
  border-color: var(--bg-white);
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

/* Stats Section */
.stats-section {
  background-color: var(--primary-navy);
  color: var(--bg-white);
  padding: 3.8rem 0;
  border-radius: 20px;
  margin-top: -4.5rem;
  position: relative;
  z-index: 10;
  box-shadow: 0 25px 50px -12px rgba(15, 32, 66, 0.25);
}

.stat-item {
  text-align: center;
  padding: 1rem;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 3.8rem;
  font-weight: 800;
  color: var(--secondary-green);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

/* Section Headers */
.section-header {
  margin-bottom: 4rem;
  position: relative;
}

.section-tag {
  color: #F97316; /* Gold/orange accent matching the reference */
  text-transform: uppercase;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 2px;
  display: inline-block;
  margin-bottom: 0.8rem;
}

.section-title {
  font-size: 2.6rem;
  color: var(--primary-navy);
  font-weight: 800;
  letter-spacing: -0.5px;
}

.section-title span {
  color: #F97316;
}

.section-divider {
  width: 60px;
  height: 4px;
  background-color: var(--secondary-green);
  margin-top: 1.2rem;
  border-radius: 2px;
  transition: width 0.6s ease;
}

.reveal-fade-in.active .section-divider {
  width: 90px;
}

/* Service Image Cards (Matches visual specs in screenshot) */
.custom-card {
  position: relative;
  background-color: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: 12px; /* Standard clean round corners */
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  height: 100%;
}

.custom-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 12px;
  border: 2px solid transparent;
  pointer-events: none;
  transition: var(--transition-smooth);
}

.custom-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px -15px rgba(15, 32, 66, 0.12), 0 10px 20px -10px rgba(16, 185, 129, 0.2);
}

.custom-card:hover::after {
  border-color: var(--secondary-green);
}

.card-img-wrapper {
  position: relative;
  height: 220px;
  overflow: hidden;
  background-color: var(--bg-slate-dark);
}

.card-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.card-tag {
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.75rem;
  color: var(--secondary-green);
  letter-spacing: 1.5px;
  margin-bottom: 0.7rem;
}

.card-body-custom {
  padding: 2rem;
}

.card-title-custom {
  font-size: 1.35rem;
  margin-bottom: 1rem;
  font-weight: 700;
  transition: var(--transition-smooth);
}

.custom-card:hover .card-title-custom {
  color: var(--secondary-green);
}

.card-link {
  font-weight: 600;
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.card-link i {
  transition: var(--transition-smooth);
}

.custom-card:hover .card-link i {
  transform: translateX(6px);
}

/* Feature Checklists */
.feature-list {
  list-style: none;
  padding-left: 0;
}

.feature-list li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 1rem;
  font-weight: 500;
  color: var(--text-dark);
}

.feature-list li::before {
  content: '\f00c';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  color: var(--secondary-green);
  background-color: rgba(16, 185, 129, 0.1);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
}

/* Sub-page Headers */
.page-header {
  background-color: var(--primary-navy);
  padding: 9rem 0 6rem 0;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1.5px, transparent 1.5px);
  background-size: 24px 24px;
  opacity: 0.6;
}

.page-header h1 {
  color: var(--bg-white);
  font-size: 3.2rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  letter-spacing: -1px;
}

.breadcrumb-custom {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}

.breadcrumb-item-custom {
  font-size: 0.9rem;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 1px;
}

.breadcrumb-item-custom a {
  color: rgba(255, 255, 255, 0.7);
}

.breadcrumb-item-custom a:hover {
  color: var(--secondary-green);
}

.breadcrumb-item-custom.active {
  color: var(--secondary-green);
}

/* Contact Details Cards */
.contact-info-card {
  display: flex;
  gap: 1.4rem;
  margin-bottom: 2.2rem;
}

.contact-icon-wrapper {
  width: 55px;
  height: 55px;
  background-color: rgba(16, 185, 129, 0.1);
  color: var(--secondary-green);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
  transition: var(--transition-smooth);
}

.contact-info-card:hover .contact-icon-wrapper {
  background-color: var(--secondary-green);
  color: var(--bg-white);
  transform: rotateY(180deg);
}

.contact-info-content h5 {
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
  font-weight: 700;
}

/* Form Styles */
.form-control-custom {
  background-color: var(--bg-slate);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 0.9rem 1.3rem;
  transition: var(--transition-smooth);
}

.form-control-custom:focus {
  background-color: var(--bg-white);
  border-color: var(--secondary-green);
  outline: 0;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.12);
}

.form-label-custom {
  font-weight: 600;
  color: var(--primary-navy);
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

/* Embedded Maps */
.map-container {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-premium);
  border: 1px solid var(--border-light);
  line-height: 0;
}

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 30px;
  right: 30px;
  background-color: #25D366;
  color: var(--bg-white) !important;
  border-radius: 50%;
  text-align: center;
  font-size: 32px;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.whatsapp-float:hover {
  background-color: #20BA5A;
  transform: scale(1.1) rotate(10deg);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.45);
}

/* Footer Section */
.footer-custom {
  background-color: var(--primary-navy);
  color: rgba(255, 255, 255, 0.75);
  padding: 5.5rem 0 2.5rem 0;
  font-size: 0.95rem;
  border-top: 5px solid var(--secondary-green);
}

.footer-custom h5 {
  color: var(--bg-white);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1.8rem;
  position: relative;
  padding-bottom: 0.6rem;
}

.footer-custom h5::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 35px;
  height: 2px;
  background-color: var(--secondary-green);
}

.footer-custom p {
  line-height: 1.75;
}

.footer-links {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}

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

.footer-links a {
  color: rgba(255, 255, 255, 0.75);
  transition: var(--transition-smooth);
}

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

.footer-socials {
  display: flex;
  gap: 12px;
  margin-top: 1.8rem;
}

.social-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.85) !important;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.social-icon:hover {
  background-color: var(--secondary-green);
  color: var(--bg-white) !important;
  transform: translateY(-4px) rotate(360deg);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2.2rem;
  margin-top: 4.5rem;
}
.footer-brand .logo-img {
    height: 65px;
}
.navbar-brand .logo-img {
    height: 65px;
}

/* Scroll Reveal Animations (Premium Staggering) */
.reveal-fade-in {
  opacity: 0;
  transform: translateY(35px);
  transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-fade-in.active {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }
.delay-3 { transition-delay: 0.45s; }
.delay-4 { transition-delay: 0.6s; }

/* Responsive Audits & Mobile Tuning */
@media (max-width: 1199.98px) {
  .hero-title {
    font-size: 3rem;
  }
}

@media (max-width: 991.98px) {
  .navbar-custom {
    padding: 0.8rem 1rem;
  }
  
  .navbar-custom .dropdown-menu {
    background-color: rgba(255, 255, 255, 0.99);
    border: none;
    box-shadow: none;
    padding-left: 1.5rem;
    margin-top: 0;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
  }

  .navbar-custom .dropdown-menu.show {
    display: block;
  }

  .navbar-custom .dropdown-item:hover {
    transform: translateX(4px);
  }

  .hero-section {
    padding: 10rem 0 6rem 0;
    text-align: center;
  }

  .hero-title {
    font-size: 2.6rem;
  }

  .hero-description, .hero-subdescription {
    margin-left: auto;
    margin-right: auto;
  }

  .stats-section {
    margin-top: -3rem;
    padding: 3rem 0;
  }

  .stat-number {
    font-size: 3rem;
  }

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

@media (max-width: 767.98px) {
  .stats-section {
    margin-top: -2rem;
    border-radius: 16px;
  }

  .stat-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .row > div:nth-last-child(-n+2) .stat-item {
    border-bottom: none;
  }

  .page-header {
    padding: 8rem 0 4rem 0;
  }

  .page-header h1 {
    font-size: 2.6rem;
  }
}

@media (max-width: 575.98px) {
  .top-bar {
    text-align: center;
    padding: 0.4rem 0.5rem;
  }
  
  .top-bar .d-flex {
    flex-direction: column;
    gap: 4px;
    align-items: center !important;
  }

  .hero-title {
    font-size: 1.8rem;
  }

  .hero-subtitle {
    font-size: 0.8rem;
  }

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

  .stat-number {
    font-size: 2.4rem;
  }

  .stats-section {
    padding: 2rem 0;
  }

  .stat-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  }

  .row > div:last-child .stat-item {
    border-bottom: none !important;
  }

  .btn-hero-green, .btn-hero-outline {
    width: 100%;
    justify-content: center;
  }

  .card-body-custom {
    padding: 1.5rem;
  }
}
