@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap');

:root {
    --primary: #22577A;
    --secondary: #38A3A5;
    --accent: #F6B93B;
    --background: #f9fafb;
}

html, body {
    margin: 0;
    padding: 0;
    background: var(--background);
    font-family: 'Montserrat', Arial, sans-serif;
    color: #212529;
}

header {
    background: #fff;
    box-shadow: 0 2px 10px #22577a15;
    position: sticky;
    top: 0;
    z-index: 100;
}
header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 16px;
    height: 65px;
}
.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
}
.logo span {
    color: var(--secondary);
    font-weight: 400;
}
nav a {
    margin-left: 28px;
    text-decoration: none;
    color: #444;
    font-weight: 500;
    transition: color 0.2s;
}
nav a:hover {
    color: var(--primary);
}
.hero {
    background: linear-gradient(105deg, #38A3A5 0%, #57CC99 100%);
    color: #fff;
    padding: 72px 0 58px 0;
    text-align: center;
}
.hero h1 {
    font-size: 2.7rem;
    font-weight: 700;
    margin-bottom: 12px;
}
.hero p {
    font-size: 1.18rem;
    margin-bottom: 28px;
    font-weight: 400;
}
.btn {
    background: var(--accent);
    color: #212529;
    border: none;
    border-radius: 24px;
    padding: 14px 36px;
    font-size: 1.09rem;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s;
    cursor: pointer;
}
.btn:hover {
    background: #ffd36b;
}
section {
    padding: 54px 0;
}
.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 16px;
}
h2 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 28px;
}
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(245px, 1fr));
    gap: 28px;
}
.service-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 16px #22577a14;
    padding: 32px 22px;
    transition: box-shadow 0.2s;
    border-left: 6px solid var(--secondary);
}
.service-card h3 {
    color: var(--secondary);
    font-size: 1.22rem;
    margin-bottom: 12px;
}
.about-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 38px;
    align-items: center;
    justify-content: space-between;
}
.about-text {
    flex: 1.7;
}
.about-text ul {
    padding-left: 17px;
}
.about-map {
    flex: 1.3;
    position: relative;
    min-width: 140px;
    max-width: 220px;
}
.about-map img {
    width: 100%;
    border-radius: 13px;
    box-shadow: 0 2px 16px #38A3A533;
}
.us-flag {
    position: absolute;
    bottom: 8px;
    right: 16px;
    font-size: 2.1rem;
}
.contact-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 36px;
}
#contact-form {
    display: flex;
    flex-direction: column;
    gap: 13px;
    width: 100%;
    max-width: 380px;
}
#contact-form input, #contact-form textarea {
    padding: 10px 14px;
    border-radius: 8px;
    border: 1px solid #d9d9d9;
    font-size: 1.04rem;
    font-family: 'Montserrat', Arial, sans-serif;
    background: #fafbfc;
}
#contact-form textarea {
    resize: vertical;
    min-height: 80px;
    max-height: 160px;
}
#contact-form button {
    background: var(--primary);
    color: #fff;
    font-weight: 700;
    border: none;
    border-radius: 8px;
    padding: 12px 0;
    margin-top: 7px;
    font-size: 1.08rem;
    cursor: pointer;
    transition: background 0.2s;
}
#contact-form button:hover {
    background: var(--secondary);
}
.company-info {
    margin-top: 18px;
    font-size: 1.09rem;
}
footer {
    background: #f3f3f3;
    color: #888;
    text-align: center;
    padding: 19px 0;
    font-size: 1rem;
}
@media (max-width: 900px) {
    .about-flex {
        flex-direction: column;
        gap: 20px;
    }
}
@media (max-width: 700px) {
    header .container {
        flex-direction: column;
        gap: 12px;
        height: auto;
        padding: 12px 8px;
    }
    .about-map {
        max-width: 150px;
    }
    .service-grid {
        gap: 15px;
    }
}
@media (max-width: 500px) {
    .hero h1 {
        font-size: 1.45rem;
    }
    h2 {
        font-size: 1.12rem;
    }
    .container {
        padding: 0 6px;
    }
}
/* Modal Styles */
.modal-overlay {
    position: fixed;
    z-index: 10000;
    left: 0; top: 0; width: 100vw; height: 100vh;
    background: rgba(34, 87, 122, 0.33);
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-box {
    background: #fff;
    border-radius: 18px;
    padding: 32px 24px 24px 24px;
    max-width: 400px;
    width: 94vw;
    box-shadow: 0 6px 30px #22577a40;
    position: relative;
    text-align: left;
    animation: popIn .2s;
}
@keyframes popIn { 0% {transform: scale(0.9); opacity: 0;} 100% {transform: scale(1); opacity:1;} }

.modal-close {
    position: absolute;
    top: 12px; right: 20px;
    font-size: 1.7rem;
    color: #22577A;
    cursor: pointer;
}

#modal-contact-form input,
#modal-contact-form textarea {
    width: 100%;
    margin-bottom: 11px;
    padding: 9px 12px;
    border-radius: 7px;
    border: 1px solid #d9d9d9;
    font-size: 1.04rem;
    background: #fafbfc;
    font-family: inherit;
}

#modal-contact-form button {
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 7px;
    padding: 12px 0;
    width: 100%;
    font-size: 1.09rem;
    font-weight: 700;
    cursor: pointer;
    margin-top: 7px;
}
#modal-contact-form button:hover {
    background: var(--secondary);
}
.contact-section {
    display: flex;
    flex-direction: column;
    align-items: center;  /* centers content horizontally */
    justify-content: center;
    gap: 36px;
    text-align: center;   /* centers text inside the section */
}

#contact-form {
    width: 100%;
    max-width: 380px;
    margin: 0 auto;      /* centers the form itself */
}

.company-info {
    margin-top: 18px;
    font-size: 1.09rem;
    text-align: center;  /* ensures contact info is also centered */
}
.payment-section {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f7fafd;
}

.payment-container {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 24px #22577a18;
    padding: 42px 24px 32px 24px;
    max-width: 370px;
    width: 95vw;
    margin: 40px auto;
    text-align: center;
}

#payment-form input {
    width: 100%;
    margin-bottom: 12px;
    padding: 10px 13px;
    border-radius: 7px;
    border: 1px solid #d9d9d9;
    font-size: 1rem;
    background: #fafbfc;
    font-family: inherit;
}

#payment-form button {
    background: var(--primary, #22577A);
    color: #fff;
    border: none;
    border-radius: 7px;
    padding: 12px 0;
    width: 100%;
    font-size: 1.09rem;
    font-weight: 700;
    cursor: pointer;
    margin-top: 7px;
}
#payment-form button:hover {
    background: var(--secondary, #38A3A5);
}

.payment-note {
    margin-top: 20px;
    color: #888;
    font-size: 0.98rem;
}
