/* ==========================================================================
   Moon Elevator Group - Core Design System & Stylesheet
   ========================================================================== */

/* 1. Imports & Variables */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800;900&display=swap');

:root {
  /* Colors */
  --me-primary: #134074;
  --me-primary-rgb: 19, 64, 116;
  --me-secondary: #0B2545;
  --me-secondary-rgb: 11, 37, 69;
  --me-accent: #de000d;
  --me-accent-rgb: 214, 169, 79;
  --me-dark: #111820;
  --me-dark-rgb: 17, 24, 32;
  --me-light: #F4F7F9;
  --me-light-rgb: 244, 247, 249;
  --me-slate: #66727F;
  --me-white: #ffffff;
  --me-success: #198754;
  
  /* Fonts */
  --me-font-sans: 'Plus Jakarta Sans', sans-serif;
  
  /* Shadows */
  --me-shadow-sm: 0 2px 4px rgba(17, 24, 32, 0.05);
  --me-shadow-md: 0 10px 30px rgba(17, 24, 32, 0.08);
  --me-shadow-lg: 0 20px 40px rgba(17, 24, 32, 0.12);
  --me-shadow-accent: 0 15px 30px rgba(214, 169, 79, 0.15);
  
  /* Border Radii */
  --me-radius-sm: 8px;
  --me-radius-md: 16px;
  --me-radius-lg: 24px;
  --me-radius-full: 9999px;
  
  /* Transitions */
  --me-transition-fast: all 0.2s ease;
  --me-transition-normal: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 2. Global Resets */
body {
  font-family: var(--me-font-sans);
  background-color: var(--me-white);
  color: var(--me-dark);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--me-font-sans);
  font-weight: 800;
  color: var(--me-secondary);
  letter-spacing: -0.02em;
  line-height: 1.25;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

p {
  color: var(--me-slate);
}

a {
  color: var(--me-primary);
  text-decoration: none;
  transition: var(--me-transition-fast);
}

a:hover {
  color: var(--me-accent);
}

/* Accessibility: Skip link and Focus */
.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  background: var(--me-primary);
  color: var(--me-white);
  padding: 10px 20px;
  z-index: 10000;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 0;
}

*:focus-visible {
  outline: 3px solid var(--me-accent);
  outline-offset: 3px;
}

/* 3. Helper Classes */
.bg-light-section {
  background-color: var(--me-light);
}

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

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

.bg-dark-section p {
  color: #adb5bd;
}

.text-accent {
  color: #fff !important;
}

.text-gradient {
  background: linear-gradient(135deg, var(--me-primary) 0%, var(--me-accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.accent-bar {
  width: 60px;
  height: 4px;
  background-color: var(--me-accent);
  border-radius: var(--me-radius-full);
  margin: 1.5rem auto;
}

.accent-bar.left-aligned {
  margin: 1.5rem 0;
}

/* 4. Global Header */
.top-bar {
  background-color: #014995;
  font-size: 13px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar a {
  color: rgba(255, 255, 255, 0.75);
}

.top-bar a:hover {
  color: var(--me-accent);
}

.navbar {
  padding: 15px 0;
  transition: var(--me-transition-normal);
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.navbar.scrolled {
  padding: 10px 0;
  box-shadow: var(--me-shadow-sm);
  background-color: var(--me-white);
}

.contact_social_icon {
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
}
.box_blue_dark_text
{
  color: 014995 !important;
}

.navbar-brand img {
  height: 70px;
  transition: var(--me-transition-normal);
}
.box_blue_dark
{
  background-color: #014995 !important;
}

.contact_us_icon_btn
{
  background-color: #014995 !important;
}
.navbar.scrolled .navbar-brand img {
  height: 60px;
}

.nav-link {
  font-weight: 700;
  color: var(--me-secondary) !important;
  font-size: 15px;
  padding: 8px 16px !important;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: var(--me-primary);
  transition: var(--me-transition-normal);
  transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 70%;
}

.nav-link.active {
  color: var(--me-primary) !important;
}

.dropdown-menu {
  border: none;
  box-shadow: var(--me-shadow-md);
  border-radius: var(--me-radius-md);
  padding: 10px;
}

.dropdown-item {
  font-weight: 600;
  padding: 10px 20px;
  border-radius: var(--me-radius-sm);
  transition: var(--me-transition-fast);
}

.dropdown-item:hover {
  background-color: var(--me-light);
  color: var(--me-primary);
}

/* 5. Custom Buttons */
.btn-me-primary {
  background-color: var(--me-primary);
  color: var(--me-white);
  font-weight: 700;
  border-radius: var(--me-radius-full);
  padding: 12px 30px;
  border: 2px solid var(--me-primary);
  box-shadow: 0 4px 15px rgba(19, 64, 116, 0.2);
  transition: var(--me-transition-normal);
}

.btn-me-primary:hover {
  background-color: var(--me-secondary);
  border-color: var(--me-secondary);
  color: var(--me-white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(11, 37, 69, 0.3);
}

.btn-me-outline {
  background-color: transparent;
  color: var(--me-secondary);
  font-weight: 700;
  border-radius: var(--me-radius-full);
  padding: 12px 30px;
  border: 2px solid var(--me-secondary);
  transition: var(--me-transition-normal);
}

.btn-me-outline:hover {
  background-color: var(--me-secondary);
  color: var(--me-white);
  transform: translateY(-2px);
}

.btn-me-accent {
  background-color: var(--me-accent);
  color: #fff;
  font-weight: 700;
  border-radius: var(--me-radius-full);
  padding: 12px 30px;
  border: 2px solid var(--me-accent);
  box-shadow: var(--me-shadow-accent);
  transition: var(--me-transition-normal);
}

.btn-me-accent:hover {
  background-color: var(--me-white);
  border-color: var(--me-white);
  color: var(--me-secondary);
  transform: translateY(-2px);
}

/* 6. Hero Slider / Carousel Styles */
.hero-section {
  position: relative;
  overflow: hidden;
}

.hero-slide {
  height: calc(100vh - 100px);
  min-height: 550px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(11, 37, 69, 0.9) 0%, rgba(11, 37, 69, 0.4) 60%, transparent 100%);
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 800px;
}

.trust-badge {
  background-color: var(--me-accent);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 6px 16px;
  border-radius: var(--me-radius-full);
  display: inline-block;
  margin-bottom: 20px;
  box-shadow: 0 4px 10px rgba(214, 169, 79, 0.2);
}

/* 7. Trust Strip / Partners */
.trust-strip {
  background-color: var(--me-white);
  box-shadow: var(--me-shadow-sm);
  padding: 10px 0;
  position: relative;
  z-index: 15;
  margin-top: -40px;
  border-radius: var(--me-radius-md);
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  border: 1px solid rgba(0,0,0,0.05);
}

.marquee-container {
  overflow: hidden;
  position: relative;
  width: 100%;
}

.marquee-content {
  display: flex;
  width: max-content;
  animation: scrollMarquee 25s linear infinite;
}

.marquee-content:hover {
  animation-play-state: paused;
}

.marquee-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 40px;
  font-size: 15px;
  font-weight: 700;
  color: #134074;
}

.marquee-item i {
  color: var(--me-accent);
  font-size: 20px;
}

@keyframes scrollMarquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* 8. Section Layouts & Heading Styles */
.section-padding {
  padding: 100px 0;
}

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

.section-tag {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--me-accent);
  display: block;
  margin-bottom: 10px;
}

.section-desc {
  max-width: 600px;
  margin: 0 auto;
}

.hero-content h1 {
    font-size: 42px;
}

/* 9. Cards & Hover Effects */
.me-card {
  background-color: var(--me-white);
  border-radius: var(--me-radius-md);
  border: 1px solid rgba(17, 24, 32, 0.05);
  box-shadow: var(--me-shadow-sm);
  padding: 40px 30px;
  transition: var(--me-transition-normal);
  height: 100%;
  position: relative;
  overflow: hidden;
  text-align: left;
}

.me-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: var(--me-primary);
  transform: scaleX(0);
  transition: var(--me-transition-normal);
}

.me-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--me-shadow-md);
}

.me-card:hover::before {
  transform: scaleX(1);
}

.card-icon {
  width: 60px;
  height: 60px;
  background-color: rgba(19, 64, 116, 0.05);
  color: var(--me-primary);
  border-radius: var(--me-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 25px;
  transition: var(--me-transition-fast);
}

.me-card:hover .card-icon {
  background-color: var(--me-primary);
  color: var(--me-white);
}

/* Product & Project Image Cards */
.me-img-card {
  border-radius: var(--me-radius-md);
  overflow: hidden;
  box-shadow: var(--me-shadow-sm);
  border: 1px solid rgba(0,0,0,0.05);
  background-color: var(--me-white);
  transition: var(--me-transition-normal);
  height: 100%;
}

.me-img-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--me-shadow-lg);
}

.me-img-wrapper {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  background-color: var(--me-light);
}

.me-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--me-transition-normal);
}

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

.me-card-content {
  padding: 30px 24px;
}

/* 10. Stat Counters section */
.stats-section {
  background: linear-gradient(135deg, var(--me-secondary) 0%, var(--me-dark) 100%);
  color: var(--me-white);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

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

.stat-number {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  color: var(--me-accent);
  line-height: 1;
  margin-bottom: 10px;
  display: block;
}

.stat-label {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.8);
}

/* 11. Timeline / Work Process */
.timeline {
  position: relative;
  max-width: 1000px;
  margin: 50px auto 0;
}

.timeline::after {
  content: '';
  position: absolute;
  width: 2px;
  background-color: rgba(19, 64, 116, 0.1);
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.timeline-item {
  padding: 10px 40px;
  position: relative;
  background-color: inherit;
  width: 50%;
}

.timeline-item::after {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  right: -8px;
  background-color: var(--me-accent);
  border: 4px solid var(--me-white);
  top: 25px;
  border-radius: 50%;
  z-index: 1;
}

.left-item {
  left: 0;
}

.right-item {
  left: 50%;
}

.right-item::after {
  left: -8px;
}

.timeline-content {
  padding: 30px;
  background-color: var(--me-white);
  position: relative;
  border-radius: var(--me-radius-md);
  box-shadow: var(--me-shadow-sm);
  border: 1px solid rgba(0,0,0,0.05);
}

@media (max-width: 768px) {
  .timeline::after {
    left: 31px;
  }
  .timeline-item {
    width: 100%;
    padding-left: 70px;
    padding-right: 25px;
  }
  .timeline-item::after {
    left: 23px;
    right: auto;
  }
  .right-item {
    left: 0%;
  }
}

/* 12. Testimonials Carousel */
.testimonial-card {
  padding: 40px;
  border-radius: var(--me-radius-lg);
  background-color: var(--me-white);
  box-shadow: var(--me-shadow-md);
  border: 1px solid rgba(0,0,0,0.05);
}

.quote-icon {
  font-size: 40px;
  color: rgba(214, 169, 79, 0.2);
  line-height: 1;
  margin-bottom: 20px;
}

/* 13. FAQ Accordion Styles */
.accordion-item {
  border: 1px solid rgba(17, 24, 32, 0.08) !important;
  border-radius: var(--me-radius-md) !important;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: var(--me-shadow-sm);
  background-color: var(--me-white);
}

.accordion-button {
  font-weight: 700;
  color: var(--me-secondary) !important;
  font-size: 16px;
  padding: 20px 25px;
  box-shadow: none !important;
}

.accordion-button:not(.collapsed) {
  background-color: rgba(19, 64, 116, 0.02) !important;
  color: var(--me-primary) !important;
}

.accordion-body {
  padding: 20px 25px 25px;
  color: var(--me-slate);
  background-color: rgba(19, 64, 116, 0.01);
}

/* 14. Floating and Sticky Widgets (WhatsApp & Call) */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 30px;
  right: 30px;
  background-color: #25d366;
  color: var(--me-white);
  border-radius: 50%;
  text-align: center;
  font-size: 30px;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--me-transition-normal);
}

.whatsapp-float:hover {
  transform: scale(1.08) rotate(10deg);
  color: var(--me-white);
}

.mobile-bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60px;
  background-color: var(--me-white);
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  z-index: 999;
  display: none;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.mobile-action-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  color: var(--me-secondary);
  text-transform: uppercase;
  border-right: 1px solid rgba(0, 0, 0, 0.05);
  transition: var(--me-transition-fast);
}

.mobile-action-btn:last-child {
  border-right: none;
}

.mobile-action-btn i {
  font-size: 18px;
  margin-bottom: 2px;
}

.mobile-action-btn.call-action {
  background-color: var(--me-secondary);
  color: var(--me-white);
}

.mobile-action-btn.whatsapp-action {
  background-color: #25d366;
  color: var(--me-white);
}

.mobile-action-btn.quote-action {
  background-color: var(--me-accent);
  color: var(--me-secondary);
}

@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 80px; /* shift up to not overlap bottom action bar */
  }
  .mobile-bottom-bar {
    display: grid;
  }
  body {
    padding-bottom: 60px; /* prevent bottom bar overlap */
  }
}

/* 15. Global Footer */
.footer {
  background-color: var(--me-dark);
  color: var(--me-white);
  padding: 80px 0 20px;
  position: relative;
}

.footer-heading {
  font-size: 18px;
  font-weight: 700;
  color: var(--me-white);
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 10px;
}

.footer-heading::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 30px;
  height: 2px;
  background-color: var(--me-accent);
}

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

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: #fff;
  transition: var(--me-transition-fast);
}

.footer-links a:hover {
  color: var(--me-white);
  padding-left: 5px;
}

.footer-info {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-info li {
  margin-bottom: 15px;
  display: flex;
  align-items: flex-start;
  color: rgba(255, 255, 255, 0.7);
}

.footer-info li i {
  color: var(--me-accent);
  font-size: 16px;
  margin-right: 12px;
  margin-top: 5px;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--me-white);
  border-radius: 50%;
  margin-right: 10px;
  transition: var(--me-transition-normal);
}

.social-links a:hover {
  background-color: var(--me-accent);
  color: var(--me-secondary);
  transform: translateY(-3px);
}

.footer-bottom {
  margin-top: 60px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
}

/* Back to top button */
.back-to-top {
    position: fixed;
    bottom: 100px;
    right: 40px;
    width: 44px;
    height: 44px;
    background-color: var(--me-secondary);
    color: var(--me-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: var(--me-shadow-sm);
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transition: var(--me-transition-normal);
    border: none;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background-color: var(--me-accent);
  color: var(--me-secondary);
  transform: translateY(-3px);
}

/* 16. Inner Page Hero System */
.inner-hero {
  background-size: cover;
  background-position: center;
  position: relative;
  padding: 80px 0;
  text-align: left;
}

.inner-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(11, 37, 69, 0.95) 0%, rgba(11, 37, 69, 0.6) 100%);
}

.inner-hero-content {
  position: relative;
  z-index: 5;
  color: var(--me-white);
}

.inner-hero-content h1 {
  color: var(--me-white);
  font-weight: 800;
  margin-bottom: 10px;
}

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

.breadcrumb-item.active {
  color: var(--me-accent);
}

.breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.5);
}

/* 17. Animation reveals */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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


.solutions_btn_home
{
  border-color: #014995;
  color: #014995;
}
.solutions_btn_home:hover
{
  border-color: #014995;
  color: #fff;
  background-color: #014995;
}

.offcanvas-title a img {
    width: 100px;
}

.dropdown-toggle::after
{
  display: none;
}


.mobile_top_bar {
    background-color: #014995;
    text-align: center;
    padding: 10px 0px;
    display: none;
}
.mobile_top_bar ul {
    margin: 0;
    padding: 0;
}
.mobile_top_bar ul li {
    list-style: none;
    line-height: normal;
}
.mobile_top_bar ul li a {
    color: #fff;
    font-weight: 600;
    font-size: 16px;
}



@media (min-width: 992px) {

    .navbar .dropdown:hover > .dropdown-menu {
        display: block;
        margin-top: 0;
    }

    .navbar .dropdown > .nav-link i {
        display: inline-block;
        transition: transform 0.3s ease;
    }

    .navbar .dropdown:hover > .nav-link i {
        transform: rotate(180deg);
    }

    .navbar .dropdown-menu {
        margin-top: 0;
    }
}

.offcanvas-body a.btn.btn-me-outline.w-100.mb-3 {
    background-color: #014995;
    color: #fff;
    border-color: #014995;
}

.offcanvas-body a.btn.btn-success.w-100.text-white.fw-bold {
    border-radius: 50px;
    padding: 10px 0px;
}

@media (max-width: 767px) {
.mobile_top_bar {
    display: block !important;
}
}