/* Reset styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Body & layout */
body {
    background: linear-gradient(135deg, #dedbc3, #bdbaa0);
    color: #1f5d5c;
}

.page-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
}

/* Navbar styling */
.navbar {
    width: 100%;
    background-color: #dedbc3;
    position: sticky;
    top: 0;
    left: 0;
    padding: 12px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.nav-left {
    display: flex;
    align-items: center;
}

.navbar .logo {
    width: 150px;
    padding-bottom: 6px;
}

/* Desktop nav menu */
.nav-menu {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-menu li a {
    color: #1f5d5c;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 4px 0;
    position: relative;
    transition: color 0.2s ease;
}

/* Simple underline hover */
.nav-menu li a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 2px;
    background-color: #1f5d5c;
    transition: width 0.2s ease;
}

.nav-menu li a:hover::after {
    width: 100%;
}

.nav-menu li a:hover {
    color: #174a49;
}

/* Focus outlines (accessibility) */
.nav-menu li a:focus-visible,
.btn:focus-visible,
.nav-toggle:focus-visible {
    outline: 2px solid #1f5d5c;
    outline-offset: 2px;
}

/* Hamburger button */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle .bar {
    display: block;
    width: 22px;
    height: 2px;
    margin: 4px 0;
    background-color: #1f5d5c;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

/* Generic container */
.container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 64px 24px;
}

/* Hero section */
.hero {
    padding-top: 32px;
    padding-bottom: 32px;
}

.hero-container {
    padding-top: 48px; /* extra top breathing room */
}

/* Two-column grid on desktop */
.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.1fr);
    gap: 40px;
    align-items: center;
}

/* Left side: text */
.hero-text {
    text-align: left;
}

.hero-eyebrow {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 10px;
    opacity: 0.8;
}

.hero h1 {
    font-size: 2.7rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    margin-bottom: 18px;
    animation: fadeIn 1.5s ease-in-out;
}

.hero-subtitle {
    font-size: 1.05rem;
    line-height: 1.8;
    max-width: 720px;
    margin-bottom: 28px;
    opacity: 0.95;
    animation: fadeIn 2s ease-in-out;
}

.hero-actions {
    display: flex;
    justify-content: flex-start;
    gap: 16px;
    flex-wrap: wrap;
    animation: fadeIn 2.5s ease-in-out;
}

/* Right side: visual card */
.hero-visual {
    display: flex;
    justify-content: center;
}

.hero-visual-card {
    width: 100%;
    max-width: 360px;
    background: linear-gradient(145deg, rgba(31, 93, 92, 0.9), rgba(23, 74, 73, 0.9));
    color: #f4f2dd;
    border-radius: 18px;
    padding: 22px 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    position: relative;
    overflow: hidden;
}

/* subtle decorative circle */
.hero-visual-card::before {
    content: "";
    position: absolute;
    width: 160px;
    height: 160px;
    border-radius: 999px;
    background: radial-gradient(circle at 30% 20%, #dedbc3, transparent 60%);
    top: -40px;
    right: -40px;
    opacity: 0.7;
}

.hero-visual-label {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 12px;
    opacity: 0.85;
}

.hero-visual-list {
    list-style: none;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.hero-visual-list li {
    font-size: 0.96rem;
    line-height: 1.7;
    margin-bottom: 6px;
    padding-left: 16px;
    position: relative;
}

.hero-visual-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    top: 0;
    color: #ffe59a;
}

.hero-visual-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 4px;
    position: relative;
    z-index: 1;
}

.hero-pill {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    border-radius: 999px;
    padding: 6px 10px;
    border: 1px solid rgba(244, 242, 221, 0.7);
    background: rgba(23, 74, 73, 0.5);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 11px 24px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    border: 2px solid transparent;
    transition:
        background-color 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease,
        transform 0.1s ease,
        box-shadow 0.1s ease;
}

.btn-primary {
    background-color: #1f5d5c;
    color: #dedbc3;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
}

.btn-primary:hover {
    background-color: #174a49;
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.16);
}

.btn-secondary {
    background-color: transparent;
    color: #1f5d5c;
    border-color: #1f5d5c;
}

.btn-secondary:hover {
    background-color: #1f5d5c;
    color: #dedbc3;
    transform: translateY(-1px);
}

/* Generic section styling */
.section {
    width: 100%;
}

.section-alt {
    background-color: rgba(222, 219, 195, 0.35);
}

.section-title {
    font-size: 2.1rem;
    font-weight: 650;
    margin-bottom: 20px;
    text-align: left;
}

.section-intro {
    font-size: 1rem;
    margin-bottom: 28px;
    line-height: 1.7;
    text-align: left;
    max-width: 720px;
    opacity: 0.95;
}

.section-text {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 16px;
    text-align: left;
    max-width: 720px;
    opacity: 0.98;
}

/* Cards (Services) */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.card {
    background-color: #dedbc3;
    padding: 22px 20px;
    border-radius: 14px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.16);
}

.card-title {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.card-text {
    font-size: 0.98rem;
    line-height: 1.7;
}

/* Steps (Approach) */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.step {
    background-color: #dedbc3;
    padding: 22px 20px;
    border-radius: 14px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    position: relative;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.step:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.16);
}

.step-number {
    font-size: 1.4rem;
    font-weight: 700;
    opacity: 0.65;
    margin-bottom: 6px;
}

.step-title {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.step-text {
    font-size: 0.98rem;
    line-height: 1.7;
}

/* Contact Section */
.contact-section {
    background-color: #dedbc3;
    padding: 40px 24px;
    border-radius: 14px;
    margin: 24px auto 56px auto;
    width: 100%;
    max-width: 1100px;
    text-align: left;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
}

.contact-section h3 {
    font-size: 1.9rem;
    font-weight: 650;
    margin-bottom: 16px;
    color: #1f5d5c;
}

.contact-intro {
    font-size: 1rem;
    margin-bottom: 24px;
    line-height: 1.7;
    max-width: 720px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 1.02rem;
    color: #1f5d5c;
}

.contact-item img {
    width: 30px;
    height: 30px;
}

.contact-item a {
    text-decoration: none;
    color: #1f5d5c;
    transition: color 0.2s ease;
}

.contact-item a:hover {
    color: #174a49;
}

/* Footer styling */
footer {
    width: 100%;
    text-align: center;
    padding: 20px;
    font-size: 0.85rem;
    opacity: 0.9;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Responsive Design */

/* Medium screens: 2-column grids */
@media (max-width: 900px) {
    .cards-grid,
    .steps-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero-grid {
        gap: 32px;
    }
}

/* Tablet & small desktops */
@media (max-width: 768px) {
    .container {
        padding: 52px 20px;
    }

    .navbar .logo {
        width: 130px;
    }

    /* hero becomes stacked */
    .hero-container {
        padding-top: 40px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
    }

    .hero-text {
        text-align: center;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 0.98rem;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-visual {
        justify-content: center;
    }

    .hero-visual-card {
        max-width: 420px;
    }

    .contact-section h3 {
        font-size: 1.6rem;
    }

    .contact-item {
        font-size: 0.98rem;
    }

    /* Show hamburger, hide desktop menu by default */
    .nav-toggle {
        display: block;
    }

    .nav-menu {
        position: absolute;
        top: 60px; /* roughly navbar height */
        right: 0;
        left: 0;
        background-color: #dedbc3;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        padding: 0 20px;
        max-height: 0;
        overflow: hidden;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        transition: max-height 0.25s ease;
    }

    .nav-menu li {
        padding: 6px 0;
    }

    .nav-menu.nav-menu--open {
        max-height: 240px;
        padding-bottom: 10px;
    }
}

/* Phone screens */
@media (max-width: 600px) {
    .cards-grid,
    .steps-grid {
        grid-template-columns: 1fr;
    }

    .navbar .logo {
        width: 120px;
    }

    .container {
        padding: 46px 18px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.9rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .container {
        padding: 40px 16px;
    }
}
