/* style.css */

/* --- Variables & Core Setup --- */
:root {
    --primary: #00ff88;
    --primary-dim: rgba(0, 255, 136, 0.2);
    --secondary: #00a859;
    --bg-dark: #0b1115;
    --bg-darker: #06090b;
    --text-main: #f0fdf4;
    --text-muted: #9ca3af;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-main: 'Inter', sans-serif;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

/* --- Layout Utilities --- */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 6rem 0;
    position: relative;
}

.bg-darker {
    background-color: var(--bg-darker);
}

.text-primary {
    color: var(--primary);
}

.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.w-100 { width: 100%; }

/* --- Components --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #000;
    box-shadow: 0 4px 15px var(--primary-dim);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 255, 136, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary-dim);
    color: #fff;
}

.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 2rem;
    transition: var(--transition);
}

.glass-panel:hover {
    border-color: rgba(0, 255, 136, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.badge {
    display: inline-block;
    padding: 0.25rem 1rem;
    background: var(--primary-dim);
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
    border: 1px solid rgba(0, 255, 136, 0.2);
}

.section-header {
    margin-bottom: 4rem;
}

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

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.125rem;
    max-width: 600px;
}

.section-header.center p {
    margin: 0 auto;
}

/* --- Navigation --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.4s ease;
    padding: 1.5rem 0;
}

.navbar.scrolled {
    background: rgba(6, 9, 11, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 1rem 0;
    border-bottom: 1px solid var(--glass-border);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

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

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: #e5e7eb;
    transition: var(--transition);
    position: relative;
}

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

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

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

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #fff;
}

/* --- Hero Section --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 6rem;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 30%, rgba(0, 168, 89, 0.15) 0%, var(--bg-dark) 60%);
    z-index: -1;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    width: 100%;
}

.hero-content {
    max-width: 800px;
    text-align: center;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.04em;
}

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

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.hero-quick-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 2rem;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.8;
    transition: var(--transition);
    cursor: pointer;
}

.nav-item:hover {
    opacity: 1;
    color: var(--primary);
    transform: translateY(-5px);
}

.nav-item i {
    font-size: 1.5rem;
    background: var(--glass-bg);
    padding: 1rem;
    border-radius: 50%;
    border: 1px solid var(--glass-border);
}

.hero-stats-partners {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
    margin-top: 2rem;
}

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

.stat-box {
    text-align: center;
    padding: 1.5rem;
}

.stat-box h3 {
    font-size: 2.5rem;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-box p {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.partners-wall {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.sm-title {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.logos {
    display: flex;
    gap: 2rem;
    font-size: 2.5rem;
    color: #6b7280;
}

.logos i {
    transition: var(--transition);
}

.logos i:hover {
    color: var(--primary);
}

/* --- About Us --- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.about-text h3, .about-timeline h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.about-text p {
    color: var(--text-muted);
}

.mv-box {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.mv-box i {
    font-size: 1.5rem;
    margin-top: 0.25rem;
}

.mv-box h4 {
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
}

.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0.5rem;
    top: 0;
    height: 100%;
    width: 2px;
    background: var(--glass-border);
}

.timeline-item {
    position: relative;
    padding-bottom: 2rem;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: -2rem;
    top: 0.25rem;
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    background: var(--bg-dark);
    border: 2px solid var(--text-muted);
}

.timeline-dot.glow {
    border-color: var(--primary);
    box-shadow: 0 0 10px var(--primary);
}

.timeline-content h4 {
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
}

.timeline-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

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

.pillar-card {
    display: flex;
    flex-direction: column;
}

.icon-wrapper {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: var(--primary-dim);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.pillar-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.pillar-card > p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.feature-list li {
    font-size: 0.9rem;
    color: #e5e7eb;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* --- Projects --- */
.project-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.project-card {
    border-radius: 16px;
    overflow: hidden;
    position: relative;
}

.project-img {
    height: 240px;
    background-color: #1f2937; /* Placeholder color */
    background-size: cover;
    background-position: center;
    position: relative;
}

/* Placeholder gradients until genuine images exist */
.p-bg-1 { background: linear-gradient(45deg, #0b1115, #00a859); }
.p-bg-2 { background: linear-gradient(45deg, #111827, #00ff88); }
.p-bg-3 { background: linear-gradient(45deg, #0b1115, #3b82f6); }

.project-overlay {
    position: absolute;
    top: 1rem;
    left: 1rem;
}

.tag {
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #fff;
    border: 1px solid var(--glass-border);
}

.project-info {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    border-top: none;
}

.project-info h3 {
    margin-bottom: 0.5rem;
}

.project-info p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* --- Partnership --- */
.partnership.relative {
    overflow: hidden;
}

.glow-bg {
    position: absolute;
    top: 50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0,255,136,0.15) 0%, rgba(11,17,21,0) 70%);
    transform: translateY(-50%);
    z-index: -1;
}

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

.partnership-content h2 {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.partnership-content > p {
    color: var(--text-muted);
    font-size: 1.125rem;
}

.direction-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    align-items: center;
}

.icon-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
    flex-shrink: 0;
}

.direction-item h4 {
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
}

.direction-item p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Forms */
.custom-form .form-group {
    margin-bottom: 1.5rem;
}

.custom-form .form-row {
    display: flex;
    gap: 1rem;
}

.custom-form .half {
    flex: 1;
}

.custom-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.custom-form input,
.custom-form select,
.custom-form textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    color: #fff;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.custom-form input:focus,
.custom-form select:focus,
.custom-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(0, 0, 0, 0.4);
}

.custom-form select option {
    background: var(--bg-dark);
    color: #fff;
}

/* --- Contact Us --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
}

.contact-details li {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    align-items: flex-start;
}

.contact-details i {
    font-size: 1.25rem;
    margin-top: 0.25rem;
}

.contact-details strong {
    display: block;
    margin-bottom: 0.25rem;
}

.contact-details p, .contact-details a {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-icon:hover {
    background: var(--primary);
    color: #000;
    border-color: var(--primary);
}

/* --- Footer --- */
.footer {
    background-color: #000;
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--glass-border);
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand p {
    color: var(--text-muted);
    max-width: 300px;
    font-size: 0.95rem;
}

.footer-links h4 {
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
}

.footer-links ul li {
    margin-bottom: 0.75rem;
}

.footer-links ul a {
    color: var(--text-muted);
    font-size: 0.95rem;
    transition: var(--transition);
}

.footer-links ul a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
    color: var(--text-muted);
    font-size: 0.875rem;
}

.legal-links {
    display: flex;
    gap: 1.5rem;
}

.legal-links a:hover {
    color: #fff;
}

/* --- Animations & Utilities --- */
.reveal {
    opacity: 0;
    visibility: hidden;
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    visibility: visible;
    transform: translate(0, 0) scale(1);
}

/* Specific reveal directions */
.fade-up { transform: translateY(50px); }
.fade-left { transform: translateX(-50px); }
.fade-right { transform: translateX(50px); }

/* Stagger cascade */
.cascade:nth-child(1) { transition-delay: 0.1s; }
.cascade:nth-child(2) { transition-delay: 0.2s; }
.cascade:nth-child(3) { transition-delay: 0.3s; }
.cascade:nth-child(4) { transition-delay: 0.4s; }
.cascade:nth-child(5) { transition-delay: 0.5s; }

.d-delay-1 { transition-delay: 0.2s; }
.d-delay-2 { transition-delay: 0.4s; }

/* --- Responsive Design --- */
@media (max-width: 1024px) {
    .hero-content h1 { font-size: 3.5rem; }
    .hero-stats-partners { grid-template-columns: 1fr; }
    .partnership-layout { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .nav-links, .nav-actions { display: none; }
    .mobile-menu-btn { display: block; }
    
    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(6, 9, 11, 0.95);
        backdrop-filter: blur(16px);
        padding: 2rem;
        border-bottom: 1px solid var(--glass-border);
    }
    
    .hero-content h1 { font-size: 2.5rem; }
    .about-grid { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: 1fr; gap: 2rem; }
    .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
    
    .stats { grid-template-columns: 1fr; }
}
