/*CUSTOM BOOTSRAP */
html {
    scroll-behavior: smooth;
}
:root {
    --bs-primary: #0d6efd;

       --bs-primary-dark: #0056b3;  /* Darker variant */
    --bs-secondary: #6c757d;
    --bs-success: #198754;
    --bs-info: #0dcaf0;
    --bs-warning: #ffc107;
    --bs-danger: #dc3545;
    --bs-light: #ffffff;
    --bs-dark: #000000;
    --bs-grey:#121e32;

}

/* Only change h1, h2, and p sizes - keep everything else default */
h1, h2, h3, h4, h5 {
    font-family: 'Open Sans', sans-serif!important;
    font-weight: 600!important;
}

h1{
    font-size: 2.6rem!important;
        margin: 0px!important;
}

h2{
   font-size: 2.4rem!important;
}

p {
    font-family: 'Open Sans', sans-serif!important;
    font-weight: 400!important;
    line-height: 1.6!important;
    font-size: 1rem!important;
}


.light{
    opacity:0.5;
}



/*NAVBAR*/

.navbar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1050;
    padding: 1rem 0;
}

.navbar .container{
    background: rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
}

/* Mobile menu overlay */
.navbar-collapse {
    position: relative;
}

@media (max-width: 991px) {
    .navbar-collapse {
        position: absolute;
        top: 130%;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.97);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border-radius: 20px;
        border: 1px solid rgba(255, 255, 255, 0.3);
        border-top: none;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        z-index: 1000;
        
    }
    
    .navbar-nav {
        padding: 1rem 0;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    .navbar-nav .nav-link {
        padding: 0.75rem 1.5rem;
        text-align: center;

        width:150px;
    }
    
    .cta-bordered-wrap {
        padding: 0 1.5rem 1rem 1.5rem;
    }
}

/* Remove border from burger menu */
.navbar-toggler {
    border: none !important;
    padding: 0.25rem 0.5rem;
    position: relative;
    width: 40px;
    height: 40px;
    background: transparent !important;
}

.navbar-toggler:focus {
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
}

.navbar-toggler:focus-visible {
    box-shadow: none !important;
    outline: none !important;
}

/* Hide the default Bootstrap icon */
.navbar-toggler-icon {
    display: none;
}

/* Custom hamburger menu */
.navbar-toggler::before,
.navbar-toggler::after,
.navbar-toggler span {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background-color: #333;
    transition: all 0.3s ease;
    left: 50%;
    transform: translateX(-50%);
}

.navbar-toggler::before {
    top: 12px;
}

.navbar-toggler span {
    top: 19px;
    opacity: 1;
}

.navbar-toggler::after {
    top: 26px;
}

/* Transform to X when expanded */
.navbar-toggler:not(.collapsed)::before {
    top: 19px;
    transform: translateX(-50%) rotate(45deg);
}

.navbar-toggler:not(.collapsed) span {
    opacity: 0;
    transform: translateX(-50%) scale(0);
}

.navbar-toggler:not(.collapsed)::after {
    top: 19px;
    transform: translateX(-50%) rotate(-45deg);
}

/* Add the middle span element for the hamburger */
.navbar-toggler {
    overflow: visible;
}

.navbar-toggler::before,
.navbar-toggler::after {
    border-radius: 1px;
}

/* Or use max dimensions for responsive behavior */
.navbar-brand img {

    max-width: 150px;
    height: auto;
    width: auto;

}

.navbar-brand{
         transition: all 0.3s ease;
}

.navbar-brand:hover {
    scale:1.1;
    cursor: pointer;
}

/* Navigation link hover animation */
.navbar-nav .nav-link {
    position: relative;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--bs-primary);
    transition: width 0.3s ease;
}

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

/* Optional: Change text color on hover */
.navbar-nav .nav-link:hover {
    color: var(--bs-primary);
}


/* Hero Section */


main{
    margin-top: 170px;
}

.cta {
    border-radius: .25rem;
    text-transform: uppercase;
    font-style: normal;
    padding-left: 25px;
    padding-right: 25px;
    color: var(--bs-light);
   
    clip-path: polygon(0.1px 0.1px, 0.1px 0.1px, calc(100% - 0.1px) 0.1px, calc(100% - 0.1px) 0.1px, calc(100% - 0.1px) calc(100% - 15px), calc(100% - 15px) calc(100% - 0.1px), 15px calc(100% - 0.1px), 0.1px calc(100% - 0.1px));
    height: 40px;
    transition: .2s .1s;
    background-image: linear-gradient(90deg,var(--bs-grey),var(--bs-primary));
    border: none!important;
    overflow: hidden;
}

.cta-bordered {
    position: relative;
    border-radius: .35rem;
    text-transform: uppercase;
    font-style: normal;
    padding-left: 12px;
    padding-right: 12px;
    color: var(--bs-light);
    height: 28px;
    transition: .2s .1s;
    background-color: var(--bs-primary);
    border: none;
    overflow: visible;
}

main p{
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}


.cta:hover {
  cursor: pointer;
  transition: all .3s ease-in;
  padding-right: 35px;
  padding-left: 35px;
}

.cta-bordered:hover {
  cursor: pointer;
  transition: all .3s ease-in;
  padding-right: 25px;
  padding-left: 25px;
  background-color: var(--bs-dark);
  color: var(--bs-light);
}


.hero-section {

  min-height: 400px; /* Fallback for very small screens */
}

/*IMAGE SECTION */


.image-section {
  padding: 3rem 0;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 1000px;
  margin:0 auto;
  margin-top: min(10vw,2rem); /* 10vw with max of 8rem */
}

.image-section .main-image {
  transform: perspective(75em) rotateX(18deg) scale(0.9);
  box-shadow:
    var(--bs-grey) 0px 60px 123px -25px,
    var(--bs-primary) 0px 35px 75px -35px;
  border-radius: 10px;
  border: 1px solid;
  border-color:
    rgb(213, 220, 226)
    rgb(213, 220, 226)
    rgb(184, 194, 204);
  
  /* Smooth transition for manual transforms */
  transition: transform 0.1s ease-out, opacity 0.1s ease-out;
  opacity: 0.7;
  
  /* Ensure crisp rendering */
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}









/*PAIN POINTS */
section.pain-points {
height:800px;

  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}


section.pain-points h2 {
  text-align: center;
  font-size: 4rem!important;
  margin-bottom: 2rem;
}

.pain-grid {
  width: 100%;
  height: 100%;
  position: relative;

}
.pain-item {
  position: absolute;
  width: 500px;
  padding: 20px;
  background: var(--bs-light);
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  transform: translateY(20px);
  z-index: 10;
  backdrop-filter: blur(100px);
}


.pain-item.p1 {
  top: -400px;
 left:0%;
}

.pain-item.p2 {
  top: -350px;
  right:0px;

}

.pain-item.p3 {
  top: 60%;
   left:25%;

}

.pain-icon {
  margin-left: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* SVG Styles */
.pain-icon svg {
  width: 38px;
  height: 38px;
}



/* Pain Points Section Animation Styles */
.pain-points {
    position: relative;
    overflow: hidden; /* Prevent horizontal scrollbars during animation */
}

.pain-points .section-title {
    opacity: 0; /* Will be set by JavaScript */
    transform: translateY(30px); /* Will be set by JavaScript */
}

.pain-item {
    opacity: 0; /* Will be set by JavaScript */
    transform: translateX(-100px); /* Will be set by JavaScript */
}

/* Enhanced pain item styling for better animation */
.pain-item {
    transform-origin: center;
    will-change: transform, opacity; /* Optimize for animations */
}

/* Optional: Add subtle hover effects */
.pain-item:hover {
    transform: translateY(-5px) scale(1.02);
    transition: transform 0.3s ease;
}

/* Ensure smooth animations on all devices */
@media (prefers-reduced-motion: reduce) {
    .pain-points .section-title,
    .pain-item {
        transition: none !important;
        transform: none !important;
        opacity: 1 !important;
    }
}


@media (max-width:1199px){

    #problems{
        margin-top:100px;
        height:100%;
    }
    .pain-grid {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  width: 100%;
  padding: 2rem 200px;

}

.pain-item {
  width:100%;

}

.pain-item.p1,
.pain-item.p2,
.pain-item.p3 {
  position: relative;
  top: auto;
  left: auto;
}
}


@media (max-width:991px){

   
    .pain-grid {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  width: 100%;
  padding: 2rem 100px;

}


}

@media (max-width:767px){

   
    .pain-grid {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  width: 100%;
  padding: 2rem 0;

}


}



/*SECTION QUOTE*/

/* Quote Section Styling */
.quote {
padding: clamp(4rem, 10vw, 8rem) 0;
    display: flex;
    align-items: center;
    position: relative;
}

.quote-text {
    font-size: 3rem!important;
    line-height: 1.2;
    max-width: 900px;
    margin: 0 auto;
    white-space: pre-wrap; /* Preserve spacing and allow wrapping */
    word-wrap: break-word; /* Ensure long words break properly */
     word-break: keep-all; /* Prevents word breaking */
    overflow-wrap: normal; /* Don't break words */
    hyphens: none; /* No hyphenation */
}



.quote-letter {
    display: inline-block;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.15s ease-out;
    min-width: 0; /* Prevent layout shifts */
}

.quote-letter.visible {
    opacity: 1;
    transform: translateY(0);
}

.quote-letter.space {
    width: 0.3em;
    min-width: 0.3em; /* Ensure consistent space width */
}

/* Quote word wrapping styles */
.quote-word {
    display: inline-block;
    white-space: nowrap; /* Prevents word from breaking */
}


/*SECTION WHAT WE DO*/




.service-card {
    background: var(--bs-light);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.service-icon {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
}

.service-icon svg {
    filter: drop-shadow(0 4px 8px rgba(13, 110, 253, 0.3));

}



.service-features {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.service-features li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--bs-secondary);
    font-size: 0.9rem;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--bs-primary);

}

.cta-section {
    background: linear-gradient(135deg, var(--bs-primary) 0%, var(--bs-primary-dark) 100%);
    padding: 3rem 2rem;
    border-radius: 20px;
    color: var(--bs-light);
    max-width: 800px;
    margin: 0 auto;
    box-shadow: 0 15px 35px var(--bs-primary);
}




/* Responsive adjustments */




/*SECTION FAQ*/




/* Custom Accordion Styling */
.accordion-custom {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 15px;
    overflow: hidden;
}

.accordion-custom .accordion-item {
    border: none;
    margin-bottom: 0;
}

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

.accordion-custom .accordion-header {
    margin-bottom: 0;
}

.accordion-custom .accordion-button {
    background: white;
    border: none;
    padding: 1.5rem 2rem;

    font-size: 1.1rem;
    color: #333;
    box-shadow: none;
    border-radius: 0;
    transition: all 0.3s ease;
}

.accordion-custom .accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, var(--bs-primary) 0%, var(--bs-primary-dark) 100%);
    color: var(--bs-light);
}

.accordion-custom .accordion-button:focus {
    box-shadow: none;
    border: none;
}

.accordion-custom .accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23333'%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");
    transition: transform 0.3s ease;
}

.accordion-custom .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='%23ffffff'%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-custom .accordion-body {
    padding: 2rem;
    background: var(--bs-light);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.accordion-custom .accordion-body h6 {
    color: var(--bs-primary);
    margin-bottom: 0.75rem;
}

.accordion-custom .accordion-body ul {
    margin-bottom: 1rem;
}

.accordion-custom .accordion-body ul li {
    margin-bottom: 0.5rem;
    padding-left: 0.5rem;
}

.accordion-custom .accordion-body .alert {
    border-left: 4px solid var(--bs-primary);
    border-radius: 8px;
    margin: 1.5rem 0;
}

.guarantee-box {
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.1) 0%, rgba(13, 110, 253, 0.05) 100%);
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid var(--bs-primary);
    margin: 1.5rem 0;
}

.guarantee-box h6 {
    margin-bottom: 1rem;
}

.guarantee-box ul {
    margin-bottom: 0;
}

/* Icons in accordion buttons */
.accordion-button .fas {
    color: var(--bs-primary);
    font-size: 1.1rem;
}

.accordion-button:not(.collapsed) .fas {
    color: var(--bs-light);
}



/* Remove focus outline from accordion buttons */
.accordion-custom .accordion-button:focus {
    box-shadow: none;
    border: none;
    outline: none; /* Remove the outline */
}

/* Optional: Add subtle focus indication for accessibility */
.accordion-custom .accordion-button:focus-visible {
    box-shadow: 0 0 0 2px rgba(13, 110, 253, 0.25);
    outline: none;
}

/* Remove any residual focus styles */
.accordion-custom .accordion-button:active,
.accordion-custom .accordion-button:focus:active {
    box-shadow: none !important;
    outline: none !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .faq {
        padding: 60px 0;
    }
    

    
    .accordion-custom .accordion-body {
        padding: 1.5rem;
    }
}


/*SECTION FINAL CTA*/
section.final-cta{
    min-height: 50vh;
    display: flex;
    justify-content: center;
    padding-top:15vh ;

}

section.final-cta .cta{
   border: solid var(--bs-dark) 1px!important;
}


/* SECTION FOOTER */
footer.footer-section {
    border-top: solid #d1d1d1a2 1px!important;
}

