section {
    scroll-margin-top: 4rem;
  }

/* General Navbar Styles */
#mainNav {
    background-color: rgb(255, 255, 255); /* Transparent background */
    padding: 0px 20px;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
}

/* Navbar Brand Logo */
.logo-agile {
    height: 90px;
    width: auto;
}

/* Navbar Links */
.navbar-nav .nav-item {
    margin: 0 10px;
}

.navbar-nav .nav-link {
    font-size: 18px;
    font-weight: 500;
    color: #651406d7; /* White text */
    transition: color 0.3s ease-in-out;
}

.navbar-nav .nav-link:hover {
    color: #a93f2dd7;
}

/* Navbar Toggler */
.custom-toggler {
    border: none;
    background: none;
    font-size: 24px;
    color: rgb(133, 128, 128);
    cursor: pointer;
}

.custom-toggler:focus {
    outline: none;
}

.icon-close{
    cursor: pointer;
}

/* 🔹 Mobile View - Navbar Collapse */
@media (max-width: 992px) {
    .navbar-collapse {
        position: absolute;
        top: 100%; /* Below the navbar */
        left: 0;
        width: 100%;
        background-color: rgba(255, 255, 255, 0.896); /* Semi-transparent black */
        padding: 10px 0;
        border-radius: 5px;
        text-align: center;
        transition: max-height 0.4s ease-in-out;
        max-height: 0;
        overflow: hidden;
    }

    .navbar-collapse.show {
        max-height: 500px; /* Adjust height */
    }

    /* Ensures smooth dropdown effect */
    .navbar-nav {
        flex-direction: column;
    }

    .nav-item {
        margin: 10px 0;
    }
    .logo-agile {
        height: 90px;
        width: auto;
    }
    
}

@media (max-width : 768px){
    .logo-agile {
        height: 70px;
        width: auto;
    }
    
}



/* Hero Section */
.hero-section {
    background-image: url('../asstes/images/herosection1.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 400px 20px;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
}

/* Background Overlay */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.4) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.5) 100%);
    z-index: 1;
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 2;
    color: white;
    max-width: 600px;
    background-color: rgba(0, 0, 0, 0.6);
    padding: 35px;
    border-radius: 20px;
}

.hero-title {
    font-weight: 700;
    margin-bottom: 20px;
    color: #f0dbaf;
}

.hero-text {
    margin-bottom: 30px;
    font-size: 1.1rem;
    color: #f8f9fa;
}

/* Hero Button */
.hero-btn  {
    background-color: #651406d7;
    border: none;
    padding: 12px 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: 20px;
    cursor: pointer;
}

.hero-btn:hover {
    background-color: #a93f2dd7;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Responsive Hero Section */
@media (max-width: 768px) {
    .hero-section {
        padding: 80px 20px;
    }

    .hero-content {
        max-width: 90%;
        padding: 30px;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .hero-text {
        font-size: 0.9rem;
    }

    .hero-btn {
        font-size: 1rem;
        padding: 10px 20px;
    }
}

/* About Section Styles */
.about-section {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
}

.divider {
    height: 3px;
    width: 60px;
    background-color: #651406d7;
    margin-bottom: 30px;
}

/* Circular Image Container Styling */
.image-container {
    position: relative;
    padding: 20px;
}

.circle-bg {
    position: absolute;
    width: 90%;
    height: 90%;
    border-radius: 50%;
    background-color: #f0f4ff;
    top: 5%;
    left: 5%;
    z-index: 1;
}

.image-wrapper {
    position: relative;
    z-index: 2;
    text-align: center;
}

.image-wrapper img {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border: 8px solid #ffffff;
}

.accent-circle {
    position: absolute;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background-color: rgba(65, 84, 241, 0.1);
    bottom: 0;
    right: 0;
    z-index: 0;
}

/* Content Styling */
.content-title {
    font-size: 2rem;
    font-weight: 600;
    color: #212529;
}

.about-text {
    font-size: 1rem;
    line-height: 1.7;
    color: #6c757d;
}

/* Check List Styling */
.check-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 25px;
}

.check-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 12px;
    font-size: 1rem;
    color: #6c757d;
}

.icon-check {
    position: absolute;
    left: 0;
    top: 3px;
    color: #651406d7;
    font-size: 18px;
}

/* If you don't have an icon font, you can use a background image or pseudo-element */
.icon-check::before {
    content: "✓";
    font-family: Arial, sans-serif;
    font-weight: bold;
}

/* Button Styling */
.about-content .btn-primary {
    background-color: #651406d7;
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.about-content .btn-primary:hover {
    background-color: #a93f2dd7;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(96, 3, 5, 0.753);
}

/* Responsive Adjustments */
@media (max-width: 991px) {
    .image-container {
        max-width: 400px;
        margin: 0 auto;
    }
    
    .content-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 767px) {
    .section-title {
        font-size: 2rem;
    }
    
    .about-section {
        padding: 60px 0;
    }
    .about-content{
        padding:0 20px ;
    }
}

/* Services Section Styles */
.services-section {
    background-color: #e2e3e46b;
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #6c757d;
    max-width: 700px;
    margin: 0 auto;
}

.divider {
    height: 3px;
    width: 60px;
    background-color:#651406d7;
    margin-bottom: 20px;
}

.service-card {
    background-color: #ffffff;
    border-radius: 8px;
    padding: 30px 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
}

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

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 0;
    background-color: #a93f2dd7;
    transition: height 0.3s ease;
}

.service-card:hover::before {
    height: 100%;
}

.icon-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: #f0f4ff;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.service-card:hover .icon-box {
    background-color: #651406d7;
}

.icon-box i {
    font-size: 28px;
    color: #651406d7;
    transition: all 0.3s ease;
}

.service-card:hover .icon-box i {
    color: #ffffff;
}

.service-card h5 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #212529;
}

.service-card p {
    font-size: 0.95rem;
    color: #6c757d;
    margin-bottom: 20px;
}

.service-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: #651406d7;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.service-link:hover {
    color: #a93f2dd7;
}

.service-link i {
    font-size: 0.8rem;
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.service-link:hover i {
    transform: translateX(5px);
}

/* Responsive Adjustments */
@media (max-width: 991px) {
    .section-title {
        font-size: 2.2rem;
    }
    
    .services-section {
        padding: 60px 20px;
    }
}

@media (max-width: 767px) {
    .service-card {
        margin-bottom: 20px;
    }
}

/* FAQ Section Styles */
.faq-section {
    background-color: #f8f9fa;
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #6c757d;
    max-width: 700px;
    margin: 0 auto 30px;
}

.divider {
    height: 3px;
    width: 60px;
    background-color: #651406d7;
    margin-bottom: 20px;
    margin-left: auto;
    margin-right: auto;
}

/* Custom styling for Bootstrap accordion */
.accordion {
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    overflow: hidden;
}

.accordion-item {
    border: none;
    background-color: #ffffff;
    margin-bottom: 2px;
    padding: 5px;
}

.accordion-item:not(:last-child) {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.accordion-header {
    margin: 0;
}

.accordion-button {
    padding: 18px 25px;
    font-size: 1.05rem;
    font-weight: 600;
    color: #141415;
    background-color: #ffffff;
    border: none;
    box-shadow: none;
    transition: all 0.3s ease;
}

.accordion-button:not(.collapsed) {
    color: #651406d7;
    background-color: #f7f9ff;
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: rgba(0, 0, 0, 0.125);
}

.accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%234154f1'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    transform: rotate(-180deg);
}

.accordion-button::after {
    transition: transform 0.3s ease;
}

.accordion-body {
    padding: 15px 25px 25px;
    color: #6c757d;
    font-size: 1rem;
    line-height: 1.7;
    background-color: #f7f9ff;
}

/* Animation for accordion content */
.accordion-collapse {
    transition: all 0.35s ease;
}

/* Responsive Adjustments */
@media (max-width: 991px) {
    .section-title {
        font-size: 2.2rem;
    }
    
    .faq-section {
        padding: 60px 20px;
    }
    
    .accordion-button {
        padding: 15px 20px;
        font-size: 1rem;
    }
    
    .accordion-body {
        padding: 15px 20px 20px;
    }
}

@media (max-width: 767px) {
    .section-title {
        font-size: 1.8rem;
    }
    
    .accordion-button {
        padding: 12px 15px;
        font-size: 0.95rem;
    }
}

/* Contact section */
.form-container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
}

.form-section {
    padding: 2rem;
}


.form-control {
    border: none;
    border-bottom: 1px solid #dee2e6;
    border-radius: 0;
    padding-left: 0;
    padding-right: 0;
}

.form-control:focus {
    box-shadow: none;
    border-bottom: 2px solid #651406d7;
}

.form-floating>label {
    padding-left: 0;
}

.form-floating>.form-control:focus~label,
.form-floating>.form-control:not(:placeholder-shown)~label {
    transform: scale(.85) translateY(-1rem) translateX(0);
    padding-left: 0;
}

.contact-direct {
    background-color: #a9402d4c;
}

.contact-icon {
    font-size: 1.5rem;
    color: #651406d7;
}

.btn-submit {
    background-color: #651406d7;
    color: white;
    border: none;
    border-radius: 10px;
    padding: 12px 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-submit:hover {
    background-color: #a93f2dd7;
    transform: translateY(-2px);
}

.separator {
    height: 4px;
    width: 50px;
    background-color: #651406d7;
    margin: 1rem 0;
}
@media (max-width: 767px) {
    .form-section{
        order: 1;
    }
    .contact-direct{
        order: 2;
    }
}


.whatsapp-float {
    position: fixed;
    text-decoration: none;
    bottom: 35px;
    right: 25px;
    background-color: #25d366; /* WhatsApp green */
    color: #fff;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s, transform 0.3s;
    animation: bounce 2s infinite; /* Bounce animation */
  }
  .whatsapp-float:hover {
    background-color: #25d366; /* WhatsApp green */
    color: #fff;
    transform: scale(1.1);
    text-decoration: none;
  }
  .whatsapp-float::after {
    content: "Chat with us on WhatsApp!";
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
    background-color: #333;
    color: #fff;
    padding: 8px 12px;
    border-radius: 5px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
  }
  .whatsapp-float:hover::after {
    opacity: 1;
    visibility: visible;
  }
  
  /* Bounce Animation */
  @keyframes bounce {
    0%,
    20%,
    50%,
    80%,
    100% {
      transform: translateY(0);
    }
    40% {
      transform: translateY(-20px);
    }
    60% {
      transform: translateY(-10px);
    }
  }

footer {
    background-color: #2f2d2d9e;
    color: #fff;
    padding: 50px 0 20px;
}
.footer-logo {
    max-width: 180px;
    margin-top: 60px;
    margin-bottom: 20px;
}
.quick-links h5, .contact-info h5 {
    margin-bottom: 20px;
    font-weight: 600;
}
.quick-links ul {
    list-style: none;
    padding-left: 0;
}
.quick-links ul li {
    margin-bottom: 10px;
}
.quick-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}
.quick-links a:hover {
    color: #fff;
}
.contact-info p {
    margin-bottom: 8px;
    color: #ccc;
}
.social-icons {
    margin-top: 20px;
}
.social-icons a {
    display: inline-block;
    width: 36px;
    height: 36px;
    background-color: #333;
    border-radius: 50%;
    color: #fff;
    text-align: center;
    line-height: 36px;
    margin-right: 10px;
    transition: background-color 0.3s;
}
.social-icons a:hover {
    background-color: #651406d7;
}
.copyright {
    margin-top: 30px;
    border-top: 1px solid #333;
    padding-top: 20px;
    text-align: center;
    color: #cfc9c9;
}

@media (max-width: 767px) {
    footer{
        padding: 30px;
    }
    .footer-logo{
        max-width: 150px;
    }
}