:root {
    --primary: #9ab5c8;
    --primary-dark: #7f9db3;
    --secondary: #1e466e;
    --text-dark: #1e2a3a;
    --text-light: #4a627a;
    --bg-light: #f8fafc;
    --white: #ffffff;
    --border: #e2e8f0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

.container {
    width: 90%;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
}

.section-title {
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--secondary);
    position: relative;
}
.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--primary);
    margin: 0.5rem auto 0;
    border-radius: 2px;
}
.light-title {
    color: var(--white);
}
.light-title::after {
    background: var(--white);
}
.header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 0;
    flex-wrap: wrap;
}
.logo img {
    max-height: 80px;
    width: auto;
}
.nav-menu {
    display: flex;
    list-style: none;
    gap: 1rem;
    flex-wrap: wrap;
}
.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s;
    font-size: 0.9rem;
}
.nav-menu a:hover, .nav-menu a.active {
    color: var(--primary-dark);
}
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}
.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--secondary);
    margin: 3px 0;
}

@media (min-width: 1024px) {
    .logo img {
        max-height: 100px;
    }
    .nav-menu {
        gap: 1.8rem;
    }
    .nav-menu a {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    .nav-menu {
        position: fixed;
        right: -100%;    
        top: 70px;
        flex-direction: column;
        background: var(--white);
        width: 70%;
        text-align: center;
        transition: 0.3s;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        padding: 2rem 0;
        gap: 1.5rem;
        z-index: 99;
    }
    .nav-menu.active {
        right: 0;
    }
}

.hero {
    background: var(--secondary);
    color: var(--white);
    padding: 2rem 0;
}
.hero-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}
.hero-content {
    text-align: center;
}
.hero-content h1 {
    font-size: 1.8rem;
    line-height: 1.3;
    margin-bottom: 1rem;
}
.hero-content p {
    margin-bottom: 1rem;
    font-size: 1rem;
}
.hero-resources {
    display: flex;
    justify-content: center;
}
.hero-resource-img {
    max-width: 280px;
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

@media (min-width: 768px) {
    .hero-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    .hero-content {
        flex: 1;
        text-align: left;  
        padding-right: 2rem;
    }
    .hero-resources {
        flex: 0.5;
        justify-content: flex-end;
    }
    .hero-content h1 {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .hero-resource-img {
        max-width: 220px;
    }
}

.btn-primary {
    display: inline-block;
    background: var(--primary);
    color: var(--secondary);
    padding: 0.8rem 1.8rem;
    text-decoration: none;
    border-radius: 40px;
    font-weight: 600;
    transition: background 0.3s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}
.btn-primary:hover {
    background: var(--primary-dark);
    color: var(--white);
}

.services {
    background: var(--white);
}
.services-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.service-card {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 16px;
    text-align: center;
    transition: transform 0.2s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.service-card:hover {
    transform: translateY(-4px);
}
.service-card i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 0.8rem;
}
.service-card h3 {
    margin-bottom: 0.8rem;
    font-size: 1.3rem;
}

.detailed-services {
    background: var(--white);
}
.detailed-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.detailed-card {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 16px;
    text-align: left;
    transition: transform 0.2s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.detailed-card:hover {
    transform: translateY(-4px);
}
.detailed-card i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 0.8rem;
}
.detailed-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
}
.complementary {
    background: #eef2f6;
    border-left: 4px solid var(--primary);
}

.how-we-work {
    background: var(--secondary);
    color: var(--white);
}
.steps-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.step {
    background: #2a5a7a;
    padding: 1.5rem;
    border-radius: 16px;
    text-align: center;
    transition: transform 0.2s;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.step:hover {
    transform: translateY(-4px);
    background: #356f8f;
}
.step-number {
    font-size: 2rem;
    font-weight: 700;
    background: var(--primary);
    color: var(--secondary);
    width: 50px;
    height: 50px;
    line-height: 50px;
    border-radius: 50%;
    margin: 0 auto 0.8rem;
}
.step h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}
.step p {
    font-size: 0.95rem;
}

.about {
    background: var(--secondary);
    color: var(--white);
}
.about-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
.about-text {
    text-align: center;
}
.about-image {
    text-align: center;
}
.about-image img {
    max-width: 80%;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}
.signature {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 2px solid var(--primary);
}


.testimonials {
    background: var(--white);
}
.testimonials-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.testimonial {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.testimonial p {
    font-style: italic;
    margin-bottom: 0.8rem;
}
.testimonial h4 {
    margin-bottom: 0.2rem;
    color: var(--secondary);
}

.faq {
    background: var(--secondary);
    color: var(--white);
}
.faq-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 1.5rem auto;
}
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.faq-item {
    background: rgba(255,255,255,0.1);
    border-radius: 12px;
    overflow: hidden;
}
.faq-question {
    background: rgba(255,255,255,0.15);
    padding: 0.8rem 1.2rem;
    font-weight: 600;
    cursor: pointer;
    position: relative;
}
.faq-question::after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 1rem;
}
.faq-item.active .faq-question::after {
    transform: rotate(180deg);
}
.faq-answer {
    padding: 0 1.2rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background: rgba(255,255,255,0.05);
}
.faq-item.active .faq-answer {
    padding: 0.8rem 1.2rem;
    max-height: 300px;
}

.blog {
    background: var(--white);
}
.blog-subtitle {
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--text-light);
}
.blog-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.blog-post {
    border-bottom: 1px solid var(--border);
    padding-bottom: 1.2rem;
}
.blog-meta {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-bottom: 0.3rem;
}
.blog-post h3 a {
    text-decoration: none;
    color: var(--secondary);
}
.read-more {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

.contact-section {
    background: var(--secondary);
    color: var(--white);
}
.contact-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
.contact-info {
    text-align: center;
}
.contact-info p {
    margin: 0.8rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
}
.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 0.8rem;
    margin-bottom: 1rem;
    border: none;
    border-radius: 12px;
    font-family: inherit;
    font-size: 1rem;
}
.contact-form button {
    width: 100%;
    background: var(--primary);
    color: var(--secondary);
    font-size: 1rem;
}

.footer {
    background: var(--secondary);
    color: var(--border);
    text-align: center;
}
.footer-container {
    padding: 1.5rem 0;
}
.footer-links {
    display: flex;
    justify-content: center;
    gap: 1.2rem;
    margin-bottom: 0.8rem;
    flex-wrap: wrap;
}
.footer-links a {
    color: var(--border);
    text-decoration: none;
    font-size: 0.9rem;
}

.fade-left, .fade-right, .fade-up {
    opacity: 0;
    transition: all 0.8s ease;
}
.fade-left {
    transform: translateX(-30px);
}
.fade-right {
    transform: translateX(30px);
}
.fade-up {
    transform: translateY(30px);
}
.visible {
    opacity: 1;
    transform: translateX(0) translateY(0);
}

.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6);
    align-items: center;
    justify-content: center;
}
.modal.show {
    display: flex;
}
.modal-content {
    background: var(--white);
    border-radius: 24px;
    width: 90%;
    max-width: 350px;
    box-shadow: 0 20px 35px rgba(0,0,0,0.2);
    animation: modalFadeIn 0.3s ease;
}
.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.2rem;
    border-bottom: 1px solid var(--border);
}
.modal-header h3 {
    margin: 0;
    color: var(--secondary);
}
.close-modal {
    font-size: 1.8rem;
    cursor: pointer;
    color: #888;
}
.modal-body {
    padding: 1.5rem;
    text-align: center;
}
.modal-footer {
    padding: 0.8rem 1.5rem 1.5rem;
    text-align: center;
}
.btn-modal-close {
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: 40px;
    cursor: pointer;
}
@keyframes modalFadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 480px) {
    .container {
        width: 95%;
        padding: 1rem 0;
    }
    .section-title {
        font-size: 1.5rem;
    }
    .hero-content h1 {
        font-size: 1.6rem;
    }
    .hero-resource-img {
        max-width: 200px;
    }
    .step h3, .detailed-card h3 {
        font-size: 1.1rem;
    }
}