/* ---------- RESET & BASE ---------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background: #ffffff;
    color: #0f172a;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ---------- BUTTONS ---------- */
.btn-primary {
    display: inline-block;
    background: #ffffff;
    color: #16114a;
    padding: 0.8rem 2.2rem;
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
    box-shadow: 0 4px 12px #d1dceb(30, 58, 95, 0.25);
}
.btn-primary:hover {
    background: #152b47;
    transform: translateY(-2px);
}

.btn-outline {
    display: inline-block;
    background: transparent;
    color: #1e3a5f;
    padding: 0.8rem 2.2rem;
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.95rem;
    border: 2px solid #1e3a5f;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}
.btn-outline:hover {
    background: #1e3a5f;
    color: #ffffff;
}

/* ---------- HEADER / NAV ---------- */
.navbar {
    background: #ffffff;
    border-bottom: 1px solid #e9edf2;
    padding: 0.8rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    font-size: 1.6rem;
    font-weight: 700;
    color: #1e3a5f;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}
.logo i {
    color: #2d8f6f;
    font-size: 1.8rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
    font-weight: 500;
    font-size: 0.95rem;
}
.nav-links a {
    color: #1e2f44;
    transition: color 0.15s;
}
.nav-links a:hover {
    color: #1e3a5f;
}
.nav-links .btn-primary {
    padding: 0.5rem 1.6rem;
    font-size: 0.85rem;
}

.hamburger {
    display: none;
    font-size: 1.6rem;
    cursor: pointer;
    color: #1e3a5f;
}

/* ---------- HERO ---------- */
.hero {
    background: linear-gradient(145deg, #f0f5fa 0%, #ffffff 100%);
    padding: 4rem 0 5rem;
    border-bottom: 1px solid #e9edf2;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    color: #0b1a2e;
}
.hero-content h1 span {
    color: #2d8f6f;
}
.hero-content p {
    font-size: 1.15rem;
    color: #3a4b5e;
    margin: 1.2rem 0 2rem;
    max-width: 500px;
}
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.hero-stats {
    display: flex;
    gap: 2.5rem;
    margin-top: 2.5rem;
}
.hero-stats div {
    text-align: center;
}
.hero-stats .number {
    font-size: 2rem;
    font-weight: 700;
    color: #1e3a5f;
}
.hero-stats .label {
    font-size: 0.85rem;
    color: #5a6b7e;
}

.hero-image {
    background: #dce5ed;
    border-radius: 24px;
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3a5a7a;
    font-weight: 500;
    font-size: 1.2rem;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 23 23" fill="%2389a3b8" width="80" height="80"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-1 17.93c-3.95-.49-7-3.85-7-7.93 0-.62.08-1.21.21-1.79L9 15v1c0 1.1.9 2 2 2v1.93zm6.9-2.54c-.26-.81-1-1.39-1.9-1.39h-1v-3c0-.55-.45-1-1-1H8v-2h2c.55 0 1-.45 1-1V7h2c1.1 0 2-.9 2-2v-.41c2.93 1.19 5 4.06 5 7.41 0 2.08-.8 3.97-2.1 5.39z"/></svg>');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 80px;
}

/* ---------- LOGO CLOUD ---------- */
.logos {
    padding: 2.5rem 0;
    background: #ffffff;
    border-bottom: 1px solid #e9edf2;
    text-align: center;
}
.logos p {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #7a8b9e;
    margin-bottom: 1.2rem;
}
.logos-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2.5rem 4rem;
    align-items: center;
}
.logos-grid span {
    font-weight: 600;
    color: #3a4b5e;
    font-size: 1.1rem;
    opacity: 0.7;
    letter-spacing: 0.02em;
}

/* ---------- ABOUT ---------- */
.about {
    padding: 4rem 0;
    background: #f8fafc;
}
.section-title {
    text-align: center;
    margin-bottom: 3rem;
}
.section-title h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #0b1a2e;
}
.section-title p {
    color: #5a6b7e;
    max-width: 600px;
    margin: 0.5rem auto 0;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-top: 1.5rem;
}
.about-item {
    text-align: center;
    padding: 1.5rem;
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e9edf2;
}
.about-item .icon {
    font-size: 2.4rem;
    color: #2d8f6f;
    margin-bottom: 0.8rem;
}
.about-item h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #0b1a2e;
}
.about-item p {
    font-size: 0.9rem;
    color: #5a6b7e;
    margin-top: 0.3rem;
}

/* ---------- SERVICES ---------- */
.services {
    padding: 4rem 0;
    background: #ffffff;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 1.5rem;
}

.service-card {
    background: #f8fafc;
    border-radius: 20px;
    padding: 2rem 1.8rem;
    border: 1px solid #e9edf2;
    transition: transform 0.2s, box-shadow 0.2s;
}
.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06);
}
.service-card .icon {
    font-size: 2rem;
    color: #1e3a5f;
    margin-bottom: 1rem;
}
.service-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #0b1a2e;
    margin-bottom: 0.5rem;
}
.service-card p {
    font-size: 0.95rem;
    color: #5a6b7e;
}
.service-card ul {
    list-style: none;
    margin-top: 0.8rem;
}
.service-card ul li {
    font-size: 0.9rem;
    color: #3a4b5e;
    padding: 0.2rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.service-card ul li::before {
    content: "✓";
    color: #2d8f6f;
    font-weight: 700;
}

/* ---------- WHY CHOOSE ---------- */
.why-choose {
    padding: 4rem 0;
    background: #f8fafc;
}
.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-top: 1.5rem;
}
.why-item {
    text-align: center;
    padding: 1.5rem;
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e9edf2;
}
.why-item .icon {
    font-size: 2.4rem;
    color: #2d8f6f;
    margin-bottom: 0.8rem;
}
.why-item h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #0b1a2e;
}
.why-item p {
    font-size: 0.9rem;
    color: #5a6b7e;
    margin-top: 0.3rem;
}

/* ---------- HOW IT WORKS ---------- */
.how-it-works {
    padding: 4rem 0;
    background: #ffffff;
}
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}
.step {
    text-align: center;
    padding: 1.5rem 1rem;
    background: #f8fafc;
    border-radius: 16px;
    border: 1px solid #e9edf2;
}
.step .step-num {
    display: inline-block;
    background: #1e3a5f;
    color: #fff;
    width: 40px;
    height: 40px;
    line-height: 40px;
    border-radius: 50%;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 0.8rem;
}
.step h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #0b1a2e;
}
.step p {
    font-size: 0.85rem;
    color: #5a6b7e;
    margin-top: 0.3rem;
}

/* ---------- TESTIMONIAL ---------- */
.testimonial {
    padding: 4rem 0;
    background: #f8fafc;
    text-align: center;
}
.testimonial blockquote {
    font-size: 1.2rem;
    font-style: italic;
    color: #1e2f44;
    max-width: 700px;
    margin: 0 auto 1rem;
}
.testimonial .author {
    font-weight: 600;
    font-size: 1rem;
    color: #0b1a2e;
}
.testimonial .role {
    font-size: 0.85rem;
    color: #7a8b9e;
}

/* ---------- FAQ ---------- */
.faq {
    padding: 4rem 0;
    background: #ffffff;
}
.faq-grid {
    max-width: 800px;
    margin: 0 auto;
}
.faq-item {
    border-bottom: 1px solid #e9edf2;
    padding: 1rem 0;
}
.faq-item .question {
    font-weight: 600;
    color: #0b1a2e;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.faq-item .question i {
    transition: transform 0.2s;
}
.faq-item .answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    color: #5a6b7e;
    font-size: 0.95rem;
}
.faq-item.open .answer {
    max-height: 200px;
    padding-top: 0.5rem;
}
.faq-item.open .question i {
    transform: rotate(180deg);
}

/* ---------- CTA ---------- */
.cta {
    background: linear-gradient(145deg, #1e3a5f, #152b47);
    color: #ffffff;
    padding: 4rem 0;
    text-align: center;
}
.cta h2 {
    font-size: 2.2rem;
    font-weight: 700;
}
.cta p {
    font-size: 1.1rem;
    opacity: 0.8;
    max-width: 500px;
    margin: 0.5rem auto 2rem;
}
.cta .btn-primary {
    background: #ffffff;
    color: #1e3a5f;
    box-shadow: none;
}
.cta .btn-primary:hover {
    background: #e9edf2;
}

/* ---------- CONTACT / FOOTER ---------- */
.contact-footer {
    background: #0b1a2e;
    color: #b0c4d8;
    padding: 3rem 0 2rem;
    border-top: 1px solid #1a2f44;
}
.contact-footer .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2rem;
}
.contact-footer .col h4 {
    color: #ffffff;
    font-size: 1rem;
    margin-bottom: 0.6rem;
}
.contact-footer .col p,
.contact-footer .col a {
    font-size: 0.9rem;
    color: #b0c4d8;
    display: block;
    margin-bottom: 0.3rem;
}
.contact-footer .col a:hover {
    color: #ffffff;
}
.contact-footer .col i {
    margin-right: 0.5rem;
    width: 1.2rem;
}
.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #1a2f44;
    margin-top: 2rem;
    font-size: 0.8rem;
    color: #7a8b9e;
}

/* ---------- MODAL ---------- */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 1rem;
}

.modal-overlay.hidden {
    display: none;
}

.modal-box {
    background: #ffffff;
    border-radius: 20px;
    max-width: 480px;
    width: 100%;
    padding: 2rem 2.2rem;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
    position: relative;
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1.2rem;
    background: transparent;
    border: none;
    font-size: 1.4rem;
    color: #94a3b8;
    cursor: pointer;
    transition: color 0.2s;
}
.modal-close:hover {
    color: #1e293b;
}

.modal-box h3 {
    font-size: 1.6rem;
    font-weight: 700;
    color: #0b1a2e;
    margin-bottom: 0.2rem;
}

.modal-box p {
    color: #5a6b7e;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.modal-box label {
    display: block;
    font-weight: 500;
    font-size: 0.85rem;
    color: #1e2f44;
    margin-bottom: 0.2rem;
    margin-top: 0.8rem;
}

.modal-box input {
    width: 100%;
    padding: 0.7rem 1rem;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    font-size: 0.95rem;
    transition: border-color 0.2s, box-shadow 0.2s;
    background: #f8fafc;
}
.modal-box input:focus {
    outline: none;
    border-color: #1e3a5f;
    box-shadow: 0 0 0 3px rgba(30, 58, 95, 0.15);
    background: #ffffff;
}

.modal-box .btn-primary {
    width: 100%;
    margin-top: 1.2rem;
    padding: 0.8rem;
    font-size: 1rem;
    justify-content: center;
}

#modalSuccess {
    margin-top: 1rem;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 992px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-actions {
        justify-content: center;
    }
    .hero-stats {
        justify-content: center;
    }
    .hero-image {
        height: 200px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        gap: 1rem;
        padding: 1rem 0;
        border-top: 1px solid #e9edf2;
        margin-top: 0.8rem;
    }
    .nav-links.open {
        display: flex;
    }
    .hamburger {
        display: block;
    }
    .hero-content h1 {
        font-size: 2.2rem;
    }
    .section-title h2 {
        font-size: 1.8rem;
    }
    .contact-footer .container {
        flex-direction: column;
        text-align: center;
    }
    .modal-box {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1.2rem;
    }
    .hero-stats {
        gap: 1.2rem;
        flex-wrap: wrap;
    }
    .hero-stats .number {
        font-size: 1.4rem;
    }
    .service-grid {
        grid-template-columns: 1fr;
    }
    .why-grid {
        grid-template-columns: 1fr;
    }
    .steps-grid {
        grid-template-columns: 1fr;
    }
}