/********** Main style sheet **********/
:root {
    /* --primary: #3f097e; */    
    --primary: #1d683d;
    --secondary: #F6F6F6;
    --light: #FFFFFF;
    --dark: #152440;
}

/* === Quote spinner styling === */
.spinner-overlay {
      display: none;
      position: fixed;
      top: 0; left: 0;
      width: 100%; height: 100%;
      background: rgba(255, 255, 255, 0.8);
      z-index: 1050;
      justify-content: center;
      align-items: center;
    }
    .spinner-border { width: 3rem; height: 3rem; }


/* Enable smooth scroll for all anchor links */

html {
  scroll-behavior: smooth;
}

.section-header .rounded-circle:hover {
  transform: scale(1.1);
  transition: transform 0.3s ease;
}

.top-shape::before {
    position: absolute;
    content: ""; 
    width: 36px;
    height: 100%;
    top: 0;
    left: -18px;
    background: var(--primary);
    /* transform: skew(40deg); */
    transform: skew(-45deg);
}

/* === General Topbar Styling === */
   /* General Topbar Styling */
  .topbar {
    background-color: #054628;
  }

  /* Topbar Links (Icons + Text) */
  .topbar-links a {
    color: white;
    text-decoration: none;
    padding: 0 0.75rem;
    border-right: 2px solid rgb(255, 255, 255);
    transition: color 0.3s ease;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
  }

  .topbar-links a:last-child {
    border-right: none;
  }

  .topbar-links a:hover {
    color: #b8f2c8;
  }

  .topbar-links i {
    font-size: 1rem;
    color: #b8f2c8;
    transition: transform 0.3s ease, color 0.3s ease;
  }

  .topbar-links a:hover i {
    transform: scale(1.1);
    color: #ffffff;
  }

  /* Contact Info Bar - rectangular with slanted left edge */
  .contact-info {
    background-color: #046a3a;
    color: white;
    display: inline-flex;
    align-items: center;
    clip-path: polygon(35px 0, 100% 0, 100% 100%, 0 100%);
    border-radius: 0px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
  }

  .contact-info i {
    color: #b8f2c8;
  }

  /* Glow and slide animation effect on hover */
  .contact-info::before {
    content: "";
    position: absolute;
    left: -100%;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.2), transparent);
    transform: skewX(-20deg);
    transition: all 0.5s ease;
  }

  .contact-info:hover::before {
    left: 100%;
  }

  .contact-info:hover {
    box-shadow: 0 0 15px rgba(184, 242, 200, 0.4);
    background-color: #058a4a;
  }

  /* Responsive adjustments */
  @media (max-width: 575.98px) {
    .topbar {
      text-align: center;
      padding: 0.5rem 0;
    }

    .topbar-links a {
      padding: 0 0.6rem;
      border: none;
    }

    /* Hide link text on extra small devices */
    .topbar-links span {
      display: none !important;
    }

    .topbar-links i {
      font-size: 1.2rem;
    }

    .contact-info {
      width: 100%;
      justify-content: center;
      clip-path: polygon(0px 0, 100% 0, 100% 100%, 0 100%);
      margin-top: 0.3rem;
    }

    .contact-info a,
    .contact-info span {
      font-size: 0.85rem;
    }
  }


  /* imroved */
.hero-section {
  height: 100vh;
  overflow: hidden;
}

.hero-section {
  margin-top: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.object-fit-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-section .carousel img {
  object-fit: cover;
  height: 100%;
  min-height: 500px;
  transition: transform 10s ease-in-out;
}

.hero-section .carousel-item.active img {
  transform: scale(1.05);
}

.square-control { 
  width: 56px; height: 56px; 
}


@media (max-width: 991px) {
  .hero-section {
    text-align: center;
    padding-top: 4rem;
  }
  .hero-section .carousel img {
    height: 300px;
  }
}

/* Mobile Responsiveness */
@media (max-width: 991px) {
  .hero-section {
    height: auto;
  }
  .hero-section .row {
    flex-direction: column;
  }
  .carousel-controls-bar {
    gap: 6px;
    padding: 4px 0;
  }
  .thumb-box {
    width: 50px;
    height: 50px;
  }
  .control-btn {
    width: 32px;
    height: 32px;
  }
}




/* === About ==== */
.about,
.single {
    position: relative;
    padding: 90px 0 60px 0;
    background: #f2f2f2;
}

.about .col-md-12,
.about .col-md-6,
.single .col-md-12,
.single .col-md-6 {
    margin-bottom: 30px;
}

.about .about-img,
.single .single-img {
    position: relative;
    overflow: hidden;
}

.about .about-img img,
.single .single-img img {
    width: 100%;
}

.about .about-content,
.single .single-content {
    position: relative;
    width: 80%;
    margin: -150px auto 0 auto;     
    padding: 30px;
    background: #ffffff;    
    box-shadow: 2px 2px 15px rgba(0, 0, 0, 0.1);
}

.about .about-content h2,
.single .single-content h2 {
    font-size: 25px;
    font-weight: 700;
}

.about .about-content p,
.single .single-content p {
    font-size: 16px;
    font-weight: 300;
}

.about .btn,
.single .btn {
    font-size: 14px;
    letter-spacing: 1px;
    color: #ffffff;
    background: #999999;
    border-radius: 0;
}

.about .btn:hover,
.single .btn:hover {
    background: #4F84C4;
}

/* === Equal Image Height Styling === */
  .about-equal-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    background-image: center center;
    border-radius: 0;
  }

  @media (max-width: 768px) {
    .about-equal-img {
      height: 200px;
    }
  }

/* === Section Header ===*/

.section-header {
    position: relative;
    max-width: 700px;
    margin: 0 auto 60px auto;
    padding-bottom: 25px;
}

.section-header h2 {
    color: #666666;
    font-size: 35px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 6px;
    text-align: center;
}

.section-header::after {
    content: '';
    position: absolute;
    display: inline-block;
    width: 100px;
    height: 5px;
    background: #cccccc;
    border-radius: 0 0 5px 5px;
    bottom: 0;
    left: calc(50% - 50px);
}

.section-header p {
    font-size: 22px;
    font-weight: 300;
    text-align: center;
    margin: 0;
}

/* === Services CSS === */
.service {
    background: #ffffff;
    padding: 90px 0 60px 0;
    text-align: center;
}

.service .service-item {
    position: relative;
    width: 100%;
    text-align: center;
    margin-bottom: 30px;
}

.service .service-icon {
    position: relative;
    width: 100%;
    padding: 30px 15px;
    background: #4F84C4;
}

.service .service-icon i {
    font-size: 90px;
    line-height: 0;
    color: #ffffff;
}

.service .service-detail {
    position: relative;
    width: 100%;
    padding: 30px 15px;
    background: #f2f2f2;
}

.service .service-detail h4,
.service .service-detail h4 a {
    font-size: 18px;
    font-weight: 700;
    line-height: 24px;
    letter-spacing: 1px;
    text-transform: capitalize;
}

.service .service-detail p {
    margin: 0;
}

.service-card {
    transition: all 0.3s ease;
    border-radius: 1rem;
  }
  .service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
  }
  .service-icon {
    width: 70px;
    height: 70px;
    transition: background 0.3s ease;
  }
  .service-card:hover .service-icon {
    opacity: 0.9;
  }


  .pricing-card {
    border-radius: 0rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  .pricing-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
  }
  .pricing-card .card-header {
    border-top-left-radius: 0rem;
    border-top-right-radius: 0rem;
  }
  .featured {
    transform: scale(1.05);
    z-index: 2;
  }
  @media (max-width: 767.98px) {
    .featured {
      transform: none;
    }
  }


  /* === Projects section carousel styling === */

  /* Carousel Controls Styling */
  .carousel-controls button {
    transition: all 0.3s ease;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.4);
  }

  .carousel-controls button:hover {
    background: #0dcaf0; /* Bootstrap info color */
    border-color: #0dcaf0;
    transform: scale(1.1);
  }

  /* Caption Text Improvements */
  .carousel-caption h5 {
    font-weight: 600;
    text-shadow: 0 2px 6px rgba(0,0,0,0.6);
  }

  .carousel-caption p {
    font-size: 0.95rem;
  }



/* === Call To Action CSS === */

.call-to-action {
    position: relative;
    padding: 90px 0;
    background: #4F84C4;
}

.call-to-action .container {
    max-width: 700px;
}

.call-to-action .section-header h2 {
    color: #ffffff;
}

.call-to-action .section-header::before {
    background: #ffffff;
}

.call-to-action .section-header p {
    color: #ffffff;
}

.call-to-action .btn {
    padding: 15px 30px;
    color: #4F84C4;
    font-weight: 700;
    font-size: 18px;
    letter-spacing: 1px;
    text-transform: uppercase;
    background: #ffffff;
    border-radius: 0;
    transition: 0.3s;
}

.call-to-action .btn:hover {
    color: #ffffff;
    background: #353535;
}

/* === Pricing CSS === */

.pricing {
    background: #f2f2f2;
    padding: 90px 0 60px 0;
}

.pricing .price-content {
    position: relative;
    background: #ffffff;
    text-align: center;
    margin-bottom: 30px;
}

.pricing .price-plan {
    display: block;
    background: #353535;
    margin: 0 0 30px;
    padding: 20px 0;
}

.pricing .price-plan i {
    color: #ffffff;
    font-size: 60px;
    line-height: 80px;
}

.pricing .price-title {
    display: block;
    color: #ffffff;
    font-size: 30px;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.pricing .price-amount {
    position: relative;
    font-family: 'Arial, Helvetica', sans-serif;
    color: #ffffff;
    font-size: 60px;
    font-weight: 900;
    margin: 0;
    text-transform: uppercase;
}

.pricing .price-amount span {
    color: #ffffff;
    font-size: 22px;
    font-weight: 400;
    text-transform: lowercase;
}

.pricing .price-amount span:first-child {
    position: relative;
    top: -27px;
    left: -5px;
}

.pricing .price-date {
    color: #ffffff;
    font-size: 12px;
    margin-top: 5px;
    text-transform: uppercase;
    margin-bottom:0;
}

.pricing .price-details {
    font-size: 16px;
    list-style: none;
    text-align: left;
}

.pricing .price-details li {
    padding: 5px 0;
}

.pricing .price-details li i.ion-md-checkmark {
    color: #4F84C4;
    margin-right: 8px;
}

.pricing .price-details li i.ion-md-close {
    color: #ea4335;
    margin-right: 10px;
}

.pricing .btn {
    color: #ffffff;
    padding: 10px 30px;
    text-transform: uppercase;
    border: none;
    border-radius: 0;
}

.pricing .price-btn {
    margin-top: 10px;
    margin-bottom: 30px;
    background: #353535;
    color: #ffffff;
}

.pricing .price-btn:hover {
    background: #4F84C4;
}

.pricing .features-price-btn {
    background: #4F84C4;
}

.pricing .features-price-btn:hover {
    background: #353535;
}

.pricing .features-price .price-plan {
    background: #4F84C4;
}

.pricing .features-price .price-plan p{
    color:#FFFFFF;
}

.pricing .features-price .price-plan .price-amount, 
.pricing .features-price .price-plan .price-amount span {
    color: #ffffff;
}

.pricing .features-price .price-plan .price-title {
    color:#ffffff;
}

/* === Clients CSS === */
.clients {
    position: relative;
    padding: 90px 0;
}

.clients .section-header p {
    padding-bottom: 10px;
}

.clients img {
    max-width: 100%;
    opacity: 1;
    transition: 0.3s;
    padding: 15px 0;
}

.clients img:hover {
    opacity: .5;
}

.clients .owl-nav,
.clients .owl-dots {
    margin-top: 5px;
    text-align: center;
}

.clients .owl-dot {
    display: inline-block;
    margin: 0 5px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ddd;
}

.clients .owl-dot.active {
    background-color: #4F84C4;
}


/* === Contact CSS === */
.contact {
    position: relative;
    padding: 90px 0;
    background: #f2f2f2;
}

.contact .container {
    max-width: 900px;
}

.contact .container .col-md-6 {
    padding: 0;
    background: #ffffff;
}

.contact .form {
    background: #ffffff;
    padding: 30px;
    color: #353535;
}

.contact .form input,
.contact .form textarea {
    padding: 10px 0;
    border-color: #dddddd transparent #dddddd transparent;
    border-radius: 0;
    box-shadow: none;
    font-size: 15px;
}

.contact .form input:focus,
.contact .form textarea:focus {
    border-color: #4F84C4 transparent #4F84C4 transparent;
}

.contact .form button[type="submit"] {
    color: #ffffff;
    background: #888888;
    border-radius: 0;
}

.contact .form button[type="submit"]:hover {
    background: #4F84C4;
}

.contact .map {
    position: relative;
    background: #ffffff;
}

.contact .map iframe {
    width: 100%;
    height: 375px;
    margin-bottom: -7px;
}


/* Back to Top Button (Square Design) */
.back-to-top {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 50px;
  height: 50px;
  display: none;
  z-index: 9999; 
  background-color: #0d6dfd50;
  color: #fff;
  border: none;
  border-radius: 0px; /* Slightly rounded square */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: opacity 0.3s ease, transform 0.3s ease, background-color 0.3s ease;
}

.back-to-top:hover {
  transform: translateY(-4px);
  background-color: #0b5ed7; /* Darker on hover */
}

.back-to-top i {
  font-size: 1.4rem;
  line-height: 1;
}


/* Navbar link base style */
.navbar-nav .nav-link {
  color: #000;
  font-weight: 500;
  padding: 10px 18px;
  border-radius: 6px;
  transition: all 0.3s ease;
}

/* Hover effect */
.navbar-nav .nav-link:hover {
  background-color: #e9f2ff;
  color: #0d6efd;
}

/* Active link style (ScrollSpy applies .active automatically) */
.navbar-nav .nav-link.active {
  background-color: #0d6efd; /* Brand blue */
  color: #fff !important;
  box-shadow: 0 2px 6px rgba(13, 110, 253, 0.3);
}

/* Contact button styled like others but bold */
.navbar-nav .contact-btn {
  background-color: #0d6efd;
  color: #fff !important;
  font-weight: 600;
  border-radius: 6px;
  padding: 10px 20px;
  transition: background-color 0.3s ease;
}

.navbar-nav .contact-btn:hover {
  background-color: #0b5ed7;
}

/* Navbar links */
.navbar-nav .nav-link {
  color: #000;
  font-weight: 500;
  padding: 10px 18px;
  border-radius: 0px;
  transition: all 0.3s ease;
}

/* Hover effect */
.navbar-nav .nav-link:hover {
  background-color: #e9f2ff;
  color: #0d6efd;
}

/* Active link (ScrollSpy support) */
.navbar-nav .nav-link.active {
  background-color: #0d6efd;
  color: #fff !important;
  box-shadow: 0 2px 6px rgba(13, 110, 253, 0.3);
}

/* Contact button */
.navbar-nav .contact-btn {
  /* background-color: #0d6efd; */
  background-color: #1d683d;   
  color: #fff !important;
  font-weight: 600;
  border-radius: 0px;
  padding: 10px 30px;
  transition: background-color 0.3s ease;
}
.navbar-nav .contact-btn:hover {
  background-color: #0b5ed7;
}

/* Social icons */
.social-btn {
  width: 40px;
  height: 40px;
  border-radius: 0%;
  font-size: 16px;
  transition: all 0.3s ease;
}

.social-btn i {
  font-size: 1.2rem;
}

/* Hover Effect */
.social-btn:hover {
  background-color: #0b5ed7; /* Darker Bootstrap primary */
  transform: translateY(-3px);
}

/* Make nav items centered on mobile */
@media (max-width: 991.98px) {
  .navbar-nav {
    text-align: center;
    width: 100%;
  }
  .social-icons {
    margin-top: 15px;
  }
  .navbar-collapse {
    background: #fff;
    border-radius: 10px;
  }
  .navbar-nav .nav-link {
    display: block;
    width: 100%;
  }
}


.logo-ticker {
  white-space: nowrap;
}

.logo-track {
  display: inline-flex;
  animation: scroll 30s linear infinite;
}

.logo-track img {
  max-height: 60px;
  filter: grayscale(100%);
  opacity: 0.8;
  transition: all 0.3s ease;
}

.logo-track img:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.05);
}

/* Infinite scroll animation */
@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Pause on hover */
.logo-ticker:hover .logo-track {
  animation-play-state: paused;
}

/* Responsive Adjustments */
@media (max-width: 576px) {
  .logo-track img {
    max-height: 40px;
    margin: 0 1rem;
  }
}

/* === Carousel Styling ===  */
  /* Maintain uniform image height */
  #projectCarousel .carousel-item img {
    height: 500px !important;
    object-fit: cover;
  }

  /* Square hoverable controls */
  .carousel-controls .btn {
    width: 45px;
    height: 45px;
    border-radius: 0rem;
    transition: all 0.3s ease;
  }
  .carousel-controls .btn:hover {
    background-color: #ffc107 !important;
    color: #000 !important;
    transform: scale(1.1);
  }

  /* Fade + slide-up animation for captions */
  .carousel-caption {
    opacity: 0;
    transform: translateY(20px);
    transition: all 1s ease-in-out;
  }
  .carousel-item.active .carousel-caption {
    opacity: 1;
    transform: translateY(0);
  }

  /* Smooth fade transitions between slides */
  .carousel-fade .carousel-item {
    transition: opacity 1.2s ease-in-out;
  }

  /* Responsive height for mobile */
  @media (max-width: 767.98px) {
    #projectCarousel .carousel-item img {
      height: 300px;
    }
  }

/* === FAQ section styling === */

  .faq__v2 {
  background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
}

.accordion-button {
  font-weight: 600;
  transition: all 0.3s ease;
  background-color: #fff;
}

.accordion-button:not(.collapsed) {
  color: #0d6efd;
  background-color: #e7f1ff;
  box-shadow: none;
}

.accordion-item {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.accordion-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
}

.accordion-body {
  background: #fff;
  border-radius: 0 0 10px 10px;
  line-height: 1.7;
}

.section-header p {
  font-size: 1rem;
}

.badge {
  letter-spacing: 1px;
}

.pricing-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 1rem;
}
.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}
.modal-content {
  border-radius: 1rem;
}





/* === Footer Base === */
/* styled 21 Oct  */
.footer {
  /* background-color: #1b1f24; */
  /* background-color: rgb(3, 63, 3) !important; */
  /* background-color: #054628 !important; */
   background-color: #054628;
  color: #f8f9fa;
}

.footer-banner img {
  height: 220px;
  object-fit: cover;
  filter: brightness(70%);
}

.banner-overlay {
  background: rgba(0, 0, 0, 0.45);
}

.footer h3 {
  font-size: 1.25rem;
  font-weight: 600;
  /* border-left: 4px solid #ffc107; */
  border-left: 4px solid #f7f6f3;
  padding-left: 10px;
}

.footer-link {
  color: #adb5bd;
  display: block;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-link:hover {
  color: #ffc107;
  /* color: #f7f6f4; */
  transform: translateX(4px);
}

.footer img {
  border-radius: 10px;
}

.footer .border-top {
  border-color: rgba(255, 255, 255, 0.2) !important;
}
