:root {
    --primary: #25D366;
    /* WhatsApp Green */
    --dark: #075E54;
    --text: #333;
    --light: #f4f4f4;
    --white: #ffffff;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--light);
    color: var(--text);
    line-height: 1.6;
    height: 100dvh;
}

/* Navigation */
nav {
    background: var(--white);
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: sticky;
    z-index: 1020;
    top: 0;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--dark);
}

/* Hero Section with Carousel */
header {
    position: relative;
    height: 60dvh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
}

/* The Carousel Image Styling */
.carousel-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
    /* Slight dark overlay */
    transition: 0.25s;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.container-modal-image {
    position: relative;
    height: 30%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
}

.img-modal-content {
    width: 100%;
    height: 95%;
    object-fit: contain;
}

.p-modal-content {
    text-align: justify;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /*background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7));*/
    display: flex;
    flex-flow: column;
    align-items: center;
    border: 0;
    background: none;
    color: var(--white);
}

.hero-content {
    position: relative;
    z-index: 5;
    padding: 0 1rem;
    max-width: 800px;
    top: 2rem;
    display: flex;
    flex-flow: column;
}

/* Location Label on top of image */
.location-tag {
    position: absolute;
    bottom: 30px;
    right: 20px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: bold;
    z-index: 5;
    font-size: 0.9rem;
}

header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

header p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

#slideTitle {
    background: rgba(0, 0, 0, 0.5);
    padding: 1rem;
    margin-bottom: 0;
}

#slideDesc {
    background: rgba(0, 0, 0, 0.5);
    padding: 1rem;
}

/* Services Section */
.services {
    padding: 4rem 5%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.card {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.card h3 {
    margin-bottom: 1rem;
    color: var(--dark);
}

.main-content {
    animation: fadeIn 0.15s ease;
}

/* --- MODAL STYLING STARTS HERE --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    /* Dark transparent background */
    display: none;
    /* Hidden by default */
    justify-content: center;
    backdrop-filter: blur(5px);
    padding: 1rem 0;
}

.modal-z-index {
    z-index: 9999;
}

.modal-front-z-index {
    z-index: 10000;
}

.modal-overlay.active {
    display: flex;
    /* Show when active */
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background-color: var(--white);
    padding: 1rem;
    border-radius: 10px;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    animation: slideDown 0.3s ease;
}

.modal-content-500px {
    width: 90%;
    max-width: 500px;
}

.modal-content-wide {
    width: 90vw;
    height: 100%;
}

.modal-content-desc {
    display: flex;
    flex-flow: column;
}

.close-modal {
    position: absolute;
    top: 8px;
    right: 10px;
    font-size: 2rem;
    color: #9b0000;
    cursor: pointer;
    transition: color 0.3s;
    border: 0;
    background: none;
}

.close-modal:hover {
    color: var(--dark);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideDown {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* --- MODAL STYLING ENDS HERE --- */

form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

label {
    font-weight: 600;
    display: block;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

input[type="text"],
input[type="datetime-local"],
select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
}

input[type="text"]:invalid,
input[type="datetime-local"]:invalid {
    border-color: #d9534f;
}

.div-radio-inp {
    display: flex;
    flex-flow: row;
    place-items: center;
}

.div-radio-inp label {
    width: 14rem;
    font-size: 1.5rem;
}

.div-radio-inp input {
    /*display: none;*/
}

.div-radio-inp input:checked+label {
    background-color: #fff3cd;
    border-radius: 4px;
}

button.submit-btn {
    background-color: var(--primary);
    color: var(--white);
    border: none;
    padding: 15px;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 50px;
}

button.submit-btn:hover {
    background-color: var(--dark);
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem;
    background: #333;
    color: #fff;
    font-size: 0.9rem;
}

/* Carousel Buttons */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.3);
    border: none;
    color: white;
    font-size: 2rem;
    padding: 10px 15px;
    cursor: pointer;
    z-index: 10;
    border-radius: 50%;
}

.carousel-btn:hover {
    background: rgba(255, 255, 255, 0.6);
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

.prev-inner {
    left: 10px;
}

.next-inner {
    right: 10px;
}

/* --- FLOATING WHATSAPP BUTTON --- */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 25px;
    right: 25px;
    background-color: var(--primary);
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 1001;
    /* High enough to be above everything */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

/* --- FLOATING WHATSAPP BUTTON --- */
.language-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 25px;
    left: 25px;
    background-color: var(--primary);
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 1001;
    /* High enough to be above everything */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.language-float:hover {
    transform: scale(1.1);
}

.form-title {
    padding: 0 14px;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--dark);
    min-height: 40px;
}

.content-modal-option {
    overflow: scroll;
    scrollbar-gutter: stable both-edges;
    height: calc(100% - 40px - 50px);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    header h1 {
        font-size: 2rem;
    }

    .services {
        grid-template-columns: 1fr;
    }
}