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

:root {
    --primary-green: #2d5016;
    --secondary-green: #4a7c2a;
    --light-green: #e8f5e9;
    --warm-gold: #d4a574;
    --dark-blue: #1a3a52;
    --text-dark: #2c3e50;
    --text-light: #6c757d;
    --white: #ffffff;
    --off-white: #f8f9fa;
    --border-color: #e0e0e0;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--white);
}

h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    color: var(--primary-green);
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

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

/* Navigation */
.navbar {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: static;
    z-index: 1000;
    padding: 0rem 0;
}

.navbar-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0.75rem 2rem;
}

.logo-container {
    flex-shrink: 0;
    padding-right: 2rem;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-green);
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.3s ease;
}

.logo:hover {
    color: var(--secondary-green);
}

.nav-content {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex: 1;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a:hover {
    color: var(--secondary-green);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-green);
    transition: width 0.3s ease;
}

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

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--light-green) 0%, var(--white) 100%);
    padding: 5rem 0;
}

.hero-layout {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 4rem;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
}

.hero-content {
    text-align: left;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 0.25rem;
    color: var(--primary-green);
}

.hero-title-sub {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    color: var(--secondary-green);
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.hero-subtitle-secondary {
    font-size: 1rem;
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 0.75rem;
}

.hero-subtitle {
    font-size: 1.4rem;
    color: var(--warm-gold);
    font-weight: 600;
    margin-bottom: 0;
    letter-spacing: 0.04em;
}

.hero-divider {
    width: 60px;
    height: 3px;
    background-color: var(--warm-gold);
    margin: 1.5rem 0 1.75rem;
    border-radius: 2px;
}

.hero-section-heading {
    font-size: 1.4rem;
    color: var(--primary-green);
    margin-bottom: 0.75rem;
}

.hero-text {
    font-size: 1.05rem;
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.hero-image-wrap {
    flex-shrink: 0;
}

.hero-portrait {
    width: 300px;
    height: 380px;
    object-fit: cover;
    object-position: top center;
    border-radius: 18px;
    box-shadow: 0 16px 48px rgba(45, 80, 22, 0.18);
    border: 4px solid var(--white);
    outline: 2px solid var(--secondary-green);
}

/* About Section */
.about {
    padding: 5rem 0;
    background-color: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: center;
}

.about-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    line-height: 1.8;
}

.highlight {
    background-color: var(--light-green);
    padding: 1.5rem;
    border-left: 4px solid var(--secondary-green);
    border-radius: 5px;
    font-weight: 500;
    font-style: italic;
}

.credentials {
    margin-top: 2rem;
    padding: 2rem;
    background-color: var(--off-white);
    border-radius: 10px;
}

.credentials ul {
    list-style: none;
    padding-left: 0;
}

.credentials li {
    padding: 0.75rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.credentials li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--secondary-green);
    font-weight: bold;
    font-size: 1.2rem;
}

/* Philosophy Section */
.philosophy {
    padding: 5rem 0;
    background-color: var(--off-white);
}

.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.philosophy-card {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    border-top: 3px solid var(--secondary-green);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.philosophy-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.philosophy-card h3 {
    color: var(--secondary-green);
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
    text-align: center;
    line-height: 1.3;
    font-weight: 600;
}

.philosophy-card p {
    line-height: 1.8;
    color: var(--text-dark);
    text-align: left;
}

/* Services Section */
.services {
    padding: 5rem 0;
    background-color: var(--white);
}

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

.service-category {
    background-color: var(--off-white);
    padding: 2.5rem;
    border-radius: 10px;
    border-top: 4px solid var(--secondary-green);
}

.service-category h3 {
    color: var(--primary-green);
    margin-bottom: 1.5rem;
    text-align: center;
    line-height: 1.3;
    font-weight: 600;
}

.service-category ul {
    list-style: none;
    padding-left: 0;
}

.service-category li {
    padding: 0.75rem 0;
    padding-left: 1.5rem;
    position: relative;
    border-bottom: 1px solid var(--border-color);
}

.service-category li:last-child {
    border-bottom: none;
}

.service-category li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--secondary-green);
    font-size: 1.5rem;
    line-height: 1;
}

/* Supervision Section */
.supervision {
    padding: 5rem 0;
    background-color: var(--off-white);
}

.section-intro {
    font-size: 1.05rem;
    color: var(--text-dark);
    margin-bottom: 2rem;
}

.service-intro {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    font-style: italic;
}

.supervision-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.supervision-item {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    border-top: 3px solid var(--secondary-green);
}

.supervision-item h3 {
    color: var(--primary-green);
    margin-bottom: 1.5rem;
    text-align: center;
    line-height: 1.3;
    font-weight: 600;
}

.supervision-item ul {
    list-style: none;
    padding-left: 0;
    margin-top: 1.5rem;
}

.supervision-item li {
    padding: 0.75rem 0;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.6;
}

.supervision-item li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--secondary-green);
    font-weight: bold;
    font-size: 1.2rem;
}

.note {
    margin-top: 1.5rem;
    font-style: italic;
    color: var(--text-light);
    padding: 1rem;
    background-color: var(--light-green);
    border-radius: 5px;
}

/* Contact Section */
.contact {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--light-green) 0%, var(--off-white) 100%);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 3rem;
    align-items: start;
}

.contact-info {
    padding-right: 1rem;
}

.contact-info h3 {
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    color: var(--primary-green);
}

.contact-info h3:first-child {
    margin-top: 0;
}

.contact-info p {
    margin-bottom: 0.75rem;
    line-height: 1.8;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.contact-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: var(--white);
    padding: 1rem 1.25rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.contact-icon {
    font-size: 1.25rem;
    color: var(--secondary-green);
    margin-top: 0.1rem;
    flex-shrink: 0;
}

.contact-detail-item strong {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-light);
    margin-bottom: 0.2rem;
}

.contact-detail-item p {
    margin: 0;
    font-size: 1rem;
    font-weight: 500;
}

.contact-detail-item a {
    color: var(--primary-green);
    text-decoration: none;
    transition: color 0.2s;
}

.contact-detail-item a:hover {
    color: var(--secondary-green);
    text-decoration: underline;
}

.contact-info p a {
    color: var(--primary-green);
    text-decoration: none;
}

.consultation-box {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(45, 80, 22, 0.12);
    border-top: 4px solid var(--warm-gold);
    position: sticky;
    top: 2rem;
}

.consultation-box h3 {
    color: var(--primary-green);
    margin-bottom: 1rem;
}

.consultation-box p {
    line-height: 1.7;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.consultation-button {
    display: block;
    background-color: var(--primary-green);
    color: var(--white);
    border: 2px solid var(--primary-green);
    padding: 0.9rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    font-family: 'Inter', sans-serif;
    width: 100%;
    margin-top: 0.75rem;
    text-align: center;
    text-decoration: none;
}

.consultation-button:hover {
    background-color: var(--secondary-green);
    border-color: var(--secondary-green);
    transform: translateY(-2px);
}

.consultation-button:active {
    transform: translateY(0);
}

.consultation-button-outline {
    background-color: transparent;
    color: var(--primary-green);
}

.consultation-button-outline:hover {
    background-color: var(--light-green);
    color: var(--primary-green);
    border-color: var(--primary-green);
}

/* Footer */
.footer {
    background-color: var(--primary-green);
    color: var(--white);
    padding: 2rem 0;
    text-align: center;
}

.footer p {
    margin: 0.5rem 0;
}

.credentials-footer {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Responsive Design */
@media (max-width: 968px) {
    .about-content {
        grid-template-columns: 1fr;
    }

    .about-image {
        position: static;
        max-width: 400px;
        margin: 0 auto;
    }

    .hero-layout {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2.5rem;
    }

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

    .hero-divider {
        margin: 1.5rem auto 1.75rem;
    }

    .hero-image-wrap {
        display: flex;
        justify-content: center;
        order: -1;
    }

    .hero-portrait {
        width: 220px;
        height: 280px;
    }

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

    .contact-content {
        grid-template-columns: 1fr;
    }

    .consultation-box {
        position: static;
    }

    .supervision-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .navbar-wrapper {
        flex-direction: column;
        padding: 1rem;
    }

    .logo-container {
        padding-right: 0;
        padding-bottom: 1rem;
    }

    .logo {
        font-size: 1.35rem;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
        gap: 1rem;
    }

    .nav-menu.active {
        left: 0;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

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

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

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

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

    .container {
        padding: 0 1.5rem;
    }

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

    .pricing-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 3rem 0;
    }

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

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

    section {
        padding: 3rem 0;
    }

    .navbar-wrapper {
        flex-direction: column;
        padding: 1rem;
    }

    .logo-container {
        padding-right: 0;
        padding-bottom: 1rem;
    }

    .logo {
        font-size: 1.2rem;
        white-space: normal;
    }
}

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

/* Selection Color */
::selection {
    background-color: var(--light-green);
    color: var(--text-dark);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background-color: var(--primary-green);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background-color 0.3s ease;
    z-index: 1000;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--secondary-green);
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.back-to-top:active {
    transform: translateY(-1px);
}

.back-to-top svg {
    width: 24px;
    height: 24px;
}

@media (max-width: 768px) {
    .back-to-top {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 45px;
        height: 45px;
    }
}
