/* raid Section */
.raid_section {
    background-size: cover;
    /* Ensure the image covers the entire section */
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    animation: fadeIn 0.5s ease-in-out;
    color: #333;
    /* Change this to a darker color for better contrast with white overlay */
}

.raid_section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.7);
    /* White overlay with 40% opacity */
    z-index: 1;
    /* Place this above the background but below the text */
}

.raid_section .raid_container {
    padding: 0 50px;
    position: relative;
    z-index: 2;
    /* Bring the content above the overlay */
}

.raid_section h2 {
    font-size: 52px;
    text-transform: uppercase;
    color: #000;
    /* Strong contrast */
    letter-spacing: 2px;
    font-weight: 800;
    margin-bottom: 30px;
    text-align: center;
    animation: fadeInUp 1s ease-in-out;
}

.raid_section h3 {
    font-size: 28px;
    color: #4a90e2;
    margin-bottom: 40px;
    letter-spacing: 4px;
    text-transform: uppercase;
    text-align: center;
    animation: fadeInUp 1s ease-in-out;
}

.raid_container .carousel-wrap {
    position: relative;
    z-index: 2;
}

.raid_container .owl-carousel .raid_item {
    text-align: center;
    background-color: rgba(0, 0, 0, 0.7);
    /* Darker background for stronger contrast */
    padding: 20px;
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.raid_container .owl-carousel .raid_item:hover {
    transform: scale(1.05);
    box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.2);
}

.raid_img-box {
    position: relative;
    /* Keep this for proper positioning */
    margin-bottom: 20px;
    overflow: hidden;
    border-radius: 10px;
}

.view-more {
    position: relative;
    /* Position it absolutely within the .raid_img-box */
    bottom: 10px;
    /* Adjust as needed to position it above the bottom */
    left: 50%;
    /* Center it horizontally */
    transform: translateX(-50%);
    /* Correct the centering */
    color: #fff;
    background-color: #36bb25;
    /* Green CTA button */
    padding: 10px 20px;
    text-transform: uppercase;
    font-weight: bold;
    transition: background-color 0.3s ease;
    border-radius: 5px;
    z-index: 2;
    /* Ensure it appears above the image overlay */
}

.view-more:hover {
    background-color: #2a8c1e;
    /* Change background on hover */
}

.raid_img-box::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    /* Dark overlay on images */
    opacity: 0;
    transition: opacity 0.3s ease;
}

.raid_img-box:hover::after {
    opacity: 1;
    /* Reveal overlay on hover */
}

.raid_img-inner {
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 250px;
    transition: transform 0.3s ease;
}

.raid_img-inner:hover {
    transform: scale(1.1);
    /* Slight zoom on image hover */
}

.raid_img-inner {
    width: 100%;
    /* Adjust to 100% width of the parent */
    height: auto;
    /* Maintain aspect ratio */
    max-height: 200px;
    /* Set a maximum height */
    object-fit: cover;
    /* Ensure the image covers the container */
}

.raid_img-box a {
    display: block;
    color: #fff;
    background-color: #36bb25;
    /* Green CTA button */
    padding: 12px 25px;
    margin-top: 15px;
    text-transform: uppercase;
    font-weight: bold;
    transition: background-color 0.3s ease;
    border-radius: 5px;
}

.raid_img-box a:hover {
    background-color: #2a8c1e;
}

.raid_item-details {
    padding-top: 10px;
}

.raid_item-title {
    font-size: 22px;
    font-weight: bold;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    /* Text shadow for readability */
}

.raid_item-description {
    font-size: 16px;
    color: #e0e0e0;
}

.raid_btn {
    margin-top: 40px;
    display: flex;
    justify-content: center;
}

.raid_btn a {
    text-transform: uppercase;
    color: #fff;
    background-color: #254a93;
    font-weight: bold;
    padding: 15px 35px;
    border-radius: 30px;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    align-items: center;
}

.raid_btn a:hover {
    background-color: #1d3976;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.3);
}

.raid_btn a img {
    width: 25px;
    margin-left: 10px;
}

/* Keyframes for animations */
@keyframes fadeInUp {
    0% {
        transform: translateY(30px);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

/* end raid section */

.testimonails-slider {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.testimonails-slider .slides {
    display: flex;
    transition: transform 1s ease;
}

.testimonails-slider .slides li {
    min-width: 100%;
    box-sizing: border-box;
}

#testimonails {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
}

.testimonails-slider {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.testimonails-slider .slides {
    display: flex;
    transition: transform 1s ease;
}

.testimonails-slider .slides li {
    min-width: 100%;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
}

.testimonails-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.img-fluid {
    transition: transform 0.8s ease;
    max-width: 100%;
}

.img-fluid:hover {
    transform: scale(1.3);
}

/* Separator */

.welcome_section {
    background-color: #1a0046;
    color: white;
}

.welcome_section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 20px;
}

.welcome_section .services-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
}

.welcome_section .service-card {
    flex: 1;
    min-width: 250px;
    text-align: center;
    padding: 20px;
}

.welcome_section .service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    color: #0c0b09;
}

.welcome_section .service-icon svg {
    width: 100%;
    height: 100%;
}

.welcome_section .service-title {
    font-size: 24px;
    margin-bottom: 15px;
}

.welcome_section .service-description {
    font-size: 16px;
    line-height: 1.5;
    color: #000000;
    margin-bottom: 20px;
}

.welcome_section .border-wrapper {
    border-top: 2px dashed rgba(255, 255, 255, 0.1);
    border-bottom: 2px dashed rgba(255, 255, 255, 0.1);
    padding: 3px 0;
}

@media (max-width: 768px) {
    .welcome_section .services-grid {
        flex-direction: column;
    }

    .welcome_section .service-card {
        margin-bottom: 30px;
    }

}

@media (max-width: 1300px) {
    .slider_section .slider_box .slider-detail .slider_detail-text p {
        line-height: 1.4;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 12;
        line-clamp: 12;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

@media (max-width:568px) {

    .slider_section .slider_box .slider-detail .slider_detail-text p {
        font-size: 14px;
        line-height: 1.4;

        display: -webkit-box;
        /* Needed for line clamping */
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 8;
        /* Approx. 50 words depending on font size */
        line-clamp: 8;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

.fixed-size-img {
    width: 100%;
    /* Responsive fix */
    max-width: 900px;
    /* Maintain original max size on large screens */
    height: auto;
    /* Responsive fix */
    object-fit: cover;
    /* Ensures the image fills the box without stretching */
}

.loader-container {
    position: fixed;
    /* stays fixed on the screen */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    /* loader background color */
    display: flex;
    align-items: center;
    /* vertical center */
    justify-content: center;
    /* horizontal center */
    z-index: 9999;
    /* always on top */
}

/* Loader animation */
.loader {
    border: 6px solid #f3f3f3;
    border-top: 6px solid #3498db;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* When loaded */
body.loaded .loader-container {
    display: none;
}

body.loaded .section {
    opacity: 1;
}

.raid_section {
    padding: 0;
}

.raid_container {
    width: 100%;
    margin: 0 auto;
    position: relative;
}

.raid-hero {
    min-height: 500px;
    width: 100%;
    position: relative;

    overflow: hidden;
}

.raid-hero-content h1,
.raid-hero-content h2 {
    text-shadow: 0 6px 24px rgba(0, 0, 0, 0.29);
}

.raid-hero-content a:hover {
    background: #25305c;
    color: #fff;
    border-color: #fff;
}

@media (max-width: 900px) {
    .raid-hero-content {
        right: 8%;
        top: 22%;
        max-width: 90vw;
    }

    .raid-hero-content h1 {
        font-size: 2.2rem;
    }
}

@media (max-width: 600px) {
    .raid-hero {
        min-height: 300px;
    }

    .raid-hero-content {
        right: 2%;
        top: 20%;
        max-width: 98vw;
    }

    .raid-hero-content h1 {
        font-size: 1.3rem;
    }

    .raid-hero-content h2 {
        font-size: 1rem;
    }
}

.welcome_section .container {
    display: flex;
    gap: 40px;
    max-width: 1200px;
    flex-wrap: wrap;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.welcome_section .card {
    background: #ffffff;
    border-radius: 20px;
    padding: 36px 28px;
    width: 100%;
    /* Responsive fix */
    max-width: 340px;
    /* Responsive fix */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
    position: relative;
    opacity: 0;
    transform: translateY(60px);
    transition: all 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow: hidden;
}

.welcome_section .card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #667eea, #764ba2, #f093fb);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s ease;
}

.welcome_section .card.visible {
    opacity: 1;
    transform: translateY(0);
}

.welcome_section .card.visible::before {
    transform: scaleX(1);
}

.welcome_section .card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.15);
    border-color: #a78bfa;
}

.welcome_section .icon-wrapper {
    width: 72px;
    height: 72px;
    margin: 0 auto 22px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 34px;
    background: linear-gradient(135deg, #a1c4fd, #c2e9fb);
    border-radius: 50%;
    color: #4c51bf;
    box-shadow: 0 8px 20px rgba(161, 196, 253, 0.4);
    opacity: 0;
    transform: scale(0.3);
    transition: all 0.6s ease;
}

.welcome_section .card.visible .icon-wrapper {
    opacity: 1;
    transform: scale(1);
}

.welcome_section .card:nth-child(1) .icon-wrapper {
    background: linear-gradient(135deg, #fad0c4, #ffd1ff);
    color: #e91e63;
}

.welcome_section .card:nth-child(2) .icon-wrapper {
    background: linear-gradient(135deg, #a1c4fd, #c2e9fb);
    color: #4c51bf;
}

.welcome_section .card:nth-child(3) .icon-wrapper {
    background: linear-gradient(135deg, #a8edea, #fed6e3);
    color: #d946ef;
}

.welcome_section h2 {
    text-align: center;
    font-size: 23px;
    font-weight: 600;
    margin-bottom: 14px;
    color: #1a202c;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease 0.3s;
}

.welcome_section .card.visible h2 {
    opacity: 1;
    transform: translateY(0);
}

.welcome_section p {
    text-align: center;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 26px;
    color: #4a5568;
    font-weight: 400;
    opacity: 0;
    transform: translateY(15px);
    transition: all 0.6s ease 0.5s;
}

.welcome_section .card.visible p {
    opacity: 1;
    transform: translateY(0);
}

.welcome_section ul {
    list-style: none;
    padding: 0;
}

.welcome_section li {
    margin-bottom: 15px;
    padding-left: 4px;
    font-size: 14.5px;
    line-height: 1.6;
    color: #2d3748;
    position: relative;
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.5s ease;
}

.welcome_section .card.visible li {
    opacity: 1;
    transform: translateX(0);
}

.welcome_section li:nth-child(1) {
    transition-delay: 0.7s;
}

.welcome_section li:nth-child(2) {
    transition-delay: 0.8s;
}

.welcome_section li:nth-child(3) {
    transition-delay: 0.9s;
}

.welcome_section li:nth-child(4) {
    transition-delay: 1.0s;
}

.welcome_section li::before {
    content: '✓';
    color: #48bb78;
    font-weight: bold;
    margin-right: 10px;
    font-size: 16px;
}

.welcome_section .connector {
    position: absolute;
    top: 50%;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #a78bfa, #667eea);
    transform: translateY(-50%);
    opacity: 0;
    z-index: -1;
    border-radius: 2px;
}

.welcome_section .connector.visible {
    opacity: 0.7;
    animation: drawLine 1.2s ease forwards;
}

.welcome_section .connector.left {
    right: 100%;
}

.connector.right {
    left: 100%;
}

@keyframes drawLine {
    from {
        transform: translateY(-50%) scaleX(0);
    }

    to {
        transform: translateY(-50%) scaleX(1);
    }
}

.welcome_section .step-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #667eea;
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 15px;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    opacity: 0;
    transition: all 0.6s ease 0.4s;
}

.welcome_section .card.visible .step-badge {
    opacity: 1;
}

@media (max-width: 1024px) {
    .welcome_section .container {
        flex-direction: column;
        align-items: center;
        gap: 50px;
    }

    .welcome_section .connector {
        display: none;
    }

    .welcome_section .card {
        width: 90%;
        max-width: 400px;
    }
}

@media (max-width: 480px) {
    .welcome_section .card {
        padding: 28px 20px;
    }

    .welcome_section h2 {
        font-size: 21px;
    }
}