@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;600;700&family=Playfair+Display:wght@700&display=swap');

:root {
    --primary-bg: #121212;
    --secondary-bg: #1e1e1e;
    --accent-gold: #D4AF37;
    --accent-gold-light: #F1D279;
    --text-main: #FFFFFF;
    --text-muted: #B0B0B0;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --shadow-premium: 0 10px 30px rgba(0, 0, 0, 0.5);
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    background-color: var(--primary-bg);
    color: var(--text-main);
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

html {
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

h1,
h2,
h3 {
    font-family: 'Playfair Display', serif;
    color: var(--accent-gold);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

ul {
    list-style: none;
}

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

/* Glassmorphism Utility */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
}

/* Premium Buttons */
.btn-primary {
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-light));
    color: var(--primary-bg);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    align-items: center;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(212, 175, 55, 0.3);
}

.btn-secondary {
    border: 2px solid var(--accent-gold);
    color: var(--accent-gold);
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
}

.btn-secondary:hover,
.nav-links a.btn-secondary:hover {
    background: var(--accent-gold) !important;
    color: var(--primary-bg) !important;
    transform: translateY(-3px);
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    transition: var(--transition-smooth);
}

header.glass {
    border-radius: 0;
    border-left: none;
    border-right: none;
    border-top: none;
}

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

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.logo img {
    height: auto;
    width: auto;
    max-height: 120px;
    min-height: 100px;
    display: block;
    object-fit: contain;
    transition: var(--transition-smooth);
}

.nav-links a:not(.btn-secondary) {
    position: relative;
    padding-bottom: 5px;
}

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

.nav-links a:not(.btn-secondary):hover::after {
    width: 100%;
}

.nav-links a:not(.btn-secondary):hover {
    color: var(--accent-gold);
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: url('assets/hero-bg.png') no-repeat center center/cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(18, 18, 18, 0.7), var(--primary-bg));
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

.cta-group {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

/* Mission & Pillars */
.text-center {
    text-align: center;
}

.mission-text {
    max-width: 800px;
    margin: 2rem auto 4rem;
    font-size: 1.2rem;
}

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

.pillar-card {
    padding: 3rem;
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    transform-style: preserve-3d;
    position: relative;
}

.pillar-card:hover {
    transform: translateY(-15px) rotateX(5deg) rotateY(-5deg);
    border-color: var(--accent-gold);
    box-shadow: -15px 20px 30px rgba(0, 0, 0, 0.6), 0 0 20px rgba(212, 175, 55, 0.15);
    background: rgba(255, 255, 255, 0.08);
}

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

.pillar-card .icon {
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    animation: float-icon 4s ease-in-out infinite;
    display: inline-block;
}

.pillar-card:hover .icon {
    animation: none;
    transform: translateZ(40px) scale(1.2);
    color: var(--accent-gold);
}

.icon-sprout {
    display: inline-block;
    width: 1em;
    height: 1em;
    background-color: #D4AF37;
    -webkit-mask: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0IiBmaWxsPSJub25lIiBzdHJva2U9ImN1cnJlbnRDb2xvciIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIGNsYXNzPSJsdWNpZGUgbHVjaWRlLXNwcm91dC1pY29uIGx1Y2lkZS1zcHJvdXQiPjxwYXRoIGQ9Ik0xNCA5LjUzNlY3YTQgNCAwIDAgMSA0LTRoMS41YS41LjUgMCAwIDEgLjUuNVY1YTQgNCAwIDAgMS00IDQgNCA0IDAgMCAwLTQgNGMwIDIgMSAzIDEgNWE1IDUgMCAwIDEtMSAzIi8+PHBhdGggZD0iTTQgOWE1IDUgMCAwIDEgOCA0IDUgNSAwIDAgMS04LTQiLz48cGF0aCBkPSJNNSAyMWgxNCIvPjwvc3ZnPg==") no-repeat center / contain;
    mask: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0IiBmaWxsPSJub25lIiBzdHJva2U9ImN1cnJlbnRDb2xvciIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIGNsYXNzPSJsdWNpZGUgbHVjaWRlLXNwcm91dC1pY29uIGx1Y2lkZS1zcHJvdXQiPjxwYXRoIGQ9Ik0xNCA5LjUzNlY3YTQgNCAwIDAgMSA0LTRoMS41YS41LjUgMCAwIDEgLjUuNVY1YTQgNCAwIDAgMS00IDQgNCA0IDAgMCAwLTQgNGMwIDIgMSAzIDEgNWE1IDUgMCAwIDEtMSAzIi8+PHBhdGggZD0iTTQgOWE1IDUgMCAwIDEgOCA0IDUgNSAwIDAgMS04LTQiLz48cGF0aCBkPSJNNSAyMWgxNCIvPjwvc3ZnPg==") no-repeat center / contain;
}

.icon-dollar-sign {
    display: inline-block;
    width: 1em;
    height: 1em;
    background-color: #D4AF37;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='lucide lucide-circle-dollar-sign-icon lucide-circle-dollar-sign'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M16 8h-6a2 2 0 1 0 0 4h4a2 2 0 1 1 0 4H8'/%3E%3Cpath d='M12 18V6'/%3E%3C/svg%3E") no-repeat center / contain;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='lucide lucide-circle-dollar-sign-icon lucide-circle-dollar-sign'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M16 8h-6a2 2 0 1 0 0 4h4a2 2 0 1 1 0 4H8'/%3E%3Cpath d='M12 18V6'/%3E%3C/svg%3E") no-repeat center / contain;
}

.icon-notebook {
    display: inline-block;
    width: 1em;
    height: 1em;
    background-color: #D4AF37;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='lucide lucide-notebook-icon lucide-notebook'%3E%3Cpath d='M2 6h4'/%3E%3Cpath d='M2 10h4'/%3E%3Cpath d='M2 14h4'/%3E%3Cpath d='M2 18h4'/%3E%3Crect width='16' height='20' x='4' y='2' rx='2'/%3E%3Cpath d='M16 2v20'/%3E%3C/svg%3E") no-repeat center / contain;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='lucide lucide-notebook-icon lucide-notebook'%3E%3Cpath d='M2 6h4'/%3E%3Cpath d='M2 10h4'/%3E%3Cpath d='M2 14h4'/%3E%3Cpath d='M2 18h4'/%3E%3Crect width='16' height='20' x='4' y='2' rx='2'/%3E%3Cpath d='M16 2v20'/%3E%3C/svg%3E") no-repeat center / contain;
}

/* Sections */
.bg-alt {
    background-color: var(--secondary-bg);
}

section:not(.hero-section) {
    padding: 100px 0;
}

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

.align-start {
    align-items: flex-start !important;
}

/* About Section */
.about-image {
    display: flex;
    justify-content: center;
}

.profile-img {
    width: 80%;
    max-width: 450px;
    border-radius: 20px;
    border: 2px solid var(--accent-gold);
    box-shadow: var(--shadow-premium);
}

.about-text h2 {
    margin-bottom: 0.5rem;
}

.about-text h3 {
    margin-bottom: 1.5rem;
    color: var(--text-muted);
    font-size: 1.1rem;
}

.about-text p {
    margin-bottom: 1rem;
    color: var(--text-muted);
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.service-item {
    padding: 2.5rem;
    text-align: left;
}

.service-item h4 {
    color: var(--accent-gold);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 0.5rem;
}

.service-item ul li {
    margin-bottom: 0.8rem;
    color: var(--text-muted);
    display: flex;
    align-items: flex-start;
}

.service-item ul li::before {
    content: '→';
    color: var(--accent-gold);
    margin-right: 10px;
}

/* Pricing */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.pricing-card {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center; /* This will center all children including the button */
    text-align: center;   /* This ensures text within children is also centered */
}

.pricing-card.popular {
    position: relative;
    border: 2px solid var(--accent-gold);
}

.pricing-card .badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-gold);
    color: var(--primary-bg);
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.8rem;
}

.card-header h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.card-header .price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 2rem;
}

.card-header .price span {
    font-size: 1.5rem;
    color: var(--accent-gold);
}

.features {
    margin-bottom: 2.5rem;
    flex-grow: 1;
}

.features li {
    margin-bottom: 1rem;
    color: var(--text-muted);
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 0.5rem;
}

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

.gallery-item {
    padding: 1rem;
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1rem;
    transition: var(--transition-smooth);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Agreement */
.agreement-section .glass {
    padding: 3rem;
    text-align: center;
}

.agreement-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.agreement-item p {
    color: var(--accent-gold-light);
    font-size: 0.9rem;
    font-weight: 600;
}

/* Contact */
.form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--accent-gold);
}

input,
textarea,
select {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
    font-family: inherit;
}

.w-full {
    width: 100%;
}

/* Footer */
footer {
    padding: 6rem 0;
    border-top: 1px solid var(--glass-border);
}

footer img {
    height: auto;
    width: auto;
    min-height: 80px;
    max-height: 100px;
    display: inline-block;
    margin-bottom: 2rem;
}

footer p {
    margin-top: 1.5rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    nav.container {
        min-height: 50px;
        justify-content: center;
    }

    .logo img {
        min-height: 35px;
        max-height: 45px;
    }

    .grid-2 {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

    .nav-links {
        display: none;
    }

    .hero-content {
        padding: 0 1rem;
    }

    .cta-group {
        display: flex !important;
        flex-direction: column !important;
        gap: 1.5rem !important;
        align-items: center !important;
        margin-top: 2rem;
    }

    .btn-primary,
    .btn-secondary {
        width: 100% !important;
        max-width: 320px !important;
        padding: 0.75rem 1.5rem !important;
        /* Thinner */
        font-size: 0.95rem !important;
        text-align: center;
    }

    section:not(.hero-section) {
        padding: 60px 0;
    }

    .container {
        padding: 0 1.5rem;
    }

    .mission-text {
        font-size: 1rem;
        margin: 1.5rem auto 3rem;
    }

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

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

/* FINAL HOVER OVERRIDES */
.nav-links a.btn-secondary:hover { background: #D4AF37 !important; color: #121212 !important; }

/* Animation Initial States (Custom AOS) */
[data-aos] {
    opacity: 0;
    transition-duration: 0.8s;
    transition-property: opacity, transform;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

[data-aos="fade-up"] { transform: translateY(40px); }
[data-aos="fade-down"] { transform: translateY(-40px); }
[data-aos="fade-right"] { transform: translateX(-40px); }
[data-aos="fade-left"] { transform: translateX(40px); }
[data-aos="zoom-in"] { transform: scale(0.9); }
[data-aos="flip-left"] { transform: perspective(400px) rotateY(-90deg); }

[data-aos].aos-animate {
    opacity: 1;
    transform: translate(0) scale(1) perspective(400px) rotateY(0deg);
}

[data-aos][data-aos-delay="100"] { transition-delay: 0.1s; }
[data-aos][data-aos-delay="200"] { transition-delay: 0.2s; }
[data-aos][data-aos-delay="300"] { transition-delay: 0.3s; }
[data-aos][data-aos-delay="400"] { transition-delay: 0.4s; }
[data-aos][data-aos-delay="500"] { transition-delay: 0.5s; }

