:root {
    --font-family-base: 'Lato', sans-serif;
}

* {
    font-family: var(--font-family-base);
    --dark-blue: #13225F;
    --light-blue: #2D80C3;
    --red: #D8282E;
    --white: #FFFFFF;
    --black: #000000;
    --gray: #707070;
}

body {
    overflow: auto;
}

.app_container {
    min-height: 100vh;
    border: 1px solid var(--black);
}

.app_container .main_app {
    flex-grow: 1;
    height: 100vh;
    overflow: auto;
    padding-inline: 2.5rem 3rem;
}

.app_container .main_front .header_front {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 2000px;
    margin: auto;
    padding-inline: min(5%, 3.5rem);
    padding-block: 1rem;
}

.app_container .main_front .header_front img {
    min-width: 100px;
}

.navigation_front ul {
    display: flex;
    align-items: center;
    gap: 2.6rem;
}

.navigation_front ul a {
    color: #3D3D3D;
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 25.3px;
}

.sidebar {
    padding: 1.9rem 0 1.9rem 2rem;
    height: 100vh;
    overflow-y: scroll;
    min-width: 20%;
    box-shadow: 0 0 12px 1px rgba(0, 0, 0, 0.2);
}

.header_sidebar {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 3.75rem;
}

.header_sidebar img {
    border-radius: 5px;
}

.navigation_sidebar a {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-block: 1.2rem;
    padding-right: 2rem;
    font-size: .9rem;
    border-bottom: 1px solid var(--gray);
}

.c3m_button a{
    color: var(--white, #FFF);
    background-color: var(--light-blue);
    text-align: center;
    font-size: 14px;
    font-weight: 700;
    padding: 1rem 2rem;
    border-radius: .5rem;
    transition: all .4s;
}

.c3m_button a:hover {
    background-color: var(--dark-blue);
}

.navigation_sidebar a:last-child, .navigation_sidebar a:nth-last-child(2) {
    border-bottom: none;
}

.navigation_sidebar a.active img{
    filter: brightness(0) saturate(100%) invert(26%) sepia(25%) saturate(7393%) hue-rotate(341deg) brightness(86%) contrast(96%);
}

.logout.logout {
    padding-bottom: 0;
    color: var(--red);
}

.navigation_sidebar a img {
    min-width: 24px;
    min-height: 24px;
}

.name_auth {
    color: #000;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 2px;
}

.muted_text {
    color: var(--dark-blue);
    opacity: 0.6;
    font-size: 12px;
    font-weight: 400;
}

.language_selector {
    color: var(--black);
    font-size: 29.785px;
    font-weight: 700;
    line-height: 175.023%;
}

.head_bar {
    padding-right: 1rem;
    padding-block: 1.5rem;
}

.head_links {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-right: 3rem;
}

.language-switcher button{
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 175.023%; /* 52.131px */
}

.language-switcher span {
    width: 4px;
    height: 22px;
    background-color: var(--black);
    margin-inline: 6px;
}

/* Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: var(--dark-blue) transparent;
}

/* Chrome, Edge, Safari */
::-webkit-scrollbar {
  width: 1px;
  height: 1px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg,var(--dark-blue),#5CB8B3);
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg,#5CB8B3,var(--dark-blue));
}

.head_bar_guest{
    padding-block: 25px;
    padding-inline: 3.2rem 3rem;
}

.grid_login_form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.1rem;
    min-height: calc(100vh - 80px);
    background-image: url('../images/background.png');
    background-position: center;
    background-size: cover;
    padding: 22px 29px 2rem 2rem;
}

.grid_login_form form {
    background-color: var(--white);
    padding: 6rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.forgot_password{
    color: var(--red);
}

.btn_login_container button, .reset_password button{
    color: var(--white);
    font-size: 15px;
    font-weight: 700;
    background-color: var(--dark-blue);
    padding: 1rem 1.9rem;
    border-radius: .35rem;
}

.grid_login_form form > div {
    width: 100%;
}

.grid_login_form form > div input {
    border: .5px solid #2D2C2C;
}

.grid_login_form form h2 {
    color: #070707;
    font-size: 40px;
    margin-bottom: 2.2rem;
    font-weight: 900;
    width: 100%;
}

.grid_login_form form p {
    color: #6F7070;
    font-size: 17px;
    font-weight: 400;
    margin-bottom: 2rem;
    width: 100%;
}

.grid_login_form form > div input[type="checkbox"] {
    width: 14px;
    height: 14px;
    border-radius: 0;
}

.content_staff_login  {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.content_staff_login h2, .content_staff_login p {
    margin-left: 2rem;
}

.content_staff_login h2 {
    color: var(--white);
    font-size: 30px;
    font-weight: 900;
    margin-block: 2.5rem;
}

.content_staff_login p {
    color: var(--white);
    font-size: 17px;
    font-weight: 400;
}

#menu-toggle {
    opacity: 0;
    pointer-events: none;
}

/* --- 1. General & Reset --- */
.header_front {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: relative;
    z-index: 100;
}

.logo_front img {
    display: block;
    max-height: 50px;
}

/* Hide checkbox used for logic */
.menu_checkbox {
    display: none;
}

/* Link Resets */
.navigation_front ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.navigation_front a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.navigation_front a:hover {
    color: var(--light-blue); /* Your blue color */
}

.hero_front {
    display: grid;
    grid-template-columns: 1fr 1fr;
    position: relative;
    padding: 3rem min(3.5rem, 5%);
}

.visual_hero {
    position: inherit;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero_front .yellow_box {
    position: absolute;
    bottom: 0;
    z-index: -2;
}

.content_hero {
    margin-block: 3rem 1rem;
}

.book_appointement {
    margin-inline: min(5%, 3rem);
    margin-block: 3rem min(5%, 2rem);
}

.book_appointement h2 {
    color: #1F62B1;
    font-size: 2.1rem;
    font-weight: 700;
    line-height: 42.167px;
}

.book_appointement .book_engine form{
    display: flex;
    margin-top: 3.3rem;
    width: 100%;
    background-color: var(--white);
    border-radius: 10px;
    padding: 1rem;
    gap: 1rem;
    align-items: center;
}

.book_appointement .book_engine form span {
    width: 2px;
    height: 55px;
    background-color: var(--black);
    margin-inline: 1rem;
}

.book_appointement .book_engine form button {
    border-radius: 9.933px;
    background: #1F62B1;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    gap: 4rem;
    box-shadow: -6.622px 6.622px 23.178px 0 rgba(0, 0, 0, 0.06);
}

.book_appointement .book_engine form select:focus {
    border: none;
    box-shadow: none;
}

.book_appointement .book_engine form select {
    border: none;
    flex-grow: 1;
    border-radius: 10px;
    cursor: pointer;
    appearance: none;
    background-repeat: no-repeat;
    padding: 1rem;
    background-position: calc(100% - 2rem);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='11' viewBox='0 0 18 11' fill='none'%3E%3Cpath d='M16.5 1.5L9 9.5L1.5 1.5' stroke='%231E63B1' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.book_appointement .book_engine {
    border-radius: 0 29.52px 29.517px 29.517px;
    border: 2.108px solid #FFEA03;
    background: #FFFEED;
    box-shadow: 3.291px 9.873px 23.038px 0 rgba(0, 0, 0, 0.06);
    padding: min(5%, 3rem);
}

.book_headline {
    width: fit-content;
    display: flex;
    align-items: center;
    gap: 2rem;
    color: var(--white);
    padding: 1rem 2.5rem;
    border-radius: 1rem 1rem 0 0;
    background-color: var(--light-blue);
    font-size: 25.15px;
    font-weight: 400;
}

.line_holder {
    padding-bottom: 3rem;
}

.content_hero p {
    color: #4F4F4F;
    font-size: 1.2rem;
    font-weight: 500;
    line-height: 35px;
}

.content_hero p span {
    color: var(--light-blue);
}

.content_hero h1{
    color: #3D3D3D;
    font-size: 4rem;
    font-weight: 700;
    line-height: 80.522px;
    margin-bottom: 2.6rem;
}

.content_hero h1 span {
    color: var(--light-blue);
}

.line_holder {
    background-image: url('../images/front/Vector\ 1.svg');
    background-size: contain;
    background-position: 100% 65%;
    background-repeat: no-repeat;
}

.happy_customers {
    border-radius: 9.873px;
    border: 1.646px solid #092A6A;
    background: #FFF;
    box-shadow: 3.291px 9.873px 23.038px 0 rgba(0, 0, 0, 0.06);
    padding: 20px 24px;
    position: absolute;
    right: 0;
    top: 60%;
    transform: translateY(-50%);
}

.happy_customers .image_count {
    width: max-content;
    display: flex;
    align-items: center;
}

.easy_appointement {
    border-radius: 10.542px;
    background: var(--Neutrals-0, #FFF);
    box-shadow: -8.433px 8.433px 29.517px 0 rgba(0, 0, 0, 0.06);
    padding: 9px 25px;
    display: flex;
    align-items: center;
    gap: 13px;
    position: absolute;
    left: 0;
    top: 80%;
    transform: translateY(-50%);
}

.easy_appointement p {
    width: max-content;
    color: #1E63B1;
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 21.083px; /* 125% */
}

.qoutes {
    border-radius: 12.65px;
    border: 2.108px solid #FFEA03;
    padding: 21px 25px;
    background: #FBFDFF;
    box-shadow: 3.291px 9.873px 23.038px 0 rgba(0, 0, 0, 0.06);

    position: absolute;
    bottom: -10%;
    right: 0;
}

.qoutes img {
    margin-top: -3.5rem;
    margin-bottom: 1rem;
}

.qoutes p {
    color: var(--Neutrals-900, #3D3D3D);
    font-size: 14.758px;
    font-weight: 500;
    line-height: 18.975px; /* 128.571% */
    max-width: 265px;
}

.happy_customers h3 {
    color: #1E63B1;
    font-size: 16.455px;
    font-weight: 700;
    line-height: 23.038px; /* 140% */
    margin-top: 7px;
}

.happy_customers .stars_count {
    color: var(--Neutrals-500, #6D6D6D);
    font-size: 13.164px;
    font-weight: 700;
    line-height: 16.455px; /* 125% */
    display: flex;
    gap: 7px;
    margin-top: 7px;
}

.happy_customers .image_count img:nth-child(2), .happy_customers .image_count img:nth-child(3), .happy_customers .image_count img:nth-child(4) {
    margin-left: -.65rem;
}

.happy_customers .image_count img:nth-child(4) {
    margin-right: 7px;
}

.image_count .number {
    color: var(--Neutrals-900, #3D3D3D);
    font-size: 23.038px;
    font-weight: 700;
    line-height: 26.329px;
    display: flex;
}

.image_count .number span {
    color: var(--dark-blue);
}

.why_us {
    padding: min(5%, 3rem) min(7%, 5rem);
}

.why_us h2, .about_ehealth h2 {
    color: #3D3D3D;
    text-align: center;
    font-size: 42.167px;
    font-weight: 700;
    line-height: 54.817px;
    margin-bottom: 2rem;
}

.why_us p {
    color: #B0B0B0;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 600;
    max-width: 600px;
    margin: auto;
    line-height: 25.3px; /* 150% */
}

.why_us h2 span, .about_ehealth h2 span {
    color: var(--light-blue);
}

.grid_why_us {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    max-width: 1200px;
    margin: 50px auto;
    padding: 0 20px;
}

.grid_why_us > div {
    border-radius: 25.3px;
    border: 2.108px solid #1E63B1;
    background: #FFF;
    box-shadow: 3.291px 9.873px 23.038px 0 rgba(0, 0, 0, 0.06);
    padding: 2.1rem;
    transition: transform 0.3s;
    box-sizing: border-box;
}

.grid_why_us > div:hover {
    transform: translateY(-5px);
}

.grid_why_us img {
    width: 50px;
    height: 50px;
    margin-bottom: 20px;
}

.grid_why_us h3 {
    color: #1E63B1;
    font-size: 21.083px;
    font-weight: 700;
    line-height: 21.083px; /* 100% */
    margin: 0 0 15px 0;
}

.grid_why_us p {
    color: #6D6D6D;
    font-size: 14.758px;
    font-weight: 600;
    text-align: start;
    line-height: 25.3px; /* 171.429% */
}

.elm_gwu_1 { 
    width: calc(60% - 18px); 
}

.elm_gwu_2 { 
    width: calc(40% - 12px); 
}

.elm_gwu_3, 
.elm_gwu_4, 
.elm_gwu_5 { 
    width: calc((100% - 60px) / 3);
}

.about_ehealth {
    margin: min(5%, 3rem);
    border-radius: 29.517px;
    border: 2.108px solid #1E63B1;
    background: #FFFEED;
    box-shadow: 3.291px 9.873px 23.038px 0 rgba(0, 0, 0, 0.06);
    padding: min(5%, 2.5rem) min(7%, 3.5rem);
}

.grid_about {
    display: grid;
    grid-template-columns: 40% 55%;
    gap: 5%;
}

.content_about_ehealth {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1rem;
}

.content_about_ehealth p{
    color: #6D6D6D;
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 25.3px; /* 150% */
}

.content_about_ehealth a {
    width: fit-content;
    padding: 1.2rem 2.2rem;
    border-radius: 12.65px;
    background: #1E63B1;
    box-shadow: -8.433px 8.433px 29.517px 0 rgba(0, 0, 0, 0.06);
    color: var(--white);
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 25.3px; /* 100% */
}

/* Gemini 3 code here */
/* --- Typography & Colors --- */

.text_blue {
    color: #1E63B1; /* Using the blue from your FAQ styles */
}

/* H2 Styles (Global for all sections) */
.works_header h2, 
.section_header h2 {
    color: #3D3D3D;
    text-align: center;
    
    font-size: 42.167px;
    font-style: normal;
    font-weight: 700;
    line-height: 54.817px;
    margin-bottom: 2rem;
}

/* Paragraph under H2 (Global for headers) */
.works_header p, 
.section_header p {
    color: #B0B0B0; /* Neutrals-300 */
    text-align: center;
    
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 25.3px;
    max-width: 650px;
    margin: 0 auto;
    border: none; /* Removed border from previous iteration */
    padding: 0;
}

/* --- Layout Wrappers --- */

.content_wrapper {
    margin: 0 min(10%, 5rem);
    max-width: 1200px;
    margin-inline: auto;
    padding-inline: min(5%, 3rem);
}

.section_platform_works,
.section_partners,
.section_faq,
.section_help {
    padding: 60px 0;
}

.section_platform_works .content_wrapper {
    max-width: 1100px;
}

.works_header, .section_header {
    margin-bottom: 50px;
}

/* --- Platform Works Section --- */

.works_grid {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: min(10%, 4rem);
}

.works_steps {
    flex: 1;
    min-width: 300px;
}

.step_item {
    display: flex;
    gap: 20px;
    padding-bottom: 3.5rem;
    position: relative;
}

.step_item:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 18px;
    top: 38px;
    bottom: -20px;
    height: 100%;
    border-left: 3px dotted #1E63B1;
}

.step_number {
    width: 40px;
    height: 40px;
    background-color: #ffd700;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    color: #1E63B1;
    flex-shrink: 0;
    z-index: 1;
    
}

.step_content h3 {
    margin: 0 0 5px;
    color: #1E63B1;
    font-size: 2.1rem;
    font-weight: 700;
    line-height: 42.167px; /* 125% */
}

/* Platform Step Paragraph Styles */
.step_content p {
    color: #6D6D6D; /* Neutrals-500 */
    
    font-size: 14.758px;
    font-style: normal;
    font-weight: 600;
    line-height: 25.3px;
    margin: 0;
}

.works_image {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: center;
}

/* --- Partners Section --- */

.partners_logos {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.logo_item {
    flex: 1;
    min-width: 120px;
}

.logo_placeholder {
    width: 100%;
    height: 60px;
    background-color: #f9f9f9;
}

.carousel_indicators {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 3rem;
}

.indicator {
    width: 45px;
    height: 8px;
    background-color: #555;
    border-radius: 1rem;
}

.indicator.text_yellow {
    background-color: #ffd700;
}

/* --- Partners Slider Layout --- */
.partners_slider {
    width: 100%;
    overflow: hidden; /* Hides the content that goes outside */
    white-space: nowrap;
    position: relative;
    padding: 20px 0;
}

.partners_track {
    display: flex;
    align-items: center;
    gap: 50px; /* Space between logos */
    width: max-content; /* Ensure track is as wide as content */
    
    /* Animation Configuration */
    animation: scroll_left 20s linear infinite; 
}

/* Pause animation on hover (Optional, good for UX) */
.partners_track:hover {
    animation-play-state: paused;
}

.logo_item img {
    height: 60px; /* Adjust height as needed */
    width: auto;
    object-fit: contain;
}

/* --- The Animation Keyframes --- */
@keyframes scroll_left {
    0% {
        transform: translateX(0);
    }
    100% {
        /* Move exactly half the width (since we duplicated the logos) */
        transform: translateX(-50%);
    }
}

/* Footer */

    .site_footer {
    background-color: #155CAB; /* Matches the specific blue in the image */
    padding: 60px 0 30px;
    font-family: 'Manrope', sans-serif;
    color: #FFD700; /* Yellow text color */
}

.footer_top {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.footer_column {
    flex: 1;
    min-width: 160px;
}

.brand_col {
    flex: 1.5; /* Makes the first column slightly wider */
    max-width: 300px;
}

.footer_logo img {
    height: 40px;
    background: white;
    padding: 5px 10px;
    display: block;
    margin-bottom: 20px;
}

.footer_desc {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 25px;
    color: #FFD700;
    max-width: 250px;
}

.social_links {
    display: flex;
    gap: 15px;
}

.social_icon {
    color: #FFD700;
    transition: opacity 0.3s;
    display: flex;
    align-items: center;
}

.social_icon:hover {
    opacity: 0.8;
}

.footer_column h4 {
    color: #FFD700;
    font-size: 1rem;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 25px;
}

.footer_column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer_column ul li {
    margin-bottom: 15px;
}

.footer_column ul li a {
    color: #FFD700;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: opacity 0.2s;
}

.footer_column ul li a:hover {
    text-decoration: underline;
}

.divider {
    height: 1px;
    background-color: #FFD700;
    width: 100%;
    margin-bottom: 20px;
    opacity: 0.5;
}

.footer_bottom {
    display: flex;
    flex-direction: column;
    align-items: flex-end; /* Aligns copyright to the right */
}

.copyright {
    color: #FFD700;
    font-size: 13px;
    margin: 0;
}

@media (max-width: 991px) {
    .footer_top {
        flex-direction: column;
        gap: 40px;
    }
    
    .brand_col {
        max-width: 100%;
    }

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

/* Footer */

/* --- FAQ Section --- */

.faq_container {
    max-width: 800px;
    margin: 0 auto;
}

.faq_item {
    border: 1px solid #1E63B1;
    margin-bottom: 15px;
    overflow: hidden;
    background: white;
}

.faq_question {
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    
    /* FAQ Title Styles */
    color: #1E63B1;
    border-radius: 1rem;
    border: 1px solid #1E63B1;
    background: #FFFEED;
    font-size: 1.2rem;
    font-weight: 600;
}

.faq_item.active_yellow {
    background-color: #ffe600;
    border-color: #ffe600;
}

.faq_item.active_yellow .faq_question {
    color: #333; /* Dark text on yellow background for better contrast */
}

.faq_answer {
    padding: 0 20px 20px;
}

/* FAQ Paragraph Styles */
.faq_answer p {
    color: #1E63B1;
    text-align: justify;
    
    font-size: 1rem;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    margin: 0;
}

/* --- FAQ Container --- */
.faq_container {
    max-width: 800px;
    margin: 0 auto;
}

.faq_item {
    border: 1px solid #1E63B1;
    border-radius: 1rem;
    margin-bottom: 15px;
    overflow: hidden;
    background: white;
    transition: all 0.3s ease;
}

/* 1. HIDE THE RADIO BUTTONS */
.faq_item input[type="radio"] {
    display: none;
}

/* 2. QUESTION STYLING (THE LABEL) */
.faq_question {
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    width: 100%;
    box-sizing: border-box; /* Ensures padding doesn't break width */
    
    /* Typography */
    color: #1E63B1;
    font-family: 'Manrope', sans-serif;
    font-size: 24px;
    font-weight: 600;
    transition: background-color 0.5s ease, color 0.5s ease;
}

/* Arrow Animation */
.arrow_icon img {
    min-width: 28px;
    transition: transform 0.5s ease;
    transform: rotate(180deg); /* Default state: Pointing down (assuming img is up arrow) */
}

/* 3. ANSWER STYLING (Closed by default) */
.faq_answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out, padding 0.5s ease;
    padding: 0 20px; /* 0 top/bottom padding when closed */
}

.faq_answer p {
    color: #1E63B1;
    text-align: justify;
    font-size: 1rem;
    font-weight: 500;
    margin: 0;
}

/* --- 4. OPEN STATE LOGIC (When Radio is Checked) --- */

/* Change Background Color */
.faq_item input[type="radio"]:checked ~ .faq_question {
    background-color: #ffe600;
    border: none;
}

/* Rotate Arrow */
.faq_item input[type="radio"]:checked ~ .faq_question .arrow_icon img {
    transform: rotate(0deg); 
}

/* Reveal Answer */
.faq_item input[type="radio"]:checked ~ .faq_answer {
    max-height: 200px; 
    background-color: #ffe600;
    padding: .5rem 1rem 1.5rem 1rem;
}

/* Optional: Remove border bottom radius when open */
.faq_item input[type="radio"]:checked ~ .faq_question {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

/* --- Help/Contact Section --- */

.help_form {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.input_group {
    position: relative;
    flex: 1;
    max-width: 300px;
    min-width: 250px;
}

.input_group input {
    width: 100%;
    padding: 12px 15px 12px 45px;
    border: 1px solid #1E63B1;
    border-radius: 5px;
    outline: none;
    box-sizing: border-box;
    
}

.input_group .icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #1E63B1;
}

.btn_contact {
    background-color: #ffd700;
    color: #1E63B1;
    border: none;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    min-width: 150px;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: .5rem;
}

/* --- Mobile Responsiveness --- */

@media (max-width: 768px) {
    .works_header h2, 
    .section_header h2 {
        font-size: 32px; /* Adjusted for mobile */
        line-height: 1.3;
    }
    
    .works_grid {
        flex-direction: column;
    }
    
    .partners_logos {
        justify-content: center;
    }
    
    .help_form {
        flex-direction: column;
        align-items: center;
    }
    
    .input_group {
        width: 100%;
    }
}

/* Gemini 3 code here */

@media screen and (max-width: 1100px) {
    .navigation_front ul a {
        font-size: .9rem;
    }
}

/* --- 2. Mobile Styles (< 992px) --- */
@media screen and (max-width: 991px) {

    .grid_why_us { 
        flex-direction: column; 
    }
    
    .grid_why_us > div { 
        width: 100%; 
    }
    
    /* Hamburger Icon Styling */
    .hamburger_icon {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 21px;
        cursor: pointer;
        z-index: 102; /* Above the menu */
    }

    .grid_about {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .grid_about img {
        margin: auto;
    }

    .book_appointement .book_engine {
        border-radius: 0 0 29.517px 29.517px;
    }

    .book_appointement .book_engine form {
        flex-direction: column;
    }
    
    .book_engine {
        padding: 0;
    }
    
    .book_appointement .book_engine form select, .book_appointement .book_engine form select:focus {
        border: 1px solid var(--black);
        width: 100%;
    }

    .book_appointement .book_engine form span {
        display: none;
    }

    .navigation_front ul a {
        font-size: 1.1rem;
    }

    .hamburger_icon span {
        display: block;
        height: 3px;
        width: 100%;
        background-color: #333;
        border-radius: 3px;
        transition: all 0.3s ease;
    }

    /* The Drawer (Nav Wrapper) */
    .nav_wrapper {
        position: fixed;
        top: 0;
        right: -100%; /* Hidden off-screen */
        width: 80%; /* Width of the drawer */
        max-width: 300px;
        height: 100vh;
        background-color: white;
        flex-direction: column;
        padding: 80px 30px 30px; /* Top padding for logo space */
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        transition: right 0.3s ease-in-out;
        z-index: 101;
        display: flex;
        gap: 30px;
    }

    .navigation_front ul {
        flex-direction: column; /* Stack links vertically */
        gap: 25px;
    }

    .button_connexion {
        width: 100%;
    }
    
    .button_connexion a {
        display: block;
        text-align: center;
    }

    /* Overlay (Darkens background when menu is open) */
    .menu_overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.5);
        opacity: 0;
        visibility: hidden;
        transition: 0.3s;
        z-index: 100;
    }

    /* --- LOGIC: When Checkbox is Checked --- */
    
    /* Slide in the menu */
    .menu_checkbox:checked ~ .nav_wrapper {
        right: 0;
    }

    body:has(.menu_checkbox:checked) {
        overflow: hidden;
    }

    /* Show the overlay */
    .menu_checkbox:checked ~ .menu_overlay {
        opacity: 1;
        visibility: visible;
    }

    /* Animate Hamburger into an X */
    .menu_checkbox:checked ~ .hamburger_icon span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    .menu_checkbox:checked ~ .hamburger_icon span:nth-child(2) {
        opacity: 0;
    }
    .menu_checkbox:checked ~ .hamburger_icon span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
}

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

    .happy_customers {
        top: 55%;
    }

    .easy_appointement {
        top: 5%;
    }
}

/* --- 3. Desktop Styles (>= 992px) --- */
@media screen and (min-width: 992px) {
    
    .hamburger_icon {
        display: none; /* Hide hamburger */
    }
    
    .menu_overlay {
        display: none; /* No overlay needed */
    }

    /* Nav Wrapper Layout */
    .nav_wrapper {
        display: flex;
        align-items: center;
        width: 75%;
        justify-content: flex-end; /* Push content to the right */
        gap: 40px; /* Space between Links and Button */
    }

    .navigation_front {
        margin-right: auto; /* Optional: centers nav if you remove justify-content */
        margin-left: 40px; /* Space from logo */
    }

    .navigation_front ul {
        flex-direction: row;
        gap: 30px; /* Space between links */
    }
}