/* ================= CSS VARIABLES ================= */
:root {
    /* Colors */
    --navy-dark: #0A1128;
    --navy-royal: #1C315E;
    --gold-primary: #D4AF37;
    --gold-gradient: linear-gradient(135deg, #BF953F, #FCF6BA, #B38728, #FBF5B7, #AA771C);
    --white: #FFFFFF;
    --cream: #FAFAFA;
    --text-dark: #222222;
    --text-light: #555555;
    --border-color: #EAEAEA;

    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'DM Sans', sans-serif;

    /* Spacing & Transitions */
    --transition: all 0.3s ease-in-out;
    --shadow-soft: 0 15px 35px rgba(10, 17, 40, 0.05);
    --shadow-hover: 0 20px 40px rgba(10, 17, 40, 0.12);
    --border-radius: 12px;
}

/* ================= RESET & BASE ================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-light);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--navy-dark);
    line-height: 1.2;
}

h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); font-weight: 700; margin-bottom: 1rem; }
h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 600; margin-bottom: 1rem; }
h3 { font-size: 1.5rem; font-weight: 600; }
h4 { font-size: 1.2rem; font-weight: 600; }

p { margin-bottom: 1rem; font-size: 1.05rem; }

a { text-decoration: none; color: inherit; transition: var(--transition); }

img { max-width: 100%; display: block; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-center { text-align: center; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }
.bg-white { background-color: var(--white); }
.bg-cream { background-color: var(--cream); }
.bg-navy { background-color: var(--navy-dark); }
.text-white { color: var(--white) !important; }

/* Decorative Lines */
.gold-line { width: 60px; height: 3px; background: var(--gold-gradient); margin: 15px 0; }
.gold-line-left { width: 80px; height: 3px; background: var(--gold-gradient); margin: 20px 0; }
.gold-line-center { width: 80px; height: 3px; background: var(--gold-gradient); margin: 20px auto; }
.section-subtitle { display: block; color: var(--gold-primary); font-weight: 700; text-transform: uppercase; letter-spacing: 2px; font-size: 0.9rem; margin-bottom: 10px; }

/* ================= BUTTONS ================= */
.btn-primary {
    display: inline-block;
    padding: 14px 32px;
    background: var(--gold-gradient);
    color: var(--navy-dark);
    font-weight: 700;
    border-radius: 50px;
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.2);
    border: 2px solid transparent;
}
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(212, 175, 55, 0.4);
    color: var(--navy-dark);
}

.btn-secondary {
    display: inline-block;
    padding: 14px 32px;
    background: transparent;
    color: var(--white);
    font-weight: 700;
    border-radius: 50px;
    border: 2px solid var(--gold-primary);
}
.btn-secondary:hover {
    background: var(--gold-gradient);
    color: var(--navy-dark);
}

.btn-outline-light {
    display: inline-block;
    padding: 14px 32px;
    background: transparent;
    color: var(--white);
    font-weight: 700;
    border-radius: 50px;
    border: 2px solid var(--white);
}
.btn-outline-light:hover {
    background: var(--white);
    color: var(--navy-dark);
}

.btn-outline-navy {
    display: inline-block;
    padding: 12px 28px;
    background: transparent;
    color: var(--navy-dark);
    font-weight: 700;
    border-radius: 50px;
    border: 2px solid var(--navy-dark);
    transition: var(--transition);
}
.btn-outline-navy:hover {
    background: var(--navy-dark);
    color: var(--white);
}

/* ================= HEADER ================= */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    transition: var(--transition);
    padding: 20px 0;
}
header.scrolled {
    padding: 12px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}
.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo img {
    height: 50px;
    transition: var(--transition);
}
header.scrolled .logo img {
    height: 40px;
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 25px;
}
.nav-links a {
    color: var(--navy-dark);
    font-weight: 500;
    font-size: 1.05rem;
}
.nav-links a:hover {
    color: var(--gold-primary);
}
.nav-links .nav-btn {
    padding: 10px 24px;
    margin-left: 10px;
}
.hamburger {
    display: none;
    font-size: 1.5rem;
    color: var(--navy-dark);
    cursor: pointer;
}

/* ================= HERO SECTION ================= */
#hero {
    position: relative;
    padding: 180px 0 100px;
    background-color: var(--navy-dark);
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}
.hero-bg-accent {
    position: absolute;
    top: -20%;
    right: -10%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, rgba(10, 17, 40, 0) 70%);
    border-radius: 50%;
    z-index: 1;
}
.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    position: relative;
    z-index: 2;
}
.hero-content {
    flex: 1;
    color: var(--white);
}
.hero-subtitle {
    display: inline-block;
    color: var(--gold-primary);
    font-size: 1.1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
}
.hero-content h1 {
    color: var(--white);
}
.hero-content p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
    max-width: 500px;
}
.hero-buttons {
    display: flex;
    gap: 20px;
}
.justify-center {
    justify-content: center;
}
.hero-visual {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}
.glass-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 50px 40px;
    border-radius: var(--border-radius);
    max-width: 400px;
    position: relative;
}
.glass-card h3 {
    color: var(--white);
}
.glass-card p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    font-style: italic;
    font-family: var(--font-heading);
}
.card-icon {
    font-size: 4rem;
    color: var(--gold-primary);
    opacity: 0.8;
    position: absolute;
    bottom: 20px;
    right: 20px;
}

/* ================= TRUST STRIP ================= */
#trust {
    background: var(--white);
    padding: 30px 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    position: relative;
    z-index: 10;
}
.trust-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}
.trust-item {
    text-align: center;
    flex: 1;
    min-width: 200px;
    padding: 15px;
    border-right: 1px solid var(--border-color);
}
.trust-item:last-child {
    border-right: none;
}
.trust-item h4 {
    color: var(--navy-royal);
    margin-bottom: 5px;
}
.trust-item p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-light);
}

/* ================= SECTION LAYOUTS ================= */
section {
    padding: 100px 0;
}

/* About Section */
.about-container {
    display: flex;
    align-items: center;
    gap: 60px;
}
.about-text {
    flex: 1;
}
.about-image {
    flex: 1;
}
.image-placeholder {
    width: 100%;
    height: 400px;
    background: linear-gradient(45deg, var(--navy-dark), var(--navy-royal));
    border-radius: var(--border-radius);
    position: relative;
}
.overlay-box {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: var(--white);
    padding: 20px 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-hover);
    display: flex;
    align-items: center;
    gap: 15px;
}
.overlay-box i {
    font-size: 2rem;
    color: var(--gold-primary);
}
.overlay-box span {
    font-weight: 700;
    color: var(--navy-dark);
    font-family: var(--font-heading);
}

/* ================= GRIDS ================= */
.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

/* Mission & Why Cards */
.premium-card, .why-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}
.premium-card:hover, .why-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: var(--gold-primary);
}
.icon-wrapper {
    width: 60px;
    height: 60px;
    background: var(--cream);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.5rem;
    color: var(--navy-dark);
    transition: var(--transition);
}
.premium-card:hover .icon-wrapper {
    background: var(--navy-dark);
    color: var(--gold-primary);
}
.why-card i {
    font-size: 2.5rem;
    color: var(--gold-primary);
    margin-bottom: 20px;
}

/* Focus Cards */
.focus-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
    position: relative;
    border-top: 3px solid transparent;
    transition: var(--transition);
}
.focus-card:hover {
    border-top-color: var(--gold-primary);
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}
.focus-number {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 3rem;
    font-family: var(--font-heading);
    color: var(--gold-primary);
    opacity: 0.2;
    line-height: 1;
}

/* ================= IMPACT PROCESS ================= */
.process-wrapper {
    display: flex;
    justify-content: space-between;
    position: relative;
}
.process-line {
    position: absolute;
    top: 35px;
    left: 5%;
    width: 90%;
    height: 2px;
    background: rgba(10, 17, 40, 0.1);
    z-index: 1;
}
.process-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: var(--gold-gradient);
    transition: width 1.5s ease-in-out;
}
#impact.active .process-line::after {
    width: 100%;
}
.process-step {
    flex: 1;
    position: relative;
    z-index: 2;
    padding: 0 15px;
}
.step-circle {
    width: 70px;
    height: 70px;
    background: var(--white);
    border: 2px solid var(--gold-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.5rem;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--navy-dark);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.2);
    transition: var(--transition);
}
.process-step:hover .step-circle {
    background: var(--gold-gradient);
    color: var(--navy-dark);
    transform: scale(1.1);
}

/* ================= DOCUMENT CARDS ================= */
.document-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    padding: 40px 20px;
    border-radius: var(--border-radius);
    color: var(--navy-dark);
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.document-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--gold-primary);
}
.document-card i {
    font-size: 2.5rem;
    color: var(--gold-primary);
    margin-bottom: 20px;
    background: var(--cream);
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}
.document-card:hover i {
    background: var(--navy-dark);
}
.document-card h4 {
    color: var(--navy-dark);
    margin-bottom: 15px;
}
.document-card span {
    color: var(--gold-primary);
    font-weight: 700;
    font-size: 0.95rem;
    margin-top: auto;
}

/* ================= COMMUNITY ================= */
.community-text {
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto;
}

/* ================= FINAL CTA ================= */
#cta {
    background: linear-gradient(rgba(250, 250, 250, 0.9), rgba(250, 250, 250, 0.9)), url('data:image/svg+xml;utf8,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="%23D4AF37"/></svg>');
}
.cta-text {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.2rem;
}

/* ================= FOOTER ================= */
footer {
    background: var(--navy-dark);
    color: var(--white);
    padding: 80px 0 20px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 60px;
}
.footer-logo {
    height: 60px;
    margin-bottom: 15px;
}
.tagline {
    color: var(--gold-primary);
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 0.9rem;
    margin-bottom: 10px;
}
.footer-desc {
    color: rgba(255, 255, 255, 0.6);
}
.footer-col h4 {
    color: var(--white);
    margin-bottom: 25px;
    font-family: var(--font-body);
}
.footer-col ul {
    list-style: none;
}
.footer-col ul li {
    margin-bottom: 15px;
}
.footer-col ul li a {
    color: rgba(255, 255, 255, 0.7);
}
.footer-col ul li a:hover {
    color: var(--gold-primary);
    padding-left: 5px;
}
.contact-col li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.7);
}
.contact-col li a {
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    gap: 10px;
}
.contact-col li a:hover {
    color: var(--gold-primary);
    padding-left: 0;
}
.contact-col i {
    color: var(--gold-primary);
}
.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* ================= ANIMATIONS ================= */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ================= RESPONSIVE ================= */
@media (max-width: 992px) {
    h1 { font-size: 2.5rem; }
    .about-container { flex-direction: column; }
    .hero-container { flex-direction: column; text-align: center; }
    .hero-visual { justify-content: center; margin-top: 40px; }
    .hero-buttons { justify-content: center; }
    .gold-line-left { margin: 20px auto; }
    .trust-item { border-right: none; border-bottom: 1px solid var(--border-color); }
    .trust-item:last-child { border-bottom: none; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        box-shadow: -10px 0 30px rgba(0,0,0,0.1);
        transition: var(--transition);
        gap: 20px;
    }
    .nav-links.active {
        right: 0;
    }
    .nav-links .nav-btn {
        margin: 10px 0 0 0;
        text-align: center;
    }
    .hamburger { display: block; z-index: 1001; }
    
    .process-wrapper { flex-direction: column; gap: 40px; }
    .process-line { 
        width: 2px; 
        height: 100%; 
        left: 50%; 
        top: 0; 
        transform: translateX(-50%);
    }
    .process-line::after {
        width: 100%;
        height: 0;
        transition: height 1.5s ease-in-out;
    }
    #impact.active .process-line::after { height: 100%; width: 100%; }
    
    .footer-grid { grid-template-columns: 1fr; }
    .hero-buttons { flex-direction: column; }
    
    .overlay-box { bottom: -10px; left: 10px; right: 10px; justify-content: center; }
}