@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600&family=Outfit:wght@400;600&display=swap');

:root {
    --primary: #4F6D56; /* Sage green */
    --primary-light: #7E9684;
    --primary-dark: #324738;
    --bg-color: #F7F5F0; /* Warm sand/beige */
    --text-main: #2C352E; /* Deep green-slate */
    --text-light: #5B6660;
    --glass-bg: rgba(255, 255, 255, 0.65);
    --glass-border: rgba(255, 255, 255, 0.5);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.05);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    /* subtle background pattern/gradient */
    background-image: radial-gradient(circle at top right, rgba(126, 150, 132, 0.1), transparent 400px),
                      radial-gradient(circle at bottom left, rgba(79, 109, 86, 0.1), transparent 400px);
}

h1, h2, h3, h4, .nav-title {
    font-family: 'Outfit', sans-serif;
    color: var(--primary-dark);
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

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

.section {
    padding: 6rem 0;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 60%;
    height: 3px;
    background: var(--primary-light);
    bottom: -10px;
    left: 0;
    border-radius: 2px;
}

.text-center.section-title::after {
    left: 50%;
    transform: translateX(-50%);
}

/* Glassmorphism Classes */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: var(--glass-shadow);
}

.hover-lift {
    transition: var(--transition);
}

.hover-lift:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px 0 rgba(31, 38, 135, 0.1);
    border-color: rgba(255,255,255, 0.8);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 30px;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.primary-btn {
    background-color: var(--primary);
    color: white;
    border: 2px solid var(--primary);
    box-shadow: 0 4px 15px rgba(79, 109, 86, 0.2);
}

.primary-btn:hover {
    background-color: transparent;
    color: var(--primary-dark);
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    background: rgba(247, 245, 240, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    transition: padding 0.3s ease;
}

.navbar.scrolled {
    padding: 0.5rem 5%;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-logo {
    width: 45px;
    height: 45px;
    object-fit: contain;
    border-radius: 50%;
}

.nav-title {
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    font-weight: 500;
    font-size: 1rem;
    color: var(--text-main);
    transition: var(--transition);
    position: relative;
}

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

.nav-links a:hover::after, .nav-links a.active::after {
    width: 100%;
}

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

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-dark);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    padding: 8rem 5% 4rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    position: relative;
    overflow: hidden;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    z-index: 2;
}

.hero h1 {
    font-size: clamp(3rem, 5vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 0.5rem;
    color: var(--primary-dark);
}

.hero h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 400;
    color: var(--primary-light);
    margin-bottom: 2rem;
}

.tagline {
    font-size: 1.25rem;
    font-weight: 300;
    font-style: italic;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    border-left: 4px solid var(--primary-light);
    padding-left: 1.5rem;
}

.hero-image {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.blob {
    position: absolute;
    width: 450px;
    height: 450px;
    background: linear-gradient(135deg, rgba(79,109,86,0.2) 0%, rgba(126,150,132,0.4) 100%);
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    animation: blobMorph 8s ease-in-out infinite alternate;
    z-index: 0;
    filter: blur(10px);
}

@keyframes blobMorph {
    0% { border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; }
    100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; transform: scale(1.05); }
}

.floating-image {
    width: 100%;
    max-width: 450px;
    height: auto;
    border-radius: 20px;
    object-fit: cover;
    z-index: 1;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text .blurb {
    font-size: 1.15rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    font-style: italic;
    line-height: 1.8;
}

.qualifications {
    margin-bottom: 1.5rem;
}

.qualifications h3 {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.qualifications ul {
    list-style-type: disc;
    padding-left: 1.5rem;
    color: var(--text-main);
}

.qualifications li {
    margin-bottom: 0.3rem;
}

.registrations p {
    margin-bottom: 0.3rem;
    color: var(--text-light);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

/* Services */
.services-intro {
    max-width: 700px;
    margin: 0 auto 2rem auto;
    font-size: 1.1rem;
    color: var(--text-light);
}

.services-quote {
    max-width: 800px;
    margin: 0 auto 4rem auto;
    font-size: 1.2rem;
    font-style: italic;
    color: var(--primary-dark);
    padding: 2rem;
    background: rgba(126, 150, 132, 0.1);
    border-left: 4px solid var(--primary);
    border-radius: 0 16px 16px 0;
}

.services-quote .quote-author {
    display: block;
    margin-top: 1rem;
    font-size: 1.05rem;
    font-weight: 600;
    font-style: normal;
    color: var(--primary);
}

.warm-quote {
    max-width: 800px;
    margin: 0 auto 3rem auto;
    font-size: 1.25rem;
    font-style: italic;
    color: var(--text-main);
    padding: 2rem 2.5rem;
    background: #F4E8DB; /* Warm earthy tone */
    border-left: 4px solid #CC8B65; /* Warm terracotta accent */
    border-radius: 0 16px 16px 0;
}

.warm-quote .quote-author {
    display: block;
    margin-top: 1rem;
    font-size: 1.05rem;
    font-weight: 600;
    font-style: normal;
    color: #A66540;
}

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

.service-card {
    padding: 2.5rem 2rem;
    transition: var(--transition);
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.service-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Contact Section */
.contact-card {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2rem;
    overflow: hidden;
}

.contact-details {
    padding: 1rem;
}

.contact-details > p {
    margin-bottom: 2rem;
    color: var(--text-light);
}

.contact-info {
    display: flex;
    flex-direction: column;
    width: fit-content;
    margin: 0 auto;
}

.info-item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.info-item .icon {
    font-size: 1.5rem;
    background: rgba(126, 150, 132, 0.2);
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.info-text strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
    color: var(--primary-dark);
}

.info-text p, .contact-link {
    color: var(--text-light);
}

.contact-link {
    font-weight: 600;
    color: var(--primary);
    transition: var(--transition);
}

.contact-link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}



/* Footer */
footer {
    padding: 2rem 0;
    background-color: var(--primary-dark);
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.8, 0.25, 1), transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }


/* Responsive */
@media (max-width: 992px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 7rem;
    }
    .tagline {
        border-left: none;
        padding-left: 0;
    }
    .about-grid {
        grid-template-columns: 1fr;
    }
    .contact-card {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        right: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(247, 245, 240, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 2rem 0;
        box-shadow: 0 10px 10px rgba(0,0,0,0.05);
    }
    
    .nav-links.active {
        right: 0;
    }

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