/* ==========================================================================
   Design Tokens / Variables
   ========================================================================== */
:root {
    --primary: #2E5A44;
    --primary-light: #4A7C59;
    --primary-soft: #E8F0EC;
    --accent: #D4A373;
    --accent-light: #FAEDCD;
    --bg-main: #FAF9F6;
    --bg-card: #FFFFFF;
    --text-main: #2C3E35;
    --text-muted: #66786E;
    --border-color: #E2E8E4;
    --shadow-sm: 0 2px 8px rgba(46, 90, 68, 0.05);
    --shadow-md: 0 8px 24px rgba(46, 90, 68, 0.08);
    --shadow-lg: 0 16px 32px rgba(46, 90, 68, 0.12);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
}

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Layout helper for sticky footer pages (e.g. Thank You page) */
body.page-layout {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Typography */
h1,
h2,
h3,
.serif {
    font-family: 'Playfair Display', serif;
}

/* Container */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(250, 249, 246, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 1px solid rgba(46, 90, 68, 0.08);
    transition: all 0.3s ease;
}

header.static-header {
    position: relative;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo span {
    font-size: 0.9rem;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 500;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1px;
    background: var(--accent-light);
    padding: 2px 8px;
    border-radius: 4px;
}

.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-light);
}

.mobile-cta {
    display: none;
}

.mobile-cta .btn-header {
    display: inline-block;
    text-align: center;
    width: 100%;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    padding: 6px;
    z-index: 1001;
}

.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2.5px;
    background-color: var(--primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-toggle.active span:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn-header {
    background-color: var(--primary);
    color: white;
    padding: 10px 22px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.btn-header:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-primary {
    background-color: var(--primary);
    color: white;
    padding: 14px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    padding: 12px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: var(--primary-soft);
}

.btn-submit {
    width: 100%;
    background: var(--primary);
    color: white;
    border: none;
    padding: 14px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-submit:hover {
    background: var(--primary-light);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    padding-top: 150px;
    padding-bottom: 90px;
    background: linear-gradient(135deg, rgba(232, 240, 236, 0.5) 0%, rgba(250, 249, 246, 1) 100%);
    position: relative;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--primary-soft);
    color: var(--primary);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 3.2rem;
    line-height: 1.2;
    color: var(--primary);
    margin-bottom: 24px;
}

.hero-title span {
    font-style: italic;
    color: var(--accent);
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 36px;
    max-width: 540px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    align-items: center;
}

.hero-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    text-align: center;
    position: relative;
}

.hero-avatar {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(46, 90, 68, 0.15);
    border: 4px solid white;
    overflow: hidden;
}

.hero-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.hero-card h3 {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 6px;
}

.hero-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 24px;
}

.social-tags {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.social-link {
    background: var(--bg-main);
    color: var(--primary);
    padding: 8px 16px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.social-link:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* ==========================================================================
   Section Styling (General)
   ========================================================================== */
section {
    padding: 90px 0;
}

.section-header {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 60px;
}

.section-subtitle {
    color: var(--accent);
    text-transform: uppercase;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    margin-bottom: 10px;
    display: block;
}

.section-title {
    font-size: 2.4rem;
    color: var(--primary);
    margin-bottom: 16px;
}

.section-desc {
    color: var(--text-muted);
    font-size: 1.05rem;
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-subtext {
    margin-top: 15px;
    color: var(--text-muted);
}

.about-box {
    background: var(--bg-card);
    padding: 40px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.about-box-title {
    color: var(--primary);
    margin-bottom: 20px;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
}

.feature-item {
    background: var(--primary-soft);
    padding: 20px;
    border-radius: var(--radius-md);
}

.feature-item h4 {
    color: var(--primary);
    font-size: 1.1rem;
    margin-bottom: 6px;
}

.feature-item p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ==========================================================================
   Services Section
   ========================================================================== */
.services {
    background: linear-gradient(180deg, var(--bg-main) 0%, rgba(232, 240, 236, 0.4) 100%);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    padding: 36px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    position: relative;
    top: 0;
}

.service-card:hover {
    top: -8px;
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.service-icon {
    width: 56px;
    height: 56px;
    background: var(--primary-soft);
    color: var(--primary);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 24px;
}

.service-card h3 {
    font-size: 1.35rem;
    color: var(--primary);
    margin-bottom: 12px;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ==========================================================================
   Process Section
   ========================================================================== */
.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.process-step {
    background: var(--bg-card);
    padding: 30px 24px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    text-align: center;
    position: relative;
}

.step-number {
    width: 44px;
    height: 44px;
    background: var(--accent);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    margin: 0 auto 20px;
}

.process-step h4 {
    color: var(--primary);
    font-size: 1.15rem;
    margin-bottom: 10px;
}

.process-step p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact {
    background: var(--primary);
    color: white;
    border-radius: var(--radius-lg);
    margin: 60px auto;
    padding: 70px 40px;
    position: relative;
    overflow: hidden;
}

.contact .section-subtitle {
    color: var(--accent-light);
}

.contact .section-title {
    color: white;
}

.contact-intro {
    opacity: 0.9;
    margin-bottom: 30px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-top: 40px;
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(255, 255, 255, 0.08);
    padding: 18px 24px;
    border-radius: var(--radius-sm);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.contact-icon {
    font-size: 1.4rem;
    color: var(--accent-light);
}

.contact-item div h5 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
    margin-bottom: 2px;
}

.contact-item div a,
.contact-item div p {
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
}

.contact-form {
    background: white;
    padding: 36px;
    border-radius: var(--radius-md);
    color: var(--text-main);
}

.contact-form h3 {
    color: var(--primary);
    font-size: 1.4rem;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text-main);
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 0.95rem;
    transition: border-color 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
}

/* ==========================================================================
   Thank You Page Styles
   ========================================================================== */
main.thankyou-main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 0;
}

.thankyou-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 60px 40px;
    max-width: 650px;
    width: 100%;
    text-align: center;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
    position: relative;
}

.success-icon {
    width: 90px;
    height: 90px;
    background: var(--primary-soft);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.8rem;
    margin: 0 auto 28px;
    border: 2px solid rgba(46, 90, 68, 0.1);
}

.thankyou-card h1 {
    font-size: 2.4rem;
    color: var(--primary);
    margin-bottom: 16px;
}

.thankyou-card p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 32px;
    line-height: 1.7;
}

.info-box {
    background: var(--bg-main);
    border: 1px dashed var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px;
    margin-bottom: 36px;
    text-align: left;
}

.info-box-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    color: var(--text-main);
    margin-bottom: 10px;
}

.info-box-item:last-child {
    margin-bottom: 0;
}

.info-box-link {
    color: var(--primary);
    text-decoration: underline;
}

/* ==========================================================================
   Footer
   ========================================================================== */
footer {
    background: #1F3D2E;
    color: rgba(255, 255, 255, 0.7);
    padding: 40px 0;
    text-align: center;
    font-size: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

footer a {
    color: white;
    text-decoration: none;
    font-weight: 600;
}

.footer-subtext {
    margin-top: 8px;
    font-size: 0.8rem;
    opacity: 0.6;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 992px) {

    .hero {
        padding-top: 110px;
        padding-bottom: 60px;
    }

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

    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {

    .hero {
        padding-top: 100px;
        padding-bottom: 50px;
    }

    .mobile-toggle {
        display: flex;
    }

    .btn-header {
        display: none;
    }

    .mobile-cta {
        display: block;
        margin-top: 10px;
    }

    .nav-links {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background: rgba(250, 249, 246, 0.98);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        flex-direction: column;
        padding: 24px 30px;
        gap: 16px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
        border-bottom: 1px solid rgba(46, 90, 68, 0.1);
        transform: translateY(-150%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-links li a {
        font-size: 1.05rem;
        display: block;
        padding: 8px 0;
    }

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

    .contact {
        padding: 40px 20px;
    }
}
