/* | UserName: packersand778899 | PassWord: !!za6&H$^f,dH+R% */

:root {
  --primary-color: #9f1c24; /* Logo Crimson/Red */
  --secondary-color: #124c7f; /* Logo Deep Blue */
  --accent-color: #f59e0b; /* Gold/Amber for Accents */
  --bg-light: #f8fafc;
  --text-muted: #64748b;
  --heading-font: "Outfit", sans-serif;
  --body-font: "Plus Jakarta Sans", sans-serif;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 7px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: #cbd5e1; /* Subtle modern Slate Gray */
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: #94a3b8; /* Slightly darker on hover */
}

html,
body {
  max-width: 100%;
  overflow-x: hidden !important;
  position: relative;
  width: 100%;
  scrollbar-width: thin;
  scrollbar-color: #cbd5e1 transparent;
}

* {
  box-sizing: border-box;
}

body {
  font-family: var(--body-font);
  color: var(--secondary-color);
  background-color: #fff;
  margin: 0;
  padding: 0;
  line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6,
.navbar-brand {
  font-family: var(--heading-font);
}

@media (min-width: 1400px) {
  .container {
    max-width: 1550px;
  }
}

/* Header & Nav */
.header-container {
  position: absolute;
  top: 20px;
  left: 0;
  width: 100%;
  z-index: 1000;
}

.main-nav {
  border-radius: 12px;
  padding: 12px 35px;
}

.navbar-brand .m-logo {
  font-weight: 800;
  font-size: 1.8rem;
  color: var(--primary-color);
  letter-spacing: -2px;
}

.brand-text {
  font-weight: 700;
  font-size: 1.8rem;
  color: var(--secondary-color);
  margin-left: -2px;
}

.nav-link {
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--secondary-color);
  padding: 8px 5px !important;
  position: relative;
  transition: color 0.3s;
}

.nav-link::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 50%;
  background-color: var(--primary-color);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

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

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

.btn-quote {
  background-color: var(--secondary-color);
  color: #fff;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-quote:hover {
  background-color: var(--primary-color);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(220, 38, 38, 0.3);
}

/* Mobile Adjustments (Aggressive) */
@media (max-width: 991px) {
  .header-container {
    top: 10px;
    padding-left: 10px; /* Reduce side space */
    padding-right: 10px;
  }
  .main-nav {
    padding: 5px 12px;
    border-radius: 8px;
  }
  .hero-section {
    padding: 30px 0 30px 0 !important; /* User preferred tightness */
    text-align: center;
  }
  .hero-content h1 {
    font-size: 1.5rem !important;
    line-height: 1.25;
    margin-bottom: 12px;
    font-weight: 800;
    color: #000;
  }
  .hero-content p {
    font-size: 0.92rem !important;
    line-height: 1.5;
    margin-bottom: 15px;
    color: #222 !important;
    font-weight: 500;
  }

  /* Global Mobile Section Spacing Shrink */
  .py-5 {
    padding-top: 1.8rem !important;
    padding-bottom: 1.8rem !important;
  }
  .container {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
  .mt-5 {
    margin-top: 1.5rem !important;
  }
  .section-title {
    font-size: 1.5rem !important;
  }
  .display-4,
  .display-5 {
    font-size: 1.7rem !important;
  }
  .lead {
    font-size: 0.92rem !important;
  }
  p {
    font-size: 0.9rem !important;
  }
}

/* Transitions */
.transition-hover {
  transition: all 0.3s ease;
}
.transition-hover:hover {
  transform: translateY(-5px);
}

.hero-section {
  padding: 100px 0;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  position: relative;
  overflow: hidden;
}

.hero-content h1 {
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 25px;
}

.hero-content h1 span {
  color: var(--primary-color);
}

.hero-content p {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 500px;
  margin-bottom: 40px;
}

/* Buttons */
.btn-view-more,
.btn-submit,
.btn-quote,
.btn-warning {
  padding: 15px 35px;
  font-weight: 700;
  border-radius: 8px;
  letter-spacing: 1px;
  transition: background 0.3s ease;
  border: none;
  text-transform: uppercase;
  font-size: 0.9rem;
  cursor: pointer;
  display: inline-block;
  text-decoration: none;
  text-align: center;
}

.btn-view-more,
.btn-submit {
  background: var(--primary-color);
  color: #fff;
}

.btn-view-more:hover,
.btn-submit:hover,
.btn-view-more:focus,
.btn-submit:focus,
.btn-view-more:active,
.btn-submit:active {
  background: #7d151c !important;
  color: #fff !important;
  transform: none;
  border-color: #7d151c !important;
}

.btn-quote {
  background-color: var(--secondary-color);
  color: #fff;
  padding: 10px 25px; /* Slightly smaller for nav */
}

.btn-quote:hover {
  background-color: var(--primary-color);
  color: #fff;
  transform: none; /* No movement */
}

.btn-warning {
  background: var(--accent-color);
  color: #fff;
}

.btn-warning:hover {
  background: #ea580c;
  color: #fff;
  transform: none; /* No movement */
}

/* Sections */
.section-title {
  font-weight: 800;
  font-size: 2.5rem;
  margin-bottom: 50px;
  position: relative;
  display: inline-block;
}

.section-title.text-center {
  display: block;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 5px;
  background: var(--primary-color);
}

.section-title.text-center::after {
  left: 50%;
  transform: translateX(-50%);
}

/* Service Card */
.service-card {
  border: 2px dashed var(--primary-color);
  background: #fff;
  padding: 40px 30px;
  border-radius: 20px;
  transition: all 0.3s;
  height: 100%;
}

.service-card:hover {
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
  transform: translateY(-10px);
}

.service-icon {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 25px;
}

/* Forms */
.form-control {
  padding: 12px 20px;
  border-radius: 8px;
  border: 1px solid #eee;
  background: #fdfdfd;
}

.form-control:focus {
  box-shadow: none;
  border-color: var(--primary-color);
}

.btn-submit:hover {
  background: var(--secondary-color);
  color: #fff;
  transform: none;
}

/* Responsive */
@media (max-width: 991px) {
  .header-container {
    position: relative;
    top: 0;
    padding: 10px 0;
  }
  .main-nav {
    border-radius: 0;
    margin: 0;
  }
  .hero-section {
    padding: 60px 0;
    text-align: center;
  }
  .hero-content h1 {
    font-size: 2.5rem;
  }
  .hero-content p {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-btns {
    flex-direction: column;
    gap: 15px;
    display: flex;
    align-items: center;
  }
  .btn-view-more {
    margin-right: 0;
    width: 100%;
    max-width: 300px;
  }
  .section-title {
    font-size: 2rem;
  }
}

@media (max-width: 576px) {
  .brand-text {
    font-size: 1.4rem;
  }
  .hero-content h1 {
    font-size: 2rem;
  }
  .section-title {
    font-size: 1.8rem;
  }
  .service-card {
    padding: 30px 20px;
  }
  .py-5 {
    padding-top: 0.4rem !important;
    padding-bottom: 1.8rem !important;
  }
}

/* Timeline Styling */
.timeline-item {
  position: relative;
  padding-left: 45px;
  margin-bottom: 40px;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--primary-color);
  border: 4px solid #fff;
  box-shadow: 0 0 0 3px var(--primary-color);
  z-index: 1;
}

.timeline-item::after {
  content: "";
  position: absolute;
  left: 9px;
  top: 25px;
  width: 3px;
  height: calc(100% + 15px);
  background: #e2e8f0;
}

.timeline-item:last-child::after {
  display: none;
}

.timeline-year {
  font-weight: 800;
  color: var(--primary-color);
  font-size: 1.2rem;
  margin-bottom: 5px;
}

/* Process Section */
.process-step {
  background: #fff;
  padding: 40px 30px;
  border-radius: 20px;
  position: relative;
  border: 1px solid #eee;
  transition: all 0.3s;
  height: 100%;
}

.process-step:hover {
  border-color: var(--primary-color);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

.step-number {
  position: absolute;
  top: -20px;
  left: 30px;
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.2rem;
  box-shadow: 0 5px 15px rgba(220, 38, 38, 0.4);
}
/* Floating Icons Styling */
.floating-icons-wrapper {
  position: fixed;
  bottom: 30px;
  left: 25px; /* Desktop Left */
  right: auto;
  z-index: 990;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  background: rgba(255, 255, 255, 0.2) !important;
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 10px;
  border-radius: 50px;
}

.floating-icons {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.floating-icon {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 22px;
  text-decoration: none !important;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.floating-icon:hover {
  transform: scale(1.1);
  color: #fff;
}

.floating-icon.phone {
  background-color: #3b82f6;
}
.floating-icon.whatsapp {
  background-color: #25d366;
}
.floating-icon.quote {
  background-color: var(--primary-color);
}

/* Scroll to Top */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 55px;
  height: 55px;
  background: var(--secondary-color);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  z-index: 990;
  transition: all 0.3s;
  text-decoration: none !important;
  visibility: hidden;
  opacity: 0;
}

.scroll-top.show {
  visibility: visible;
  opacity: 1;
}

.scroll-top:hover {
  background: var(--primary-color);
  color: #fff;
  transform: translateY(-5px);
}

@media (max-width: 768px) {
  footer {
    padding-bottom: 200px !important;
  }
  .floating-icons-wrapper {
    bottom: 15px;
    right: 50%;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    min-width: 220px;
    display: inline-block;
    padding: 10px 15px !important;
  }
  .floating-icons {
    flex-direction: row;
    justify-content: center;
    gap: 20px;
  }
  .floating-icon {
    width: 50px;
    height: 50px;
    font-size: 18px;
  }
  .scroll-top {
    bottom: 85px; /* Above icons bar */
    right: 15px;
    width: 45px;
    height: 45px;
  }
}
