@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');
/* Define the font-face first */
@font-face {
    font-family: 'Avenir';
    src: url('../fonts/AvenirLTStd-Medium.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap; /* Optional: controls how font loads */
}

:root {
    --primary: #0F4191;
    --primary-dark: #062d6d;
    --primary-light: #134ead;
    --primary-soft-light: #F1F5F9;
    --primary-faint: rgba(29, 28, 27, 0.05);
    --secondary: #FF9900;
    --grey: #E0DEDE;
    --white: #FFFFFF;
    --input-background: #f8f6f6;
    --input-color: #000000;
}

/* General Body and Container Styles */
body {
    margin: 0;
    font-family:"Roboto", sans-serif;
    background-color: #f0f0f0;
    display: flex;
    justify-content: center;
    min-height: 100vh;
}

.container {
    display: flex;
    width: 100%;
    background-color: #fff;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

/* Sidebar Styles */
.sidebar {
    width: 280px;
    /* Fixed width for the sidebar */
    background-color: var(--primary);
    /* Dark blue background */
    color: #fff;
    padding: 30px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
    /* Include padding in width */
}

.logo-section {
    text-align: center;
    margin-bottom: 60px;
}

.shap-logo {
    height: 120px;
    border-radius: 5px;
    display: block;
    margin: 0 auto 10px;
    padding: 10px;
}

.logo-text {
    font-family:"Roboto", sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.1;
    color: #ff9900;
}

.logo-subtext {
    font-size: 0.8rem;
    color: #a0a0a0;
    margin-top: 5px;
}

.steps-section {
    width: 100%;
    padding: 20px 0 20px;
    box-sizing: border-box;
}

.step {
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.step-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 20px;
    flex-shrink: 0;
    margin-bottom: 8px;
}

.step:last-child {
    border-bottom: none;
}

.step.active {
    color: var(--white);
    background-color: rgba(255, 153, 0, 0.0);
    border-radius: 5px;
}

.step-icon:active {
    background-color: rgba(255, 153, 0, 0.5);
    fill: var(--secondary);
}

/* Target SVG paths directly */
.step-icon .svg-icon .cls-1 {
    fill: var(--white); /* Default */
    transition: fill 0.3s ease;
}

/* Active/Hover States */
.step.active .step-icon .svg-icon .cls-1 {
    fill: var(--secondary); /* Active state */
}

.step-icon:active .svg-icon .cls-1,
.step-icon:hover .svg-icon .cls-1 {
    fill: var(--secondary); /* Click/Hover state */
}


.step-content {
    flex-grow: 1;
    padding-left: 15px;
    padding-right: 15px;
    margin-bottom: 20px;
}

.step-number {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 3px;
}

.step-description {
    font-size: 16px;
    padding: 10px 10px 5px 10px;
    text-align: center;
/*    color: var(--input-color);*/
}

.text-black {
    color: #000000 !important;
    font-size: 16px;
}
/* Main Content Styles */
.main-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    margin: -30px 10px 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    /* border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin: -30px 40px 40px;
    padding: 40px;
    position: relative;
    z-index: 3; */
}

/* Hero Section */
.hero-section {
    position: relative;
    width: 100%;
    height: 450px;
    /* Adjust height as needed */
    overflow: hidden;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6);
    /* Darken the image slightly */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    box-sizing: border-box;
}

    .hero-overlay p {
        color: var(--secondary);
        font-family: "Roboto", sans-serif;
        font-size: 3rem;
        font-weight: 600;
        line-height: 1.3;
        margin: 0;
        max-width: 900px;
        text-shadow: 4px 2px 4px rgba(0, 0, 0, 0.3); /* Adds a subtle shadow */
    }

    .hero-overlay .highlight {
        color: var(--white);
        /* Orange highlight for text */
    }


.photo-upload {
    border: 2px dashed #e9ecef;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    margin-bottom: 15px;
    cursor: pointer;
    transition: all 0.3s;
}

    .photo-upload:hover {
        border-color: var(--shap-blue);
        background-color: #f8f9fa;
    }

    .photo-upload i {
        font-size: 30px;
        color: #ccc;
        margin-bottom: 10px;
    }

.photo-limit {
    color: #dc3545;
    font-size: 12px;
    margin-bottom: 15px;
}

/* Report Section */
.report-section {
    padding: 40px 40px;
    flex-grow: 1;
}

    .report-section h2 {
        font-family: "Roboto", sans-serif;
        font-size: 46px;
        font-weight: 600;
        color: #FF9900;
        line-height:38px;
        margin-bottom: 40px;
    }

    .form-group {
        margin-bottom: 30px;
    }

    .form-group h3 {
        font-family:"Roboto", sans-serif;
        font-size: 1.85rem;
        font-weight: 600;
        color: var(--primary);
        margin-bottom: 10px;
    }

    .form-group h4 {
        font-family:"Roboto", sans-serif;
        font-size: 1.2rem;
        font-weight: 600;
        color: #333;
        margin-bottom: 10px;
    }

    .form-group p {
        font-size: 0.95rem;
        color: #666;
        line-height: 1.5;
        margin-bottom: 15px;
    }

input[type="text"] {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ccc;
    background-color: var(--input-background);
    border-radius: 10px;
    font-size: 16px;
    color: var(--input-color);
    box-sizing: border-box;
    margin-bottom: 20px;
    transition: border-color 0.3s;
}

    input[type="text"]::placeholder {
        color: #999;
    }

.map-placeholder {
    width: 100%;
    height: 400px;
    /* Fixed height for map */
    background-color: #e0e0e0;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
    border-radius: 5px;
    overflow: hidden;
    /* Ensure image fits */
}

    .map-placeholder img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        /* Cover the placeholder area */
    }

.optional-text {
    margin-top: 50px;
    /* Space before optional text field */
}

.btn-group {
    display: flex;
    justify-content: space-between;
    margin-top: 50px;
}

.blank-button {
    background-color: var(--white);
    color: var(--white);
    padding: 15px 40px;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: none;
    margin-right: 0; /* No left margin */
    transition: background-color 0.3s ease;
}

.next-button {
    background-color: var(--secondary);
    color: var(--primary);
    padding: 15px 40px;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    margin-right: 0; /* No left margin */
    transition: background-color 0.3s ease;
}

    .next-button:hover {
        background-color: var(--primary);
        color: var(--white);
    }



.back-button {
    background-color: #878a8e;
    color: var(--white);
    padding: 15px 40px;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    margin-left: 0; /* No right margin */
    transition: background-color 0.3s ease;
}

.back-button:hover {
    background-color: var(--input-color);
    color: var(--white);
}

/* Main Footer */
.footer-main {
    background-color: #fafafa;
    padding: 30px 60px;
    text-align: center;
    color: #555;
    font-size: 0.9rem;
}

.footer-main p {
    font-family:"Roboto", sans-serif;
    font-size: 2.25rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 30px;
    color: var(--secondary);
}


.footer-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    color: var(--primary);
    font-size: 16px;
    /* Space between elements */
}

.footer-links span {
    font-size: 0.8rem;
    color: var(--primary);
    white-space: nowrap;
    font-size: 14px;
    /* Prevent text from wrapping */
}

.footer-logo {
    height: 90px;
    width: 90px;
    width: auto;
    border: 1px solid var(--white);
    background: var(--white);
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .container {
        flex-direction: column;
        /* Stack columns on smaller screens */
    }

    .sidebar {
        width: 100%;
        padding: 20px 0;
        flex-direction: row;
        /* Layout sidebar items horizontally */
        justify-content: space-around;
        flex-wrap: wrap;
        border-bottom: 5px solid #ff9900;
        /* Add a separator */
    }

    .logo-section {
        margin-bottom: 40px;
        width: 100%;
    }

   .steps-section {
        width: 100%;
        padding: 0 10px;
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px;
    }

    .step {
        border-bottom: none;
        padding: 8px 10px;
        text-align: center;
        flex-direction: column;
        margin-top: 40px;
        min-width: 80px;
        flex: 1 0 auto;
    }

    .step.active {
        background-color: rgba(255, 153, 0, 0.1);
        border-radius: 8px;
    }

    .step-icon {
        margin-bottom: 5px;
        padding: 10px;
    }
    .step-icon svg {
        width: 30px;
        height: 30px;
        color: var(--grey);
        padding: 10px;
    }

    .report-section {
        padding: 30px 20px;
        /* Adjust padding for mobile */
    }

    .report-section h2 {
        font-size: 1.6rem;
        margin-bottom: 30px;
        font-family: inherit;
        font-weight: 600;
    }

    .hero-overlay p {
        font-size: 1.5rem;
    }

    .next-button {
        margin-left: auto;
        margin-right: auto;
        /* Center button on smaller screens */
    }

    .footer-main {
        padding: 20px;
    }

    .footer-links {
        flex-direction: column;
        /* Stack footer links vertically */
    }
}



@media (max-width: 576px) {
    .hero-section {
        height: 0px;
    }

    .hero-overlay p {
        font-size: 1.2rem;
    }

    .steps-section {
        flex-direction: row;
        justify-content: space-between;
    }

    .step {
        flex-direction: column;
        align-items: center;
        text-align: center;
        flex: 1;
        margin-bottom: 10px;
    }

  

    .step.active {
        color: var(--white);
        background-color: rgba(255, 255, 255, 0.0);
        border-radius: 5px;
    }

    .step-icon {
        width: 60px;
        height: 60px;
        background-color: rgba(255, 255, 255, 0.2);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 20px;
        font-size: 20px;
        flex-shrink: 0;
        margin-bottom: 8px;
    }

    .step-icon:active {
        background-color: rgba(255, 153, 0, 0.8);
    }

    .svg-icon .cls-1 {
        fill: var(--white); /* Default color */
        transition: fill 0.3s ease;
    }

    .svg-icon.active .cls-1,
    .svg-icon:active .cls-1 {
        fill: var(--secondary); /* Active color */
    }

    .step-number {
        font-size: 12px;
        align-items: center;
        text-align: center;
    }

    .step-description {
        display: none;
    }

    .report-section h2 {
        font-size: 1.3rem;
    }

    .form-group h3,
    .form-group h4 {
        font-size: 1.1rem;
    }

    .form-group p {
        font-size: 0.9rem;
    }

    .map-placeholder {
        height: 250px;
    }

    .footer-main p {
        font-size: 1rem;
    }
}


.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
}

.modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 800px;
    border-radius: 8px;
    position: relative;
}

.close-modal {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

    .close-modal:hover {
        color: black;
    }

/* Modern Table Styling */
.modal-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

    .modal-table thead {
        background-color: var(--input-background);
        color: black;
    }

    .modal-table td {
        padding: 12px 15px;
        border: 1px solid #e0e0e0;
        vertical-align: top;
    }

    .modal-table tr:nth-child(even) {
        background-color: #f9f9f9;
    }

    .modal-table tr:hover {
        background-color: #f1f1f1;
    }

    .modal-table b {
        color: var(--primary-dark);
        font-weight: 600;
    }

    .modal-table tr:first-child td {
        font-weight: bold;
        text-align: center;
        font-size: 1.1em;
    }


/* Google Translate Styles */

/* Floating Language Button Container */
.floating-language-bar {
    position: fixed;
    top: 45px;
    right: 20px;
    z-index: 1000;
}

/* Google Translate Element Container */
#google_translate_element {
    width: 100%;
    padding: 10px;
    display: flex;
    justify-content: center;
}

/* Google Translate Dropdown */
.goog-te-combo {
    width: 100% !important;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
    background: white;
    color: #333;
    font-size: 16px;
    text-align: center;
    text-align-last: center; /* For Firefox */
}

/* Fix for the dropdown positioning */
.goog-te-menu-frame {
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    z-index: 999999 !important;
    max-width: 400px;
    width: auto !important;
    height: auto !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}

    /* Show the dropdown when active */
    .goog-te-menu-frame.skiptranslate {
        display: flex !important;
        visibility: visible !important;
    }

/* Language selector dialog styles */
.bottom-dialog {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    padding: 20px;
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -5px 15px rgba(0,0,0,0.1);
    z-index: 1001;
    text-align: center;
}

    .bottom-dialog.show {
        display: block;
        animation: slideUp 0.3s ease-out;
    }

.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
}

.close-button {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
}

/* Remove Google's default styling */
.goog-te-banner-frame {
    display: none !important;
}

.goog-te-gadget {
    color: transparent !important;
}

/* Fix for the language dropdown arrow and centering */
.goog-te-combo {
    appearance: menulist !important;
    -webkit-appearance: menulist !important;
    -moz-appearance: menulist !important;
    text-align: center;
    text-align-last: center;
}

/* Dropdown content centering */
.goog-te-menu2 {
    margin: 0 auto !important;
    text-align: center !important;
}

.goog-te-menu2-item {
    text-align: center !important;
    justify-content: center !important;
}

/* Center the dropdown arrow in select */
.goog-te-combo::-ms-expand {
    display: none;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }

    to {
        transform: translateY(0);
    }
}