* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    line-height: 1.6;
    color: #333;
    scroll-behavior: smooth;
}

.header {
    color: #fff;
    padding: 15px 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: flex; /* Use flexbox for positioning */
    height: 125px;
    position: relative;
    background-color: #fff;
}

.header .container {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px; /* Add padding to create space around the logo */
}

.header .logo {
    height: 100px; /* Adjust logo size */
    width: auto;
    margin-left:2em;
    position: absolute;
}
.logo {
    width: 100px; /* Adjust the width as needed */
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 1rem;
}

.navbar .logo {
    font-size: 1.5rem;
    color: #BA122B;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 1rem;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #A7A2A9;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.nav-toggle .hamburger {
    width: 25px;
    height: 3px;
    background: #fff;
}

.hero {
    height: 91vh;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('hero-bg.jpg') no-repeat center center/cover;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    position: relative;
}

.hero-content {
    max-width: 1200px;
    position: relative;
    z-index: 1;
    animation: fadeInUp 1s ease-out forwards;
    opacity: 0;
    transform: translateY(20px);
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
}

.hero p {
    margin: 1rem 0;
}

.cta {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: #BA122B;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: background 0.3s ease, transform 0.3s ease;
}

.cta:hover {
    background: #A01024;
    transform: translateY(-2px);
}

.about, .services, .contact {
    padding: 4rem 1rem;
    max-width: 2500px;
    margin: 0 auto;
    text-align: center;
}

.about h2, .services h2, .contact h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: black;
}

.service-item {
    margin: 1rem 0;
    padding: 2rem;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.service-item:hover {
    transform: translateY(-5px);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-icon {
    font-size: 2.5rem;
    color: #BA122B;
    margin-bottom: 1rem;
}

.services a.external {
    margin-top: auto; /* Push the link to the bottom */
    color: #BA122B;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
}

.external-button {
    margin-top: auto; /* Push the button to the bottom */
    background-color: #BA122B;
    color: white;
    padding: 15px 30px;
    text-align: center;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s, transform 0.3s;
    display: inline-block; /* Ensure the button behaves like an inline-block element */
}

.external-button:hover {
    background-color: #A01024;
    color: white;
    text-decoration: none;
}

.contact form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

.contact input, .contact textarea {
    padding: 0.75rem;
    border: 1px solid #A7A2A9;
    border-radius: 5px;
}

.contact button {
    padding: 0.75rem 1.5rem;
    background: #BA122B;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: background 0.3s ease, transform 0.3s ease;
}

.contact button:hover {
    background: #A7A2A9;
    transform: translateY(-2px);
}

.footer {
    background: #000000;
    color: #fff;
    text-align: center;
    padding: 2rem 0;
    margin-top: 2rem;
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-links {
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #000000;
        display: none;
        gap: 0;
    }

    .nav-links.nav-open {
        display: flex;
    }

    .nav-links a {
        padding: 1rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1rem;
    }
}


.service-item {
    margin: 1rem 0;
    padding: 2rem;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    position: relative;
    padding-bottom: 70px; /* Add padding to accommodate the button */
}

.service-item:hover {
    transform: translateY(-5px);
}

.external-button {
    position: absolute;
    bottom: 20px; /* Adjust bottom spacing as needed */
    left: 50%;
    width: 90%; /* Make the button slightly less wide than the card */
    transform: translateX(-50%);
    background-color: #BA122B;
    color: white;
    padding: 10px 0; /* Adjust padding for less height */
    text-align: center;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px; /* Rounded corners */
    transition: background-color 0.3s, transform 0.3s;
}

.external-button:hover {
    background-color: #A01024;
    color: white;
    text-decoration: none;
}

/* Add this to your CSS file */
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4);
  }
  
  .modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
  }
  
  .close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
  }
  
  .close:hover,
  .close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
  }

  .popup-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 8px;
    z-index: 1000;
    display: none;
    text-align: center;
}

.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 100px;
    width: 100%;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    animation: fadeIn 0.3s ease;
}


/* .popup-modal p {
    font-size: 18px;
    margin-bottom: 20px;
    color: #333;
    font-weight: bold;
} */

.popup-modal .buttons {
    display: flex;
    justify-content: center;
}

.popup-modal button {
    padding: 10px 20px;
    margin: 0 10px;
    border: none;
    border-radius: 5px;
    background-color: #BA122B;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.popup-modal button:hover {
    background-color: #A01024;
}

.popup-modal button:focus {
    outline: none;
}


/* Prevent scrolling */
.no-scroll {
    overflow: hidden;
}

.head {
    font-size: 18px;
    margin-bottom: 20px;
    color: #333;
    font-weight: bold;
}

.disclaimer {
    font-size: 16px;
    font-style: italic;
    color: #333;
    margin-bottom: 30px;
}

.close {
    position: relative;
    bottom: 100px;
    left: 80px;
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.checkbox-container input[type="checkbox"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background-color: #fff;
    border: 2px solid #BA122B; /* Border color */
    border-radius: 4px;
    outline: none;
    cursor: pointer;
    margin-right: 10px; /* Adjust spacing between checkbox and label */
}

/* Style the checked state of the checkbox */
.checkbox-container input[type="checkbox"]:checked {
    background-color: #BA122B; /* Background color when checked */
}

/* Hide the default checkmark */
.checkbox-container input[type="checkbox"]::before {
    content: '\2713'; /* Unicode checkmark */
    display: block;
    color: transparent; /* Hide the default checkmark */
    text-align: center;
    line-height: 20px;
    font-size: 16px;
    transition: color 0.3s ease;
}

/* Style the checkmark when checked */
.checkbox-container input[type="checkbox"]:checked::before {
    color: #fff; /* Color of the checkmark when checked */
}