

/* Reset Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Montserrat !important;
}

body {
    background-color: #f9f9f9;
    color: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh; /* Center vertically */
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%; /* Ensure full height */
}

/* Feedback Section */
.feedback-section {
    max-width: 900px;
    width: 100%;
    background: #fff;
    padding: 40px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    min-width: 750px;
}
/* When the viewport is less than 750px wide, remove the min-width */
@media (max-width: 750px) {
    .feedback-section {
        min-width: auto;  /* Removes the min-width restriction */
    }
}



/* Header Styles */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 900px;
    padding: 10px 20px; /* Padding to avoid content touching edges */
    margin: 0 auto; /* Center horizontally */
    flex-wrap: wrap; /* Allow wrapping for smaller screens */
    position: relative; /* Keep header in layout flow */
    z-index: 10; /* Ensure it's above other elements */
    margin-bottom: 20px;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 30px;
}

/* Description Text */
.description {
    text-align: center;
    font-size: 1rem;
    color: #555;
    margin-bottom: 10px;
}

/* Overall Hotel Rating */
.overall-rating {
    text-align: center;
    margin-bottom: 30px;
}

.rating-title {
    font-size: 1.5rem;
    color: #444;
    margin-bottom: 10px;
}

/* Rating Stars */
.rating-stars {
    display: flex;
    justify-content: center;
    gap: 5px;
}

/* Numbers Below Stars */
.rating-number {
    font-size: 1rem;
    color: #444;
    margin-top: -8px;
    transition: color 0.3s ease;
    font-weight: 600;
}

/* Star Container - Align Items in a Column */
.star-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
}


.star {
    font-size: 3rem;
    color: #ddd;
    cursor: pointer;
    transition: color 0.3s ease;
}

.star.active {
    color: var(--primary-color);
}

.star:hover,
.star:hover ~ .star {
    color: var(--second-color);
}

/* Category Header */
.category {
    margin-bottom: 30px;
}

.category-title {
    text-align: center; /* Centered Title */
    font-size: 1.2rem;
    color: #444;
    margin: 30px 0px;
    text-decoration: underline;
    font-weight: 600;
}

/* Question Styles */
.question-group {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.question {
    font-size: 1.1rem;
    margin-bottom: 0px;
    width: 48%; /* Occupies half the width */
    text-align: left;
    word-wrap: break-word;
}

/* Choice Buttons */
.choices {
    display: flex;
    gap: 10px;
    width: 48%; /* Occupies the other half */
    justify-content: flex-start;
}

.choice-btn {
    background: #e0e0e0;
    color: #606060;
    border: 1px solid #999797;
    padding: 10px 6px;
    font-size: 0.9rem;
    border-radius: 2px;
    cursor: pointer;
    transition: background 0.3s ease, color 0.3s ease;
    font-weight: 600;
}

.choice-btn:hover {
    background: #ccc;
}

.choice-btn.selected {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}


/* Individual Parts of the Header */
.header-part {
    flex: 1; /* Distribute space evenly */
    text-align: center;
    padding: 10px; /* Add padding to prevent height collapse */
}


.header-part.logo img {
    max-width: 100px;
    height: auto;
}

.header-part.contact p {
    margin: 5px 0;
    line-height: 1.2;
    padding: 0px;
    margin: 0px;
}


/* Logo */
.header-part.logo img {
    max-width: 120px; /* Ensure logo size remains consistent */
    height: auto;
}


    /* Contact Section */
    .header-part.contact p {
        font-size: 0.9rem;
        line-height: 1.2;
        padding: 0px;
        margin: 0px;
    }

    .dashed-textarea {
        width: 100%;
          height: 100px;
          font-size: 16px;
          line-height: 25px;
          background-size: 100% 25px;
          border: 1px solid #d9d8d8;
          padding: 5px;
          resize: none;
          background: #f0f0f0;
      }

    /* Page Overlay Container */
    .overlay-container {
        left: 0;
          top: 0;
          width: 100%;
          height: 100%;
          position: fixed;
          background: #F0F5F8;
          z-index: 8199990;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

        /* Department choices */
        .departments {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 15px;
            margin-bottom: 30px;
        }

        .department {
            padding: 15px 30px;
            border-radius: 10px;
            background: #007bff;
            color: white;
            font-size: 1.2rem;
            cursor: pointer;
            transition: transform 0.3s, background 0.3s;
            text-align: center;
            min-width: 120px;
        }

        .department:hover {
            background: #0056b3;
            transform: scale(1.1);
        }

        .department.selected {
            background: var(--primary-color);
            transform: scale(1.2);
        }



        .continue-btn:hover {
            background: #218838;
            transform: scale(1.05);
        }


        /* Responsive */
        @media (max-width: 768px) {



   /* Departments & Languages */
        .departments, .languages {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 15px;
            margin-bottom: 30px;
        }

        .department {
            padding: 15px 30px;
            border-radius: 10px;
            cursor: pointer;
            text-align: center;
            transition: transform 0.3s, background 0.3s;
            min-width: 120px;
        }

        .department { background: #007bff; color: white; }
        .department:hover { background: #0056b3; transform: scale(1.1); }
        .department.selected { background: var(--primary-color); transform: scale(1.2); }



/* Responsive Adjustments */
@media (max-width: 768px) {
    .header {
        /*flex-direction: column;  Stack header elements vertically */
        padding: 15px; /* Adjust padding for smaller screens */
        margin-bottom: 10px; /* Adjust margin below header */
    }

    .header-part {
        width: 100%; /* Make each part take full width */
        margin-bottom: 10px; /* Add spacing between parts */
    }

    .header-part.contact p {
        font-size: 0.8rem; /* Reduce font size for smaller screens */
    }


    .choices {
        width: 100%; /* Full width for smaller screens */
        justify-content: center;
    }
    .header-part.logo img {
        max-width: 100px; /* Scale down logo for smaller screens */
    }
    .question {
        width: 100%; /* Full width for smaller screens */
        font-size: 1rem;
        text-align: center;
        padding-bottom: 1rem;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 10px; /* Further reduce padding for very small screens */
    }

    .header-part.contact p {
        font-size: 0.75rem; /* Smaller font size for very small screens */
    }
    .header-part.logo img {
        max-width: 80px; /* Smaller logo for very small screens */
    }
    .question {
        font-size: 1rem;
        text-align: center;
        padding-bottom: 1rem;
    }
    .choices {
        width: 100%; /* Full width for smaller screens */
        justify-content: center;
    }
}


 /* Fullscreen container */
.container-select {
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: transform 1s ease-in-out;
    padding: 20px;
    text-align: center; /* Centers text for small screens */
}

/* Department and Language Section */
.departments, .languages {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-bottom: 20px;
    margin-top: 20px;
}

/* Department Styling */
.department {
    padding: 10px;
    border-radius: 6px;
    background: #000;
    color: white;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.3s, background 0.3s;
    text-align: center;
    min-width: 140px;
    font-weight: 600;
    min-height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 160px;
}

/* On Hover */
.department:hover {
    background: #0056b3;
    transform: scale(1.1);
}

/* Selected State */
.department.selected {
    background: var(--primary-color);
    transform: scale(1.2);
}

.language:hover {
    transform: scale(1.2);
}

/* Selected Language */
.language.selected {
    border: 3px solid var(--primary-color);
    transform: scale(1.2);
}

/* Continue Button */
.continue-btn {
    padding: 20px 35px;
    background: #28a745;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
    font-style: italic;
    color: white;
    letter-spacing: 0.2em;
    border-radius: 0.3rem;
    border: 1px solid transparent;
    font-weight: 600;
    margin-top: 40px;
}

/* Disabled Button */
.continue-btn:disabled {
    background-color: #ccc;
    cursor: not-allowed;
    opacity: 0.7;
}

.continue-btn:hover {
    background: #218838;
    transform: scale(1.05);
}

/* Title Styling */
.title-dep {
    font-size: 1.2rem;
    font-weight: 600;
    color: gray;
    text-align: center;
}

/* RESPONSIVE DESIGN */
@media (max-width: 768px) {
    .container-select {
        padding: 15px;
    }

    .department {
        min-width: 120px;
        min-height: 80px;
        font-size: 0.9rem;
    }

/*    .continue-btn {
        font-size: 1rem;
        padding: 10px 20px;
        letter-spacing: 0.1em;
    }*/
}

@media (max-width: 480px) {
    .title-dep {
        font-size: 1.2rem;
    }

    .departments, .languages {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }


    .department {
        min-width: 100px;
        min-height: 70px;
        font-size: 0.85rem;
    }


    .continue-btn {
        font-size: 1rem;
        padding: 10px 20px;
        letter-spacing: 0.1em;
    }
}


/* Parent container */
.flags-container {
    display: flex;
    flex-wrap: wrap; /* Ensures flags move to next row when width is reached */
    gap: 10px; /* Space between flags */
    justify-content: center; /* Center the flags */
    padding: 10px;
}

/* Circular Flag */
.language {
    width: 60px; /* Adjust size */
    height: 60px;
    border-radius: 50%; /* Makes it circular */
    overflow: hidden; /* Ensures the image stays within the circle */
    display: flex; /* Centers the image */
    justify-content: center;
    align-items: center;
    border: 2px solid #ccc; /* Optional border */
    background: #fff;
}

.language img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures the image fits inside */
}
.form-control {
  display: block;
  width: 100%;
  height: calc(1.5em + 0.75rem + 2px);
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #495057;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #ced4da;
  border-radius: 0.25rem;
  -webkit-transition: border-color 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;
  transition: border-color 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;
}
.form-control::placeholder {
  color: #3E5367;
  opacity: 0.5;
}
.form-control {
  background: #F7FAFF !important;
  font-size: 0.9rem !important;
  font-weight: 500 !important;
  border-radius: 2px !important;
  border-color: #C3CAD8 !important;
  border: 1px solid #3E53679E !important;
  font-weight: 600 !important;
}