html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f5f5f5;
    color: #333;
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
}

header {
    background-color: #001f5b;
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 10;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    width: 50px;
    height: 50px;
    margin-right: 10px;
}

.logo h1 {
    margin: 0;
    font-size: 24px;
}

.logo p {
    margin: 0;
    font-size: 14px;
    color: #ffd700;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
}

nav li {
    margin-left: 20px;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
}

nav button {
    background-color: #ff9100;
    border: none;
    padding: 12px 12px;
    cursor: pointer;
    font-weight: bold;
    border-radius: 4px;
    color: white;
    font-size: 16px;
    touch-action: manipulation; /* Improve touch responsiveness */
    transition: 0.3s;
}

nav a:hover, nav a:focus {
    color: #ffd700;
}

nav button:hover, nav button:focus {
    background-color: #ffd700;
    color: #001f5b;
}

.menu-toggle {
    display: none;
}

@media (max-width: 768px) {
    header {
        padding: 0.75rem;
        justify-content: space-between;
    }

    .logo img {
        width: 40px;
        height: 40px;
    }

    .logo h1 {
        font-size: clamp(1rem, 3.5vw, 1.2rem);
    }

    .logo p {
        font-size: clamp(0.625rem, 2vw, 0.75rem);
    }

    nav ul {
        display: none; /* Hide all navigation items except the button */
    }

    nav li:not(.get-quote) {
        display: none; /* Explicitly hide non-button items */
    }

    nav li.get-quote {
        display: block;
        margin-left: 0;
    }

    nav button {
        font-size: clamp(0.875rem, 2.5vw, 1rem);
        padding: 0.5rem;
    }
}

@media (max-width: 480px) {
    header {
        padding: 0.5rem;
    }

    .logo img {
        width: 35px;
        height: 35px;
    }

    .logo h1 {
        font-size: clamp(0.875rem, 3vw, 1rem);
    }

    .logo p {
        font-size: clamp(0.5rem, 2vw, 0.625rem);
    }

    nav button {
        padding: 0.4rem 0.8rem;
        font-size: clamp(0.75rem, 2vw, 0.875rem);
    }
}

section {
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

section h2 {
    color: #001f5b;
    border-bottom: 2px solid #ffd700;
    padding-bottom: 10px;
    margin-bottom: 20px;
    text-align: center;
    font-size: 50px;
}

#contact {
    background-color: #001f5b;
    color: white;
}

#contact a {
    color: #ffd700;
}

footer {
    background-color: #000000;
    color: white;
    text-align: center;
    padding: 10px;
    font-size: 14px;
}

.overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(6px);
    justify-content: center;
    align-items: center;
    z-index: 9999;
    animation: fadeIn 0.3s ease;
}

.popup-content {
    background: white;
    padding: 40px;
    border-radius: 10px;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    position: relative;
    animation: popIn 0.3s ease;
}

.popup-content h2 {
    margin-top: 0;
    color: #001f5b;
    font-size: 24px;
}

.close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    color: #001f5b;
}

.popup-content input,
.popup-content textarea {
    width: 95%;
    padding: 10px;
    margin: 8px 0 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}

.submit-btn {
    background-color: #001f5b;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.3s;
    font-size: 16px;
    width: 100%;
    touch-action: manipulation;
}

.submit-btn:hover, .submit-btn:focus {
    background-color: #ffd700;
    color: #001f5b;
}

@keyframes popIn {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.image-container {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
}

.image-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: brightness(70%);
}

.overlay-text {
    font-family: 'Bebas Neue', sans-serif;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #ffffff;
    font-size: 50px;
    font-weight: 600;
    text-align: center;
    padding: 12px 20px;
    border-radius: 8px;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.about-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    gap: 30px;
}

.about-text {
    flex: 1;
    min-width: 280px;
}

.about-text h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 36px;
    color: #001f5b;
    margin-bottom: 20px;
}

.about-text p {
    font-family: Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    margin-bottom: 15px;
}

.about-image-container {
    position: relative;
    flex: 1;
    min-width: 280px;
    overflow: hidden;
    border-radius: 10px;
}

.about-image-container img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
}

.read-more-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: #ff9100;
    color: white;
    padding: 10px 20px;
    font-family: 'Bebas Neue', sans-serif;
    text-decoration: none;
    font-size: 16px;
    border-radius: 6px;
    transition: 0.3s;
}

.about-image-container:hover img, .about-image-container:focus-within img {
    filter: blur(2px);
    transform: scale(1.05);
}

.about-image-container:hover .read-more-btn, .about-image-container:focus-within .read-more-btn {
    background-color: #ffd700;
    color: #001f5b;
}

@media (max-width: 768px) {
    .about-container {
        flex-direction: column-reverse;
        gap: 20px;
    }

    .about-image-container {
        height: 30vh;
    }
}

@media (max-width: 480px) {
    .about-image-container {
        height: 25vh;
    }
}

.services-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    gap: 30px;
}

.service-image-container {
    flex: 1;
    min-width: 280px;
    overflow: hidden;
    border-radius: 10px;
}

.service-image-container img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.service-image-container:hover img, .service-image-container:focus-within img {
    transform: scale(1.05);
}

.service-text {
    flex: 1;
    min-width: 280px;
}

.service-text h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 36px;
    color: #001f5b;
    margin-bottom: 20px;
}

.service-text p {
    font-family: Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    margin-bottom: 15px;
}

.service-text ul {
    margin: 15px 0;
    padding-left: 20px;
    list-style-type: disc;
    color: #333;
}

.service-text ul li {
    margin-bottom: 8px;
    font-size: 16px;
}

.service-btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #ff9100;
    color: white;
    font-family: 'Bebas Neue', sans-serif;
    text-decoration: none;
    border-radius: 6px;
    border: none;
    transition: 0.3s;
    margin-top: 15px;
    font-size: 16px;
}

.service-btn:hover, .service-btn:focus {
    background-color: #ffd700;
    color: #001f5b;
}

@media (max-width: 768px) {
    .services-container {
        flex-direction: column;
        gap: 20px;
    }

    .service-image-container {
        height: 30vh;
    }
}

@media (max-width: 480px) {
    .service-image-container {
        height: 25vh;
    }
}

.values-list {
    list-style: none;
    counter-reset: value-counter;
    padding-left: 0;
    max-width: 800px;
    margin: 0 auto;
}

.values-list li {
    position: relative;
    padding-left: 50px;
    margin-bottom: 25px;
    font-family: Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
}

.values-list li::before {
    counter-increment: value-counter;
    content: counter(value-counter);
    position: absolute;
    left: 0;
    top: 0;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 24px;
    color: #ff9100;
}

.value-title {
    display: block;
    font-weight: bold;
    font-size: 18px;
    color: #001f5b;
    margin-bottom: 5px;
}
select {
  width: 100%;
  padding: 10px;
  font-size: 1em;
  border: 1px solid #ccc;
  border-radius: 5px;
  background-color: white;
  color: #333;
  margin-bottom: 10px;
  transition: border 0.3s ease;
}

select:focus {
  border-color: #0077b6;
  outline: none;
}
