/* Menu Items' Separators */
.navbar-nav .nav-item {
  border-right: 1px solid #ddd;
  margin-right: 0.5rem;
  padding-right: 0.75rem;
}
.navbar-nav .nav-item:last-child {
  border-right: none;
}


/* Nav links (white background navbar) */
.navbar-nav .nav-link {
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: #1e293b; /* dark slate gray */
  position: relative;
  transition: color 0.3s ease;
  padding: 0.5rem 1rem;
}

/* Hover color */
.navbar-nav .nav-link:hover {
  color: #2563eb; /* primary blue */
}

/* Active page link */
.navbar-nav .nav-link.active {
  color: #2563eb !important;
  font-weight: 700;
}

/* Underline effect */
.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  left: 50%;
  bottom: 0;
  background-color: #2563eb;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

/* Expand underline on hover + active */
.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  width: 60%;
}

/* Add this to your existing style.css file */
/* Adjust for fixed header in existing sections */
body.has-fixed-header .hero-section {
  padding-top: calc(4rem + <?php echo $header_height; ?>);
}

@media (max-width: 768px) {
  body.has-fixed-header .hero-section {
    padding-top: calc(4rem + <?php echo $mobile_header_height; ?>);
  }
}

/* Adjust AOS animations to account for fixed header */
[data-aos] {
  pointer-events: none;
}
[data-aos].aos-animate {
  pointer-events: auto;
}



/* Global Reset */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #1e293b;
  background-color: #f8fafc;
}
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
}
.section-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 2.5rem;
  color: #1e3a8a;
}

/* Hero */
.hero-section {
  min-height: 30vh;
  padding: 4rem 0;
}

.bold-black {
  color: #000;
  font-weight: 700;
}

.black {
  color: #000;
 
}

.btn-light-blue {
  background-color: #3c9e44;
  color: #000;
  border: none;
}

.hero-section .btn {
  border-radius: 50px;
  transition: all .3s ease;
}
.hero-section .btn:hover {
  background-color: #0056b3; /* darker blue */
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.2);
}

/* Stats */
.stats-box h2 {
  font-size: 2.2rem;
  color: #2563eb;
}
.stats-box p {
  font-size: 1rem;
  color: #475569;
}

/* Services */
.feature-card {
  border-radius: 14px;
  transition: transform .3s ease, box-shadow .3s ease;
}
.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.12);
}
.feature-icon {
  font-size: 2.5rem;
  color: #2563eb;
}

/* How It Works */
.step-card {
  background: #fff;
  border-radius: 14px;
  padding: 2rem 1rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  transition: transform .3s ease, box-shadow .3s ease;
}
.step-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.12);
}
.step-number {
  background: #2563eb;
  color: #fff;
  border-radius: 50%;
  font-weight: 700;
  font-size: 1.4rem;
  width: 50px;
  height: 50px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Why Choose Us */
.bg-light .fa-2x {
  color: #2563eb;
}

.why-choose-us img {
  filter: none !important;
}

/* Testimonials */
.testimonial-card {
  border-radius: 14px;
  transition: transform .3s ease, box-shadow .3s ease;
}
.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 22px rgba(0,0,0,0.1);
}
.testimonial-rating i {
  margin-right: 2px;
}

/* Trust Strip */
section .d-flex img {
  filter: grayscale(100%);
  transition: filter .3s ease;
}
section .d-flex img:hover {
  filter: grayscale(0%);
}

/* ===============================
   FIXED & MODERN QUOTE CALCULATOR
   =============================== */

/* Reset and Base Styles */
.quote-calculator * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Quote Calculator - Clean Modern Design */
.quote-calculator {
    max-width: 520px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 16px;
    padding: 1.75rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid #e5e7eb;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
}

/* Header */
.quote-calculator h4 {
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
    text-align: center;
    font-size: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f1f5f9;
}

/* Alert Box */
.quote-calculator .alert-light {
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.quote-calculator .alert-light i {
    color: #0ea5e9;
    margin-right: 0.5rem;
}

.quote-calculator .alert-light small {
    color: #0369a1 !important;
    font-weight: 500;
}

/* Form Labels */
.quote-calculator .form-label {
    font-weight: 600;
    color: #334155;
    font-size: 0.875rem;
    margin-bottom: 0.375rem;
    display: block;
}

.quote-calculator .text-muted.d-block {
    color: #64748b !important;
    font-size: 0.8125rem;
    margin-bottom: 0.5rem;
    display: block;
    line-height: 1.4;
}

/* Form Controls */
.quote-calculator select.form-select,
.quote-calculator input.form-control {
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-size: 0.9375rem;
    color: #1e293b;
    background: #ffffff;
    transition: all 0.2s ease;
    width: 100%;
}

.quote-calculator select.form-select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%2364748b' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 12px;
    padding-right: 2.5rem;
}

.quote-calculator input[type="datetime-local"] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%2364748b' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 0a.5.5 0 0 1 .5.5V1h8V.5a.5.5 0 0 1 1 0V1h1a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V3a2 2 0 0 1 2-2h1V.5a.5.5 0 0 1 .5-.5zM2 2a1 1 0 0 0-1 1v1h14V3a1 1 0 0 0-1-1H2z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 14px;
    padding-right: 2.5rem;
}

.quote-calculator select.form-select:focus,
.quote-calculator input.form-control:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
    outline: none;
}

/* Service Counter */
.quote-calculator .form-text.text-muted {
    display: inline-block;
    background: #e0f2fe;
    color: #0369a1 !important;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-top: 0.5rem;
}

/* Result Section */
.quote-calculator .quote-result {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 2px solid #f1f5f9;
}

.quote-calculator .quote-result .alert-info {
    background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%);
    border: none;
    border-radius: 12px;
    padding: 1.5rem;
    color: white;
}

.quote-calculator .quote-result strong {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: block;
    margin-bottom: 0.5rem;
}

/* UPDATED: Currency symbol SAME COLOR as price value */
.quote-calculator .quote-result .h4 {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    margin: 0;
    line-height: 1;
    display: flex;
    align-items: baseline;
    gap: 0;
}

/* This ensures the dollar sign is part of the h4 text and gets the same styling */
.quote-calculator .quote-result .h4.mb-0 {
    color: white;
}

/* Target the dollar sign specifically and make it the same color */
.quote-calculator .quote-result .h4.mb-0::before {
    content: "$";
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    margin-right: 0.125rem;
    line-height: 1;
    display: inline;
}

.quote-calculator .quote-result #quotePrice {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    line-height: 1;
    display: inline;
}

.quote-calculator .quote-result small.d-block {
    color: rgba(255, 255, 255, 0.8) !important;
    font-size: 0.8125rem;
    margin-top: 0.5rem;
    display: block;
}

/* Place Order Button */
.quote-calculator .btn-primary {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border: none;
    border-radius: 10px;
    color: white;
    font-weight: 600;
    padding: 0.875rem 2rem;
    font-size: 1rem;
    transition: all 0.2s ease;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-width: 160px;
}

.quote-calculator .btn-primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
    background: linear-gradient(135deg, #0da271 0%, #047857 100%);
}

.quote-calculator .btn-primary:disabled {
    background: #94a3b8;
    box-shadow: none;
    cursor: not-allowed;
}

/* Layout Utilities */
.quote-calculator .row.g-3 {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -0.75rem;
}

.quote-calculator .col-12,
.quote-calculator .col-6 {
    padding: 0 0.75rem;
    margin-bottom: 1.25rem;
}

.quote-calculator .col-12 {
    width: 100%;
}

.quote-calculator .col-6 {
    width: 50%;
}

.quote-calculator .d-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.quote-calculator .justify-content-between {
    justify-content: space-between;
}

.quote-calculator .align-items-center {
    align-items: center;
}

.quote-calculator .text-end {
    text-align: right;
}

/* Mobile Responsive */
@media (max-width: 576px) {
    .quote-calculator {
        padding: 1.25rem;
        margin: 0 1rem;
    }
    
    .quote-calculator .col-6 {
        width: 100%;
    }
    
    .quote-calculator .quote-result .d-flex {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .quote-calculator .quote-result .text-end {
        text-align: center;
        width: 100%;
    }
    
    .quote-calculator .btn-primary {
        width: 100%;
    }
    
    .quote-calculator .quote-result .h4 {
        justify-content: center;
        font-size: 2rem;
    }
    
    .quote-calculator .quote-result #quotePrice {
        font-size: 2rem;
    }
    
    .quote-calculator .quote-result .h4.mb-0::before {
        font-size: 2rem;
    }
}

/* If you need to override any existing styles that might be causing the color difference */
.quote-calculator .quote-result .text-dark {
    color: white !important;
}


/* Footer */
footer {
  background: #1e3a8a;
  color: #fff;
  padding: 3rem 0;
}
footer a {
  color: #cbd5e1;
  text-decoration: none;
}
footer a:hover {
  color: #fff;
}


.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 16px;
}

/* Hover effect */
.social-icon:hover {
    transform: scale(1.15);
    background-color: #ffffff !important; /* background turns white */
    color: #000000 !important; /* icon color turns dark */
}

/* Floating background animations */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}
@keyframes float-slow {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(15px); }
}
.animate-float {
  animation: float 8s ease-in-out infinite;
}
.animate-float-slow {
  animation: float-slow 12s ease-in-out infinite;
}

/* Parallax-ready */
.parallax-img, .feature-box {
  will-change: transform;
  transition: transform 0.2s ease-out;
}

/* Hover effects for icons */
.feature-box .icon {
  transition: transform 0.3s ease, color 0.3s ease;
}
.feature-box:hover .icon {
  transform: scale(1.2);
  color: #2563eb; /* Tailwind blue-600 */
}




/* ABOUT */

.our-journey {
  padding: 60px 20px;
  background: linear-gradient(to bottom, #f9f9f9, #ffffff);
  position: relative;
}

.our-journey h2 {
  font-weight: 700;
  margin-bottom: 15px;
}

.our-journey .intro-text {
  max-width: 700px;
  margin: 0 auto 40px;
  color: #6c757d;
  font-size: 1.1rem;
}

.timeline-wrapper {
  position: relative;
  height: 420px;
  margin-bottom: 80px; /* clear separation from next section */
}

.milestone {
  position: absolute;
  width: 180px;
  text-align: center;
  transform: translate(-50%, -50%);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.milestone .circle {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  line-height: 90px;
  font-weight: bold;
  color: #fff;
  margin: 0 auto 10px;
  font-size: 1.1rem;
  z-index: 2; /* keep circles above SVG */
  position: relative;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s, background 0.3s;
}

.milestone:hover {
  transform: translate(-50%, -50%) scale(1.08);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.milestone:hover .circle {
  transform: scale(1.1);
  filter: brightness(1.1);
}

/* Mobile-friendly fallback */
@media (max-width: 768px) {
  .timeline-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 100%;
    height: auto !important;   /* Collapse height */
  }

  .timeline-wrapper svg {
    display: none !important; /* Fully hide SVG */
    height: 0 !important;
    width: 0 !important;
  }

  .milestone {
    position: static !important;
    width: 100%;
    max-width: 320px;
    margin-bottom: 2rem;
    text-align: center;
    transform: none !important;
  }
}

/* Mission & Vision Icons */
.mission-vision-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  color: #fff;
  font-size: 1.5rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s, filter 0.3s;
}
.bg-gradient-primary { background: linear-gradient(135deg, #06d6a0, #0afaae);}
.bg-gradient-secondary { background: linear-gradient(135deg, #0a9efa, #0a52fa);}

/* Hover effect for cards */
.hover-card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

/* Milestone circles */
.milestone .circle {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  line-height: 90px;
  font-weight: bold;
  color: #fff;
  margin: 0 auto 10px;
  font-size:1.1rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  transition: transform 0.3s, background 0.3s;
  position: relative;
  z-index:2;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.4);
}

/* Milestone gradients */
.year-2015{background: linear-gradient(135deg,#0afaae,#06d6a0);}
.year-2017{background: linear-gradient(135deg,#0afaea,#06c1fa);}
.year-2019{background: linear-gradient(135deg,#0adefa,#0a9efa);}
.year-2023{background: linear-gradient(135deg,#0a9efa,#0a52fa);}
.year-2025{background: linear-gradient(135deg,#0a52fa,#0520a0);}

/* Counter styling */
.counter { font-weight: 700; font-size: 2rem; }

/* Timeline wrapper for spacing */
.timeline-wrapper {
  position: relative;
  height: 420px;
  margin-bottom: 80px;
}

/* Milestone card text alignment */
.milestone h5 { margin: 0.5rem 0 0.25rem; font-weight: 600; }
.milestone p { font-size: 0.9rem; color: #6c757d; }

/* Mission & Vision section spacing */
.our-journey, section.py-5.bg-light { padding: 60px 20px; }


/* Homepage Spacing Between Sections */

.py-7 { padding-top: 4rem !important; padding-bottom: 4rem !important; }
.py-8 { padding-top: 5rem !important; padding-bottom: 5rem !important; }
.py-10 { padding-top: 6rem !important; padding-bottom: 6rem !important; }

.mt-6 { margin-top: 4rem !important; }
.mb-6 { margin-bottom: 4rem !important; }
.mb-8 { margin-bottom: 5rem !important; }





/* START OF SERVICES PAGE */
/* Service cards hover effect */
.service-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.service-card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

/* END OF SERVICES PAGE */


/* START OF CONTACT PAGE */
/* Fade-in animation when sections scroll into view */
.fade-in-section {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s ease-out;
}
.fade-in-section.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-in-section.delay {
  transition-delay: 0.3s;
}

/* Inputs highlight when focused */
.form-animate:focus {
  border-color: #0d6efd;
  box-shadow: 0 0 8px rgba(13, 110, 253, 0.4);
  transition: box-shadow 0.3s ease;
}

/* Hover bounce for buttons */
.hover-bounce:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
}

/* Highlight contact info on hover */
.hover-highlight {
  transition: transform 0.2s ease, color 0.2s ease;
}
.hover-highlight:hover {
  transform: translateX(5px);
  color: #0d6efd;
}

/* END OF CONTACT PAGE */

.hover-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.hover-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15) !important;
}



/* hide browser's default "No file chosen" text */
input[type="file"] {
  color: transparent;  /* hides placeholder text */
}




