body {
    margin: 0;
    padding: 0;
}

header .flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1248px;
    margin: 0 auto;
    padding: 12px 16px;
}

header .hidden.md\:flex {
    display: none !important; 
}

header .relative.w-full {
    position: relative;
    width: 100%;
}

header input[type="text"] {
    width: 100%;
    padding: 12px 20px 12px 45px; 
    border: 1px solid #bec8d1;
    border-radius: 8px;
    background-color: #f6f3f2;
    font-size: 14px;
    outline: none;
    transition: all 0.3s;
}

header input[type="text"]:focus {
    border-color: #00628c;
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(0, 98, 140, 0.15);
}

nav {
    background-color: #ffffff;
    border-top: 1px solid #E1E8ED;
    border-bottom: 3px solid #00628c;
    padding: 10px 16px;
}

nav .max-w-container-max {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    max-width: 1280px;
    margin: 0 auto;
    justify-content: center;
}

nav a {
    color: #3f4850 !important;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    padding: 6px 0;
    display: inline-block;
    transition: color 0.3s;
}

nav a:hover {
    color: #00628c !important;
}

section.relative {
    position: relative;
    background-color: #000000;
    min-height: 350px;
    display: flex;
    align-items: center;
}

section.relative .absolute.inset-0.z-0 {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

section.relative .absolute.inset-0.z-0 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4; 
}

section.relative .relative.z-10 {
    position: relative;
    z-index: 10;
    max-width: 1240px;
    margin: 0 auto;
    padding: 30px 16px;
    text-align: center;
}

section.relative h1 {
    font-size: 24px;
    line-height: 1.3;
}

section.relative button {
    background-color: #00628c;
    color: #ffffff;
    padding: 12px 28px;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 20px;
    transition: background 0.3s;
}

section.relative button:hover {
    background-color: #004c70;
}

section.py-stack-lg {
    padding: 24px 16px;
    background-color: #F4F7F9;
}

.grid-cols-1 {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 1280px;
    margin: 0 auto;
}

.md\:col-span-8 {
    background-color: #ffffff;
    border: 1px solid #E1E8ED;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.md\:col-span-8 h2 {
    color: #005596;
    margin-bottom: 12px;
    font-size: 18px;
    line-height: 1.4;
}

.md\:col-span-8 p {
    line-height: 1.6;
    margin-bottom: 14px;
    color: #3f4850;
    font-size: 14px;
    text-align: left;
}

form .grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 12px;
}

form input, form textarea {
    padding: 10px;
    border: 1px solid #bec8d1;
    border-radius: 6px;
    margin-top: 4px;
    font-size: 14px;
}

form textarea {
    resize: none;
    height: 100px;
}

form button[type="submit"] {
    background-color: #00628c;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 10px;
    font-size: 15px;
}

.md\:col-span-4 {
    background-color: #1a1c1c;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    min-height: 220px;
}

.md\:col-span-4 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.5;
}

.md\:col-span-4 .absolute {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    padding: 16px;
    text-align: center;
}

.md\:col-span-4 h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.md\:col-span-4 p {
    font-size: 13px;
    line-height: 1.4;
}

.material-symbols-outlined {
    display: inline-block;
    vertical-align: middle;
}

@media (min-width: 768px) {
    header .flex {
        padding: 15px 24px;
    }

    header .hidden.md\:flex {
        display: flex !important;
        flex: 1;
        max-width: 550px;
        margin: 0 40px;
    }

    nav {
        padding: 0;
    }

    nav .max-w-container-max {
        gap: 40px;
        padding: 0 24px;
        justify-content: center;
    }

    nav a {
        padding: 14px 0;
        font-size: 15px;
    }

    nav a::after {
        content: '';
        position: absolute;
        bottom: -3px;
        left: 0;
        width: 0;
        height: 3px;
        background-color: #00628c;
        transition: width 0.3s;
    }

    nav a:hover::after {
        width: 100%;
    }

    section.relative {
        min-height: 500px;
    }

    section.relative .relative.z-10 {
        padding: 0 24px;
        text-align: left;
    }

    section.relative h1 {
        font-size: 36px;
    }

    section.py-stack-lg {
        padding: 40px 24px;
    }

    .grid-cols-1 {
        display: flex;
        flex-direction: row;
        gap: 24px;
    }

    .md\:col-span-8 {
        flex: 8;
        padding: 30px;
    }

    .md\:col-span-8 h2 {
        font-size: 22px;
    }

    .md\:col-span-8 p {
        font-size: 15px;
    }

    form .grid {
        flex-direction: row;
    }
    
    form .grid > div {
        flex: 1;
    }

    form input, form textarea {
        font-size: 15px;
    }

    .md\:col-span-4 {
        flex: 4;
        min-height: 350px;
    }

    .md\:col-span-4 h3 {
        font-size: 22px;
    }

    .md\:col-span-4 p {
        font-size: 15px;
    }
}