/* General Styles */
.absolute {
    position: absolute;
    top: 150px !important;
    inset: 0;
    justify-content: center;
    width: 100%;
    z-index: -100000;
}

.justify-center {
    justify-content: center;
}

.opacity-50 {
    opacity: 0.2;
}

.bg-blur {
    filter: blur(2px);
}

.icon-padding {
    padding-right: 20px;
}

/* Navigation & Active Link */
.active {
    background-color: #04AA6D;
    color: #fefefe;
}

.nav-logo{
    width: 65px;
}

/* Top Border Style */
.top-hr {
    display: block;
    margin: 0 auto;
    border-style: inset;
    border-width: 7px;
    border-color: #f9be18;
}

.hr-styling{
    border-width: 1px;
    border-color:#d3d3d3;
    width: 80%;
}

.demo-container{
    display: flex;
    flex-direction: row;
}

/* Centering Utilities */
.center {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 auto;
    width: 40%;
}

.center-text {
    text-align: center;
}

/* Spacing & Layout */
.top-down {
    margin-top: 20px;
}

.margin-top {
    margin-top: 20px;
}

.services-padding{
    min-width: 100%;
}

/* Hero Section - Desktop (Side-by-Side) */

.sidebysideheader {
    display: flex;
    flex-direction: row-reverse;  /* Keep side-by-side layout on desktop */
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

/* Text Content */
.hero-text {
    max-width: 50%;
}

.big-text {
    font-size: 180%;
    font-weight: bold;
    line-height: 1.4;
    text-align: left;
}

/* Hero Image */
.headimg {
    width: 30%;
    max-width: 450px;
    border-radius: 50%;
}

/* Services Image */
.imgcontainer{
    width: 25%;
}

.sidebyside {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content:space-evenly;
}

/* Call to Action Button */
.cta-button {
    display: inline-block;
    padding: 12px 18px;
    font-size: 16px;
    font-weight: bold;
    background-color: #1095c1;
    color: white;
    text-align: center;
    border-radius: 8px;
    text-decoration: none;
    margin-top: 15px;
    transition: background 0.3s ease-in-out;
}

.cta-button:hover {
    background-color: #0d7ea3;
}

/* Benefits Section */
.benefits-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    margin-top: 20px;
}

.benefit-card {
    background-color: #ffffff;
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    width: calc(33.333% - 20px);
    max-width: 300px;
    flex: 1 1 auto;
}

.benefit-card h3 {
    margin-top: 15px;
    font-size: 1.2rem;
    color: #333;
}

.benefit-card p {
    font-size: 0.95rem;
    color: #666;
    margin-top: 10px;
}

.benefit-icon {
    color: #1095c1;
    margin-bottom: 15px;
}

/* Footer */
.footer-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 15px;
    padding: 20px 0;
}

/* Mobile Responsive Styles */
@media (max-width: 992px) {
    /* Adjust Benefits Grid for Tablets */
    .benefit-card {
        width: calc(50% - 20px);
    }
}

@media (max-width: 748px) {
    .nav-logo{
        width: 60px;
    }
    /* Stack Hero Section on Mobile */
    .sidebysideheader {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 20px;
    }

    .hero-text {
        max-width: 90%;
        text-align: center;
    }

    .big-text {
        font-size: 140%;
        font-weight: bold;
        line-height: 1.4;
        text-align: center;
    }

    .headimg {
        display: block;
        width: 20%;
        max-width: 300px;
        margin: 0 auto;
        border-radius: 50%;
    }

    /* CTA Button */
    .cta-button {
        padding: 10px 16px;
        font-size: 14px;
    }

    /* Benefits Grid */
    .benefits-grid {
        flex-direction: column;
        align-items: center;
    }

    .benefit-card {
        width: 90%;
    }
}


/* Services Section */
.services-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    background: #ffffff;
    padding: 40px;
    margin-left: 10%;
    margin-right: 10%;
    border-radius: 15px;
}

.services-text {
    flex: 1;
    max-width: 50%;
}

.services-text h6 {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 15px;
}

.services-text ul {
    list-style-type: disc;
    padding-left: 20px;
    font-size: 1rem;
    line-height: 1.6;
}

.choose-text{
    text-align: center;
}

/* Image Styling */
.services-image {
    width: 40%;
    max-width: 350px;
    border-radius: 10px;
}

.imgstyling{
    border-radius: 15px;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .services-section {
        flex-direction: column-reverse;
        text-align: center;
        gap: 20px;
        padding: 40px;
    }

    .services-text {
        max-width: 100%;
    }

    .services-text ul {
        text-align: left;
        padding-left: 30px;
    }

    .services-image {
        width: 50%;
        max-width: 300px;
    }
}
