/* Root Variables */
:root {
    --primary-color: #0B3D2E;
    --primary-dark: #004c99;
    --secondary-color: #00b4d8;
    --accent-color: #ffa500;
    --text-dark: #1a1a1a;
    --text-light: #666666;
    --background-light: #f8f9fa;
    --white: #ffffff;
    --border-color: #e0e0e0;
    --success-color: #28a745;
    --shadow: 0 2px 10px rgba(0,0,0,0.1);
    --shadow-hover: 0 4px 20px rgba(0,0,0,0.15);
}

/* Reset & Base */
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { overflow-x: hidden; } /* prevent horizontal scrolling */

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Navigation */
.navbar {
    background-color: #1B1F1D;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* Desktop header: logo | links | CTA */
.nav-wrapper {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 0;
    position: relative;
}

.logo-container { display: flex; align-items: center; margin-left: -20px; }

.logo { height: 120px; width: auto; transition: transform 0.3s ease; }
.logo:hover { transform: scale(1.05); }

/* Desktop nav links */
.nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    position: static;    /* no absolute */
    transform: none;     /* no translate */
}
.nav-links a {
    text-decoration: none;
    color: var(--white);
    font-weight: 700;                  /* bold Montserrat */
    font-size: 1.125rem;
    transition: opacity 0.3s ease, transform 0.2s ease;
    font-family: 'Montserrat', sans-serif;
}
.nav-links a:hover { opacity: 0.9; transform: translateY(-1px); }

.nav-cta-button {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 0.75rem 2rem;
    border-radius: 5px;
    font-size: 1.125rem;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease;
    font-family: 'Montserrat', sans-serif;
}
.nav-cta-button:hover { background-color: var(--primary-dark); }

/* Hamburger */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}
.mobile-menu-toggle span {
    width: 25px; height: 3px; background-color: var(--white);
    margin: 3px 0; transition: 0.3s;
}

/* Hero */
.hero { background: linear-gradient(135deg, #0B6655 0%, #1E8A61 50%, #00B4A6 100%); color: var(--white); padding: 6rem 0; }
.hero-content { text-align: center; max-width: 800px; margin: 0 auto; }
.hero h1 { font-size: 3rem; font-weight: 700; margin-bottom: 1.5rem; line-height: 1.2; font-family: 'Montserrat', sans-serif; }
.hero .highlight { color: var(--accent-color); }
.hero-subtitle { font-size: 1.25rem; margin-bottom: 2rem; opacity: 0.95; }
.hero-cta { display: flex; gap: 1rem; justify-content: center; margin-bottom: 3rem; }

.trust-indicators { display: flex; justify-content: center; gap: 3rem; margin-top: 3rem; }
.trust-item { text-align: center; }
.trust-number { display: block; font-size: 2.5rem; font-weight: 700; color: var(--accent-color); font-family: 'Montserrat', sans-serif; }
.trust-label { display: block; font-size: 0.9rem; opacity: 0.9; }

/* Buttons */
.button { display: inline-block; padding: 0.875rem 2rem; border-radius: 5px; text-decoration: none; font-weight: 600; transition: all 0.3s ease; border: 2px solid transparent; font-family: 'Montserrat', sans-serif; }
.button-primary { background-color: var(--accent-color); color: var(--text-dark); }
.button-primary:hover { background-color: #ff8c00; transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.button-secondary { background-color: transparent; color: var(--white); border: 2px solid var(--white); }
.button-secondary:hover { background-color: var(--white); color: var(--primary-color); }
.button-outline { background-color: transparent; color: var(--primary-color); border: 2px solid var(--primary-color); }
.button-outline:hover { background-color: var(--primary-color); color: var(--white); }

/* Sections */
.section-header { text-align: center; margin-bottom: 3rem; }
.section-header h2 { font-size: 2.5rem; color: var(--text-dark); margin-bottom: 1rem; font-family: 'Montserrat', sans-serif; }
.section-header p { font-size: 1.125rem; color: var(--text-light); max-width: 700px; margin: 0 auto; }

.about { padding: 5rem 0; background-color: var(--white); }
.about-wrapper { max-width: 900px; margin: 0 auto; }
.about-content h2 { font-size: 2.5rem; color: var(--text-dark); margin-bottom: 1rem; text-align: center; font-family: 'Montserrat', sans-serif; }
.about-intro { font-size: 1.25rem; color: var(--primary-color); text-align: center; margin-bottom: 3rem; font-weight: 600; }
.about-text { line-height: 1.8; color: var(--text-light); }
.about-text p { margin-bottom: 1.5rem; }
.about-text h3 { font-size: 1.75rem; color: var(--text-dark); margin-top: 2.5rem; margin-bottom: 1rem; font-family: 'Montserrat', sans-serif; }
.about-highlights { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; margin-top: 3rem; padding-top: 3rem; border-top: 2px solid var(--border-color); }
.highlight-item { text-align: center; }
.highlight-item h4 { font-size: 1.5rem; color: var(--primary-color); margin-bottom: 0.5rem; font-weight: 700; font-family: 'Montserrat', sans-serif; }
.highlight-item p { color: var(--text-light); font-size: 0.95rem; }

.services { padding: 5rem 0; background-color: var(--background-light); }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.service-card { background-color: var(--white); padding: 2rem; border-radius: 10px; box-shadow: var(--shadow); transition: transform 0.3s ease, box-shadow 0.3s ease; position: relative; }
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.service-card.featured { border: 2px solid var(--primary-color); }
.badge { position: absolute; top: -12px; right: 20px; background-color: var(--accent-color); color: var(--text-dark); padding: 0.25rem 0.75rem; border-radius: 20px; font-size: 0.8rem; font-weight: 600; font-family: 'Montserrat', sans-serif; }
.service-icon { font-size: 3rem; margin-bottom: 1rem; }
.service-card h3 { font-size: 1.5rem; margin-bottom: 1rem; color: var(--text-dark); font-family: 'Montserrat', sans-serif; }
.service-features { list-style: none; margin-top: 1.5rem; }
.service-features li { padding: 0.5rem 0; padding-left: 1.5rem; position: relative; color: var(--text-light); }
.service-features li:before { content: "✓"; position: absolute; left: 0; color: var(--success-color); font-weight: bold; }

.process { padding: 5rem 0; }
.process-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; }
.process-step { text-align: center; padding: 2rem; }
.step-number { width: 60px; height: 60px; background-color: var(--primary-color); color: var(--white); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; font-weight: 700; margin: 0 auto 1.5rem; font-family: 'Montserrat', sans-serif; }
.process-step h3 { font-size: 1.25rem; margin-bottom: 1rem; color: var(--text-dark); font-family: 'Montserrat', sans-serif; }
.process-step p { color: var(--text-light); }

.pricing { padding: 5rem 0; background-color: var(--background-light); }
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.pricing-card { background-color: var(--white); padding: 2.5rem; border-radius: 10px; box-shadow: var(--shadow); transition: transform 0.3s ease, box-shadow 0.3s ease; text-align: center; position: relative; }
.pricing-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.pricing-card.featured { border: 3px solid var(--primary-color); transform: scale(1.05); }
.pricing-card h3 { font-size: 1.5rem; margin-bottom: 1rem; color: var(--text-dark); font-family: 'Montserrat', sans-serif; }
.price { font-size: 3rem; font-weight: 700; color: var(--primary-color); margin-bottom: 0.5rem; font-family: 'Montserrat', sans-serif; }
.price span { font-size: 1.25rem; color: var(--text-light); }
.price-description { color: var(--text-light); margin-bottom: 2rem; min-height: 3rem; }
.pricing-features { list-style: none; text-align: left; margin-bottom: 2rem; }
.pricing-features li { padding: 0.75rem 0; padding-left: 1.5rem; position: relative; color: var(--text-light); border-bottom: 1px solid var(--border-color); }
.pricing-features li:last-child { border-bottom: none; }
.pricing-features li:before { content: "✓"; position: absolute; left: 0; color: var(--success-color); font-weight: bold; }

.portfolio { padding: 5rem 0; }
.portfolio-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }
.portfolio-item { background-color: var(--white); padding: 2rem; border-radius: 10px; box-shadow: var(--shadow); transition: transform 0.3s ease, box-shadow 0.3s ease; }
.portfolio-item:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.portfolio-item h3 { font-size: 1.25rem; margin-bottom: 0.5rem; color: var(--text-dark); font-family: 'Montserrat', sans-serif; }
.portfolio-category { color: var(--primary-color); font-size: 0.9rem; font-weight: 600; margin-bottom: 1rem; font-family: 'Montserrat', sans-serif; }
.portfolio-item p { color: var(--text-light); }

.testimonials { padding: 5rem 0; background-color: var(--background-light); }
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.testimonial-card { background-color: var(--white); padding: 2rem; border-radius: 10px; box-shadow: var(--shadow); }
.testimonial-rating { color: var(--accent-color); font-size: 1.25rem; margin-bottom: 1rem; }
.testimonial-text { font-style: italic; color: var(--text-light); margin-bottom: 1rem; line-height: 1.8; }
.testimonial-author { font-weight: 600; color: var(--text-dark); font-family: 'Montserrat', sans-serif; }

.contact { padding: 5rem 0; }
.contact-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.contact-info h2 { font-size: 2rem; margin-bottom: 1rem; color: var(--text-dark); font-family: 'Montserrat', sans-serif; }
.contact-info p { color: var(--text-light); margin-bottom: 2rem; line-height: 1.8; }
.contact-details { display: flex; flex-direction: column; gap: 1rem; }
.contact-item { display: flex; flex-direction: column; gap: 0.25rem; }
.contact-item strong { color: var(--text-dark); }
.contact-item a { color: var(--primary-color); text-decoration: none; }
.contact-item a:hover { text-decoration: underline; }

.contact-form { background-color: var(--background-light); padding: 2rem; border-radius: 10px; }
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; margin-bottom: 0.5rem; font-weight: 600; color: var(--text-dark); font-family: 'Montserrat', sans-serif; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 0.75rem; border: 1px solid var(--border-color); border-radius: 5px; font-family: inherit; font-size: 1rem; transition: border-color 0.3s ease; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--primary-color); }
.form-group textarea { resize: vertical; }
.contact-form button { width: 100%; padding: 1rem; background-color: var(--primary-color); color: var(--white); border: none; border-radius: 5px; font-size: 1rem; font-weight: 600; cursor: pointer; transition: background-color 0.3s ease; font-family: 'Montserrat', sans-serif; }
.contact-form button:hover { background-color: var(--primary-dark); }

.footer { background-color: var(--text-dark); color: var(--white); padding: 3rem 0 1rem; }
.footer-content { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; margin-bottom: 2rem; }
.footer-logo { height: 60px; width: auto; margin-bottom: 1rem; background-color: var(--white); padding: 0.5rem; border-radius: 5px; }
.footer-section h4 { margin-bottom: 1rem; color: var(--accent-color); font-family: 'Montserrat', sans-serif; }
.footer-section ul { list-style: none; }
.footer-section ul li { margin-bottom: 0.5rem; }
.footer-section a { color: var(--white); text-decoration: none; opacity: 0.8; transition: opacity 0.3s ease; }
.footer-section a:hover { opacity: 1; }
.footer-bottom { text-align: center; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.1); opacity: 0.7; }

/* ---- Responsive ---- */

/* Tablet */
@media (max-width: 1024px) {
    .nav-links { gap: 2rem; }
    .logo { height: 110px; }
}

/* Mobile overlay menu */
@media (max-width: 768px) {
    .logo-container { margin-left: 0; }         /* avoid off-canvas shift */
    .nav-cta-button { display: none; }          /* hide floating CTA on phones */

    .nav-links {
        display: none;
        position: fixed;
        top: 80px; left: 0; right: 0; bottom: 0;
        transform: none;
        background: #1B1F1D;
        flex-direction: column;
        align-items: center;
        gap: 1.25rem;
        padding: 1rem 1.25rem 2rem;
        overflow-y: auto;
        z-index: 1001;
        box-shadow: var(--shadow);
    }
    .nav-links.active { display: flex; }

    .nav-links a { padding: 0.75rem 1rem; width: 100%; text-align: center; }

    .mobile-menu-toggle { display: flex; }
    .mobile-menu-toggle.active span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
    .mobile-menu-toggle.active span:nth-child(2) { opacity: 0; }
    .mobile-menu-toggle.active span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

    .hero h1 { font-size: 2rem; }
    .hero-subtitle { font-size: 1rem; }
    .hero { padding: 4rem 0; }

    .hero-cta { flex-direction: column; }
    .trust-indicators { flex-direction: column; gap: 1.5rem; }

    .contact-wrapper { grid-template-columns: 1fr; }
    .services-grid, .pricing-grid, .portfolio-grid, .testimonials-grid { grid-template-columns: 1fr; }
    .pricing-card.featured { transform: scale(1); }
}

/* Small phones */
@media (max-width: 480px) {
    .logo { height: 100px; }
    .section-header h2 { font-size: 2rem; }
    .price { font-size: 2.5rem; }
}
