﻿body {
    margin: 0;
    background-color: #f5f0fa;
    color: #2d143d;
    padding: 0;
    overflow-x: hidden;
}
.hero-txt-shadow {
    text-shadow: 
        1px 1px 4px rgba(126, 87, 194, 0.4), 
        2px 2px 6px rgba(121, 7, 228, 0.3);
}
.btn-vyoma {
    background-color: #7e57c2;
    color: white;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: background-color 0.3s ease;
    display: inline-block;
    border: none;
    cursor: pointer;
}

.btn-vyoma:hover {
    background-color: #5e35b1;
    color: white;
}

.hero {
    position: relative;
    overflow: hidden;
    width: 100%;
    min-height: 100vh;
    background: linear-gradient(to right, rgba(126, 87, 194, 1) 0%, rgba(126, 87, 194, 0.7) 70%, rgba(126, 87, 194, 0.4) 100%);
    color: white;
    display: flex;
    align-items: center;
    margin-top: 0;
    padding: 0;
    overflow: hidden; /* prevent scrollbars from image overflow */
}

.hero-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* cover entire area */
    pointer-events: none; /* so clicks pass through */
    z-index: 1; /* above gradient but below content */
    user-select: none;
    display: block;
}

.hero .container {
    position: relative;
    z-index: 2; /* content above image */
}



.contact-hero {
    background: url('/images/book-consultation-lady.png') no-repeat center center;
    background-size: cover;
    width: 100%;
    min-height: 100vh;
    padding: 0px 0; /* Optional spacing */
    display: flex;
    align-items: center;
    color: white;
    margin-top: 0px;
    position: relative;
}

    .contact-hero::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 50%;
        height: 100%;
        background: linear-gradient(to right, rgba(126, 87, 194, 1) 0%, rgba(126, 87, 194, 0.7) 70%, rgba(126, 87, 194, 0.4) 100%);
        z-index: 0;
    }
.hero-content {
    position: relative;
    z-index: 1;
    padding: 10px 20px;
    max-width: 500px;
    margin-left: 0px;
}

    .hero-content h1,
    .hero-content h2,
    .hero-content p {
        margin-left: 0;
    }

.btn-primary {
    background-color: #ffffff;
    color: #2d143d;
    border: 2px solid #2d143d;
}

.btn-primary:hover {
    background-color: #2d143d;
    color: white;
    border: 1px solid rgba(121, 7, 228, 1);
}

@media (max-width: 768px) {
    .hero .container {
        position: relative;
        z-index: 2;
    }

    .hero-content {
        margin-top: 1.5rem;
        background-color: rgba(108, 117, 125, 0.7); /* slightly darker for contrast */
    }

    .hero-img {
        filter: brightness(60%); /* darken image under text for better readability */
    }
    /*.hero-content {
        padding-left: 20px;
        padding-right: 20px;
    }*/
    .hero {
        text-align: center;
        padding: 40px 0;
    }
    .hero2 {
        padding: 40px 0;
        text-align: center;
    }
}

.hero2 {
    padding: 4rem 2rem;
    text-align: center;
}

    .hero2 h1 {
        font-size: 3rem;
        margin-bottom: 1rem;
    }

    .hero2 p {
        font-size: 1.25rem;
        margin-bottom: 2rem;
    }

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

    .cta-buttons a {
        background-color: #7e57c2;
        color: white;
        padding: 0.75rem 1.5rem;
        text-decoration: none;
        border-radius: 8px;
        font-weight: bold;
        transition: background 0.3s;
    }

    .cta-buttons a:hover {
        background-color: #5e35b1;
    }

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 4rem 2rem;
}

.feature-card {
    background-color: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 1px 1px 20px rgba(0,0,0,0.05);
    text-align: center;
    border: 1px solid rgba(121, 7, 228, 0.9) !important;
}

    .feature-card h3 {
        color: #7e57c2;
        margin-bottom: 1rem;
    }

footer {
    background-color: #ede7f6;
    text-align: center;
    padding: 1rem;
    font-size: 0.9rem;
    z-index: 1;
}
