:root{
    --primary-color: #d76618;
    --secondary-color: #444444;
    --theme-background: #f3f5f6;
    --theme-font: "Roboto", sans-serif;
    --theme-heading-font: "Cormorant", serif;
}

body{
    color: var(--secondary-color);
    margin: 0;
    padding: 0;
    overflow-x: hidden !important;
}

h1, h2, h3, h4, h5, h6{
    font-family: var(--theme-heading-font);
    color: var(--primary-color);
}

a{
    text-decoration: none;
    color: inherit;
}

.text-md{
    font-size: 1.2rem;
    font-weight: 500;
}

.text-bold{
    font-weight: 600;
}

.text-light-white{
    color: rgba(255, 255, 255, .7)
}

.hsr-theme-text{
    color: var(--primary-color);
}


.hsr-theme-btn{
    background-color: rgba(215, 102, 24, .8) !important;
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 40px;
   transition: all 0.5s ease-in-out;
}

.hsr-theme-btn:hover, .hsr-theme-btn:active{
    background-color: rgba(215, 102, 24, 1);
    color: white;
    cursor: pointer;
    border: 0;
}

.hsr-theme-btn-outline{
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    padding: 15px 40px;
    border-radius: 40px;
}

.hsr-theme-btn-outline:hover, .hsr-theme-btn-outline:active{
    background-color: var(--primary-color);
    color: white;
    cursor: pointer;
    border: 0;
}

.hsr-theme-white-btn{
    background-color: rgba(255, 255, 255, .8);
    color: var(--primary-color);
    border: none;
    padding: 15px 40px;
    border-radius: 40px;
   transition: all 0.5s ease-in-out;
}

.hsr-theme-white-btn:hover, .hsr-theme-white-btn:active{
    background-color: rgba(255, 255, 255, 1);
    color: var(--primary-color);
    cursor: pointer;
    border: 0;
}

/* Navbar */

.nav-link{
    font-size: 1.1rem;
    font-weight: 400;
    margin: 0 .75rem;
}

.navbar .dropdown-menu{
    position: absolute;
    left: 50%;
    right: 50%;
    width: 85vw;
    top: 4rem;
    border: 0;
    border-radius: 2rem;
    transform: translateX(-50%);
    padding: 2rem;
    transition: all 0.5s ease-in-out;
}

@media (max-width: 991px) {
    .navbar .dropdown-menu{
        position: relative;
        top: 0rem;
        box-shadow: none !important;
    }
}

.navbar .dropdown-item:hover{
    background-color: var(--primary-color);
    color: white;
    border-radius: 5px;
}

/* Footer */

footer .container-fluid{
    width: 95%;
    background-color: var(--primary-color);
    border-radius: 2rem;
    /* padding: 3rem; */
    color: white;
}

footer ul{
    list-style: none;
    padding: 0;
}

footer ul li{
    margin: 1rem 0;
}

footer .hsr-icon{
    display: flex;
    align-items: center;
    justify-content: center;
    height: 50px;
    width: 50px;
    background-color: white;
    color: var(--primary-color);
    font-size: 20px;
    border-radius: 10px;
}

footer .hsr-icon:hover{
    background-color: var(--primary-color);
    color: white;
    cursor: pointer;
}

/* Page Title */

.hsr-page-title{
    background-color: var(--primary-color);
    width: 95%;
    padding: 2rem;
    border-radius: 2rem;
}

.hsr-page-title h1{
    font-size: 4rem;
    font-weight: 700;
}

@media (max-width: 991px) {
    .hsr-page-title h1{
        font-size: 2.5rem;
        line-height: 2.7rem;
    }   
    
}

.hsr-page-title .breadcrumb-item a{
    color: white;
}


.breadcrumb-item+.breadcrumb-item::before {
    color: white;
}

.breadcrumb-item.active {
    color: rgba(255, 255, 255, .7);
}



.hsr-section-title{
    font-size: 4rem;
    font-weight: 500;
    margin-bottom: 1rem;
    line-height: 4.3rem;
}

@media (max-width: 991px) {
    .hsr-section-title{
        font-size: 2.5rem;
        line-height: 2.7rem;
    }   
    
}

/* Contact Us */

.form-control, .form-select{
    padding: 1rem;
    border-radius: 1rem;
}

.form-group label{
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: .5rem;
    padding-left: .5rem;
}

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

.hsr-relative{
    position: relative;
}

.hsr-contact-image::before{
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: auto;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(180deg, rgba(188, 132, 64, 0) 63.4%, rgba(207, 102, 5, 0.8) 93.4%);
    z-index: 1;
    border-radius: 2rem;
}

.hsr-contact-image img{
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 2rem;
}

.hsr-contact-card{
    background-color: var(--primary-color);
    padding: 2rem;
    color: white;
    border-radius: 2rem;
}

.hsr-contact-card .hsr-icon{
    display: flex;
    align-items: center;
    justify-content: center;
    height: 70px;
    width: 70px;
    background-color: white;
    color: var(--primary-color);
    font-size: 30px;
    border-radius: 10px;
}

.hsr-contact-card a{
    font-size: 1.3rem;
}

/* FAQs */
.nav-pills{
    padding: 1.5rem;
    background-color: var(--theme-background);
    border-radius: 2rem;
}

.nav-pills .nav-link{
    text-align: left;
    background-color: white;
    margin: .5rem 0;
    padding: 1rem;
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-pills .nav-link:hover{
    background-color: var(--primary-color);
    color: white;
    cursor: pointer;
}
.nav-pills .nav-link.active{
    background-color: var(--primary-color);
    color: white;
}

/* FAQs */

.accordion h2{
    font-family: var(--theme-font);
}

/* Servie Card */

.hsr-service-card{
    position: relative;
}

.hsr-service-card::before{
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: auto;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(180deg, rgba(188, 132, 64, 0) 63.4%, rgba(207, 102, 5, .9) 93.4%);
    z-index: 1;
    border-radius: 2rem;
    height: 600px;
}

.hsr-service-card img{
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 2rem;
    min-height: 500px;
}

.hsr-service-details{
    position: absolute;
    bottom: 0;
    padding: 1.5rem;
    z-index: 2;
}

.hsr-service-details h3{
    font-size: 1.5rem;
    font-weight: 500;
    color: white;
    font-family: var(--theme-font);
}

.hsr-service-details p{
    font-size: 1rem;
    font-weight: 400;
    color: white;
    font-family: var(--theme-font);
    line-height: 1.2rem;
    margin-top: .5rem;
}

.hsr-service-details .hsr-icon{
    display: flex;
    align-items: center;
    justify-content: center;
    height: 70px;
    width: 70px;
    background-color: white;
    color: var(--primary-color);
    font-size: 30px;
    border-radius: 10px;
    margin-bottom: 1rem;
}


/* Hero Image */

.hsr-hero-image{
    width: 95%;
    background-color: var(--primary-color);
    border-radius: 2rem;
    color: white;
    min-height: 85vh;
}

.hsr-hero-image h1{
    font-size: 4rem;
    font-weight: 800;
    line-height: 4.3rem;
}

@media (max-width: 991px) {
    .hsr-hero-image h1{
        font-size: 2.5rem;
        line-height: 2.7rem;
    }   
    
}

.carousel-item{
    min-height: 85vh;
}

.carousel-indicators{
    bottom: -3.5rem;
}

.carousel-indicators button{
    background-color: var(--primary-color) !important;
    border-radius: 50%;
    width: 10px !important;
    height: 10px !important;
}

.hsr-vision .hsr-icon{
    display: flex;
    align-items: center;
    justify-content: center;
    height: 70px;
    width: 70px;
    background-color: var(--primary-color);
    color:white;
    font-size: 30px;
    border-radius: 10px;
    margin-bottom: 1rem;
    margin-left: auto;
    margin-right: auto ;
}

.hsr-how-we-work .hsr-icon{
    display: flex;
    align-items: center;
    justify-content: center;
    height: 70px;
    width: 70px;
    background-color: var(--primary-color);
    color: white;
    font-size: 30px;
    border-radius: 10px;
    margin: auto;
}

.hsr-how-we-work{
    min-height: 400px;
}

.hsr-testimonial-bg{
    background-color: rgba(207, 102, 5, .35);
}

.owl-dots {
    display: flex !important;
    justify-content: center !important;
    margin-top: 20px;
  }

.owl-dots button{
    height: 10px;
    width: 10px;
    border-radius: 50%;
    background-color: rgba(207, 102, 5, .5) !important;
    margin: 0 5px;
}

.owl-dots button.active{
    background-color: var(--primary-color) !important;
}

.hsr-testimonial-card{
    min-height: 300px !important;
}

/* Lead Form */

#serviceModal .btn-close{
    position: absolute;
    right: 10px;
    top: 10px;
}

.hsr-fixed-btn{
    font-size: 1.4rem;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background-color: #128C7E;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    position: fixed;
    bottom: 10px;
    right: 10px;
}

/* Thank You Animation */
.thank-you-animation {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 2rem 0;
}

.success-checkmark {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: block;
    stroke-width: 2;
    stroke: #4bb71b;
    stroke-miterlimit: 10;
    box-shadow: inset 0px 0px 0px #4bb71b;
    animation: fill .4s ease-in-out .4s forwards, scale .3s ease-in-out .9s both;
    position: relative;
    margin: 0 auto;
}

.success-checkmark .check-icon {
    width: 80px;
    height: 80px;
    position: relative;
    border-radius: 50%;
    box-sizing: content-box;
    border: 4px solid #4bb71b;
}

.success-checkmark .check-icon::before {
    top: 3px;
    left: -2px;
    width: 30px;
    transform-origin: 100% 50%;
    border-radius: 100px 0 0 100px;
}

.success-checkmark .check-icon::after {
    top: 0;
    left: 30px;
    width: 60px;
    transform-origin: 0 50%;
    border-radius: 0 100px 100px 0;
    animation: rotate-circle 4.25s ease-in;
}

.success-checkmark .check-icon::before, .success-checkmark .check-icon::after {
    content: '';
    height: 100px;
    position: absolute;
    background: #FFFFFF;
    transform: rotate(-45deg);
}

.success-checkmark .check-icon .icon-line {
    height: 5px;
    background-color: #4bb71b;
    display: block;
    border-radius: 2px;
    position: absolute;
    z-index: 10;
}

.success-checkmark .check-icon .icon-line.line-tip {
    top: 46px;
    left: 14px;
    width: 25px;
    transform: rotate(45deg);
    animation: icon-line-tip 0.75s;
}

.success-checkmark .check-icon .icon-line.line-long {
    top: 38px;
    right: 8px;
    width: 47px;
    transform: rotate(-45deg);
    animation: icon-line-long 0.75s;
}

.success-checkmark .check-icon .icon-circle {
    top: -4px;
    left: -4px;
    z-index: 10;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    position: absolute;
    box-sizing: content-box;
    border: 4px solid rgba(76, 175, 80, .5);
}

.success-checkmark .check-icon .icon-fix {
    top: 8px;
    width: 5px;
    left: 26px;
    z-index: 1;
    height: 85px;
    position: absolute;
    transform: rotate(-45deg);
    background-color: #FFFFFF;
}

@keyframes rotate-circle {
    0% {
        transform: rotate(-45deg);
    }
    5% {
        transform: rotate(-45deg);
    }
    12% {
        transform: rotate(-405deg);
    }
    100% {
        transform: rotate(-405deg);
    }
}

@keyframes icon-line-tip {
    0% {
        width: 0;
        left: 1px;
        top: 19px;
    }
    54% {
        width: 0;
        left: 1px;
        top: 19px;
    }
    70% {
        width: 65px;
        left: -8px;
        top: 37px;
    }
    84% {
        width: 17px;
        left: 21px;
        top: 48px;
    }
    100% {
        width: 25px;
        left: 14px;
        top: 46px;
    }
}

@keyframes icon-line-long {
    0% {
        width: 0;
        right: 46px;
        top: 54px;
    }
    65% {
        width: 0;
        right: 46px;
        top: 54px;
    }
    84% {
        width: 55px;
        right: 0px;
        top: 35px;
    }
    100% {
        width: 47px;
        right: 8px;
        top: 38px;
    }
}

@keyframes fill {
    100% {
        box-shadow: inset 0px 0px 0px 30px #4bb71b;
    }
}

@keyframes scale {
    0%, 100% {
        transform: none;
    }
    50% {
        transform: scale3d(1.1, 1.1, 1);
    }
}

/* Modal Enhancements */
#serviceModal .modal-content {
    border-radius: 20px;
    border: none;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

/* Enhanced Thank You Content */
#thankYouContent {
    padding: 3rem 0;
    position: relative;
    overflow: hidden;
}

.thank-you-container {
    position: relative;
    z-index: 2;
}

/* Floating Background Shapes */
.floating-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(45deg, rgba(76, 183, 27, 0.1), rgba(76, 183, 27, 0.05));
    animation: float 6s ease-in-out infinite;
}

.shape-1 {
    width: 60px;
    height: 60px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 40px;
    height: 40px;
    top: 20%;
    right: 15%;
    animation-delay: 2s;
}

.shape-3 {
    width: 80px;
    height: 80px;
    bottom: 20%;
    left: 5%;
    animation-delay: 4s;
}

.shape-4 {
    width: 50px;
    height: 50px;
    bottom: 10%;
    right: 10%;
    animation-delay: 1s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

/* Success Icon */
.success-icon-wrapper {
    position: relative;
    display: inline-block;
}

.success-icon-circle {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #4bb71b, #45a049);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(76, 183, 27, 0.3);
    animation: iconBounce 0.8s ease-out;
}

.success-icon-circle i {
    font-size: 3rem;
    color: white;
    animation: iconPulse 2s ease-in-out infinite;
}

.success-ripple {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100px;
    height: 100px;
    border: 2px solid rgba(76, 183, 27, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: ripple 2s ease-out infinite;
}

.success-ripple.delay-1 {
    animation-delay: 0.5s;
}

.success-ripple.delay-2 {
    animation-delay: 1s;
}

@keyframes iconBounce {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes iconPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

@keyframes ripple {
    0% {
        width: 100px;
        height: 100px;
        opacity: 1;
    }
    100% {
        width: 200px;
        height: 200px;
        opacity: 0;
    }
}

/* Thank You Title */
.thank-you-title {
    font-size: 3.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #4bb71b, #45a049);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 2rem;
    animation: titleSlideIn 1s ease-out;
}

.title-line {
    display: block;
    animation: titleLineSlide 0.8s ease-out;
}

.title-line:nth-child(2) {
    animation-delay: 0.2s;
}

@keyframes titleSlideIn {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes titleLineSlide {
    0% {
        opacity: 0;
        transform: translateX(-50px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Success Message */
.success-message {
    animation: messageFadeIn 1s ease-out 0.5s both;
}

.message-text {
    font-size: 1.4rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1rem;
}

.message-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1.5rem 0;
}

.divider-line {
    height: 2px;
    width: 60px;
    background: linear-gradient(90deg, transparent, #4bb71b, transparent);
    margin: 0 1rem;
}

.message-divider i {
    color: #4bb71b;
    font-size: 1.2rem;
    animation: heartBeat 2s ease-in-out infinite;
}

.message-subtext {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
}

.highlight {
    color: #4bb71b;
    font-weight: 600;
    background: linear-gradient(120deg, rgba(76, 183, 27, 0.1) 0%, rgba(76, 183, 27, 0.1) 100%);
    padding: 2px 8px;
    border-radius: 4px;
}

@keyframes messageFadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heartBeat {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
}

/* Contact Info */
.contact-info {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0;
    animation: contactSlideIn 1s ease-out 1s both;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: rgba(76, 183, 27, 0.1);
    border-radius: 25px;
    border: 1px solid rgba(76, 183, 27, 0.2);
    transition: all 0.3s ease;
}

.info-item:hover {
    background: rgba(76, 183, 27, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(76, 183, 27, 0.2);
}

.info-item i {
    color: #4bb71b;
    font-size: 1.2rem;
}

.info-item span {
    font-weight: 500;
    color: #333;
}

@keyframes contactSlideIn {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Action Buttons */
.action-buttons {
    animation: buttonsSlideIn 1s ease-out 1.5s both;
}

.action-buttons .btn {
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.action-buttons .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.action-buttons .btn-outline-success {
    border-color: #4bb71b;
    color: #4bb71b;
}

.action-buttons .btn-outline-success:hover {
    background-color: #4bb71b;
    border-color: #4bb71b;
    color: white;
}

@keyframes buttonsSlideIn {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .thank-you-title {
        font-size: 2.5rem;
    }
    
    .contact-info {
        flex-direction: column;
        gap: 1rem;
    }
    
    .action-buttons {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }
    
    .action-buttons .btn {
        width: 100%;
    }
}

/* Loading Button Styles */
#submitBtn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

#submitBtn .spinner-border {
    width: 1rem;
    height: 1rem;
}

/* Form Enhancements */
#serviceForm .form-control:focus,
#serviceForm .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(215, 102, 24, 0.25);
}

#serviceForm .btn-outline-secondary {
    border-color: #6c757d;
    color: #6c757d;
    transition: all 0.3s ease;
}

#serviceForm .btn-outline-secondary:hover {
    background-color: #6c757d;
    border-color: #6c757d;
    color: white;
}

#serviceModal .modal-content{
    background-color: #f9fcf9;
}