/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body { min-height: 100vh; }
img { display: block; max-width: 100%; }

/* ── Label ── */
.label {
    display: block;
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(27, 67, 50, 0.4);
    font-weight: 400;
}

/* ── Navbar ── */
#navbar {
    background: transparent;
    transition: background 0.5s ease, box-shadow 0.5s ease, backdrop-filter 0.5s ease;
}
#navbar.scrolled {
    background: rgba(252, 252, 248, 0.92);
    backdrop-filter: blur(16px);
    box-shadow: 0 1px 0 rgba(27, 67, 50, 0.06);
}
.nav-link {
    position: relative;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: currentColor;
    transition: width 0.3s ease;
}
.nav-link:hover::after { width: 100%; }

/* ── Mobile Menu ── */
#mobileMenu.open { opacity: 1; pointer-events: all; }
#mobileMenu.closed { opacity: 0; pointer-events: none; }
.mobile-link {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}
#mobileMenu.open .mobile-link {
    opacity: 1;
    transform: translateY(0);
}
#mobileMenu.open .mobile-link:nth-child(1) { transition-delay: 0.1s; }
#mobileMenu.open .mobile-link:nth-child(2) { transition-delay: 0.15s; }
#mobileMenu.open .mobile-link:nth-child(3) { transition-delay: 0.2s; }
#mobileMenu.open .mobile-link:nth-child(4) { transition-delay: 0.25s; }
#mobileMenu.open .mobile-link:nth-child(5) { transition-delay: 0.3s; }

/* ── Hero Gradient ── */
.hero-gradient {
    background: linear-gradient(160deg, #0a1c15 0%, #1B4332 30%, #2d6a4f 60%, #40916c 85%, #52b788 100%);
}
.hero-pattern {
    background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.08) 1px, transparent 0);
    background-size: 40px 40px;
}
.hero-orb {
    animation: orbFloat 8s ease-in-out infinite;
}
.hero-orb-1 {
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(82, 183, 136, 0.4), transparent 70%);
    top: -10%; right: -5%;
    animation-delay: 0s;
}
.hero-orb-2 {
    width: 350px; height: 350px;
    background: radial-gradient(circle, rgba(165, 214, 167, 0.3), transparent 70%);
    bottom: 10%; left: -3%;
    animation-delay: -3s;
}
.hero-orb-3 {
    width: 200px; height: 200px;
    background: radial-gradient(circle, rgba(197, 232, 197, 0.25), transparent 70%);
    top: 40%; left: 20%;
    animation-delay: -5s;
}
@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -20px) scale(1.05); }
    66% { transform: translate(-20px, 15px) scale(0.95); }
}

/* ── Hero Badge ── */
.hero-badge {
    animation: fadeInDown 0.8s ease forwards;
    animation-delay: 0.2s;
    opacity: 0;
}
/* ── Hero Headline ── */
h1 {
    animation: fadeInUp 0.9s ease forwards;
    animation-delay: 0.4s;
    opacity: 0;
}
/* ── Hero Paragraph ── */
.hero + section p,
section > div > div > p {
    animation: fadeInUp 0.9s ease forwards;
    animation-delay: 0.6s;
    opacity: 0;
}
/* ── Hero CTA ── */
.hero-cta {
    animation: fadeInUp 0.9s ease forwards;
    animation-delay: 0.8s;
    opacity: 0;
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-12px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ── Divider Line ── */
.divider-line {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(27, 67, 50, 0.12), transparent);
}

/* ── Service Cards ── */
.service-card {
    transition: background 0.4s ease;
}
.service-card:hover {
    background: rgba(244, 247, 242, 0.8) !important;
}
.service-card-icon {
    color: rgba(27, 67, 50, 0.35);
    margin-bottom: 1.5rem;
    transition: color 0.3s ease, transform 0.3s ease;
}
.service-card:hover .service-card-icon {
    color: rgba(27, 67, 50, 0.7);
    transform: translateY(-2px);
}

/* ── Gallery ── */
.gallery-item {
    cursor: pointer;
    overflow: hidden;
    position: relative;
}
.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(27, 67, 50, 0);
    transition: background 0.4s ease;
    border-radius: inherit;
}
.gallery-item:hover::after {
    background: rgba(27, 67, 50, 0.08);
}
.gallery-item img {
    transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.gallery-item:hover img {
    transform: scale(1.06);
}

/* ── Input Fields ── */
.input-field {
    border: 1px solid rgba(27, 67, 50, 0.12);
    border-radius: 8px;
    padding: 12px 16px;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 14px;
    font-weight: 300;
    color: rgba(27, 67, 50, 0.8);
    background: transparent;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    outline: none;
    width: 100%;
}
.input-field::placeholder {
    color: rgba(27, 67, 50, 0.25);
}
.input-field:focus {
    border-color: rgba(27, 67, 50, 0.35);
    box-shadow: 0 0 0 3px rgba(27, 67, 50, 0.06);
}
.input-field option {
    background: #f8f6ef;
    color: #1B4332;
}

/* ── Submit Button ── */
.btn-submit {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: #1B4332;
    color: #FCFCF8;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    border: none;
    border-radius: 100px;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}
.btn-submit:hover {
    background: #153628;
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(27, 67, 50, 0.25);
}
.btn-submit:active {
    transform: translateY(0);
}
.btn-submit svg {
    transition: transform 0.3s ease;
}
.btn-submit:hover svg {
    transform: translate(3px, -3px);
}

/* ── Success Message ── */
.success-message {
    text-align: center;
    padding: 24px;
    animation: fadeInUp 0.5s ease forwards;
}
.success-message svg {
    color: #52b788;
}

/* ── Scroll Reveal ── */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ── Responsive ── */
@media (max-width: 767px) {
    .hero-orb-1 { width: 280px; height: 280px; }
    .hero-orb-2 { width: 180px; height: 180px; }
    .hero-orb-3 { width: 120px; height: 120px; }
}
