/* footer */
.bg{
    background-color: #920005;
}
/* Top Bar Styles */
.top-bar a:hover {
    opacity: 0.8;
}

.show{
    overflow-x: none !important;
}

.navbar-header{
    border: 0;
    border-bottom: 2px solid #b10000;
}

/* Email responsive styling */
.email-link {
    font-size: 0.875rem;
}

.email-text {
    word-break: break-all;
    font-size: 0.75rem;
}

@media (min-width: 576px) {
    .email-text {
        font-size: 0.875rem;
        word-break: normal;
    }
}


/*Override Bootstrap Styles  */

.text-primary {
    color: #b10000 !important;
}

.bg-primary {
    background-color: #371d1d !important;
}

.btn-primary {
    background-color: #371d1d;
    border-color: #371d1d;
}

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

.btn-outline-primary {
    color: #371d1d;
    border-color: #371d1d;
}

.btn-outline-primary:hover {
    background-color: #371d1d;
    color: #fff;
    border-color: #371d1d;
}

/* Navbar Custom Styles */
.navbar-logo {
    height: 70px;
    width: auto;
    object-fit: contain;
}

.navbar-nav .nav-link {
    color: #292121;
    position: relative;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
    color: var(--bs-primary);
}

.navbar-nav .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 3px;
    background-color: var(--bs-primary);
    border-radius: 2px;
}

.dropdown-menu {
    min-width: 220px;
    padding: 0.5rem 0;
    margin-top: 0.5rem;
    border-radius: 0.5rem;
    animation: fadeIn 0.2s ease;
}

.dropdown-item {
    transition: all 0.2s ease;
}

.dropdown-item:hover,
.dropdown-item:focus {
    background-color: rgba(13, 110, 253, 0.1);
    color: var(--bs-primary);
    padding-left: 1.25rem;
}

/* Dropdown hover functionality for desktop screens */
@media (min-width: 992px) {
    .dropdown-menu {
        margin-top: 0;
    }
    
    .navbar-nav .dropdown:hover > .dropdown-menu,
    .navbar-nav .dropdown-menu:hover {
        display: block;
    }
    
    .navbar-nav .dropdown > .dropdown-toggle:active {
        pointer-events: none;
    }
}

@media (max-width: 991.98px) {
    .navbar-nav {
        padding: 1rem 0;
    }
    
    .navbar-nav .nav-link {
        padding: 0.75rem 1rem;
        border-radius: 0.375rem;
    }
    
    .navbar-nav .nav-link:hover {
        background-color: rgba(253, 13, 13, 0.1);
    }
    
    .dropdown-menu {
        border: none;
        box-shadow: none;
        padding-left: 1rem;
        background-color: #f8f9fa;
        border-radius: 0.375rem;
        margin: 0.25rem 0;
    }
    
    .dropdown-item:hover {
        padding-left: 1rem;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* slider */

/*Slider*/
.slider-container {
    position: relative;
    width: 100%;
    height: calc(100vh - 115px);
    overflow: hidden;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    z-index: -10;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    filter: brightness(0.4);
}

.slide.active {
    opacity: 1;
    z-index: 1;
    pointer-events: auto;
}

.slide-content {
    text-align: center;
    color: white;
    z-index: 2;
    padding: 0 20px;
    max-width: 800px;
    animation: slideUp 0.8s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-icon {
    font-size: 80px;
    margin-bottom: 30px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

.slide-title {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.slide-description {
    font-size: 20px;
    margin-bottom: 30px;
    line-height: 1.6;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

.slide-btn {
    padding: 15px 40px;
    font-size: 18px;
    border: 2px solid white;
    background: rgba(255,255,255,0.2);
    color: white;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.slide-btn:hover {
    background: white;
    color: #ea6666;
    transform: scale(1.05);
}

.nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 40px;
    color: white;
    background: rgba(255, 255, 255, 0.073);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    border-radius: 50%;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.nav-arrow:hover {
    background: rgba(255,255,255,0.4);
    transform: translateY(-50%) scale(1.1);
}

.nav-arrow.left {
    left: 30px;
}

.nav-arrow.right {
    right: 30px;
}

.slider-dots {
    position: absolute;
    bottom: 190px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 10;
}

.dot {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: white;
    width: 40px;
    border-radius: 10px;
}

.features {
    display: flex;
    gap: 30px;
    margin-top: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
}

.feature-item i {
    font-size: 24px;
}

@media (max-width: 768px) {
    .slider-container{
       height: calc(100vh - 160px);
    } 

    .slide{
        align-items: start;
    }
    .slide-content{
        margin-top: 80px;
    }
    .slide-title {
        font-size: 42px;
    }

    .slide-description {
        font-size: 18px;
    }

    
    .slider-dots{
        bottom: 190px;
    }
    .slide-icon {
        font-size: 60px;
    }

    .nav-arrow {
        width: 38px;
        height: 38px;
        font-size: 22px;
    }

    .nav-arrow.left {
        left: 15px;
    }

    .nav-arrow.right {
        right: 15px;
    }
}

@media (max-width: 390px) {
    .slide-content{
        margin-top: 40px;
    }
    .slider-container{
        height: calc(100vh - 170px);
    } 

    .slide-title {
        font-size: 32px;
    }

    .slide-description {
        font-size: 16px;
    }

}

/*Form*/

.form-service-icon i{
    font-size: 30px;
    color: #100406;
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.btn-manual {
    background: #fff;
    border: 2px solid #010001;
    border-radius: 8px;
    padding: 10px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.btn-manual img {
    width: 50px;
    height: 50px;
    display: block;
    margin: 0 auto 5px;
}

.btn-manual a {
    color: #000;
    font-weight: 700;
    font-size: 10px;
    text-decoration: none;
    display: block;
}

.btn-manual:hover {
    background: #371d1d;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.btn-manual:hover a, .btn-manual:hover .form-service-icon i {
    color: #fff;
}

.selected-btn {
    background-color: #371d1d;
    color: #fff;
    border-bottom: 5px solid #7c0303;
    box-shadow: 0 0 12px #371d1d;
}

.selected-btn a, .selected-btn .form-service-icon i {
    color: #fff;
}

.selected-label {
    display: none;
    background: #000;
    color: #fff;
    font-size: 10px;
    padding: 2px 5px;
    border-radius: 3px;
    position: absolute;
    top: -8px;
    right: -8px;
}

.phone-mar {
    color: black;
    background: #fff;
    border-radius: 50%;
    padding: 15px;
    font-size: 24px;
    border: 3px solid #371d1d;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    animation: pulse 1.5s infinite ease-in-out;
}

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

.top-section { margin-top: -160px; position: relative; z-index: 9; }

@media (min-width: 992px) {
    .col-lg-1-5 { flex: 0 0 12.5%; max-width: 12.5%; }
}
.bg-red{
    background-color: #e60008;
}

.bg-dark-red{
    background-color: #920005;
}
.color{
    color: #1d1d37;
}

.form-backgr {
  background-color: #773d3d;
}
section:has([data-animate]) {
  overflow: hidden;
}


/* === Base animation setup === */


/* === When visible === */
[data-animate].show {
  opacity: 1;
  transform: translate(0, 0);
}

/* =============================================
   ABOUT US SECTION
   ============================================= */

.about-section {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
    background: #ffffff;
}

/* Diagonal Red Background Shape */
.about-bg-shape {
    position: absolute;
    top: 0;
    left: 0;
    width: 55%;
    height: 100%;
    background: var(--primary-color);
    clip-path: polygon(0 0, 100% 0, 85% 100%, 0 100%);
    z-index: 0;
}

.about-bg-shape::before {
    content: '';
    position: absolute;
    top: 0;
    right: -50px;
    width: 100px;
    height: 100%;
    background: var(--primary-color);
    opacity: 0.3;
    clip-path: polygon(0 0, 100% 0, 70% 100%, 0 100%);
}

/* Image Wrapper */
.about-image-wrapper {
    position: relative;
    z-index: 2;
    padding: 20px;
}

.about-team-img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

/* About Content */
.about-content {
    position: relative;
    z-index: 2;
    background: #ffffff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    margin-left: -50px;
}

.about-tag {
    display: inline-block;
    background: var(--primary-color);
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 1px;
    padding: 6px 15px;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.about-content h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #6d2727;
    line-height: 1.2;
    margin-bottom: 20px;
}

.about-content h2 .text-highlight {
    color: var(--primary-color);
}

.about-description {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 25px;
}

.about-description strong {
    color: #6d2727;
    text-decoration: underline;
}

/* About Features */
.about-features {
    margin-bottom: 25px;
}

.about-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 3px solid var(--primary-color);
}

.feature-icon {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.about-feature-item p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.about-feature-item p strong {
    color: #6d2727;
}

/* About Link */
.about-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--primary-color);
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.about-link i {
    transition: transform 0.3s ease;
}

.about-link:hover {
    color: var(--primary-dark);
}

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

/* Responsive About Section */
@media (max-width: 991.98px) {
    .about-section {
        padding: 60px 0;
    }

    .about-bg-shape {
        width: 100%;
        height: 50%;
        clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
    }

    .about-content {
        margin-left: 0;
        margin-top: 30px;
    }

    .about-image-wrapper {
        text-align: center;
    }

    .about-team-img {
        max-width: 100%;
    }
}

@media (max-width: 767.98px) {
    .about-section {
        padding: 40px 0;
    }

    .about-content {
        padding: 25px;
    }

    .about-content h2 {
        font-size: 1.5rem;
    }

    .about-description {
        font-size: 0.9rem;
    }

    .about-feature-item {
        padding: 12px;
    }

    .about-feature-item p {
        font-size: 0.85rem;
    }
}

/* About Section Scroll Animations */
.about-image-wrapper {
    opacity: 0;
    transform: translateX(60px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.about-image-wrapper.animate-in {
    opacity: 1;
    transform: translateX(0);
}

.about-content {
    opacity: 0;
    transform: translateX(-60px);
    transition: opacity 0.7s ease, transform 0.7s ease;
    transition-delay: 0.2s;
}

.about-content.animate-in {
    opacity: 1;
    transform: translateX(0);
}