/* ========= HOME PAGE GREEN BLEND ========= */

:root {
    /* Ensuring variables are available if this file loads separately */
    --primary: #15803d;
    --secondary: #10b981;
    --text-main: #0f172a;
    --text-muted: #64748b;
}



/* ---------- HERO SECTION ---------- */

.hero {
    height: 100vh;
    background: url('../images/landing_page.png.jpeg') no-repeat center center / cover;
    position: relative;
    overflow: hidden;
}

/* Updated Overlay: Adds a subtle deep green tint instead of pure black */
.hero-overlay {
    height: 100%;
    width: 100%;
    background: radial-gradient(circle at center, rgba(2, 44, 34, 0.7) 0%, rgba(2, 44, 34, 0.9) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-content {
    max-width: 1000px;
    padding: 0 20px;
    z-index: 2;
}

.hero-content h1 {
    color: white;
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 900;
    margin-bottom: 24px;
    line-height: 1.1;
    letter-spacing: -2px;
}

/* The Green Text Highlight */
.green-text {
    background: linear-gradient(135deg, var(--primary-light), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    display: inline-block;
}

/* Underline style matching the text color */
.green-text::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--secondary);
    border-radius: 2px;
    opacity: 0.6;
}

.hero-content p {
    color: rgba(226, 232, 240, 0.9);
    max-width: 720px;
    margin: 0 auto 48px;
    line-height: 1.8;
    font-size: 1.2rem;
    font-weight: 400;
}

/* Hero Buttons */
.hero-btns {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 80px;
}

.btn-primary {
    background: var(--primary);
    color: white;
    padding: 16px 36px;
    border-radius: 50px;
    /* Pill shape */
    border: none;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 20px rgba(5, 150, 105, 0.2);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(5, 150, 105, 0.4);
}

.btn-secondary {
    background: var(--accent);
    color: white;
    padding: 16px 36px;
    border-radius: 50px;
    border: none;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-secondary:hover {
    transform: translateY(-5px);
    background: #d97706;
    /* Darker amber */
    box-shadow: 0 15px 30px rgba(245, 158, 11, 0.3);
}

.btn-outline {
    border: 2px solid white;
    color: white;
    background: transparent;
    padding: 12px 26px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: white;
    color: var(--primary);
}

/* Hero Stats */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 50px;
    color: white;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 10px;
    text-align: left;
    font-size: 0.85rem;
}

.stat-item i {
    color: var(--secondary);
    /* Emerald Green Icons */
    font-size: 1.2rem;
}

/* ---------- IDENTITY & PILLARS (OVERHAULED) ---------- */

.identity-section.dark-premium {
    padding: 140px 0;
    background: #06120e; /* Deep rich dark green/black */
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.identity-section.dark-premium::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(16, 185, 129, 0.05) 0%, transparent 60%);
    animation: rotateSlow 20s linear infinite;
    z-index: 1;
}

@keyframes rotateSlow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.identity-section.dark-premium .container {
    position: relative;
    z-index: 2;
}

.identity-header {
    max-width: 800px;
    margin: 0 auto 80px;
}

.badge-glow {
    display: inline-block;
    padding: 8px 24px;
    background: rgba(16, 185, 129, 0.15) !important;
    color: #34d399 !important;
    border: 1px solid rgba(52, 211, 153, 0.3);
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.2);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 24px;
}

.identity-header h2 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 24px;
    color: #ffffff;
}

.identity-header .text-gradient {
    background: linear-gradient(135deg, #34d399, #10b981);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.identity-header .lead-text {
    font-size: 1.25rem;
    color: #94a3b8;
    line-height: 1.8;
}

.modern-mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
}

.premium-card {
    position: relative;
    height: 500px;
    border-radius: 30px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.premium-card:hover {
    transform: translateY(-15px);
}

.premium-card-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.premium-card-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.premium-card:hover .premium-card-bg img {
    transform: scale(1.1);
}

.premium-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(2, 20, 12, 0.95) 0%, rgba(2, 20, 12, 0.4) 60%, transparent 100%);
    transition: opacity 0.5s ease;
}

.premium-card:hover .premium-overlay {
    opacity: 0.8;
}

.premium-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    transform: translateY(20px);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.premium-card:hover .premium-card-content {
    transform: translateY(0);
}

.floating-icon {
    width: 60px;
    height: 60px;
    background: rgba(16, 185, 129, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(16, 185, 129, 0.4);
    color: #34d399;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    margin-bottom: 10px;
    animation: float 4s ease-in-out infinite;
}

.premium-card-content h3 {
    font-size: 2rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0;
}

.premium-card-content p {
    font-size: 1.1rem;
    color: #cbd5e1;
    line-height: 1.6;
    opacity: 0.8;
    transition: opacity 0.5s ease;
}

.premium-card:hover .premium-card-content p {
    opacity: 1;
}

.delay-1 {
    animation-delay: 0.2s;
}

@media (max-width: 768px) {
    .modern-mission-grid {
        grid-template-columns: 1fr;
    }
    .premium-card {
        height: 450px;
    }
    .identity-header h2 {
        font-size: 2.5rem;
    }
}

/* ---------- PILLARS SECTION (MODERNIZED) ---------- */
.pillars-section {
    padding: 140px 0;
    background: #f8fafc;
    position: relative;
    overflow: hidden;
}

.pillars-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at right top, rgba(16, 185, 129, 0.04), transparent 50%),
                radial-gradient(circle at left bottom, rgba(5, 150, 105, 0.04), transparent 50%);
    z-index: 1;
}

.pillars-section .container {
    position: relative;
    z-index: 2;
}

.section-badge {
    display: inline-block;
    padding: 8px 24px;
    background: rgba(16, 185, 129, 0.1);
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 24px;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.section-header h2 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 900;
    color: var(--text-main);
    letter-spacing: -1px;
    margin-bottom: 20px;
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 70px;
}

.pillar-card {
    background: #ffffff;
    padding: 50px 40px;
    border-radius: 30px;
    text-align: center;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0,0,0,0.03);
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.pillar-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.03) 0%, transparent 100%);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.pillar-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 50px rgba(5, 150, 105, 0.08);
    border-color: rgba(16, 185, 129, 0.15);
}

.pillar-card:hover::before {
    opacity: 1;
}

.pillar-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    color: #ffffff;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 30px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 20px rgba(16, 185, 129, 0.25);
    transform: rotate(-8deg);
}

.pillar-card:hover .pillar-icon {
    transform: rotate(0deg) scale(1.1);
    box-shadow: 0 15px 30px rgba(16, 185, 129, 0.4);
}

.pillar-card h3 {
    font-size: 1.75rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 18px;
    letter-spacing: -0.5px;
}

.pillar-card p {
    font-size: 1.05rem;
    color: #475569;
    line-height: 1.7;
    font-weight: 400;
}

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

/* Responsive */
@media (min-width: 481px) and (max-width: 1024px) {
    .identity-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .identity-visual {
        max-width: 600px;
        margin: 0 auto;
    }

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

@media (max-width: 480px) {

    .identity-section,
    .pillars-section {
        padding: 80px 0;
    }

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

    .main-img-wrapper {
        width: 100%;
        height: 350px;
    }

    .secondary-img-wrapper {
        display: none;
    }

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