body{
    margin: 0;
    padding: 0;
}
h2{
    text-align: center;
    font-size: xx-large;
    font-weight: bold;
    color: black;
}
/* =============================
============================= */
/* .banner */
.carousel {
    position: relative;
    height: auto;
    overflow: hidden;
}

.carousel-slide {
    display: none;
    width: 100%;
    height: 100%;
    
}

.carousel-slide.active {
    display: block;
}

.carousel-row {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.carousel-image {
    width: 100%;
    height: 100%;

}

.carousel-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;

}

.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0,0,0,0.5);
    color: white;
    border: none;
    padding: 12px 16px;
    cursor: pointer;
    border-radius: 50%;
    transition: background-color 0.3s;
    z-index: 10;
}

.carousel-control:hover {
    background-color: rgba(0,0,0,0.8);
}

.carousel-control.prev {
    left: 20px;
}

.carousel-control.next {
    right: 20px;
}
.carousel-button {
    position: absolute;
    top: 71%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

.carousel-button button {
    padding: 12px 24px;
    font-size: 16px;
    background-color:#2f28a7;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.carousel-button button:hover {
    background-color: #218838;
}
@media (max-width: 1024px) {
    .carousel {
        height:auto;
    }
}

@media (max-width: 768px) {
    .carousel {
        height: auto;
    }
    .carousel-button {
    position: absolute;
    top: 75%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}
}
/* =====================================
================================== */
/* price and plans */
.plans-grid {
    display: flex;
    justify-content: center;
    /* gap: 20px; */
    flex-wrap: wrap;
}

.plan-card {
    background-color: #111;
    border: 1px solid #333;
    /* border-radius: 8px; */
    width: 250px;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.plan-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(255,255,255,0.2);
}

.plan-card img {
    width: 20%;
    border-radius: 2rem;
}

.plan-title {
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.plan-price {
    font-size: 1rem;
    margin-bottom: 10px;
}

.plan-duration {
    font-size: 0.9rem;
    color: #ccc;
}
@media (max-width: 768px) {
    .plan-card {
    background-color: #111;
    border: 1px solid #333;
    border-radius: 8px;
    width:max-content;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s 
ease, box-shadow 0.3s 
ease;
}
}
/* =============================
============================= */
/* About Section */
.about-section {
    text-align: center;
    margin-bottom: 14px;
}

.about-section h3 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.about-section p {
    font-size: 1rem;
    color: #555;
    text-align: justify;
    max-width: 97%;
    margin: 0 auto 10px auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    justify-content: center;
    padding: 0 20px;
    
}

.feature-card {
    background-color: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 3px;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.feature-card-img {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.feature-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
    box-shadow: rgba(0, 0, 0, 0.15) 0px 5px 15px 0px;
    border-radius: 3px;
}

.feature-card:hover .feature-card-img img {
    transform: scale(1.05);
}

.feature-icon {
    position: absolute;
    bottom: 1px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #28a745;
    color: #fff;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 22px;
    border: 3px solid #fff;
}

.feature-card h3 {
    margin: 40px 10px 10px 10px;
    font-size: 1.2rem;
    font-weight: 600;
}

.feature-card p {
    margin: 0 15px 20px 15px;
    color: #666;
    font-size: 0.95rem;
}

@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
    }

    .feature-card-img {
        height: 200px;
    }
    
    .feature-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
}


/* ==========================
/* ========================== */
/* gallery */
.gallery-section{
        width: 97%;
    margin: auto;
}
.card-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr); 
    gap: 2px;
    justify-content: start;
    grid-auto-flow: dense;
}

.card {
    background-color: white;
    padding: 2px;
    transition: transform 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;  
    border-radius: .5rem;
}

.card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 1px;
    margin-bottom: 15px;
    border-radius: .5rem;
    box-shadow: rgba(14, 30, 37, 0.12) 0px 2px 4px 0px, rgba(14, 30, 37, 0.32) 0px 2px 16px 0px;
}

.card h3 {
    margin: 0 0 10px 0;
    color: #333;
    text-align: center;
}

.card p {
    color: #666;
    text-align: center;
    flex-grow: 1; 
}

.card:hover {
    transform: translateY(-5px);
}

/* Tablet / mobile */
@media (max-width: 1024px) {
    .card-container {
        grid-template-columns:repeat(auto-fit, minmax(150px, 1fr))
    }
}

@media (max-width: 768px) {
    .card-container {
        grid-template-columns:repeat(auto-fit, minmax(150px, 1fr));
    }
}

/* ==================================== */
/* ==================================== */
/* Services Section */
#services{
    width: 97%;
    margin: auto;

}
.services-section {
    text-align: center;
    padding: 1px 1px;
    box-shadow: rgb(0 0 0 / 10%) 0px 2px 3px;
}

.services-section h1 {
    font-size: 2rem;
    margin-bottom: 30px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    justify-items: center;
}

/* Service Item */
.service-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.service-item img {
    width: 50%;
    aspect-ratio: 1/1; 
    object-fit: cover;
    border-radius: 50%;
    /* border: 3px solid #28a745; */
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-item img:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.service-item p {
    margin-top: 10px;
    font-size: 0.95rem;
    color: #555;
}

/* Tablet  */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Mobile */
@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
    }

    .service-item img {
        width: 120px;
        height: 120px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(94px, 1fr));
    }

    .service-item img {
        width: 100px;
        height: 100px;
    }
}
/*===========================
===========================*/
/* payment */
.payment p {
    text-align: center;
}

.payment img {
    margin: auto;
    display: block;
    width: 50%;
}

.payment {
    text-align: center;
    max-width: 600px;
    margin: auto;
    position: relative;
}

.slider-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.slider {
    position: relative;
}

.slide {
    display: none;
}

.slide.active {
    display: block;
}

.slide img {
    width: 100%;
    height: auto;
    display: block;
}

.prev-btn,
.next-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0,0,0,0.5);
    color: white;
    border: none;
    font-size: 2rem;
    padding: 10px;
    cursor: pointer;
    z-index: 10;
}

.prev-btn {
    left: 10px;
}

.next-btn {
    right: 10px;
}

.prev-btn:hover,
.next-btn:hover {
    background-color: rgba(0,0,0,0.7);
}

@media (max-width: 768px) {
    .payment img {
        margin: auto;
        display: block;
        width: -webkit-fill-available;
    }
}

/* ================================ */
/* ================================ */
/* Testnominal */
.testnominals {
    max-width: 100%;
    overflow: hidden;
    position: relative;
    padding: 20px 0;
    box-shadow: rgba(0, 0, 0, 0.15) 0px 5px 15px 0px;
}

.carousel-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
}

.carousel-item {
    min-width: 100%;
    box-sizing: border-box;
    padding: 20px;
    text-align: center;
}

.carousel-item img {
    max-width: 150px;
    border-radius: 50%;
    margin-bottom: 10px;
}

.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0,0,0,0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    display: none;
    z-index: 10;
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

.carousel-dots {
    text-align: center;
    margin-top: 15px;
}

.dot {
    height: 12px;
    width: 12px;
    margin: 0 5px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
}

.dot.active {
    background-color: #717171;
}

@media (max-width: 768px) {
    .prev, .next {
        display: block;
    }
}


/* ===========================
=========================== */
.get_in_touch{
    color: white;
    background-image: url('https://res.cloudinary.com/estateflora/image/upload/v1757574193/call-to-action-bg_qgrsxj.jpg');
    margin-top: 2rem;
    padding: 28px 8px;
    background-attachment: fixed;
}
.get_in_touch_button{
        padding: 7px 21px;
    border-radius: 30px;
    background: transparent;
    border: 1px solid white;
    color: white;
    margin: auto;
    display: block;
}
.get_in_touch p{
    text-align: justify;
}
/* ========================== */
/* ========================== */
.counter-section{
    background-image: url('https://res.cloudinary.com/estateflora/image/upload/v1757574193/facts-bg_knnlxn.jpg');
    height:auto;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    padding: 61px 94px;
}
.white-div{
    padding: 30px 143px;
    background: #ffffff61;
    border-radius: 6px;
}
.counter-section {
    text-align: center;
    padding: 50px 20px;
    background-color: #f9f9f9;
}

.counter-section h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.counter-section p {
    font-size: 1rem;
    margin-bottom: 40px;
    color: #200a80;
}

.counter-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); 
    gap: 20px;
    justify-items: center;
}

.counter-item {
    background-color:#ffffffc9;
    padding: 20px;
    border-radius: 10px;
    width:-webkit-fill-available;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.counter-item:hover {
    transform: translateY(-5px);
}

.counter-item .counter {
    font-size: 2rem;
    font-weight: bold;
    color: #28a745;
    display: block;
}

.counter-item p {
    margin-top: 10px;
    font-size: 1rem;
    color: #333;
}


@media (max-width: 1024px) {
    .counter-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .counter-grid {
        grid-template-columns: repeat(1, 1fr);
    }
    .white-div {
    background: #ffffff61;
    border-radius: 6px;
    width: -webkit-fill-available;
    padding: 2px;
}
.counter-item {
    background-color:#ffffffc9;
    padding: 20px;
    border-radius: 10px;
    width:-webkit-fill-available;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s;
    padding: 2px;
}

}

@media (max-width: 480px) {
    .counter-grid {
        grid-template-columns: repeat(1, 1fr);
    }
    .white-div {
    background: #ffffff61;
    border-radius: 6px;
    width: -webkit-fill-available;
}
}
/* ===============================
================================== */
/* Contact */
 .contact {
        max-width: 1000px;
        margin: 0 auto;
        /* padding: 20px; */
    }

    .contact h1 {
        text-align: center;
    }

    .contact p {
        text-align: center;
        margin-bottom: 20px;
    }

    .contact-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        margin-bottom: 30px;
        background: linear-gradient(45deg, #cffdeb, #7ac3d305);
    }

    .grid-item {
        padding: 20px;
        text-align: center;
    }
    .contact input{
        padding: 10px 4px;
        border: 1px solid #8080809e;
        border-radius: 3px;
        outline: none;
    }
    .contact textarea{
        padding: 10px 4px;
        border: 1px solid #8080809e;
        border-radius: 3px;
        outline: none;
    }
    @media (max-width: 900px) {
        .contact-grid {
            grid-template-columns: repeat(2, 1fr);
        }
    }

    @media (max-width: 600px) {
        .contact-grid {
            grid-template-columns: 1fr;
        }
    }

/* contact form */
form {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
    box-shadow: rgb(0 0 0 / 13%) 0px 5px 15px;
    padding: 33px 38px;
    border-radius: 6px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 20px;
}

.email-row {
    grid-template-columns: 1fr; 
}

.form-row input,
.form-row textarea {
    padding: 10px;
    border: 1px solid #8080809e;
    border-radius: 4px;
    width: 100%;
    box-sizing: border-box;
    outline: none;
}

.email-row input[type="email"] {
    border-color: #8080809e;
    font-weight: bold;
}
.form-row textarea {
    grid-column: 1 / -1;
    resize: vertical;
    height: 120px;
}


@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

.submit-btn {
    padding: 12px;
    background-color:#1c1711;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    width: 100%;
    font-size: 16px;
}

button:hover {
    background-color: #0056b3;
}
@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr; 
    }
}

/* alert messge */
.form-messages {
    max-width: 600px;
    margin: 20px auto 0;
    padding: 10px;
    text-align: center;
}

.alert {
    padding: 12px;
    border-radius: 5px;
    margin-bottom: 10px;
    font-weight: bold;
}

.alert.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}
/* ===============================
=============================== */
#contact-map {
    padding: 1px 20px;
    text-align: center;
    background-color: #f4f4f4;
    padding-bottom: 2rem;
}

#contact-map h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

#contact-map p {
    font-size: 1rem;
    color: #555;
    margin-bottom: 30px;
}

#contact-map .map-container {
    max-width: 1000px;
    margin: auto;
    border: 2px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    border-radius: 2rem;
}

#contact-map iframe {
    width: 80%;
    height: 303px;
    border-radius: 1rem;
}
@media (max-width: 768px) {
    #contact-map iframe
 {
    width: 100%;
    height: auto;
    border-radius: 1rem;
}
}