body {
    font-family: 'Segoe UI', 'Roboto', 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background: #f7f9fb;
    color: #1a1a1a;
    font-size: 18px;
    line-height: 1.7;
    letter-spacing: 0.01em;
    max-width: 2400px;
    padding-top: 63px;
    /* Adjust to match nav height for content offset */
}

header {
    background: #003366;
    color: #fff;
    padding: 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    z-index: 1000;
}

nav a {
    color: #fff;
    margin-right: 1em;
    text-decoration: none;
}

.main-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #003366;
    padding: 0.5em 2em;
    border-radius: 0 0 8px 8px;
    margin-bottom: 0em;
    position: static;
    /* Remove sticky/fixed from here */
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
}

.nav-left {
    display: flex;
    align-items: center;
    flex: 1 1 0;
    min-width: 0;
}

.nav-logo {
    height: 44px;
    width: 44px;
    margin-right: 0.9em;
    border-radius: 6px;
    background: #fff;
    object-fit: contain;
}

.nav-brand-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.2s ease;
}

.nav-brand-link:hover {
    opacity: 0.8;
}

.nav-company {
    color: #fff;
    font-size: 1.5em;
    font-weight: 700;
    letter-spacing: 1.5px;
    white-space: nowrap;
}

.nav-center {
    display: flex;
    gap: 2.5em;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.nav-center a {
    color: #fff;
    text-decoration: none;
    font-size: 1.15em;
    font-weight: 500;
    padding: 0.4em 1em;
    border-radius: 4px;
    transition: background 0.2s, color 0.2s;
}

.nav-center a:hover,
.nav-center a:focus {
    background: #0055a5;
    color: #e0eaff;
}

.nav-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex: 1 1 0;
    min-width: 0;
}

.nav-contact {
    color: #fff;
    font-size: 1.05em;
    white-space: nowrap;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.nav-contact a {
    color: #fff;
    text-decoration: none;
    margin: 0 0.2em;
    transition: color 0.2s;
}

.nav-contact a:hover,
.nav-contact a:focus {
    text-decoration: underline;
    color: #cce3ff;
}

main {
    padding: 0;
    margin: 0;
    max-width: none;
    border-radius: 0;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

main h2 {
    font-size: 2em;
    font-weight: 700;
    margin-bottom: 0.5em;
    color: #003366;
    letter-spacing: 0.03em;
}

main p {
    font-size: 1.15em;
    margin-bottom: 1.2em;
}

main ul {
    padding-left: 1.2em;
    margin-bottom: 1.5em;
}

main li {
    margin-bottom: 0.7em;
    font-size: 1.08em;
}

form label {
    display: block;
    margin: 0.3em;
    font-weight: 500;
    color: #003366;
}

#heroContactForm label {
    text-align: center;
    font-size: clamp(0.8rem, 1.8vw);
}

input,
textarea {
    padding: clamp(0.5em, 1.5vw, 0.7em);
    border-radius: 5px;
    border: 1px solid #b0c4de;
    font-size: clamp(0.85rem, 1.6vw, 1rem);
    background: #f5faff;
    transition: border 0.2s;
}

input:focus,
textarea:focus {
    border: 1.5px solid #0055a5;
    outline: none;
    background: #eaf4ff;
}

button {
    background: #003366;
    color: #fff;
    border: none;
    padding: 0.8em 2em;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.1em;
    font-weight: 600;
    transition: background 0.2s;
}

button:hover {
    background: #0055a5;
}

footer {
    text-align: center;
    padding: 1.2em;
    background: #e9f0f7;
    color: #555;
    font-size: 1em;
    border-top: 1px solid #dbe6f3;
    margin-top: 2em;
    border-radius: 0 0 8px 8px;
}

.hero {
    width: 100%;
    min-width: 0;
    border-radius: 0;
    margin-bottom: 0em;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    padding: 0;
    display: flex;
    align-items: stretch;
    justify-content: center;
    max-height: 700px;
    height: 700px;
    position: relative;
}

.hero-img {
    min-width: 220px;
    height: 100%;
    width: 100%;
    border-radius: 0;
    box-shadow: none;
    display: block;
    position: relative;
    overflow: hidden;
}

.hero-overlay-content {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 2;
    pointer-events: none;
}

.hero-overlay-bg {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 51, 102, 0.45);
    z-index: 1;
    pointer-events: none;
}

.hero-overlay-content h2,
.hero-overlay-content .hero-lead {
    color: #fff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
    text-align: center;
    margin: 0.3em 0;
    pointer-events: auto;
}

.hero-overlay-content h1 {
    color: #fff;
    font-size: 3.2rem;
    font-weight: 700;
    text-shadow: 0 3px 12px rgba(0, 0, 0, 0.4);
    text-align: center;
    margin: 0 0 1rem 0;
    pointer-events: auto;
    letter-spacing: 1px;
    line-height: 1.2;
    max-width: 90%;
}

.hero-content {
    max-width: 30%;
    min-width: 260px;
    padding: 0.5em;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    background: transparent;
    width: 100%;
    box-sizing: border-box;
    max-height: 100%;
    overflow-y: visible;
}

.hero-get-in-touch {
    flex: 0 0 10%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 1em;
    font-weight: 600;
    color: #003366;
    text-align: center;
    width: 100%;
    min-height: 60px;
}

.hero-get-in-touch h2,
.hero-get-in-touch p {
    margin: 0.2em;
}

#hero-name label{
    justify-content: center;
}



#hero-message {
    flex: 1 1 0;
}

.hero-contact-form {
    background: #f5faff;
    border-radius: 8px;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.04);
    width: 80%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.3em;
    font-size: 0.95em;
}

.hero-contact-form-fields-row {
    display: flex;
    flex-direction: row;
    gap: 0.7em;
    width: 100%;
}

.hero-contact-form-fields-col {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    gap: 0.2em;
    padding: 0.5em;
    align-items: center;
}

.hero-contact-form-fields-col input {
    align-items: center;
    width: 90%;
}

.hero-checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 0.1em;
    margin-bottom: 0;
    background: #eaf4ff;
    border-radius: 6px;
    padding: 0.4em 0.5em;
    min-width: 120px;
}

.hero-checkbox-group label {
    display: flex;
    align-items: flex-start;
    font-weight: 500;
    color: #003366;
    font-size: 0.93em;
    gap: 0.4em;
    padding: 0.1em 0;
    position: relative;
    line-height: 1.2;
}

.hero-checkbox-group input[type="checkbox"] {
    margin: 0.13em 0.5em 0 0;
    position: relative;
    align-self: flex-start;
    accent-color: #0055a5;
    width: 1em;
    height: 1em;
    flex-shrink: 0;
}

.hero-checkbox-group span {
    font-weight: 500;
    color: #003366;
    margin-bottom: 0;
    font-size: 0.93em;
    line-height: 1.3;
}

.hero-checkbox-group small {
    font-size: 0.85em;
    color: #555;
    font-weight: 400;
    margin-left: 0.3em;
    display: none;
}

.hero-contact-form label {
    font-weight: 500;
    color: #003366;
    font-size: 0.95em;
}

.hero-contact-form input,
.hero-contact-form textarea {
    padding: 0.4em;
    border-radius: 5px;
    border: 1px solid #b0c4de;
    font-size: 0.95em;
    background: #fff;
    transition: border 0.2s;
    margin-bottom: 0.1em;
    /* remove any width setting here to avoid conflicts */
    width: auto;
}

.hero-contact-form input:focus,
.hero-contact-form textarea:focus {
    border: 1.5px solid #0055a5;
    outline: none;
    background: #eaf4ff;
}

.hero-contact-form textarea {
    min-height: 48px;
    resize: vertical;
}

.hero-contact-form button {
    background: linear-gradient(135deg, #0055a5 0%, #003366 100%);
    color: #fff;
    border: none;
    padding: 0.8em 2em;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.1em;
    font-weight: 700;
    transition: all 0.3s ease;
    margin: 0.5em auto;
    width: 80%;
    max-width: 250px;
    display: block;
    box-shadow: 0 4px 15px rgba(0, 85, 165, 0.2);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
}

.hero-contact-form button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.hero-contact-form button:hover {
    background: linear-gradient(135deg, #003366 0%, #0055a5 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 85, 165, 0.3);
}

.hero-contact-form button:hover::before {
    left: 100%;
}

.hero-contact-form button:active {
    transform: translateY(0);
    box-shadow: 0 3px 15px rgba(0, 85, 165, 0.2);
}

.hero-checkbox-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(0.05em, 0.2vw, 0.1em);
    background: linear-gradient(135deg, #f5faff 0%, #eaf4ff 100%);
    border-radius: 8px;
    padding: clamp(0.1em, 0.5vw, 0.2em);
    width: 100%;
    max-width: 100%;
    margin: 0 auto 0.5em auto;
    box-shadow: 0 2px 8px rgba(0, 85, 165, 0.1);
    border: 1px solid rgba(176, 196, 222, 0.2);
    box-sizing: border-box;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.hero-checkbox-grid label {
    display: flex;
    align-items: center;
    gap: 0.15em;
    font-weight: 500;
    color: #003366;
    /* font-size: clamp(0.3rem, 0.8vw, 0.45rem); */
    text-align: left;
    cursor: pointer;
    padding: 0.05em 0.03em;
    border-radius: 6px;
    transition: all 0.2s ease;
    position: relative;
    background: transparent;
    line-height: 1.0;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
    white-space: normal;
    text-overflow: ellipsis;
    overflow: hidden;
    pointer-events: auto;
}

.hero-checkbox-grid label:hover {
    background: rgba(0, 85, 165, 0.05);
    transform: translateY(-0.5px);
}

.hero-checkbox-grid input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: clamp(5px, 0.8vw, 8px);
    height: clamp(5px, 0.8vw, 8px);
    border: 1px solid #b0c4de;
    border-radius: 2px;
    background: #fff;
    position: relative;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
    transform-origin: center;
    z-index: 1;
    pointer-events: auto;
}

.hero-checkbox-grid input[type="checkbox"]:hover {
    border-color: #0055a5;
    box-shadow: 0 2px 6px rgba(0, 85, 165, 0.15);
    transform: scale(1.08);
}

.hero-checkbox-grid input[type="checkbox"]:checked {
    background: linear-gradient(135deg, #0055a5 0%, #003366 100%) !important;
    border-color: #0055a5 !important;
    box-shadow: 0 2px 8px rgba(0, 85, 165, 0.3) !important;
    transform: scale(1.02) !important;
}

.hero-checkbox-grid input[type="checkbox"]:not(:checked) {
    background: #fff !important;
    border: 1px solid #b0c4de !important;
    box-shadow: none !important;
    transform: scale(1) !important;
}

.hero-checkbox-grid input[type="checkbox"]:not(:checked)::before {
    display: none !important;
}

.hero-checkbox-grid input[type="checkbox"]:checked::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 3px;
    height: 6px;
    border: solid #fff;
    border-width: 0 1px 1px 0;
    transform: translate(-50%, -65%) rotate(45deg);
    opacity: 1;
}

.hero-checkbox-grid input[type="checkbox"]:focus {
    outline: none;
    border-color: #0055a5;
    box-shadow: 0 0 0 2px rgba(0, 85, 165, 0.2);
}

.hero-checkbox-grid input[type="checkbox"]:active {
    transform: scale(0.95);
}

/* Responsive adjustments for checkboxes with adaptive scaling */
@media (max-width: 600px) {
    .hero-checkbox-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-checkbox-grid label {
        white-space: normal;
        align-items: center;
        gap: 0.3em;
        justify-content: flex-start;
    }
}

/* Ultra-wide screen support */
@media (min-width: 1601px) {
    .hero-checkbox-grid {
        max-width: 450px;
        padding: 0.65em;
        gap: 0.45em;
    }
    
    .hero-checkbox-grid label {
        font-size: 0.88em;
        padding: 0.32em 0.28em;
    }
    
    .hero-checkbox-grid input[type="checkbox"] {
        width: 12px;
        height: 12px;
    }
    
    .hero-checkbox-grid input[type="checkbox"]:checked::before {
        left: 50%;
        top: 50%;
        width: 3px;
        height: 6px;
        transform: translate(-50%, -65%) rotate(45deg);
    }
}

#heroContactForm {
    background: linear-gradient(135deg, #f5faff 0%, #eaf4ff 50%, #e0f1ff 100%);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 85, 165, 0.15), 0 2px 8px rgba(0, 51, 102, 0.1);
    border: 1px solid rgba(176, 196, 222, 0.3);
    display: flex;
    flex-direction: column;
    gap: 0.1em;
    font-size: clamp(0.8rem, 2vw, 0.9rem);
    align-items: center;
    padding: clamp(0.4em, 1.5vw, 0.6em);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    margin: 0 auto;
    flex: 1 1 90%;
    min-height: 0;
    width: 80%;
}

#heroContactForm::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.8s ease;
}

#heroContactForm:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 85, 165, 0.2), 0 4px 12px rgba(0, 51, 102, 0.15);
    border-color: rgba(0, 85, 165, 0.4);
}

#heroContactForm:hover::before {
    left: 100%;
}

#heroContactForm input[type="text"],
#heroContactForm input[type="email"] {
    width: 90%;
    max-width: 400px;
    padding: 0.4em;
    border-radius: 5px;
    border: 1px solid #b0c4de;
    font-size: 0.9em;
    background: #fff;
    transition: border 0.2s;
    margin-bottom: 0.1em;
    display: block;
    box-sizing: border-box;
    height: 2.2em;
}

#heroContactForm textarea {
    width: 90%;
    max-width: 400px;
    padding: 0.4em;
    border-radius: 5px;
    border: 1px solid #b0c4de;
    font-size: 0.9em;
    background: #fff;
    transition: border 0.2s;
    margin-bottom: 0.1em;
    display: block;
    box-sizing: border-box;
}

#heroContactForm input:focus,
#heroContactForm textarea:focus {
    border: 1.5px solid #0055a5;
    outline: none;
    background: #eaf4ff;
}

#heroContactForm textarea {
    min-height: 60px;
    max-height: 90px;
    resize: vertical;
}

#heroContactForm button {
    background: linear-gradient(135deg, #0055a5 0%, #003366 100%);
    color: #fff;
    border: none;
    padding: 0.6em 2em;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1em;
    font-weight: 700;
    transition: all 0.3s ease;
    margin: 0.3em auto;
    width: 80%;
    max-width: 250px;
    display: block;
    box-shadow: 0 4px 15px rgba(0, 85, 165, 0.2);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
}

/* reCAPTCHA styling */
.g-recaptcha {
    margin: 0.5em auto;
    display: flex;
    justify-content: center;
    transform: scale(0.9);
    transform-origin: center;
    transition: border 0.3s ease, padding 0.3s ease;
}

/* Container for submit button and progressive CAPTCHA */
.captcha-submit-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    margin: 0.2em 0;
    width: 100%;
}

/* Progressive CAPTCHA container - initially hidden */
.captcha-container {
    margin-top: 1em;
    padding: 1em;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    width: 100%;
    text-align: center;
    transition: all 0.3s ease;
}

.captcha-submit-container .g-recaptcha {
    margin: 0 auto;
    display: inline-block;
}

.captcha-submit-container #heroContactForm button {
    margin: 0;
    min-width: 140px;
    width: auto;
}

/* Highlight effect for CAPTCHA validation */
.g-recaptcha.highlight {
    border: 2px solid #ff4444 !important;
    border-radius: 8px !important;
    padding: 5px !important;
    background-color: rgba(255, 68, 68, 0.1);
}

/* Responsive progressive CAPTCHA */
@media (max-width: 600px) {
    .captcha-container {
        padding: 0.8em;
    }
    
    .g-recaptcha {
        transform: scale(0.85);
        transform-origin: center;
    }
    
    .captcha-submit-container #heroContactForm button {
        width: 80%;
        max-width: 250px;
    }
}

#heroContactForm button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

#heroContactForm button:hover {
    background: linear-gradient(135deg, #003366 0%, #0055a5 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 85, 165, 0.3);
}

#heroContactForm button:hover::before {
    left: 100%;
}

#heroContactForm button:active {
    transform: translateY(0);
    box-shadow: 0 3px 15px rgba(0, 85, 165, 0.2);
}

#heroFormResponse {
    margin-top: 0.2em;
    font-size: 0.95em;
    color: #0055a5;
    min-height: 1em;
    text-align: center;
}

.services-overview {
    width: 80%;
    overflow-x: hidden;
    position: relative;
    padding: 0;
    text-align: center
}

.services-carousel-container {
    width: 100%;
    overflow-x: hidden;
    position: relative;
    margin: 0 auto;
    padding: 0;
}

.services-carousel-track {
    display: flex;
    align-items: stretch;
    gap: 2em;
    animation: scroll-carousel 40s linear infinite;
    will-change: transform;
}

@keyframes scroll-carousel {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.service-card {
    flex: 0 0 340px;
    background: #f5faff;
    border-radius: 12px;
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-width: 0;
    overflow: hidden;
    border: 1.5px solid #eaf4ff;
}

.service-card-image-container {
    width: 100%;
    height: 120px;
    background: #eaf4ff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.service-card img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    display: block;
    filter: brightness(0.9);
}

.service-card-content {
    padding: 1.1em 1em 1.3em 1em;
    font-size: 1em;
    color: #333;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    text-align: center;
}

.service-card-title {
    font-weight: 600;
    color: #003366;
    font-size: 1.1em;
    margin-bottom: 0.5em;
    margin-top: 0.2em;
    text-align: center;
}

.services-overview h1 {
    text-align: center;
    margin-bottom: 1.2em;
}

/* Responsive for carousel */
@media (max-width: 900px) {

    .service-card,
    .service-card-image-container,
    .service-card img {
        min-width: 240px;
        height: 90px;
    }

    .services-carousel-track {
        gap: 1em;
    }
}

/* Responsive adjustments */
@media (max-width: 900px) {
    .hero {
        flex-direction: column;
        min-height: unset;
        width: 100%;
        height: auto;
        max-height: none;
    }

    .hero-img {
        max-width: 100%;
        min-width: 100%;
        height: 100%;
        min-height: 500px;
        background-size: cover;
        background-position: center;
        border-radius: 0;
    }

    .hero-content {
        display: none !important;
    }

    .about-features {
        flex-direction: column;
        align-items: stretch;
    }

    .why-us-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 1em;
        padding: 1em;
    }
}

.about {
    width: 100%;
    padding-left: 5%;
    padding-right: 5%;
    box-sizing: border-box;
}

.about h1,
.about>p {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2em;
    margin-top: 2em;
    justify-content: center;
    align-items: stretch;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}

.feature-card {
    background: #f5faff;
    border-radius: 12px;
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.06);
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-width: 0;
    overflow: hidden;
    transition: box-shadow 0.2s;
    margin-left: 5%;
    margin-right: 5%;
}

.feature-card-image-container {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: #eaf4ff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    filter: brightness(0.85);
}

.feature-card-title-overlay {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    background: rgba(0, 51, 102, 0.7);
    color: #fff;
    font-size: 1.15em;
    font-weight: 600;
    padding: 0.6em 0.8em;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
    letter-spacing: 0.01em;
    box-sizing: border-box;
    text-align: center;
}

.feature-card-content {
    padding: 1.1em 1em 1.3em 1em;
    font-size: 1em;
    color: #333;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    text-align: center;
}

.feature-card:hover {
    box-shadow: 0 4px 18px rgba(0, 85, 165, 0.13);
}

@media (max-width: 1100px) {
    .about-features {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 700px) {
    .about-features {
        grid-template-columns: 1fr;
    }
}

.pillars-container {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 2.5em;
    width: 90%;
    margin: 0 auto 2.5em auto;
    max-width: 1100px;
}

.pillar-card {
    background: #f5faff;
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(0, 51, 102, 0.07);
    padding: 2em 1.5em 1.5em 1.5em;
    flex: 1 1 0;
    min-width: 220px;
    max-width: 340px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border: 1.5px solid #eaf4ff;
    transition: box-shadow 0.2s, border 0.2s;
}

.pillar-card:hover {
    box-shadow: 0 6px 24px rgba(0, 85, 165, 0.13);
    border: 1.5px solid #b0c4de;
}

.pillar-icon {
    margin-bottom: 1em;
}

.pillar-icon img {
    width: 54px;
    height: 54px;
    display: block;
    margin: 0 auto;
    filter: drop-shadow(0 2px 8px rgba(0, 51, 102, 0.10));
}

.pillar-title {
    font-size: 1.25em;
    font-weight: 700;
    color: #003366;
    margin-bottom: 0.5em;
    letter-spacing: 0.01em;
}

.pillar-desc {
    font-size: 1.08em;
    color: #222;
    margin-bottom: 0;
}

@media (max-width: 900px) {
    .pillars-container {
        flex-direction: column;
        gap: 1.5em;
        width: 98%;
        max-width: 98vw;
    }

    .pillar-card {
        max-width: 100%;
    }
}

.why-us {
    margin-bottom: 2.5em;
    width: 100%;
    background: url('https://images.unsplash.com/photo-1464983953574-0892a716854b?auto=format&fit=crop&w=1400&q=80') center center/cover no-repeat;
    background-attachment: fixed;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
}

.why-us::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background: rgba(247, 249, 251, 0.6);
    /* Even more transparent to let more color through */
    z-index: 0;
    pointer-events: none;
}

.why-us-content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: stretch;
    gap: 2.5em;
    background: #f7f9fb;
    padding: 2.5em 3em;
    box-shadow: 0 1px 12px rgba(0, 0, 0, 0.06);
    width: 90%;
    margin: 0 auto;
    max-width: 1400px;
}

.why-us-left {
    flex: 1 1 45%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    min-width: 220px;
    max-width: 400px;
}

.why-us-left img {
    display: block;
    width: 100%;
    max-width: 320px;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 1.2em;
    box-shadow: 0 2px 12px rgba(0, 51, 102, 0.08);
}

.why-us-blurb h1 {
    color: #003366;
    font-size: 1.45em;
    margin-bottom: 0.5em;
    text-align: left;
}

.why-us-blurb p {
    font-size: 1.08em;
    color: #222;
    text-align: left;
    margin-bottom: 0;
}

.why-us-right {
    flex: 1 1 55%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 2em;
    min-width: 220px;
}

.why-us-right ul {
    margin: 0 0 0.5em 0;
    padding-left: 1.2em;
    color: #003366;
    font-size: 1.08em;
}

.why-us-right li {
    margin-bottom: 0.7em;
    line-height: 1.6;
}

.why-us-right strong {
    color: #0055a5;
}

@media (max-width: 900px) {
    .why-us-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5em;
        padding: 1.5em 1em;
        width: 98%;
        max-width: 98vw;
    }

    .why-us-left,
    .why-us-right {
        max-width: 100%;
        padding-left: 0;
        width: 100%;
    }

    .why-us-left img {
        max-width: 100%;
        height: 140px;
    }
    
    .why-us-right ul {
        font-size: 1.05em;
        padding-left: 1em;
    }
    
    .why-us-right li {
        margin-bottom: 0.8em;
        line-height: 1.7;
    }
}

@media (max-width: 768px) {
    .why-us {
        margin-bottom: 2em;
        background-attachment: scroll;
    }
    
    .why-us-content {
        padding: 1.2em 0.8em;
        width: 100%;
        max-width: 100%;
        margin: 0;
        box-sizing: border-box;
        text-align: center;
    }
    
    .why-us-left,
    .why-us-right {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .why-us-blurb h1 {
        font-size: 1.8em;
        margin-bottom: 1em;
        text-align: center;
    }
    
    .why-us-blurb p {
        font-size: 1.05em;
        line-height: 1.6;
        text-align: center;
    }
    
    .why-us-right h4 {
        text-align: center;
        margin-bottom: 1em;
    }
    
    .why-us-right ul {
        font-size: 1em;
        padding-left: 0;
        list-style: none;
        text-align: left;
        max-width: 100%;
        margin: 0 auto;
    }
    
    .why-us-right li {
        margin-bottom: 0.9em;
        line-height: 1.8;
        word-wrap: break-word;
        overflow-wrap: break-word;
        position: relative;
        padding-left: 1.2em;
    }
    
    .why-us-right li::before {
        content: "•";
        color: #0055a5;
        font-weight: bold;
        position: absolute;
        left: 0;
        top: 0;
    }
    
    .why-us-right > p {
        text-align: center;
        margin-top: 1.5em;
    }
}

@media (max-width: 480px) {
    .why-us-content {
        padding: 1em 0.5em;
        gap: 1.2em;
        text-align: center;
    }
    
    .why-us-blurb h1 {
        font-size: 1.6em;
        margin-bottom: 0.8em;
        text-align: center;
    }
    
    .why-us-blurb p {
        font-size: 1em;
        line-height: 1.5;
        text-align: center;
    }
    
    .why-us-right h4 {
        font-size: 1.1em !important;
        text-align: center;
        margin-bottom: 1em;
    }
    
    .why-us-right ul {
        font-size: 0.95em;
        padding-left: 0;
        list-style: none;
        text-align: left;
        max-width: 100%;
        margin: 0 auto;
    }
    
    .why-us-right li {
        margin-bottom: 1em;
        line-height: 1.9;
        padding-left: 1em;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .why-us-right li::before {
        content: "•";
        color: #0055a5;
        font-weight: bold;
        position: absolute;
        left: 0;
        top: 0;
    }
    
    .why-us-right > p {
        text-align: center;
        margin-top: 1.2em;
        font-size: 1em;
    }
}

.simple-cta {
    background: linear-gradient(90deg, #003366 60%, #0055a5 100%);
    color: #fff;
    border-radius: 14px;
    padding: 3em 1em 2.5em 1em;
    margin: 2.5em auto 2em auto;
    text-align: center;
    box-shadow: 0 4px 32px rgba(0, 51, 102, 0.13);
    max-width: 1800px;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: fadeInCta 1.2s cubic-bezier(.4, 0, .2, 1);
}

@keyframes fadeInCta {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

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

.simple-cta h1 {
    color: #fff;
    font-size: 2.2em;
    margin-bottom: 0.7em;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.13);
}

.simple-cta p {
    color: #e0eaff;
    font-size: 1.22em;
    margin-bottom: 2em;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.07);
}

.cta-btn.cta-btn-large {
    background: linear-gradient(90deg, #fff 60%, #eaf4ff 100%);
    color: #003366;
    font-size: 1.22em;
    font-weight: 700;
    padding: 1em 2.7em;
    border-radius: 8px;
    border: none;
    text-decoration: none;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.15s;
    box-shadow: 0 2px 12px rgba(0, 51, 102, 0.13);
    display: inline-block;
    margin-top: 0.5em;
    letter-spacing: 0.02em;
    cursor: pointer;
    outline: none;
}

.cta-btn.cta-btn-large:hover,
.cta-btn.cta-btn-large:focus {
    background: linear-gradient(90deg, #0055a5 60%, #003366 100%);
    color: #fff;
    box-shadow: 0 6px 24px rgba(0, 85, 165, 0.18);
    transform: translateY(-2px) scale(1.04);
}

.hero-checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 0.7em;
    margin-bottom: 1em;
}

.hero-checkbox-group label {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    font-weight: 500;
    color: #003366;
    font-size: 1em;
    gap: 0.1em;
    padding-left: 1.2em;
    position: relative;
}

.hero-checkbox-group input[type="checkbox"] {
    margin-right: 0.7em;
    position: absolute;
    left: 0;
    top: 0.2em;
}

.hero-checkbox-group span {
    font-weight: 600;
    color: #003366;
    margin-bottom: 0.1em;
}

.hero-checkbox-group small {
    font-size: 0.93em;
    color: #555;
    font-weight: 400;
    margin-left: 0.1em;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 3em;
    margin: 2em auto;
    max-width: 1200px;
    width: 90%;
}

.about-text {
    flex: 1 1 60%;
    text-align: left;
}

.about-text p {
    font-size: 1.15em;
    margin-bottom: 1.2em;
    color: #222;
    line-height: 1.7;
}

.about-image {
    flex: 1 1 40%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-image img {
    width: 100%;
    max-width: 800px;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 51, 102, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-image img:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 51, 102, 0.2);
}

/* Responsive design for about content */
@media (max-width: 900px) {
    .about-content {
        flex-direction: column;
        gap: 2em;
        text-align: center;
    }
    
    .about-text {
        flex: 1 1 100%;
    }
    
    .about-text p {
        text-align: center;
    }
    
    .about-image {
        flex: 1 1 100%;
    }
    
    .about-image img {
        max-width: 90%;
        height: 240px;
    }
}

/* Hero Slideshow Styles */
.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease-in-out, visibility 1s ease-in-out;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
}

.hero-slide .hero-overlay-content {
    animation: slideContentIn 1s ease-out;
}

@keyframes slideContentIn {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Slideshow Navigation Dots */
.hero-slideshow-nav {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
    padding: 15px 20px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 25px;
    backdrop-filter: blur(10px);
}

.slide-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.6);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
    margin: 0;
}

.slide-dot:hover {
    border-color: rgba(255, 255, 255, 0.9);
    transform: scale(1.2);
}

.slide-dot.active {
    background: #fff;
    border-color: #fff;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* Responsive slideshow navigation */


/* Mobile responsive adjustments for hero section */
@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        height: 100vh;
        max-height: none;
        min-height: 500px;
    }
    
    .hero-content {
        display: none !important;
    }
    
    .hero-img {
        max-width: 100%;
        min-width: 100%;
        height: 100%;
        min-height: 100vh;
        background-size: cover;
        background-position: center;
        border-radius: 0;
    }
    
    .hero-slide {
        height: 100%;
        min-height: 100vh;
    }
    
    .hero-overlay-content h1 {
        font-size: 2.5rem;
        margin: 0 0 0.8rem 0;
        letter-spacing: 0.5px;
        max-width: 95%;
    }
    
    .hero-slideshow-nav {
        bottom: 15px;
        gap: 8px;
        padding: 10px 15px;
    }
    
    .slide-dot {
        width: 10px;
        height: 10px;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 450px;
    }
    
    .hero-img {
        min-height: 450px;
    }
    
    .hero-slide {
        min-height: 450px;
    }
    
    .hero-overlay-content h1 {
        font-size: 2rem;
        margin: 0 0 0.6rem 0;
        letter-spacing: 0.3px;
    }
}

/* ==========================================
   MOBILE NAVIGATION STYLES
   ========================================== */

/* Hide mobile nav on desktop */
.mobile-nav {
    display: none;
}

/* Show desktop nav by default */
.desktop-nav {
    display: flex;
}

/* Mobile Navigation Styles */
@media screen and (max-width: 900px) {
    /* Hide desktop navigation */
    .desktop-nav {
        display: none !important;
    }
    
    /* Show mobile navigation */
    .mobile-nav {
        display: flex;
        align-items: center;
        position: relative;
    }
    
    /* Burger Menu Button */
    .burger-menu {
        background: none;
        border: none;
        cursor: pointer;
        padding: 8px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 30px;
        position: relative;
        z-index: 1001;
        border-radius: 4px;
        transition: background-color 0.2s ease;
        box-sizing: border-box;
    }
    
    .burger-menu:hover,
    .burger-menu:focus {
        background-color: rgba(255, 255, 255, 0.1);
        outline: none;
    }
    
    .burger-menu:active {
        background-color: rgba(255, 255, 255, 0.2);
    }
    
    .burger-line {
        width: 14px;
        height: 2px;
        background-color: #fff;
        transition: all 0.3s ease;
        border-radius: 1px;
        margin: 0 auto;
    }
    
    /* Animated burger to X transformation */
    .burger-menu.active .burger-line:nth-child(1) {
        transform: rotate(45deg) translate(3px, 3px);
    }
    
    .burger-menu.active .burger-line:nth-child(2) {
        opacity: 0;
    }
    
    .burger-menu.active .burger-line:nth-child(3) {
        transform: rotate(-45deg) translate(3px, -3px);
    }
    
    /* Mobile Dropdown Menu */
    .mobile-dropdown {
        position: absolute;
        top: 100%;
        right: 0;
        background: #003366;
        border-radius: 8px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
        min-width: 250px;
        padding: 1em 0;
        transform: translateY(-10px);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 1000;
        border: 2px solid rgba(255, 255, 255, 0.1);
    }
    
    .mobile-dropdown.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    /* Mobile Navigation Items */
    .mobile-nav-item {
        display: block;
        color: #fff;
        text-decoration: none;
        padding: 0.8em 1.5em;
        font-size: 1.1em;
        font-weight: 500;
        transition: all 0.2s ease;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .mobile-nav-item:hover {
        background: rgba(255, 255, 255, 0.1);
        padding-left: 2em;
    }
    
    .mobile-nav-item:last-of-type {
        border-bottom: none;
    }
    
    /* Mobile Contact Section */
    .mobile-contact-section {
        margin-top: 0.5em;
        padding-top: 0.5em;
        border-top: 2px solid rgba(255, 255, 255, 0.2);
    }
    
    .mobile-contact-item {
        display: flex;
        align-items: center;
        color: #fff;
        text-decoration: none;
        padding: 0.6em 1.5em;
        font-size: 0.95em;
        transition: all 0.2s ease;
    }
    
    .mobile-contact-item:hover {
        background: rgba(255, 255, 255, 0.1);
        padding-left: 2em;
    }
    
    .contact-icon {
        margin-right: 0.8em;
        font-size: 1.1em;
    }
    
    /* Adjust main navigation container for mobile */
    .main-nav {
        padding: 0.5em 1.5em;
    }
    
    .nav-left {
        flex: 1;
    }
    
    .nav-company {
        font-size: 1.1em;
        font-weight: 600;
    }
}

/* Extra small screens */
@media screen and (max-width: 480px) {
    .main-nav {
        padding: 0.5em 1em;
    }
    
    .mobile-dropdown {
        min-width: 220px;
        right: -10px;
    }
    
    .nav-company {
        font-size: 1em;
    }
    
    .nav-logo {
        width: 35px;
        height: 35px;
    }
}

/* ==========================================
   CONTACT PAGE STYLES
   ========================================== */

/* Contact Hero Section */
.contact-hero {
    background: linear-gradient(135deg, #003366 0%, #0055a5 50%, #007acc 100%);
    color: #fff;
    padding: 4em 0 3em 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 300%;
    height: 100%;
    background: 
        radial-gradient(circle at center, rgba(255,255,255,0.12) 1.5px, transparent 1.5px);
    background-size: 35px 35px;
    animation: subtleMove 45s ease-in-out infinite;
    z-index: 1;
}

.contact-hero::after {
    content: '';
    position: absolute;
    top: 0;
    right: -50%;
    width: 200%;
    height: 100%;
    background: 
        radial-gradient(circle at center, rgba(255,255,255,0.08) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: subtleMoveReverse 60s ease-in-out infinite;
    z-index: 1;
}

@keyframes subtleMove {
    0% { transform: translateX(0) translateY(0); }
    25% { transform: translateX(25%) translateY(-3px); }
    50% { transform: translateX(50%) translateY(3px); }
    75% { transform: translateX(75%) translateY(-2px); }
    100% { transform: translateX(100%) translateY(0); }
}

@keyframes subtleMoveReverse {
    0% { transform: translateX(0) translateY(0); }
    25% { transform: translateX(-20%) translateY(2px); }
    50% { transform: translateX(-40%) translateY(-2px); }
    75% { transform: translateX(-60%) translateY(1px); }
    100% { transform: translateX(-80%) translateY(0); }
}

.contact-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2em;
}

.contact-hero h1 {
    font-size: 3em;
    font-weight: 800;
    margin-bottom: 0.5em;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.02em;
}

.contact-hero-subtitle {
    font-size: 1.3em;
    margin-bottom: 0;
    opacity: 0.95;
    line-height: 1.6;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
}

/* Contact Main Section */
.contact-main {
    padding: 4em 2em;
    background: #f8f9fa;
    min-height: 70vh;
}

.contact-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 4em;
    align-items: start;
}

/* Contact Form Section */
.contact-form-section {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 12px 45px rgba(0, 51, 102, 0.08);
    padding: 3em;
    border: 1px solid rgba(176, 196, 222, 0.2);
    transition: all 0.3s ease;
}

.contact-form-section:hover {
    box-shadow: 0 15px 50px rgba(0, 51, 102, 0.12);
}

.contact-form-header {
    margin-bottom: 2.5em;
    text-align: center;
}

.contact-form-header h2 {
    font-size: 2.4em;
    color: #003366;
    margin-bottom: 0.5em;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.contact-form-header p {
    font-size: 1.15em;
    color: #666;
    margin-bottom: 0;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* Contact Form Styles */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5em;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5em;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5em;
}

.form-group label {
    font-weight: 600;
    color: #003366;
    font-size: 1em;
    margin-bottom: 0.3em;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    padding: 0.9em 1.1em;
    border: 2px solid #e1e8f0;
    border-radius: 10px;
    font-size: 1em;
    background: #fff;
    transition: all 0.3s ease;
    font-family: inherit;
    min-height: 48px; /* Ensure touch-friendly height */
    box-sizing: border-box;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    border-color: #0055a5;
    outline: none;
    background: #f8fbff;
    box-shadow: 0 0 0 3px rgba(0, 85, 165, 0.1);
}

.contact-form select {
    cursor: pointer;
    appearance: none;
    background-image: url('data:image/svg+xml;charset=US-ASCII,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 4 5"><path fill="%23666" d="M2 0L0 2h4zm0 5L0 3h4z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 0.8em center;
    background-size: 0.8em;
    padding-right: 2.5em;
}

/* Contact Checkbox Grid */
.contact-checkbox-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8em;
    margin-top: 0.5em;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.8em;
    cursor: pointer;
    padding: 0.8em;
    border-radius: 8px;
    transition: background-color 0.2s ease;
    position: relative;
}

.checkbox-label:hover {
    background-color: #f8fbff;
}

.checkbox-label input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.checkmark {
    position: relative;
    width: 22px;
    height: 22px;
    border: 2px solid #e1e8f0;
    border-radius: 5px;
    background: #fff;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background: #0055a5;
    border-color: #0055a5;
}

.checkmark::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    opacity: 1;
}

/* Character Counter */
.char-counter {
    text-align: right;
    font-size: 0.9em;
    color: #7f8c8d;
    margin-top: 0.3em;
}

/* Contact Submit Button */
.contact-submit-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5em;
    margin-top: 1em;
}

.contact-submit-btn {
    background: linear-gradient(135deg, #0055a5 0%, #003366 100%);
    color: #fff;
    border: none;
    padding: 1em 2.5em;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 85, 165, 0.3);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
}

.contact-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 85, 165, 0.4);
    background: linear-gradient(135deg, #003366 0%, #0055a5 100%);
}

.contact-submit-btn:active {
    transform: translateY(0);
}

/* Contact Form Response */
#contactFormResponse {
    margin-top: 1em;
    font-size: 1em;
    color: #0055a5;
    min-height: 1.5em;
    text-align: center;
    font-weight: 500;
}

/* Contact Information Section */
.contact-info-section {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 51, 102, 0.08);
    padding: 2.5em;
    border: 1px solid rgba(176, 196, 222, 0.2);
    height: fit-content;
}

.contact-info-header {
    margin-bottom: 2em;
    text-align: center;
}

.contact-info-header h2 {
    font-size: 2em;
    color: #003366;
    margin-bottom: 0.5em;
    font-weight: 700;
}

.contact-info-header p {
    font-size: 1.1em;
    color: #666;
    margin-bottom: 0;
}

/* Contact Info Cards */
.contact-info-cards {
    display: flex;
    flex-direction: column;
    gap: 1.5em;
    margin-bottom: 2.5em;
}

.contact-info-card {
    display: flex;
    align-items: flex-start;
    gap: 1em;
    padding: 1.5em;
    background: #f8fbff;
    border-radius: 12px;
    border: 1px solid #e8f1ff;
    transition: all 0.3s ease;
}

.contact-info-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 85, 165, 0.1);
    border-color: #b0c4de;
}

.contact-info-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: rgba(0, 85, 165, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-info-content h3 {
    font-size: 1.2em;
    font-weight: 600;
    color: #003366;
    margin: 0 0 0.3em 0;
}

.contact-info-content p {
    font-size: 1.1em;
    color: #0055a5;
    margin: 0 0 0.3em 0;
    font-weight: 600;
}

.contact-info-content a {
    color: #0055a5;
    text-decoration: none;
    transition: color 0.2s ease;
}

.contact-info-content a:hover {
    color: #003366;
    text-decoration: underline;
}

.contact-info-note {
    font-size: 0.9em;
    color: #666;
    font-style: italic;
}

/* Additional Information */
.contact-additional-info {
    border-top: 1px solid #e8f1ff;
    padding-top: 2em;
}

.contact-additional-info h3 {
    font-size: 1.4em;
    color: #003366;
    margin-bottom: 1em;
    font-weight: 700;
}

.contact-benefits-list {
    list-style: none;
    padding: 0;
    margin: 0 0 2em 0;
}

.contact-benefits-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.8em;
    margin-bottom: 1em;
    padding: 0.8em;
    background: #f8fbff;
    border-radius: 8px;
    border-left: 4px solid #0055a5;
}

.benefit-icon {
    color: #0055a5;
    font-weight: bold;
    font-size: 1.2em;
    flex-shrink: 0;
    width: 2.5em;
    height: 2.5em;
    color: #0055a5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-benefits-list strong {
    color: #003366;
}

/* Contact CTA */
.contact-cta {
    background: linear-gradient(135deg, #003366 0%, #0055a5 100%);
    color: #fff;
    padding: 1.5em;
    border-radius: 12px;
    text-align: center;
}

.contact-cta h4 {
    font-size: 1.2em;
    margin: 0 0 0.5em 0;
    font-weight: 700;
}

.contact-cta p {
    margin: 0;
    font-size: 1em;
    opacity: 0.95;
}

/* Responsive Design for Contact Page */
@media (max-width: 1200px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 3em;
        max-width: 800px;
    }
    
    /* Form appears first on mobile, under the hero section */
    .contact-form-section {
        order: 1;
    }
    
    .contact-info-section {
        order: 2;
    }
}

@media (max-width: 992px) {
    .contact-container {
        gap: 2.5em;
        max-width: 700px;
    }
    
    .contact-form-section,
    .contact-info-section {
        padding: 2em;
    }
    
    .form-row {
        gap: 1.2em;
    }
    
    .contact-checkbox-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1em;
    }
    
    .contact-form input,
    .contact-form textarea,
    .contact-form select {
        padding: 0.9em 1.1em;
        font-size: 1em;
    }
}

@media (max-width: 768px) {
    .contact-hero {
        padding: 3em 0 2em 0;
    }
    
    .contact-hero-content {
        padding: 0 1.5em;
    }
    
    .contact-hero h1 {
        font-size: 2.2em;
    }
    
    .contact-hero-subtitle {
        font-size: 1.1em;
    }
    
    .contact-main {
        padding: 2em 1em;
    }
    
    .contact-form-section,
    .contact-info-section {
        padding: 1.8em;
        border-radius: 12px;
    }
    
    .contact-form-header {
        margin-bottom: 1.5em;
    }
    
    .contact-form-header h2 {
        font-size: 1.8em;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1.2em;
    }
    
    .form-group {
        gap: 0.6em;
    }
    
    .form-group label {
        font-size: 1.05em;
        font-weight: 600;
    }
    
    .contact-form input,
    .contact-form textarea,
    .contact-form select {
        padding: 1em 1.2em;
        font-size: 1em;
        border-radius: 8px;
        min-height: 52px; /* Increased for better touch targets */
    }
    
    .contact-form textarea {
        min-height: 120px;
        resize: vertical;
    }
    
    .contact-checkbox-grid {
        grid-template-columns: 1fr;
        gap: 0.8em;
    }
    
    .checkbox-label {
        padding: 1em;
        border-radius: 8px;
        background: #f8fbff;
        border: 1px solid #e8f1ff;
        margin-bottom: 0.5em;
    }
    
    .contact-submit-container {
        flex-direction: column;
        align-items: center;
        gap: 1.2em;
        margin-top: 1.5em;
    }
    
    .contact-submit-btn {
        width: 100%;
        max-width: 100%;
        padding: 1.2em 2em;
        font-size: 1.1em;
        border-radius: 10px;
        min-height: 56px;
    }
    
    .contact-info-cards {
        gap: 1em;
    }
    
    .contact-info-card {
        padding: 1em;
    }
    
    .contact-benefits-list li {
        flex-direction: column;
        gap: 0.5em;
        text-align: center;
        padding: 1em;
    }
}

@media (max-width: 480px) {
    .contact-hero {
        padding: 2em 0 1.5em 0;
    }
    
    .contact-hero-content {
        padding: 0 1em;
    }
    
    .contact-hero h1 {
        font-size: 1.8em;
    }
    
    .contact-hero-subtitle {
        font-size: 1em;
    }
    
    .contact-main {
        padding: 1.5em 0.5em;
    }
    
    .contact-form-section,
    .contact-info-section {
        padding: 1.2em;
        border-radius: 10px;
    }
    
    .contact-form-header h2 {
        font-size: 1.6em;
    }
    
    .contact-form-header p {
        font-size: 1em;
    }
    
    .form-group {
        gap: 0.5em;
    }
    
    .form-group label {
        font-size: 1em;
        font-weight: 600;
    }
    
    .contact-form input,
    .contact-form textarea,
    .contact-form select {
        padding: 1em;
        font-size: 16px; /* Prevent zoom on iOS */
        border-radius: 8px;
        min-height: 48px;
    }
    
    
    .contact-form textarea {
        min-height: 100px;
        resize: vertical;
    }
    
    .contact-checkbox-grid {
        grid-template-columns: 1fr;
        gap: 0.6em;
    }
    
    .checkbox-label {
        padding: 0.8em;
        font-size: 0.95em;
    }
    
    .contact-submit-btn {
        padding: 1.1em 1.5em;
        font-size: 1em;
        min-height: 52px;
    }
    
    .contact-info-header h2 {
        font-size: 1.6em;
    }
}

/* CAPTCHA styling for contact form */
.contact-form .g-recaptcha {
    margin: 0;
    flex: 0 0 auto;
    display: flex;
    justify-content: center;
    transform: scale(0.9);
    transform-origin: center;
}

@media (max-width: 600px) {
    .contact-form .g-recaptcha {
        transform: scale(0.8);

        margin: 0.5em 0;
    }
}

/* Services page specific styles */

/* In-page navigation styles */
.page-nav {
  position: fixed;
  top: 80px;
  right: 20px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 51, 102, 0.15);
  padding: 1em;
  z-index: 999;
  border: 1px solid rgba(176, 196, 222, 0.3);
  min-width: 200px;
  transition: all 0.3s ease;
  /* Scroll-based visibility */
  opacity: 0;
  visibility: hidden;
  transform: translateX(20px);
  pointer-events: none;
}

.page-nav.visible {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
  pointer-events: auto;
}

.page-nav h4 {
  margin: 0 0 0.8em 0;
  color: #003366;
  font-size: 0.9em;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.page-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-nav li {
  margin-bottom: 0.5em;
}

.page-nav a {
  display: block;
  color: #666;
  text-decoration: none;
  padding: 0.5em 0.8em;
  border-radius: 6px;
  font-size: 0.85em;
  transition: all 0.2s ease;
  border-left: 3px solid transparent;
}

.page-nav a:hover,
.page-nav a.active {
  color: #0055a5;
  background: rgba(0, 85, 165, 0.1);
  border-left-color: #0055a5;
  transform: translateX(2px);
}

/* Service detail sections */
.service-detail {
  scroll-margin-top: 100px;
  border-bottom: 1px solid rgba(0, 51, 102, 0.1);
  position: relative;
  /* Fade animation styles */
  transition: all 1.5s ease-in-out;
  opacity: 0.3;
  transform: scale(1.02);
  margin-bottom: 4rem;
}

.service-detail::after {
  content: '';
  position: absolute;
  bottom: -2rem;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 2px;
  background: linear-gradient(to right, transparent, rgba(0, 51, 102, 0.3), transparent);
}

.service-detail:last-of-type {
  margin-bottom: 0;
}

.service-detail:last-of-type::after {
  display: none;
}

.service-detail.in-view {
  opacity: 1;
  transform: scale(1);
}

.service-detail .service-text {
  transition: all 0.8s ease-in-out;
  transform: translateY(30px);
  opacity: 0.6;
}

.service-detail.in-view .service-text {
  transform: translateY(0);
  opacity: 1;
}

.service-detail:nth-child(even) {
  background: linear-gradient(135deg, #f8f9fa 0%, #f0f8ff 100%);
}

.service-detail:nth-child(odd) {
  background: #ffffff;
}

.service-detail-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2em;
  display: flex;
  align-items: stretch;
  gap: 4em;
}

    .service-text {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3em;
    align-items: start;
    width: 100%;
    }

.service-text-info {
    display: flex;
    flex-direction: column;
    }

.service-text-info h2 {
    font-size: 2.5em;
    color: #003366;
    margin-bottom: 1em;
    font-weight: 700;
    }

    .service-text-info .service-description {
    font-size: 1.1em;
    line-height: 1.7;
    margin-bottom: 2em;
    color: #555;
    }

.service-benefits {
    display: flex;
    flex-direction: column;
    }

.service-benefits h3 {
  color: #003366;
  margin-bottom: 1em;
  font-size: 1.3em;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 0.8em;
    }

.benefit-item {
  display: flex;
  align-items: flex-start;
  flex-direction: row;
  gap: 0.8em;
  padding: 1em;
  background: rgba(0, 85, 165, 0.05);
  border-radius: 8px;
  border-left: 4px solid #0055a5;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.benefit-item:hover {
  background: rgba(0, 85, 165, 0.1);
  transform: translateY(-2px);
}

.benefit-item strong {
  color: #003366;
  font-weight: 600;
}

.benefit-item div {
  color: #444;
  line-height: 1.5;
}

/* Mobile responsive styles for service detail animations */
@media (max-width: 768px) {
  .service-detail {
    padding: 2em 0;
    min-height: auto;
    margin-bottom: 2rem;
  }

  .service-detail::after {
    bottom: -1rem;
    width: 60%;
  }

  .service-detail-content {
    flex-direction: column;
    gap: 1.5em;
    padding: 2rem 1rem;
    max-width: 100%;
    width: 100%;
  }

  .service-text {
    display: block !important;
    grid-template-columns: none !important;
    gap: 1.5em;
    text-align: left;
    padding: 1.5rem !important;
    background-color: rgba(0,0,0,0.4) !important;
    backdrop-filter: blur(8px) !important;
    border-radius: 12px !important;
    width: 100%;
    box-sizing: border-box;
  }

  .service-text-info {
    width: 100%;
    margin-bottom: 1.5rem;
  }

  .service-text-info h2 {
    font-size: 1.8em !important;
    color: white !important;
    margin-bottom: 1em !important;
    text-align: center;
    width: 100%;
  }

  .service-text-info .service-description {
    font-size: 1em !important;
    line-height: 1.6 !important;
    color: #e0e0e0 !important;
    text-align: left;
    margin-bottom: 1.5em !important;
    width: 100%;
  }

  .service-benefits {
    width: 100%;
  }

  .service-benefits h3 {
    color: white !important;
    font-size: 1.2em !important;
    margin-bottom: 1em !important;
    text-align: center;
    width: 100%;
  }

  .benefits-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.8em;
    width: 100%;
    grid-template-columns: none !important;
    columns: none !important;
    column-count: 1 !important;
  }

  .benefit-item {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 0.8em;
    padding: 0.8em;
    background-color: rgba(255,255,255,0.1) !important;
    border-radius: 8px !important;
    border-left: 3px solid #0055a5;
    width: 100%;
    box-sizing: border-box;
    break-inside: avoid !important;
    page-break-inside: avoid !important;
    text-align: center !important;
  }

  .benefit-item strong {
    color: white !important;
  }

  .benefit-item div {
    color: #e0e0e0 !important;
    flex: 1;
  }

  .service-cta {
    width: 100% !important;
    text-align: center !important;
    margin-top: 1.5rem !important;
  }
}

@media (max-width: 480px) {
  .service-detail {
    margin-bottom: 1.5rem;
    padding: 1.5rem 0;
  }

  .service-detail::after {
    bottom: -0.75rem;
    width: 50%;
  }

  .service-detail-content {
    padding: 1.5rem 0.5rem;
    gap: 1rem;
  }

  .service-text {
    padding: 1rem !important;
    gap: 1rem;
  }

  .service-text-info {
    margin-bottom: 1rem;
  }

  .service-text-info h2 {
    font-size: 1.5em !important;
    margin-bottom: 0.8rem !important;
  }

  .service-text-info .service-description {
    font-size: 0.9em !important;
    margin-bottom: 1rem !important;
  }

  .service-benefits h3 {
    font-size: 1.1em !important;
    margin-bottom: 0.8rem !important;
  }

  .benefits-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.6em;
    width: 100%;
    grid-template-columns: none !important;
    columns: none !important;
    column-count: 1 !important;
  }

  .benefit-item {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    padding: 0.6em;
    gap: 0.6em;
    width: 100%;
    box-sizing: border-box;
    break-inside: avoid !important;
    page-break-inside: avoid !important;
    text-align: center !important;
  }
}

/* Enhanced CTA Section Styles */
.cta-content {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}

.cta-content h2 {
    color: #fff;
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-align: center;
    letter-spacing: 1px;
    text-shadow: 0 3px 15px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, #fff 0%, #e0eaff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 2.5rem;
}

.cta-btn.primary {
    background: linear-gradient(135deg, #fff 0%, #f0f8ff 100%);
    color: #003366;
    font-size: 1.2em;
    font-weight: 700;
    padding: 1.2rem 3rem;
    border-radius: 12px;
    border: none;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
    letter-spacing: 0.8px;
    display: inline-block;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    min-width: 200px;
    text-align: center;
}

.cta-btn.primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0055a5 0%, #003366 100%);
    transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.cta-btn.primary:hover::before {
    left: 0;
}

.cta-btn.primary:hover {
    color: #fff;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 35px rgba(255, 255, 255, 0.4);
}

.cta-btn.secondary {
    background: transparent;
    color: #fff;
    font-size: 1.2em;
    font-weight: 600;
    padding: 1.2rem 3rem;
    border: 2px solid #fff;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 0.8px;
    display: inline-block;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    min-width: 200px;
    text-align: center;
}

.cta-btn.secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #fff 0%, #f0f8ff 100%);
    transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.cta-btn.secondary:hover::before {
    left: 0;
}

.cta-btn.secondary:hover {
    color: #003366;
    border-color: transparent;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 35px rgba(255, 255, 255, 0.3);
}

/* Mobile responsive styles for CTA section */
@media (max-width: 768px) {
    .cta-content h2 {
        font-size: 2.2rem;
        margin-bottom: 1rem;
        letter-spacing: 0.5px;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
        margin-top: 2rem;
    }
    
    .cta-btn.primary,
    .cta-btn.secondary {
        width: 100%;
        max-width: 300px;
        font-size: 1.1em;
        padding: 1rem 2rem;
    }
}

@media (max-width: 480px) {
    .cta-content h2 {
        font-size: 1.8rem;
        letter-spacing: 0.3px;
    }
    
    .cta-btn.primary,
    .cta-btn.secondary {
        font-size: 1em;
        padding: 0.9rem 1.5rem;
        letter-spacing: 0.5px;
    }
}

/* Hide page navigation on mobile devices */
@media (max-width: 768px) {
  .page-nav {
    display: none !important;
  }
}