/* main.css */

.slogan {
    color: #f0f0f0; /* Light grey color, adjust as needed */
    font-size: 1.0rem; /* Slightly larger font size for emphasis */
    margin-top: 0.2rem; /* Space above the slogan */
}

@font-face {
    font-family: 'Nord';
    src: url('/fonts/nordica/NordicaRegular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Nordthin';
    src: url('/fonts/nordica/NordicaThin.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

.title {
    font-size: 2.0rem;
    font-family: 'Nordthin', sans-serif; /* Use 'Nord' with a fallback to sans-serif */
}

/* Facts CSS */
.facts-section {
    background-color: #ffffff;
    color: #000000;
}

.fact {
    padding: 1rem;
}

.fact-icon {
    width: 50px;
    height: auto;
    margin-bottom: 1rem;
}

.fact-number {
    font-size: 1.5rem;
    font-weight: bold;
}

.fact-description {
    font-size: 1rem;
}

/* Hero CSS */
.hero-section {
    position: relative;
    height: 250px;
    display: flex;
    flex-direction: column; /* Stack items vertically */
    justify-content: center; /* Center vertically */
    align-items: center; /* Center horizontally */
    background-size: cover;
    background-position: center;
    border-radius: 15px;
    z-index: 1;
    overflow: hidden;
    padding: 20px; /* Add some padding to ensure content doesn't touch the edges */
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.6);
    z-index: -1;
    border-radius: inherit;
}

/* Ensure the content (text, buttons, etc.) is above the overlay */
.hero-section * {
    position: relative;
    z-index: 2;
}

/* Adjust margins for spacing between items */
.hero-section h1 {
    margin-bottom: 0.5rem; /* Adjust the bottom margin of the header for spacing */
}

.hero-section p {
    margin-bottom: 1rem; /* Adjust the bottom margin of the paragraph for spacing */
}

/* Focus CSS */
.focus-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%; /* Ensure full width */
}

.focus-panel {
    display: flex;
    width: 100%; /* Full width */
    height: 250px; /* Fixed height */
    margin-bottom: 20px; /* Space between panels */
    border-radius: 0.5rem; /* Tailwind's rounded-lg */
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); /* Tailwind's shadow-lg */
    overflow: hidden;
}

.focus-panel-reverse {
    flex-direction:row; /* Reverse the layout for alternating effect */
}

.focus-image {
    width: 25%;
    height: 100%;
    object-fit: cover; /* Cover the area without stretching */
}

.focus-content {
    width: 75%;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Center the text vertically */
    background-color: #bbbbbb4d;
}

.focus-content h2 {
    font-size: 1.5rem; /* Larger header size */
    margin-bottom: 40px; /* Space below the header */
}

.focus-content p {
    font-size: 1.1rem; /* Slightly larger text */
    margin-bottom: 25px; /* Reduce space below the paragraph if needed */
}

.focus-image-description {
    font-size: 0.9rem; /* Adjust the size as needed */
    font-style: italic;
    align-self: flex-end; /* Aligns the text to the bottom */
}

/* More Services Button CSS */
.more-services-btn {
    display: block;
    width: 100%; /* Match the width of the service panels */
    height: 25px; /* Height of the button */
    background-color: rgba(0, 0, 0, 0.5); /* 50% transparent black */
    color: #ffffff; /* White text */
    text-align: center; /* Center the text */
    line-height: 25px; /* Vertically center the text in the button */
    margin-bottom: 1rem; /* Space below the button */
    border-radius: 0.5rem; /* Rounded corners */
    cursor: pointer; /* Change mouse cursor to pointer */
    text-decoration: none; /* Remove underline from link */
}

/* Adjust button styling on hover */
.more-services-btn:hover {
    background-color: #333333; /* Slightly lighter black on hover */
}

/* Services Section Styles */
.service-preview {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr)); /* For mobile */
    gap: 1rem;
}

@media (min-width: 768px) { /* md breakpoint in TailwindCSS */
    .service-preview {
        grid-template-columns: repeat(3, minmax(0, 1fr)); /* For desktop */
    }
}

.service-box {
    display: flex; /* Enables flexbox */
    flex-direction: column; /* Arranges content in a column */
    justify-content: center; /* Centers content vertically */
    align-items: center; /* Centers content horizontally */
    text-align: center; /* Centers text */
    padding: 1rem;
    margin-bottom: 1.25rem; /* Tailwind's mb-5 */
    border-radius: 0.5rem; /* Tailwind's rounded-lg */
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); /* Tailwind's shadow-lg */
    background-color: #ffffff; /* Assuming a light background for each service box */
    position: relative;
    overflow: hidden;
}

.service-box h2 {
    font-size: 1.25rem; /* Tailwind's text-xl */
    font-weight: bold; /* Tailwind's font-bold */
    color: #ffffff; /* Tailwind's text-black */
    margin-bottom: 0.5rem; /* Space below the heading */
}

.service-box p {
    font-size: 1rem; /* Tailwind's text-base */
    color: #ffffff; /* Tailwind's text-gray-700 */
    line-height: 1.5; /* Tailwind's leading-relaxed */
}

.service-box:hover {
    filter: brightness(1.3); /* Increase brightness by 10% */
    transition: filter 0.3s ease-in-out; /* Smooth transition for the brightness effect */
  }

.service-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.6); /* Adjust the opacity (0.5 here) to make the image darker */
    z-index: 0;
}

.service-box > * {
    position: relative;
    z-index: 1;
}

/* Footer Styles */
.footer-container {
    display: flex;
    justify-content: space-between;
    width: 100%;
    background-color: #000; /* Dark background for the entire footer */
    color: #fff; /* White text color */
}

.footer-section {
    padding: 20px; /* Adjust the padding as needed */
}

.left-section {
    text-align: left;
}

.center-section {
    text-align: center;
    padding-top: 10px;
}

.right-section {
    text-align: right;
}

.client-services-dropdown .dropdown-btn {
    background-color: rgb(27, 41, 80);
    color: white;
    padding: 10px 15px;
    border: none;
    cursor: pointer;
}

.client-services-dropdown .dropdown-content {
    display: none;
    position: absolute;
    bottom: 100%; /* Position the dropdown above the button */
    left: 0;
    background-color: rgb(27, 41, 80);
    min-width: 160px;
    box-shadow: 0px -8px 16px 0px rgba(0,0,0,0.2); /* Adjust the shadow direction */
    z-index: 1;
}

.client-services-dropdown .dropdown-content a {
    color: rgb(255, 255, 255);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.client-services-dropdown:hover .dropdown-content {
    display: block;
}

/* Hover effect */
.client-services-dropdown .dropdown-content a:hover {
    background-color: #0473f1;
    color: white;
}

/* Contact Form CSS */
.contact-page {
    display: flex;
    width: 100%;
}

.locations {
    width: 60%;
}

.location {
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    height: 250px; /* Adjust as needed */
    margin-bottom: 20px; /* Add some space between each location */
}

.location::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5); /* Dark overlay for text readability */
    z-index: 1;
}

.location-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Dark overlay for better readability */
    color: white;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    z-index: 2; /* Ensure content is above the ::before overlay */
}

.contact-form {
    width: 40%;
    padding: 20px; /* Adjust as needed */
    /* Additional styling for your form */
}
