/* General reset and basic styles */
.page-container {
    max-width: 1000px;  /* Sets the maximum width of the content */
    width: 100%;  /* Ensures it can shrink on smaller screens */
    margin: 0 auto;  /* Centers the container horizontally */
   /*padding: 1rem;  /* Adds padding inside the container */
    box-sizing: border-box;  /* Ensures padding does not affect the total width */
    background-color: #f9fafb;
}
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    font-size: 18px;
    background-color: #f9fafb;
    color: #646464;
    min-height: 100vh;
    padding-bottom: 1rem;
}

h1 {
    font-size: 40px;
    font-weight: bold;
    margin-bottom: 1rem;
    color:#646464;
}

h2 {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 1rem;
    margin-top: 2.5rem;
    color:#646464;
}

h3 {
    font-size: 30px;
    font-weight: bold;
    margin-bottom: 1rem;
    margin-top: 1rem;
    color:#646464;
}

p{
    color: #4a5568;
    line-height: 1.5;
}

a {
    text-decoration: none;
    color: #06798e;
}
a:hover {
    text-decoration: underline;
    color:#017D7D
}

/* Navigation Menu */
/* Responsive Navigation Menu */


.logo {
    /*margin-right: 1rem; /* Add space between logo and menu */
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 200px; /* Adjust as needed */
}

.logo img {
    max-width: 100%; /* Ensures it scales down on small screens */
    height: auto; /* Maintains aspect ratio */
    width: auto; /* Keeps the natural width */
    max-height: 80px; /* Limits height to prevent excessive resizing */
}

@media (max-width: 600px) {
    .logo img {
        max-width: 130px; /* Reduce logo size on smaller screens */
        max-height: 80px;
    }
}

html, body {
    overflow-x: hidden;
    width: 100%;
}


/* Language Selector */
.language-selector {
    margin-left: 1rem;
    position: relative;
}

.lang-select {
    appearance: none;
    border: 1px solid #e2e8f0;
    border-radius: 0.25rem;
    padding: 0.375rem 2rem 0.375rem 1rem;
    font-size: 0.875rem;
    color: #4a5568;
    cursor: pointer;
    /*background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%234a5568'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.5rem center;
    background-size: 1.25em;*/
    background: url('https://cdn-icons-png.flaticon.com/512/709/709586.png') no-repeat left center;
    background-size: 20px;
    padding-left: 30px;
}

.lang-select:hover {
    border-color: #017D7D;
}

.lang-select:focus {
    outline: none;
    border-color: #017D7D;
    box-shadow: 0 0 0 1px #017D7D;
}

/* Desktop Navigation Links */
.nav-link {
    color: #4a5568;
    transition: color 0.2s ease-in-out;
    padding: 0.5rem 0.5rem;
    font-weight: 600;
}

.nav-link:hover {
    color: #017D7D !important;  /* Teal color */
}

/* Mobile Menu Button */
.mobile-menu-button {
    padding: 0.5rem;
    color: white;  /* Changed to white */
    border-radius: 0.375rem;
    cursor: pointer;
    transition: color 0.2s;
    z-index: 20;
    margin-left: auto; /* Push to far right */
}

.mobile-menu-button:hover {
    color: #017D7D;  /* Light gray hover state */
}

.mobile-menu-button.active svg {
    transform: rotate(90deg);
}

.mobile-menu-button svg {
    transition: transform 0.2s;
}

.mobile-menu {
    position: absolute;
    top: 80px; /* Height of the header */
    right: 0;
    background-color: white;
    box-shadow: -2px 0 4px rgba(0, 0, 0, 0.1);
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    z-index: 10;
    border-radius: 0 0 0 8px;
    min-width: 200px;
}

.mobile-menu:not(.hidden) {
    transform: translateX(0);
}

.mobile-menu.hidden {
    visibility: hidden;
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-in-out;
    z-index: 5;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-link {
    display: block;
    padding: 0.75rem 1.5rem;
    color: #4a5568;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.2s;
    white-space: nowrap;
}

.mobile-menu-link:hover {
    background-color: #f7fafc;
    color: #017D7D;
    text-decoration: none;
}

/* Style for desktop menu links hover */
.nav-container a:hover {
    color: #017D7D;
    text-shadow: 0 0 1px rgba(255, 255, 255, 0.5);
}

/* Container for nav to handle positioning */
.nav-container {
    position: relative;
}

/* Logo positioning */
.flex-shrink-0 {
    margin-right: auto; /* Push content away from logo */
}

/* Desktop menu positioning */
@media (min-width: 640px) {
    .mobile-menu, 
    .mobile-menu-button,
    .mobile-menu-overlay {
        display: none;
    }
}












/* Hero Section */
.hero-pattern {
    padding: 0.5rem;
    text-align: center;
    background-color: #f8fafc;
    background-image: radial-gradient(#e2e8f0 1px, transparent 1px);
    background-size: 20px 20px;
}
.hero-pattern h1 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-top: 1rem;
    margin-bottom: 1rem;
}
.hero-pattern h1 span {
    display: block;
}
.hero-pattern p {
    font-size: 1.25rem;
    color: #6b7280;
    margin-top: 1.125rem;
}

/* Form */
form {
    display: flex;
    flex-direction: column;
    width: 600px;  /* Set the form width */
    max-width: 100%;  /* Prevent the form from exceeding its container width */
    padding: 1rem;  /* Add padding inside the form */
    height: auto;  /* Adjust based on content, or set a fixed height if needed */
    margin: 0 auto;  /* Center the form horizontally */
    box-sizing: border-box;  /* Ensure padding is included in width calculation */
    background-color: #ffffff;
    margin-top: 2rem;
}

.form h2{
    font-size: 24px;
    font-weight: bold;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    text-align: center;
}

form input[type="url"] {
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 0.5rem;
    width: 100%;
    margin-bottom: 1rem;
}
form button {
    background-color: #017D7D;
    color: #fff;
    padding: 0.7rem 1.5rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}
form button:hover {
    background-color: #019a9a;
}

@media (max-width: 600px) {
    form {
        width: 100%;  /* Make the form take full width on smaller screens */
    }
}


/* Features Section */

.feature {
    background: #ffffff;
    border-radius: 8px;
    padding: 0.1rem;
    text-align: left;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.feature h3 {
    font-size: 1.5rem;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    text-align: center;
}

@media (max-width: 600px) {
    .features {
        grid-template-columns: 1fr; /* 1 item per row on smaller screens */
        padding: 0.25rem;
    }
}

@media screen and (max-width: 768px) {
  .feature {
    width: 100%; /* Full width for mobile screens */
  }
}
/* FAQ Section */
.faq-item {
    margin-bottom: 1.5rem;
}
.faq-item h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}
.faq-item p {
    color: #4a5568;
    line-height: 1.5;
}

/* Images */
img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Footer */
footer {
    background: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;  /* Centers content horizontally */
    justify-content: center; /* Centers content vertically */
    font-size: large;
    /*color: #646464; */
    padding: 2rem;
    text-align: center;
    border-top: 1px solid #a9a9a9;  /* Adds a line above the footer */
}
.flex.items-center {
    display: flex;
    justify-content: center; /* Centers horizontally */
    align-items: center; /* Centers vertically */
    gap: 1rem; /* Space between links */
}

.flex.items-center a {
    /* color: #017D7D;  /* Change to your desired color */
    text-decoration: none;
}

.flex.items-center a:hover {
    color: #646464; /* Change color on hover */
}

footer p {
    color: #646464;
    margin-top: 1rem;
}

/* Responsive adjustments General layout */
@media (max-width: 768px) {
    .hero-pattern h1 {
        font-size: 2rem;
    }
    form button {
        width: 100%;
    }
}



label {
    display: block;
    margin-bottom: 0.5rem;
}

input, textarea {
    width: 100%;
    padding: 0.5rem;
    margin-bottom: 1rem;
    border: 1px solid #ccc;
    border-radius: 4px;
}

button {
    background-color: #017D7D;
    color: #fff;
    padding: 0.7rem 1.5rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

button:hover {
    background-color: #019A9A;
}

.error {
    color: red;
    font-size: 0.9rem;
}