/* =================================
   FINANCE AND BEYOND - MAIN STYLES
   ================================= */

:root {
  --primary-navy: #1a1547;
  --primary-gold: #d4af37;
  --secondary-navy: #2d1b4e;
  --text-dark: #333333;
  --text-light: #666666;
  --border-light: #e0e0e0;
  --bg-light: #f5f5f5;
  --bg-white: #ffffff;
  --radius: 8px;
  --radius-lg: 12px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  background-color: var(--bg-white);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 15px;
}

h1 {
  font-size: 3rem;
  line-height: 1.2;
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 30px;
}

h3 {
  font-size: 1.5rem;
}

a {
  color: var(--primary-gold);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #e8c547;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* =================================
   BUTTONS
   ================================= */

.btn {
  display: inline-block;
  padding: 12px 30px;
  border: none;
  border-radius: var(--radius);
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  text-decoration: none;
  font-size: 1rem;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

.btn-primary {
  background-color: var(--primary-gold);
  color: var(--primary-navy);
}

.btn-primary:hover {
  background-color: #e8c547;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

.btn-secondary {
  background-color: var(--primary-navy);
  color: var(--bg-white);
  border: 2px solid var(--primary-navy);
}

.btn-secondary:hover {
  background-color: var(--secondary-navy);
  border-color: var(--secondary-navy);
}

.btn-block {
  width: 100%;
}

/* =================================
   NAVIGATION
   ================================= */

.navbar-wrapper {
  background-color: var(--bg-white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 10000;
}

.navbar-top {
  background-color: var(--primary-navy);
  color: var(--bg-white);
  padding: 10px 0;
  font-size: 0.9rem;
}

.navbar-top-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar-contact {
  display: flex;
  gap: 20px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.contact-item a {
  color: var(--bg-white);
}

.navbar-social {
  display: flex;
  gap: 15px;
}

.navbar-social a {
  color: var(--primary-gold);
  font-size: 1.2rem;
}

.navbar-main {
  padding: 15px 0;
  position: relative;
}

.navbar-main .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Brand & Logo Styling */
.navbar-brand {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-navy);
  z-index: 10002;
}

.navbar-brand a {
  color: var(--primary-navy);
  display: flex;
  align-items: center;
  gap: 10px;
}

.navbar-brand .logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--primary-navy);
  transition: opacity 0.3s ease;
}

.navbar-brand .logo:hover {
  opacity: 0.85;
}

.navbar-brand .logo-image {
  max-height: 50px;
  height: auto;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  display: block;
}

.navbar-brand .logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-navy);
  font-family: "Montserrat", sans-serif;
}

.navbar-brand .logo i {
  color: var(--primary-gold);
  font-size: 1.5rem;
}

/* Mobile Toggle */
.navbar-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 10002;
}

.navbar-toggle span {
  width: 25px;
  height: 3px;
  background-color: var(--primary-navy);
  transition: all 0.3s ease;
  display: block;
  pointer-events: none;
}

.navbar-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.navbar-toggle.active span:nth-child(2) {
  opacity: 0;
}

.navbar-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* Navbar Menu */
.navbar-menu {
  display: flex;
  list-style: none;
  gap: 30px;
  align-items: center;
}

.navbar-menu a {
  color: var(--text-dark);
  font-weight: 500;
  transition: color 0.3s ease;
}

.navbar-menu a:hover {
  color: var(--primary-gold);
}

/* CTA Button in Navbar */
.navbar-menu .btn-cta {
  display: inline-block;
  padding: 8px 20px;
  background-color: var(--primary-gold);
  color: var(--primary-navy);
  border-radius: var(--radius);
  font-weight: 600;
  transition: all 0.3s ease;
}

.navbar-menu .btn-cta:hover {
  background-color: #e8c547;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
  color: var(--primary-navy);
}

/* Dropdown Menus */
.dropdown {
  position: relative;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--bg-white);
  list-style: none;
  min-width: 200px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border-radius: var(--radius);
  overflow: hidden;
  z-index: 10001;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-menu li {
  padding: 0;
}

.dropdown-menu a {
  display: block;
  padding: 12px 20px;
  color: var(--text-dark);
}

.dropdown-menu a:hover {
  background-color: var(--bg-light);
  color: var(--primary-gold);
}

/* Added navbar overlay CSS for mobile menu backdrop */
.navbar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: none;
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.navbar-overlay.active {
  display: block;
  opacity: 1;
}

/* =================================
   HERO SECTION
   ================================= */

.hero {
  color: var(--bg-white);
  padding: 100px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(26, 21, 71, 0.7);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  color: var(--primary-gold);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
  font-size: 1.3rem;
  margin-bottom: 30px;
  color: var(--bg-white);
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-hero {
  background: linear-gradient(135deg, var(--primary-navy) 0%, var(--secondary-navy) 100%);
  color: var(--bg-white);
  padding: 60px 20px;
  text-align: center;
}

.page-hero h1 {
  color: var(--primary-gold);
  margin-bottom: 15px;
}

.page-hero p {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
}

/* =================================
   SECTIONS
   ================================= */

.features-section,
.services-section,
.testimonials-section,
.about-section,
.team-section,
.calculator-section,
.contact-section,
.stats-section {
  padding: 80px 20px;
}

.features-section h2,
.services-section h2,
.testimonials-section h2,
.team-section h2 {
  text-align: center;
  margin-bottom: 50px;
  color: var(--primary-navy);
}

/* =================================
   GRIDS
   ================================= */

.features-grid,
.services-grid,
.testimonials-grid,
.team-grid,
.stats-grid {
  display: grid;
  gap: 30px;
  margin-bottom: 30px;
}

.features-grid,
.services-grid,
.testimonials-grid {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.team-grid {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.stats-grid {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

/* =================================
   CARDS
   ================================= */

.feature-card,
.service-item,
.testimonial-card,
.team-card,
.stat-card {
  background-color: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 30px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.feature-card:hover,
.service-item:hover,
.testimonial-card:hover,
.team-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--primary-gold) 0%, #e8c547 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--primary-navy);
}

.service-item {
  border: 2px solid transparent;
  transition: border-color 0.3s ease;
}

.service-item:hover {
  border-color: var(--primary-gold);
}

.service-item h3 {
  color: var(--primary-navy);
  margin-bottom: 15px;
}

.service-item a {
  color: var(--primary-navy);
}

.testimonial-card {
  background-color: var(--bg-light);
  text-align: center;
}

.testimonial-stars {
  color: var(--primary-gold);
  margin-bottom: 15px;
  font-size: 1.1rem;
}

.testimonial-card strong {
  display: block;
  margin-top: 15px;
  color: var(--primary-navy);
}

.testimonial-card span {
  display: block;
  font-size: 0.9rem;
  color: var(--text-light);
  margin-top: 5px;
}

.team-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  margin: -30px -30px 20px -30px;
}

.team-image-placeholder {
  width: 100%;
  height: 250px;
  background-color: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: var(--text-light);
  margin: -30px -30px 20px -30px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.team-position {
  color: var(--primary-gold);
  font-weight: 600;
  margin-bottom: 10px;
}

.team-bio {
  color: var(--text-light);
  font-size: 0.95rem;
  margin: 10px 0 15px;
}

.team-contact {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid var(--border-light);
}

.team-contact a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: var(--bg-light);
  color: var(--primary-navy);
  transition: all 0.3s ease;
}

.team-contact a:hover {
  background-color: var(--primary-gold);
  color: var(--primary-navy);
}

.stat-card {
  background: linear-gradient(135deg, var(--primary-navy) 0%, var(--secondary-navy) 100%);
  color: var(--bg-white);
  padding: 40px 20px;
}

.stat-card h3 {
  font-size: 2.5rem;
  color: var(--primary-gold);
  margin-bottom: 10px;
}

.stat-card p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
}

/* =================================
   FORMS
   ================================= */

.form-group {
  margin-bottom: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--text-dark);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary-gold);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.input-group {
  display: flex;
  align-items: center;
  position: relative;
}

.input-group input {
  flex: 1;
  padding-left: 35px;
}

.input-group .currency,
.input-group .unit {
  position: absolute;
  left: 12px;
  color: var(--text-light);
  font-weight: 600;
}

.input-group .unit {
  left: auto;
  right: 12px;
}

/* =================================
   CALCULATOR
   ================================= */

.calculator-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.calculator-form,
.calculator-results {
  background-color: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.slider {
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: var(--border-light);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  margin-top: 10px;
}

.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--primary-gold);
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.slider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--primary-gold);
  cursor: pointer;
  border: none;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.result-card {
  background-color: var(--bg-light);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 20px;
  text-align: center;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.result-card label {
  display: block;
  color: var(--text-light);
  margin-bottom: 8px;
  font-size: 0.9rem;
}

.result-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-gold);
}

.chart-container {
  position: relative;
  height: 300px;
  margin: 30px 0;
}

/* =================================
   CONTACT
   ================================= */

.contact-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
}

.contact-form-wrapper {
  background-color: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.contact-info-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-info-card {
  background-color: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 25px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  border-left: 4px solid var(--primary-gold);
}

.contact-info-card h3 {
  color: var(--primary-navy);
  margin-bottom: 20px;
}

.contact-info-card p {
  margin-bottom: 15px;
  color: var(--text-light);
}

.contact-info-card strong {
  color: var(--text-dark);
}

/* =================================
   ALERTS
   ================================= */

.alert {
  padding: 15px 20px;
  border-radius: var(--radius);
  margin-bottom: 20px;
}

.alert-success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.alert-error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* =================================
   FOOTER
   ================================= */

.footer-wrapper {
  background-color: var(--primary-navy);
  color: var(--bg-white);
  padding: 50px 20px 20px;
  margin-top: 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

.footer-column h3,
.footer-column h4 {
  color: var(--primary-gold);
  margin-bottom: 20px;
}

.footer-column p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 15px;
}

.footer-column ul {
  list-style: none;
}

.footer-column ul li {
  margin-bottom: 10px;
}

.footer-column a {
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.3s ease;
}

.footer-column a:hover {
  color: var(--primary-gold);
}

.footer-logo-wrapper {
  margin-bottom: 20px;
}

.footer-logo {
  max-height: 60px;
  height: auto;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.footer-logo.no-filter {
  filter: none;
}

.footer-social {
  display: flex;
  gap: 15px;
  margin-top: 15px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--primary-gold);
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background-color: var(--primary-gold);
  color: var(--primary-navy);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-copyright p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  gap: 30px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

/* =================================
   UTILITIES
   ================================= */

.text-center {
  text-align: center;
}

.text-light {
  color: var(--text-light);
}

.values-list {
  list-style: none;
  margin: 20px 0;
}

.values-list li {
  padding: 15px 0;
  border-bottom: 1px solid var(--border-light);
}

.values-list li:last-child {
  border-bottom: none;
}

/* =================================
   CTA SECTION
   ================================= */

.cta-section {
  padding: 80px 20px;
  text-align: center;
  color: var(--bg-white);
}

.cta-section h2 {
  color: var(--bg-white);
  margin-bottom: 20px;
}

.cta-section p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.9);
}

/* =================================
   SERVICES DETAIL
   ================================= */

.services-detailed-section {
  padding: 60px 20px;
}

.services-list {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.service-detail {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 30px;
  align-items: start;
  padding: 30px;
  background-color: var(--bg-white);
  border-radius: var(--radius-lg);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.service-detail:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  transform: translateX(5px);
}

.service-icon {
  font-size: 3rem;
  color: var(--primary-gold);
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-content h3 {
  color: var(--primary-navy);
  margin-bottom: 15px;
}

.service-content p {
  color: var(--text-light);
  margin-bottom: 20px;
  line-height: 1.8;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.about-content h2 {
  color: var(--primary-navy);
}

.about-content h3 {
  color: var(--primary-navy);
  margin-top: 30px;
  margin-bottom: 15px;
}

.about-content p {
  color: var(--text-light);
  margin-bottom: 20px;
  line-height: 1.8;
}

/* =================================
   WHATSAPP WIDGET
   ================================= */

.whatsapp-widget {
  position: fixed;
  bottom: 30px;
  left: 30px;
  z-index: 9999;
  font-family: "Inter", sans-serif;
}

.whatsapp-bubble {
  width: 60px;
  height: 60px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
  cursor: pointer;
  transition: all 0.3s ease;
  animation: whatsapp-pulse 2s infinite;
}

.whatsapp-bubble:hover {
  background: #20ba5a;
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
  animation: none;
}

.whatsapp-icon {
  color: white;
  font-size: 32px;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.whatsapp-tooltip {
  position: absolute;
  bottom: 75px;
  left: 0;
  background: var(--primary-navy);
  color: white;
  padding: 10px 15px;
  border-radius: var(--radius);
  font-size: 13px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  pointer-events: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  line-height: 1.4;
}

.whatsapp-tooltip::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 20px;
  border: 6px solid transparent;
  border-top-color: var(--primary-navy);
}

.whatsapp-widget:hover .whatsapp-tooltip {
  opacity: 1;
  visibility: visible;
  bottom: 80px;
}

@keyframes whatsapp-pulse {
  0%,
  100% {
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
  }
  50% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.6);
  }
}

/* =================================
   RESPONSIVE DESIGN
   ================================= */

@media (max-width: 992px) {
  .navbar-brand .logo-image {
    max-height: 45px;
    max-width: 200px;
  }

  .footer-logo {
    max-height: 50px;
    max-width: 180px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.8rem;
  }

  .navbar-toggle {
    display: flex;
    z-index: 10002;
    position: relative;
    cursor: pointer;
    width: 44px;
    height: 40px;
    justify-content: center;
  }

  .navbar-brand .logo-image {
    max-height: 40px;
    max-width: 180px;
  }

  .navbar-brand .logo-text {
    font-size: 1.3rem;
  }

  .navbar-brand .logo i {
    font-size: 1.3rem;
  }

  .navbar-top-content {
    flex-direction: column;
    gap: 10px;
    text-align: center;
    padding-bottom: 10px;
  }

  .navbar-contact {
    flex-direction: column;
    gap: 8px;
    align-items: center;
    justify-content: center;
    width: 100%;
  }

  .contact-item {
    justify-content: center;
    width: auto;
  }

  .navbar-social {
    justify-content: center;
  }

  .navbar-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    height: 100dvh;
    display: flex;
    flex-direction: column;
    background-color: var(--bg-white);
    padding: 80px 20px 20px;
    gap: 15px;
    box-shadow: 2px 0 15px rgba(0, 0, 0, 0.2);
    transition: left 0.3s ease;
    overflow-y: auto;
    z-index: 10001;
    align-items: flex-start;
  }

  .navbar-menu.active {
    left: 0;
  }

  .navbar-menu .btn-cta {
    display: block;
    text-align: center;
    width: 100%;
    margin-top: 10px;
  }

  .navbar-menu > li {
    width: 100%;
  }

  .navbar-menu > li > a {
    display: block;
    width: 100%;
    padding: 10px 0;
  }

  .dropdown-menu {
    position: static;
    display: none;
    box-shadow: none;
    background-color: var(--bg-light);
    padding: 10px 0 10px 20px;
    width: 100%;
    margin-top: 5px;
    border-radius: 0;
    z-index: 10000;
    flex-direction: column;
  }

  .dropdown:hover .dropdown-menu {
    display: none;
  }

  .dropdown.active .dropdown-menu {
    display: flex;
  }

  .dropdown-menu li {
    width: 100%;
  }

  .dropdown-menu a {
    width: 100%;
    padding: 8px 0;
  }

  .footer-logo {
    max-height: 45px;
    max-width: 160px;
  }

  .footer-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    text-align: center;
  }

  .footer-column:nth-child(1) {
    grid-column: 1 / -1;
    text-align: center;
  }

  .footer-column:nth-child(4) {
    grid-column: 1 / -1;
    text-align: center;
  }

  .footer-social {
    justify-content: center;
  }

  .footer-column:nth-child(2),
  .footer-column:nth-child(3) {
    text-align: left;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1.1rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .features-grid,
  .services-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .calculator-wrapper {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  /* Updated Footer Links for Mobile - Display in Row */
  .footer-links {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
  }

  .footer-links a {
    display: inline-block;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 20px;
  }

  .footer-links {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
  }

  .service-detail {
    grid-template-columns: 1fr;
  }

  .service-icon {
    justify-self: start;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .whatsapp-widget {
    bottom: 20px;
    left: 20px;
  }

  .whatsapp-bubble {
    width: 55px;
    height: 55px;
  }

  .whatsapp-icon {
    font-size: 28px;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 1.5rem;
  }

  h2 {
    font-size: 1.3rem;
  }

  .hero h1 {
    font-size: 1.5rem;
  }

  .container {
    padding: 0 15px;
  }

  .navbar-brand .logo-image {
    max-height: 36px;
    max-width: 150px;
  }

  .navbar-brand .logo-text {
    font-size: 1.1rem;
  }

  .navbar-brand .logo i {
    font-size: 1.1rem;
  }

  .footer-logo {
    max-height: 40px;
    max-width: 140px;
  }

  .features-section,
  .services-section,
  .testimonials-section,
  .about-section,
  .team-section,
  .calculator-section,
  .contact-section,
  .stats-section {
    padding: 40px 15px;
  }

  .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }

  .stat-card h3 {
    font-size: 2rem;
  }

  .result-value {
    font-size: 1.5rem;
  }

  .whatsapp-bubble {
    width: 50px;
    height: 50px;
  }

  .whatsapp-icon {
    font-size: 24px;
  }

  .whatsapp-widget {
    bottom: 15px;
    left: 15px;
  }

  .whatsapp-tooltip {
    font-size: 12px;
    padding: 8px 12px;
  }

  .navbar-menu {
    width: 85%;
    padding: 70px 15px 15px;
  }
}

@media print {
  .whatsapp-widget {
    display: none;
  }

  .navbar-top {
    display: none;
  }

  .navbar-toggle {
    display: none;
  }

  .navbar-brand .logo-image {
    max-height: 40px;
  }
}