/* Hero Section */
.hero-section {
    position: relative;
    width: 100%;
    height: 60vh;
    min-height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    overflow: hidden;
}
.video-wrapper,
.background-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Reduced darkness */
}
.text-content {
    position: relative;
    z-index: 2;
    max-width: 100%;
    padding: 40px;
    text-align: center;
}
/* ✅ Responsive for Mobile */
@media (max-width: 768px) {
    .hero-section {
        height: 50vh;
        min-height: 300px;
        padding: 20px;
    }

    .text-content h1 {
        font-size: 1.8rem;
    }

    .text-content p {
        font-size: 1rem;
    }

    .video-overlay {
        background: rgba(
            0,
            0,
            0,
            0.1
        ); /* Slightly darker for readability on smaller screens */
    }
}
.welcome {
    background-color: #f5f7fa;
    color: #0a2f5c;
    padding: 60px 20px;
    min-height: 600px;
    overflow: hidden;
}

@media (max-width: 768px) {
    .welcome-img {
        display: block;
        margin: 0 auto 20px auto;
        max-width: 100%;
        height: auto;
    }
}

/* Feature Section */
.feature-section {
    background-color: var(--background-color);
    color: var(--text-color);
}

/* Left Column - Fixed Ratio + Preload Background */
.left-column {
    background: url("https://snehilgreenzone.in/images/resource/feature-image-1.webp")
        no-repeat center center/cover;
    width: 100%;
    aspect-ratio: 4 / 3;
    min-height: 350px;
    border-radius: 10px;
}

/* Feature Details */
.feature-details {
    min-height: 100%;
    border-radius: 10px;
}

/* Section Title */
.sec-title h2 {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--heading-text-color);
}

.separator {
    width: 50px;
    height: 4px;
    background-color: var(--highlight-color);
    margin-bottom: 20px;
}

/* Icon Boxes */
.icon-box {
    padding: 5px;
    background: #f5f5f5;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease-in-out;
}
.icon-box:hover {
    transform: translateY(-5px);
}

.icon-box p {
    font-size: 16px;
    margin-top: 10px;
    color: var(--highlight-color);
}

/* Responsive Adjustments */
@media (max-width: 991px) {
    .left-column {
        min-height: 300px;
    }
}

@media (max-width: 768px) {
    .left-column {
        aspect-ratio: 4 / 3;
        min-height: auto;
    }
    .feature-details {
        padding: 20px;
    }
}
/* Feature Section end */
/* about Section Styling */
.about-section {
    background-color: #f9f9f9;
}
.about-section h1,
.about-section h2,
.about-section h3 {
    color: var(--heading-text-color);
}

/* Title Separator */
.title-separator {
    width: 60px;
    height: 4px;
    background-color: var(--heading-text-color);
    margin: 10px auto;
}
.custom-success {
    color: var(--heading-text-color); /* Replace with your desired color */
    font-weight: bold;
}
/* Services List */
.service-list {
    list-style: none;
    padding: 0;
}

.service-list li {
    font-size: 18px;
    margin-bottom: 8px;
}

/* Align Image Parallel to Heading */
.about-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .service-list li {
        font-size: 16px;
    }

    /* Stack Image and Text on Small Screens */
    .row.d-flex {
        flex-direction: column;
    }
}
/* about Section end */
/* =========================== */
/* Our project section  */
#projects .btn-light {
    background-color: #ffffff;
    color: #0a2f5c;
    font-weight: 600;
    padding: 10px 24px;
    border-radius: 8px;
    transition: all 0.3s ease;
}
#project .img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2; /* Keeps the image space reserved to prevent layout shift */
    object-fit: cover; /* Optional: Ensures image covers its container nicely */
    border-radius: 8px; /* Optional: Keeps it looking clean */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); /* Optional */
}

#projects .btn-light:hover {
    background-color: #e0e0e0;
}

/* ==========================================================================
       Services Section
       ========================================================================== */
.services-section {
    background: #f8f9fa;
    padding: 60px 0;
}
.section-header h2 {
    font-size: 2.2rem;
    font-weight: bold;
    color: #005a9c;
}
.section-divider {
    width: 60px;
    height: 4px;
    background: #007bff;
    margin-top: 10px;
}
.callback-card {
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}
.callback-form input,
.callback-form select,
.callback-form textarea {
    border-radius: 25px;
    border: 1px solid #ced4da;
    padding: 12px;
}
.callback-form input:focus,
.callback-form select:focus,
.callback-form textarea:focus {
    border-color: #007bff;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.3);
}
.callback-form button {
    background: #007bff;
    color: #fff;
    border: none;
    font-weight: bold;
    padding: 12px;
    border-radius: 25px;
    transition: all 0.3s ease-in-out;
}
.callback-form button:hover {
    background: #0056b3;
}
.service-card {
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease-in-out;
}
.service-card:hover {
    transform: translateY(-8px);
}
.service-icon {
    font-size: 2.5rem;
    color: #007bff;
}
.service-card p {
    font-size: 0.95rem;
    color: #555;
}
.service-card a {
    text-decoration: none;
    color: #007bff;
    transition: color 0.3s ease-in-out;
}
.service-card a:hover {
    color: #0056b3;
}
@media (max-width: 768px) {
    .service-card {
        padding: 20px;
    }
    .service-card h3 {
        font-size: 1.2rem;
    }
}
/* ==========================================================================
       Team Section
       ========================================================================== */
.team-section {
    background: #f8f9fa;
}
.separater {
    width: 60px;
    height: 3px;
    background: #007bff;
    margin: 0 auto 20px;
}
.team-member {
    background: #fff;
    padding: 20px;
    margin: 10px 0;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}
.team-member img {
    transition: transform 0.3s ease;
}
.team-member:hover img {
    transform: scale(1.05);
}
.designation {
    color: #007bff;
    font-weight: 600;
    margin-bottom: 10px;
}
@media (max-width: 768px) {
    .team-member {
        margin-bottom: 20px;
    }
}

/* ==========================================================================
       Testimonial Section
       ========================================================================== */
.testimonial-area {
    background: #f1f5f9; /* Differentiated light background */
    padding: 60px 0;
}
.sec-title h2 {
    font-size: 2rem;
    font-weight: 700;
}
.separater {
    width: 60px;
    height: 3px;
    background: #007bff;
    margin: 10px auto 20px;
}
.testimonial-item {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.testimonial-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}
.client-info {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}
.img-box {
    margin-right: 15px;
}
.review-box ul {
    padding: 0;
    margin: 0;
}
.review-box ul li {
    display: inline;
    margin-right: 2px;
}
.text-box p {
    font-size: 0.95rem;
    color: #555;
}
@media (max-width: 768px) {
    .testimonial-item {
        margin-bottom: 20px;
    }
}
/* //  */
@keyframes gradientAnimation {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

footer {
    background: var(--section-background-color);
    background-size: 400% 400%;
    color: #fff;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

footer > * {
    position: relative;
    font-size: 14px;
    z-index: 2;
}

footer a.footer-link {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

footer a.footer-link:hover {
    color: #007bff;
    transform: scale(1.05);
}

footer ul {
    padding-left: 0;
}

footer .contact-info li,
footer .list-inline li {
    margin-bottom: 8px;
}

footer h5,
footer h6 {
    font-weight: 600;
    margin-bottom: 15px;
    padding-bottom: 5px;
    position: relative;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

footer h5::after,
footer h6::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: #007bff;
}

footer .border-secondary {
    border-color: rgba(255, 255, 255, 0.2) !important;
}
/* Optional: smaller size for specific elements */
footer p,
footer li,
footer a.footer-link,
footer .contact-info,
footer .list-inline,
footer .list-inline-item {
    font-size: 13px;
}

footer h5,
footer h6 {
    font-size: 15px; /* Slightly smaller heading */
}

/* Responsive */
@media (max-width: 576px) {
    footer {
        font-size: 12px;
    }

    footer h5,
    footer h6 {
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    footer .col-md-4,
    footer .col-md-3 {
        text-align: center;
    }

    footer ul.list-inline {
        text-align: center;
        padding-left: 0;
    }

    footer ul.list-inline li {
        display: inline-block;
        margin: 0 5px 10px;
    }
}
