


/* Hero Section Styling */
.hero {
    background: linear-gradient(135deg, #4A90E2, #0056b3);
    color: white;
    padding: 60px 0; /* Reduced padding */
    text-align: center;
}

.hero-box {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px; /* Reduced gap */
}

.hero-content {
    max-width: 450px;
    text-align: left;
}

.hero-content h1 {
    font-size: 2.5rem; /* Slightly smaller */
    font-weight: bold;
    margin-bottom: 15px;
}

.hero-text {
    font-size: 1.1rem;
    margin-bottom: 15px;
    line-height: 1.5;
}

.btn-primary {
    background: #05056B;
    border-color: #05056B;
    color: white;
    padding: 10px 20px; /* Slightly smaller */
    border-radius: 6px;
    font-weight: bold;
    text-decoration: none;
    transition: 0.3s;
}

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

.hero-image img {
    width: 100%;
    max-width: 350px; /* Reduced size */
    border-radius: 15px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* Media Query for Smaller Screens (Mobile & Tablet) */
@media (max-width: 768px) {
    .hero-box {
        flex-direction: column; /* Stack the content vertically */
        text-align: center; /* Center the text */
    }

    .hero-image {
        display: none; /* Hide the image on smaller screens */
    }

    .hero-content {
        max-width: 100%; /* Ensure the content takes full width */
        padding: 20px; /* Add some padding for mobile devices */
    }

    .hero-content p {
        font-size: 1.5rem; /* Adjust font size for mobile */
    }
}

/* Services section */

.services-section {
    background: #f8f9fa;
    padding: 70px 0;
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: #007bff;
}

.section-underline {
    width: 80px;
    height: 4px;
    background: #007bff;
    margin: 10px auto 20px;
    border-radius: 2px;
}

.section-description {
    font-size: 1.2rem;
    font-weight: 500;
    color: #444;
    margin-bottom: 20px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.section-text {
    font-size: 1.1rem;
    color: #666;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    margin-bottom: 15px;
}

/* Features */

/* Overlay on Image with Transparency */
.card-body-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.05); /* Subtle overlay */
    z-index: 0; /* Ensure it stays below text */
}

/* Text Overlay Style with White Text */
.text-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Dark overlay for text visibility */
    color: white;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    z-index: 1;
}

/* Ensure Text Wraps Correctly */
.text-overlay p {
    white-space: normal;
    word-wrap: break-word;
    margin-bottom: 10px;
}

/* Buttons Styled */
.btn-light {
    background-color: rgb(255, 255, 255);
    color: #000000;
    border: none;
}

.btn-light:hover {
    background-color: rgb(107, 107, 107);
}

/* Grid Responsiveness */
@media (max-width: 576px) {
    .card-body {
        height: auto; /* Adjust card height for small screens */
    }
    .text-overlay {
        padding: 10px; /* Adjust padding for small screens */
    }
}

@media (min-width: 577px) and (max-width: 767px) {
    .card-body {
        height: auto; /* Adjust card height for small tablets */
    }
}

@media (min-width: 768px) {
    .card-body {
        height: auto; /* Keep default height for large screens */
    }
}

/* Footer Styling */
footer.sticky-footer {
    background-color: #343a40; /* Dark background */
    color: white; /* White text */
    padding: 30px 0;
    font-family: Arial, sans-serif;
}

footer .footer-heading {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 10px;
    text-transform: uppercase;
}

footer .footer-link {
    color: #ffffff; /* White text */
    font-size: 1rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer .footer-link:hover {
    color: #007bff; /* Blue color on hover */
    text-decoration: underline; /* Underline on hover */
}

footer .footer-text {
    font-size: 0.9rem;
    margin-bottom: 8px;
}

/* Make the footer content responsive */
@media (max-width: 768px) {
    footer .container {
        padding: 0 15px;
    }
    footer .row {
        text-align: center;
    }
    footer .footer-heading {
        font-size: 1.1rem;
    }
    footer .footer-link {
        font-size: 0.9rem;
    }
}

/* Add a hover effect to footer sections */
footer .row > div:hover {
    transform: translateY(-5px);
    transition: transform 0.3s ease-in-out;
}

/* Copyright Styling */
footer .copyright {
    font-size: 0.8rem;
    margin-top: 20px;
}

/* Separator Line */
hr {
    margin-top: 20px;
    margin-bottom: 20px;
    border: 0;
    border-top: 1px solid #ddd;
}