/* common.css file */
body {
    font-family: 'Montserrat', sans-serif;
  }
  
  .navbar-join-button {
    margin-right: 10px;
}

/* Navbar styles */
.navbar {
    width: 100%;
    padding: 15px 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: white;
    transition: top 0.3s;
}

.navbar h1 {
    margin-left: 50px;
    margin: 0;
    font-size: 24px;
    color: #6ec1e4;
}

.navbar h1 a {
    text-decoration: none;
    color: #6ec1e4;

}

.navbar ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 20px;
    align-items: center; /* Vertically align nav items */

}

.navbar ul li {
    /* display: inline; */
    margin-right: 50px;

    display: flex; /* Ensure consistent alignment for all items */
    align-items: center; /* Center nav items */
}

.navbar ul li a {
    text-decoration: none;
    color: black;
    font-weight: bold;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    margin-right: 50px;
    z-index: 1001; /* Ensure the hamburger menu button is above the navbar ul */
    position: relative;
}

.hamburger div {
    width: 25px;
    height: 3px;
    background-color: black;
    margin: 4px 0;
    transition: all 0.3s ease;
}

.hamburger.open div:nth-child(1) {
    transform: rotate(45deg);
    position: absolute;
}

.hamburger.open div:nth-child(2) {
    opacity: 0;
}

.hamburger.open div:nth-child(3) {
    transform: rotate(-45deg);
    position: absolute;
}

.navbar ul.open {
    display: flex;
}

@media (max-width: 900px) {
    .navbar ul {
        display: none;
        flex-direction: column;
        width: 100%;
        height: 100vh;
        text-align: center;
        background-color: rgba(255, 255, 255, 0.9);
        position: absolute;
        top: 0;
        left: 0;
        justify-content: center;
        align-items: center;
        z-index: 1000;
    }

    .navbar ul.open {
        display: flex;
    }

    .navbar ul li {
        margin: 10px 0;
    }

    .hamburger {
        display: flex;
    }





    .navbar {
        flex-wrap: nowrap;
        justify-content: space-between;
    }

    .navbar-join-button {
        order: 2;
        margin-left: auto;
        margin-right: 10px;
    }
    .navbar-right {
        display: flex;
        align-items: center;
        gap: 20px;
        margin-left: auto;
    }

    .hamburger {
        order: 3;
    }

    .navbar-menu {
        order: 4;
    }
}









/* JOIN WIDGET */

.profile-widget {
    position: relative;
    display: inline-block;
  }
  
  .profile-toggle {
    background: none;
    border: 0.5px rgb(176, 176, 176) solid;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    border-radius: 30px;
    padding: 10px ;
  }
  
  .profile-toggle img {
    width: 24px;
    height: 24px;
  }
  
  .profile-dropdown {
    display: none;
    position: absolute;
    top: 48px;
    right: 0;
    background-color: #fff;
    border: 1px solid #ddd;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    z-index: 1000;
    min-width: 160px;
    padding: 0.5rem 0;
    overflow: hidden;
  }
  
  /* Style for both button and anchor items inside dropdown */
  .profile-dropdown a,
  .profile-dropdown button {
    display: block;
    width: 100%;
    text-align: left;
    padding: 10px 16px;
    text-decoration: none;
    background: none;
    border: none;
    color: #333;
    font-size: 14px;
    font-family: inherit;
    cursor: pointer;
    transition: background-color 0.2s ease;
  }
  
  .profile-dropdown a:hover,
  .profile-dropdown button:hover {
    background-color: #f2f2f2;
    color: #6ec1e4;
    font-weight: 700;
    text-decoration: none;
  }
  
  /* Improve responsiveness */
  @media (max-width: 900px) {
    .profile-dropdown {
      right: 10px;
    }
  }
  
  

















/* Footer styles */
.footer {
    width: 100%;
    padding: 20px;
    box-shadow: 0 -4px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    box-sizing: border-box;
    color: black;
    margin-top: auto; /* Push the footer to the bottom */
    border-radius: 30px 30px 0px;

}

.footer .column {
    flex: 1 1 calc(25% - 40px);
    margin: 10px;
}

.footer h3 {
    margin-top: 0;
}

.footer a {
    text-decoration: none;
    color: black;
}

.footer a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .footer .column {
        flex: 1 1 calc(50% - 20px);
    }
}

@media (max-width: 480px) {
    .footer .column {
        flex: 1 1 100%;
    }
}




.contact-form{
    background-color: rgb(81, 132, 153);
    border-radius: 30px;
    padding: 30px;
}

.contact-form input{
    border-radius: 30px;
    padding: 40px;
    /* padding: 30px; */
}




/* animation code */

/* Initial state: Hide elements before they appear */
.step, .feature {
    opacity: 0;
    transform: translateY(50px); /* Moves down slightly */
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* Visible state: Fade in and move up */
.step.visible, .feature.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Add a slight delay for a staggered effect */
.step:nth-child(1), .feature:nth-child(1) { transition-delay: 0.1s; }
.step:nth-child(2), .feature:nth-child(2) { transition-delay: 0.2s; }
.step:nth-child(3), .feature:nth-child(3) { transition-delay: 0.3s; }

/* Chevron Animation */
.chevron-container {
    animation: bounce 1.5s infinite;
}
@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}






/* FORM STYLING */


.form-container {
    padding: 20px;
    border-radius: 8px;
    position: relative;
    top: 40%;
    /* left: 10%; */
    transform: translateY(-50%);
    width: 80%;
    max-width: 500px;
    
}

.form-container h2 {
    text-align: center;
    margin: 20px 0;
    font-weight: 700;
    font-size: 25px;
}

.form-container h3{
    font-weight: 700;
}


form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

input[type="text"],
select {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 15px;
    font-size: 16px;
    color: black;
}

input[name="address"] {
    width: 100%;
}


.input-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
    max-width: 600px; /* Adjust max width as desired */
}

#tags {
    width: 100%;
    height: 60px; /* Increase height for a larger input field */
    font-size: 1.2rem; /* Increase font size */
    padding-right: 50px; /* Add padding for icon space */
    padding-left: 20px; /* Add left padding for better spacing */
    box-sizing: border-box;
    border: 2px solid #ccc;
    border-radius: 20px;
}

.input-icon {
    position: absolute;
    right: 15px; /* Position icon inside input field */
    top: 50%;
    transform: translateY(-50%);
    width: 24px; /* Adjust icon size */
    height: 24px;
    pointer-events: none; /* Allows clicks to pass through the icon */
    fill: #999; /* Adjust icon color */
}



.contact-container {
    display: flex;
    flex-wrap: wrap; /* Enable wrapping for responsive design */
    gap: 2px; /* Add spacing between text and form */
    align-items: flex-start; /* Align items at the top */
    justify-content: space-between;
    padding: 40px; /* Add padding to the container */
    box-sizing: border-box; /* Ensure padding doesn't affect width */
}

.contact-text {
    flex: 1; /* Allow text section to take available space */
    max-width: 40%; /* Limit width for larger screens */
    color: black;
    padding: 40px; /* Add padding to the text section */
}

.contact-text h2 {
    font-size: 28px; /* Slightly larger font for the heading */
    margin-bottom: 15px;
    color: #8ac7e3;
}

.contact-text p {
    font-size: 18px; /* Slightly larger font for the text */
    line-height: 1.8;
    margin-bottom: 0;
}

.contact-form {
    flex: 1; /* Allow form to take available space */
    padding: 30px; /* Add padding around the form content */
    background-color: #aad7ec;
    border-radius: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    box-sizing: border-box; /* Ensure padding doesn't affect the form width */
}

.contact-form input,
.contact-form textarea {
    border-radius: 15px;
    padding: 15px; /* Increased padding for inputs and textarea */
    font-size: 16px;
    border: 1px solid #ccc;
    width: 100%; /* Default to full width */
    box-sizing: border-box; /* Include padding in width */
}

.contact-form label {
    font-weight: bold;
    margin-bottom: 5px;
    display: block; /* Ensure labels are above inputs */
}

.contact-form .row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.contact-form .col-half {
    flex: 1;
    min-width: calc(50% - 10px); /* Half width minus gap */
}

.contact-form .col-full {
    flex: 1 0 100%; /* Full width */
}

textarea {
    resize: vertical; /* Allow vertical resizing */
}

/* Responsive Design */
@media (max-width: 1024px) {
    .contact-container {
        gap: 10px; /* Reduce gap for medium screens */
        padding: 15px;
    }

    .contact-text,
    .contact-form {
        max-width: 100%; /* Allow full width */
    }

    .contact-form {
        padding: 20px; /* Slightly reduce padding for smaller screens */
    }
}

@media (max-width: 768px) {
    .contact-container {
        flex-direction: column; /* Stack items vertically */
        gap: 20px; /* Space between text and form */
        align-items: center;
    }

    .contact-text {
        text-align: center; /* Center-align text for smaller screens */
        padding: 10px; /* Reduce padding */
    }

    .contact-form {
        padding: 30px; /* Adjust padding for smaller screens */
        margin: 0; /* Remove margin on smaller screens */
        width: 100%; /* Ensure the form takes full width */

    }
    .main-content{
        margin: 0px;
    }
    #contact-form{
        margin: 0;
    }

    /* Adjust rows for smaller screens */
    .contact-form .row {
        flex-direction: column; /* Stack inputs vertically */
    }

    .contact-form .col-half {
        min-width: 100%; /* Full width for each input */
    }
}



/* Search button styles */
.search-button {
    padding: 17px 22px;
    border-radius: 30px;
    /* background: linear-gradient(45deg, #308cb4, #b3e5fc, #81d4fa); */
    border: #6ec1e4 1.5px solid;
    color: #3db3e5;
    font-size: 16px;
    cursor: pointer;
    /* text-shadow: #333; */
    font-weight: bolder;
    background-color: white;
}

.search-button:hover {
    background: linear-gradient(45deg, #81d4fa, #b3e5fc, #6ec1e4);
    cursor: pointer;
    color: white;
    border: none;
    padding: 19px 23px;
}


























.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
  }
  
  .toast {
    background-color: #333;
    color: #fff;
    padding: 12px 16px;
    border-radius: 6px;
    margin-bottom: 10px;
    opacity: 0.95;
    font-size: 14px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    animation: fadein 0.5s ease, fadeout 0.5s ease 2.5s;
  }
  
  @keyframes fadein {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 0.95; transform: translateY(0); }
  }
  
  @keyframes fadeout {
    from { opacity: 0.95; }
    to { opacity: 0; }
  }
  



















/* dashboard styles */
/* Page padding */
.dashboard-container {
    max-width: 1000px;
    margin: 2rem auto;
    padding: 2rem 1.5rem; /* <- horizontal page margin */
 
  }

.dashboard-label{
    color: #6ec1e4
}
  
  /* Report cards */
  .report-card-container {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .report-card-link {
    text-decoration: none;
    color: inherit;
  }
  
  .report-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    background: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 2px 2px rgba(0,0,0,0.05);
    transition: background 0.2s ease;
  }
  
  .report-card:hover {
    background: #eef6fa;
  }
  
  .report-address {
    font-size: 1rem;
    font-weight: 500;
  }
  
  .view-icon-img {
    width: 24px;
    height: 24px;
    transition: transform 0.2s ease;
  }
  
  .report-card:hover .view-icon-img {
    transform: scale(1.1);
  }
  

  /* Payment card styles */
.payment-card-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 100px;
  }
  
  .payment-card {
    background: #f9f9f9;
    padding: 1rem 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    font-size: 0.95rem;
    transition: background 0.2s ease;
  }
  
  .payment-card:hover {
    background: #eef6fa;
  }
  
  .payment-card p {
    margin: 0.3rem 0;
  }
  

  .buy-credits-box {
    margin-top: 1rem;
    padding: 1rem;
    background-color: #f4f9ff;
    border: 1px solid #d0e4f5;
    border-radius: 8px;
    max-width: 400px;
  }
  
  








  /* payment success styles */

  .payment-success-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 4rem 1rem;
  }
  
  .payment-card {
    background-color: white;
    padding: 2.5rem;
    max-width: 500px;
    width: 100%;
    text-align: center;
    border-radius: 16px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
    animation: fadeInUp 0.5s ease;
  }
  
  .payment-card h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #6ec1e4;
  }
  
  .payment-card p {
    font-size: 1rem;
    margin-bottom: 0.75rem;
  }
  
  .payment-details {
    margin-top: 1rem;
    text-align: left;
  }
  
  .button-group {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .search-button.secondary {
    background-color: #f3f3f3;
    color: #333;
  }
  
  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(30px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  