html,
body {
    overflow-x: hidden;
}

::selection {
    color: #fff;
    background: #c9093d;
    /* Light red background */
}

:root {
    --primary-color: #E3053D;
    --light-gray: #f8f9fa;
    --primary: #c9093d;
    /* Red from logo */
    --secondary: #4d4d4d;
    /* Gray from logo */
    --light: #f8f9fa;
    --dark: #343a40;
}

.bg-primary-red {
    background-color: #c9093d !important;
}

.text-primary-red {
    color: #c9093d;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow-x: hidden;
}

/* ----------- navbar start ----------------  */
/* Navbar CSS */
.middle_logo_a {
    gap: 5%;
    display: flex;
}

.middle_logo {
    height: 190px;
    width: auto;
}

.airnavbar-social i {
    font-size: 16px;
    transition: all 0.3s;
}

.airnavbar-social:hover i {
    transform: translateY(-3px);
    color: #c8102e !important;
}

.airnavbar-link {
    transition: all 0.3s;
}

.airnavbar-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.airnavbar-dropdown .dropdown-item:hover {
    background-color: #f8f9fa;
    padding-left: 25px !important;
    color: #c8102e;
}

.airnavbar-btn {
    transition: all 0.3s;
}

.airnavbar-btn:hover {
    background-color: #4a4a4a !important;
    color: white !important;
}

/* Responsive Styles */
@media (max-width: 991px) {
    .navbar-nav {
        padding: 10px 0;
    }

    .airnavbar-link:hover {
        background-color: rgba(255, 255, 255, 0.05);
        padding-left: 30px !important;
    }

    .airnavbar-btn {
        margin: 0 auto;
        display: block;
        width: fit-content;
    }
}

@media (max-width: 767px) {
    .airnavbar-middle {
        padding: 20px 0;
    }

    /* .navbar-brand img {
        max-height: 80px;
    } */

    .airnavbar-btn {
        font-size: 14px;
        padding: 8px 20px;
    }
}

@media (max-width: 575px) {
    .airnavbar-top span {
        display: block;
        margin: 5px 0;
    }

    .airnavbar-social {
        margin: 0 10px;
    }

    /* .navbar-brand img {
        max-height: 60px;
    } */
}

/* -------------- navbar end ----------------- */

.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
}

.btn-primary:hover {
    background-color: #a00731;
    border-color: #a00731;
}

.btn-outline-primary {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-outline-primary:hover {
    background-color: var(--primary);
    color: white;
}

.hero-section {
    height: 80vh;
    background-position: center;
    background-size: cover;
    position: relative;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.hero-content {
    position: relative;
    z-index: 10;
}

.section-title {
    position: relative;
    margin-bottom: 40px;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--primary);
}

.section-title.text-center::after {
    left: 50%;
    transform: translateX(-50%);
}

.process-card {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
}

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

.process-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--light);
    border-radius: 50%;
    color: var(--primary);
    font-size: 28px;
    margin-bottom: 20px;
}

.conversion-type {
    background-color: #da003d;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
    height: 100%;
}

.conversion-type:hover {
    transform: translateY(-10px);
}

.conversion-type img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.conversion-content {
    height: inherit;
    padding: 20px;
    background-color: white;
}

/* -------------- testimonial start ----------------- */
.testimonial-item {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin: 15px;
}

.testimonial-item p {
    font-style: italic;
    position: relative;
    padding: 10px 0;
}

.testimonial-item p::before,
.testimonial-item p::after {
    content: '"';
    font-size: 30px;
    color: var(--primary);
    line-height: 0;
    position: relative;
}

/* Custom styling for testimonial carousel */
#testimonialCarousel .carousel-indicators {
    bottom: -50px;
}

#testimonialCarousel .carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #c8102e;
    opacity: 0.3;
}

#testimonialCarousel .carousel-indicators button.active {
    opacity: 1;
}

#testimonialCarousel .carousel-control-prev,
#testimonialCarousel .carousel-control-next {
    width: 10%;
    color: #c8102e;
}

.testimonial-item {
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    background-color: #fff;
    transition: all 0.3s ease;
}

.testimonial-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.testimonialCarousel_item {
    height: 100% !important;
}

@media (max-width: 768px) {

    #testimonialCarousel .carousel-control-prev,
    #testimonialCarousel .carousel-control-next {
        display: none;
    }
}

/* --------------  testimonail end --------------  */



.client-info img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
}

.benefit-card {
    text-align: center;
    align-items: center;
    background-color: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
}

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

.benefit-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(201, 9, 61, 0.1);
    border-radius: 50%;
    color: var(--primary);
    font-size: 24px;
    margin-bottom: 20px;
}

footer {
    background-color: var(--secondary);
    color: white;
    padding: 60px 0 30px;
}

.footer-logo img {
    height: 80px;
    margin-bottom: 20px;
}

.footer-contact li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

.footer-contact i {
    color: #fff;
    margin-right: 15px;
    margin-top: 5px;
}

.footer-contact i:hover {
    color: var(--primary);
    margin-right: 15px;
    margin-top: 5px;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #d9d9d9;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    margin-top: 40px;
}

.social-links a {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    margin-right: 10px;
    transition: background-color 0.3s;
}

.social-links a:hover {
    background-color: var(--primary);
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 1s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.slide-in-right {
    animation: slideInRight 1s ease-in-out;
}

@keyframes slideInRight {
    from {
        transform: translateX(50px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.carousel-item {
    height: 80vh;
    background-position: center;
    background-size: cover;
}

.carousel-caption {
    /* background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px); */
    background: rgba(0, 0, 0, 0.6);
    border-radius: 10px;
    padding: 20px;
    max-width: 600px;
    margin: 0 auto;
}

/* Back to top button */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 999;
}

.back-to-top.active {
    opacity: 1;
}

/*  */
/* Custom CSS for Video Section start*/
.airvideo-section {
    background-color: #fff;
    /* White background */
}

.airvideo-player {
    width: 100%;
    height: 100%;
    border-radius: 0.25rem;
}

.airvideo-title {
    font-size: 1.75rem;
    font-weight: 600;
    color: #da003d;
    /* Red title */
}

.airvideo-text {
    font-size: 1rem;
    color: #333;
    /* Dark text */
    line-height: 1.5;
}

.airvideo-btn {
    background-color: #da003d;
    /* Red button */
    color: #fff;
    border: none;
    padding: 0.5rem 1.5rem;
    font-size: 1rem;
    border-radius: 0.25rem;
    transition: background-color 0.3s ease;
}

.airvideo-btn:hover {
    background-color: #b00033;
    /* Darker red on hover */
    color: #fff;
    text-decoration: none;
}

/* custom vdo section end */

/* Video Details Section */
.video-details {
    background-color: #ffffff;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 .125rem .25rem rgba(0, 0, 0, .075);
}

.video-description {
    line-height: 1.6;
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
    .btn-play {
        font-size: 4rem;
    }
}

/* --------------- service page start ----------- */
/* :root {
      --primary-color: #E3053D;
      --light-gray: #f8f9fa;
    } */
/* .hero-section {
      background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url("../assets/image/services/hip-to-gable/hip-to-gable-hero.jpg") center/cover no-repeat;
      color: white;
      padding: 100px 0;
    } */
.service-hero-section {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../image/hero.jpg');
    background-size: cover;
    background-position: center;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    position: relative;
    /* background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("../assets/image/services/hip-to-gable/hip-to-gable-hero.jpg") center/cover no-repeat; */
    color: white;
    padding: 100px 0;
}

.card {
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    height: 100%;
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-5px);
}

.service_card {
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    height: 100%;
    transition: transform 0.3s;
}

.service_card:hover {
    transform: translateY(-5px);
}

.service_card img.card-img-top {
    height: 350px;
}

.icon-box {
    background-color: rgba(227, 5, 61, 0.1);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.icon-box i {
    color: var(--primary-color);
    font-size: 2rem;
}

.section-title {
    position: relative;
    margin-bottom: 40px;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
}

.feature-item {
    background-color: var(--light-gray);
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
}

/* .btn-primary {
        background-color: var(--primary-color);
        border-color: var(--primary-color);
        padding: 10px 25px;
      } */
.btn-primary:hover {
    background-color: #c30535;
    border-color: #c30535;
}

.process-card {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 30px;
    margin-bottom: 30px;
}

.process-number {
    background-color: var(--primary-color);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-bottom: 15px;
}

.comparison-table th {
    background-color: var(--primary-color);
    color: white;
}

.bg-primary-light {
    background-color: rgba(227, 5, 61, 0.1);
}

.rounded-icon {
    background-color: white;
    color: var(--primary-color);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.text-primary {
    color: var(--primary-color) !important;
}

/* --------------- service page end  ----------- */
.airnavbar .airnavbar-top .container a {
    font-weight: 800;
}

.epic-roofing-section {
    background-color: #f8f9fa;
    position: relative;
    padding: 6rem 0;
    overflow: hidden;
}

.epic-heading {
    color: #1a3c6e;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 2;
}

.epic-subheading {
    color: #e74c3c;
    font-size: 1.5rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.epic-content-box {
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    padding: 2.5rem;
    position: relative;
    z-index: 2;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    transform: translateY(0);
    transition: transform 0.3s ease;
}

.epic-content-box:hover {
    transform: translateY(-5px);
}

.epic-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333333;
}

.epic-image-container {
    position: absolute;
    width: 38%;
    height: 78%;
    right: 2%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
    border-radius: 20px 0 0 20px;
    overflow: hidden;
    box-shadow: -10px 10px 30px rgba(0, 0, 0, 0.15);
    padding: 20px;
    margin-right: 20px;
}

.epic-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.epic-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(248, 249, 250, 0.9) 0%, rgba(248, 249, 250, 0) 100%);
    z-index: 1;
}

.epic-accent {
    position: absolute;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background-color: rgba(231, 76, 60, 0.1);
    top: -75px;
    left: 10%;
    z-index: 1;
}

.epic-accent-2 {
    position: absolute;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-color: rgba(26, 60, 110, 0.1);
    bottom: -50px;
    left: 20%;
    z-index: 1;
}

.epic-badge {
    display: inline-block;
    background-color: #e74c3c;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    transform: translateY(0);
    transition: transform 0.3s ease;
}

.epic-badge:hover {
    transform: translateY(-3px);
}

.epic-read-more {
    display: inline-block;
    position: relative;
    color: #1a3c6e;
    font-weight: 600;
    text-decoration: none;
    padding: 0.75rem 2rem;
    margin-top: 1.5rem;
    overflow: hidden;
    transition: all 0.3s ease;
    border-radius: 50px;
    border: 2px solid #1a3c6e;
    background: transparent;
    z-index: 1;
    font-size: 1.1rem;
}

.epic-read-more:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 0%;
    height: 100%;
    background-color: #1a3c6e;
    transition: width 0.3s ease;
    z-index: -1;
}

.epic-read-more:hover {
    color: #ffffff;
}

.epic-read-more:hover:before {
    width: 100%;
}

.epic-read-more i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.epic-read-more:hover i {
    transform: translateX(5px);
}

@media (max-width: 991px) {
    .epic-image-container {
        position: relative;
        width: 100%;
        height: 300px;
        right: 0;
        top: 0;
        transform: none;
        border-radius: 12px;
        margin: 0 0 2rem 0;
        padding: 0;
    }
    
    .epic-overlay {
        background: linear-gradient(0deg, rgba(248, 249, 250, 0.6) 0%, rgba(248, 249, 250, 0) 100%);
    }
    
    .epic-roofing-section {
        padding: 4rem 0;
    }
    
    .epic-content-container {
        padding: 0 1.5rem;
    }
}

@media (max-width: 768px) {
    .epic-heading {
        font-size: 1.8rem;
    }
    
    .epic-subheading {
        font-size: 1.2rem;
    }
    
    .epic-text {
        font-size: 1rem;
    }
    
    .epic-content-box {
        padding: 1.8rem;
    }
    
    .epic-read-more {
        padding: 0.6rem 1.8rem;
        font-size: 1rem;
    }
}

/* critical css will ensure it later */

img.card-img-top {
    height: 60%;
}

/* critical css will ensure it later end */


/* ------------------------- */

/* Slider Revolution Style CSS */

/* Main Container */
.sr-hero-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    font-family: 'Montserrat', sans-serif;
}

.carousel-item {
    position: relative;
    height: 100vh;
    /* min-height: 600px; */
    overflow: hidden;
}

/* Background Layer */
.sr-bg-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.sr-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transform: scale(1.2);
    filter: brightness(0.9) contrast(1.1);
    transition: transform 10s ease;
}

.carousel-item.active .sr-bg-image {
    transform: scale(1);
}

.sr-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0.7) 100%); */
    background: linear-gradient(135deg, rgba(74, 74, 74, 0.8) 0%, rgba(74, 74, 74, 0.3) 50%, rgba(74, 74, 74, 0.7) 100%);
    z-index: 2;
}

/* Parallax Elements */
.sr-parallax-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    overflow: hidden;
}

.sr-parallax-element {
    position: absolute;
    opacity: 0.7;
    z-index: 3;
}

.sr-parallax-1 {
    top: 10%;
    left: 5%;
    width: 40%;
    height: 40%;
    /* background: radial-gradient(circle, rgba(52, 152, 219, 0.2) 0%, rgba(52, 152, 219, 0) 70%); */
    background: radial-gradient(circle, rgba(216, 0, 48, 0.2) 0%, rgba(216, 0, 48, 0) 70%);
    transform: translate(-50px, -50px);
    transition: transform 1s ease;
}

.sr-parallax-2 {
    bottom: 15%;
    right: 10%;
    width: 50%;
    height: 50%;
    /* background: radial-gradient(circle, rgba(52, 152, 219, 0.15) 0%, rgba(52, 152, 219, 0) 70%); */
    background: radial-gradient(circle, rgba(216, 0, 48, 0.15) 0%, rgba(216, 0, 48, 0) 70%);
    transform: translate(50px, 50px);
    transition: transform 1s ease;
}

.sr-parallax-3 {
    top: 25%;
    right: 25%;
    width: 25%;
    height: 25%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
    transform: translate(30px, -30px);
    transition: transform 1s ease;
}

/* Caption Styles */
.sr-caption-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    z-index: 10;
}

.sr-caption-wrapper {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 4rem;
}

.sr-caption-layer {
    position: relative;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

/* Title Tag */
.sr-title-tag {
    display: inline-block;
    /* background: linear-gradient(90deg, #3498db, #2980b9); */
    background: linear-gradient(90deg, #d80030, #b5002a);
    color: white;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 8px 16px;
    border-radius: 4px;
    opacity: 0;
    transform: translateY(40px);
    animation: none;
}

.carousel-item.active .sr-title-tag {
    animation: slideUp 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

/* Main Title */
.sr-title {
    color: white;
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1px;
    margin: 0;
    opacity: 0;
    transform: translateY(40px);
    animation: none;
}

.carousel-item.active .sr-title {
    animation: slideUp 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.2s forwards;
}

.sr-highlight {
    position: relative;
    display: inline-block;
    color: transparent;
    -webkit-text-stroke: 1px white;
    z-index: 1;
}

.sr-highlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    /* background: linear-gradient(90deg, #3498db, #2980b9); */
    background: linear-gradient(90deg, #d80030, #b5002a);
    z-index: -1;
    opacity: 0.7;
    animation: none;
}

.carousel-item.active .sr-highlight::before {
    animation: wipeRight 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.8s forwards;
}

/* Divider */
.sr-divider {
    width: 0;
    height: 4px;
    /* background: linear-gradient(90deg, #3498db, #2980b9); */
    background: linear-gradient(90deg, #d80030, #b5002a);
    margin: 1.5rem 0;
    animation: none;
}

.carousel-item.active .sr-divider {
    animation: expandWidth 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.4s forwards;
}

/* Description */
.sr-description {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    line-height: 1.6;
    max-width: 650px;
    margin: 0;
    opacity: 0;
    transform: translateY(40px);
    animation: none;
}

.carousel-item.active .sr-description {
    animation: slideUp 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.6s forwards;
}

/* Button Group */
.sr-button-group {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    opacity: 0;
    transform: translateY(40px);
    animation: none;
}

.carousel-item.active .sr-button-group {
    animation: slideUp 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.8s forwards;
}

/* Button Styles */
.sr-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    text-decoration: none;
    cursor: pointer;
    border-radius: 4px;
    font-weight: 600;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.sr-button-primary {
    /* background: linear-gradient(90deg, #3498db, #2980b9); */
    background: linear-gradient(90deg, #d80030, #b5002a);
    color: white;
    border: none;
    height: 54px;
    padding: 0 30px;
}

.sr-button-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: all 0.6s ease;
}

.sr-button-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.sr-button-primary:hover::before {
    left: 100%;
}

.sr-button-outline {
    background: transparent;
    border: 2px solid white;
    color: white;
    height: 54px;
    padding: 0 30px;
}

.sr-button-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.sr-button-text {
    display: inline-block;
    transition: transform 0.3s ease;
}

.sr-button-icon {
    display: inline-flex;
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.sr-button-primary:hover .sr-button-text {
    transform: translateX(-4px);
}

.sr-button-primary:hover .sr-button-icon {
    transform: translateX(4px);
}

/* Navigation Controls */
.sr-navigation-controls {
    position: absolute;
    bottom: 50px;
    left: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 4rem;
    z-index: 20;
}

.sr-nav-btn {
    display: flex;
    align-items: center;
    background: transparent;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s ease;
}

.sr-nav-text {
    transition: transform 0.3s ease;
}

.sr-nav-icon {
    display: inline-flex;
    margin: 0 8px;
    transition: transform 0.3s ease;
}

.sr-prev-btn:hover .sr-nav-text {
    transform: translateX(-5px);
}

.sr-prev-btn:hover .sr-nav-icon {
    transform: translateX(-5px);
}

.sr-next-btn:hover .sr-nav-text {
    transform: translateX(5px);
}

.sr-next-btn:hover .sr-nav-icon {
    transform: translateX(5px);
}

/* Pagination Progress */
.sr-pagination-progress {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.sr-bullet-container {
    display: flex;
    gap: 20px;
}

.sr-bullet {
    position: relative;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.sr-bullet::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.sr-bullet.active {
    color: white;
}

.sr-bullet.active::before {
    transform: translate(-50%, -50%) scale(1);
    /* border-color: #3498db; */
    border-color: #d80030;
}

.sr-bullet:hover {
    color: white;
}

.sr-progress-bar {
    width: 150px;
    height: 2px;
    background: rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.sr-progress-track {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    /* background: #3498db; */
    background: #d80030;
    transition: width 0.3s linear;
}

.carousel-item.active~.sr-navigation-controls .sr-progress-track {
    animation: progressBarAnimation 8s linear forwards;
}

/* Slide Counter */
.sr-slide-counter {
    position: absolute;
    bottom: 50px;
    right: 4rem;
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
    /* z-index: 20; */
    display: none;
}

.sr-current {
    font-size: 2rem;
    /* color: #3498db; */
    color: #d80030;
}

.sr-separator {
    opacity: 0.5;
}

/* Animation Keyframes */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes expandWidth {
    from {
        width: 0;
    }

    to {
        width: 100px;
    }
}

@keyframes wipeRight {
    from {
        width: 0%;
    }

    to {
        width: 100%;
    }
}

@keyframes progressBarAnimation {
    from {
        width: 0%;
    }

    to {
        width: 100%;
    }
}

/* Media Queries */
@media (max-width: 1200px) {
    .sr-caption-wrapper {
        padding: 0 3rem;
    }

    .sr-navigation-controls {
        padding: 0 3rem;
    }

    .sr-slide-counter {
        right: 3rem;
    }

    .sr-title {
        font-size: 3.5rem;
    }
}

@media (max-width: 992px) {
    .sr-caption-wrapper {
        padding: 0 2rem;
    }

    .sr-navigation-controls {
        padding: 0 2rem;
    }

    .sr-slide-counter {
        right: 2rem;
    }

    .sr-title {
        font-size: 3rem;
    }

    .sr-description {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .carousel-item {
        height: 100vh;
    }

    .sr-caption-wrapper {
        padding: 0 1.5rem;
        text-align: center;
    }

    .sr-navigation-controls {
        padding: 0 1.5rem;
    }

    .sr-title {
        font-size: 2.5rem;
    }

    .sr-divider {
        margin: 1.5rem auto;
    }

    .sr-description {
        margin: 0 auto;
    }

    .sr-button-group {
        justify-content: center;
    }

    .sr-bullet-container {
        gap: 15px;
    }

    .sr-nav-text {
        display: none;
    }

    .sr-slide-counter {
        bottom: 120px;
        right: 50%;
        transform: translateX(50%);
    }
}

@media (max-width: 576px) {
    .sr-title {
        font-size: 2rem;
    }

    .sr-button {
        height: 48px;
    }

    .sr-button-group {
        flex-direction: column;
        width: 100%;
        gap: 1rem;
    }

    .sr-button {
        width: 100%;
    }

    .sr-pagination-progress {
        display: none;
    }
}

/* ------------------------- */