﻿/* --- Global Enhancements --- */
body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* --- About Us Section Modernization --- */
.about-section-wrapper {
    background: linear-gradient(135deg, #f0f4f8 0%, #d9e2ec 100%);
    padding: 60px 0;
    position: relative;
    border-bottom: 1px solid #bcccdc;
}
    /* We also need to change the text color to dark since the BG is now light */
    .about-section-wrapper .text-light {
        color: #102a43 !important; /* Dark blue-black for readability */
    }

    .about-section-wrapper h3 {
        color: #243b53; /* Stronger heading color */
    }

.about-image-container {
    transition: all 0.5s ease;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.3));
}

    .about-image-container:hover {
        transform: translateY(-10px);
    }

.card-text {
    line-height: 1.8; /* Improves readability */
    letter-spacing: 0.3px;
    font-size: 1.05rem;
}

/* --- Service Cards (What We Provide) --- */
.card-hover {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0,0,0,0.05) !important;
    border-radius: 15px !important;
}

    .card-hover:hover {
        transform: translateY(-12px) scale(1.02);
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    }

/* Specific Glow Effects based on Icon Colors */
.col-md-3:nth-child(1) .card-hover:hover {
    border-bottom: 4px solid #dc3545 !important;
}
/* Fire */
.col-md-3:nth-child(2) .card-hover:hover {
    border-bottom: 4px solid #007bff !important;
}
/* Health */
.col-md-3:nth-child(3) .card-hover:hover {
    border-bottom: 4px solid orange !important;
}
/* Auto */
.col-md-3:nth-child(4) .card-hover:hover {
    border-bottom: 4px solid #17a2b8 !important;
}
/* Claim */

/* --- Icon Animation --- */
.card-hover i {
    transition: transform 0.3s ease;
    display: inline-block;
}

.card-hover:hover i {
    transform: scale(1.2) rotate(5deg);
}

/* --- Modal Styles --- */
.card_h {
    background: #eb991e !important;
    color: white;
    border-bottom: none;
}

.body_c {
    background: #fdfdfd; /* Lighter, cleaner background for text */
    color: #333;
    border-radius: 0 0 15px 15px;
}

.modal-content {
    border-radius: 15px;
    border: none;
    box-shadow: 0 25px 50px rgba(0,0,0,0.2);
}

/* --- Existing Slider & Image Logic --- */
.Slider_img {
    width: 100%;
    height: 700px;
    object-fit: cover;
    object-position: center;
}

@media (max-width: 992px) {
    .Slider_img {
        height: 600px;
    }
}

@media (max-width: 576px) {
    .Slider_img {
        height: 250px;
    }
}


.video-container {
    position: relative;
    width: 100%;
    height: 90vh;
    overflow: hidden;
    background: #000F28;
}

    .video-container video {
        width: 100%;
        height: 100%;
        object-fit: contain; 
        display: block;
    }