/* Import Google Fonts (Inter) and Material Icons */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');
@import url('https://fonts.googleapis.com/icon?family=Material+Icons+Round');

/* Reset and Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: #FFFFFF;
    color: #1a202c;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    color: #0f2b5c !important;
    border: 2px solid #0f2b5c;
    padding: 10px 26px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.btn:hover {
    background-color: #0f2b5c;
    color: #FFFFFF !important;
    transform: translateY(-1px);
}

.btn-secondary {
    background-color: #f1f3f5;
    color: #0f2b5c;
    border: 1px solid #e2e8f0;
}

.btn-secondary:hover {
    background-color: #e2e8f0;
    transform: translateY(-1px);
}

/* Header & Navigation */
header {
    background-color: #FFFFFF;
    border-bottom: 1px solid #edf2f7;
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo {
    font-size: 22px;
    font-weight: 800;
    color: #0f2b5c;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo span {
    font-size: 28px;
    color: #0f2b5c;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: #4a5568;
    font-weight: 500;
    font-size: 15px;
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: #0f2b5c;
}

/* Menu Toggle Button */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1100;
}

.menu-toggle .bar {
    width: 100%;
    height: 3px;
    background-color: #0f2b5c;
    border-radius: 4px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Transform hamburger to close 'X' */
.menu-toggle.active .bar:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
}

.menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active .bar:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
}

/* Hero Section */
.hero-section {
    padding: 100px 0 80px;
    text-align: center;
    background-color: #FFFFFF;
}

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

.badge {
    display: inline-block;
    background-color: #edf2f7;
    color: #0f2b5c;
    padding: 6px 16px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 20px;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-title {
    font-size: 48px;
    font-weight: 800;
    color: #0f2b5c;
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: -0.5px;
}

.hero-subtitle {
    font-size: 18px;
    color: #4a5568;
    margin-bottom: 40px;
    line-height: 1.6;
}

.hero-ctas {
    display: flex;
    justify-content: center;
    gap: 16px;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 32px;
    font-weight: 700;
    color: #0f2b5c;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 16px;
    color: #4a5568;
    max-width: 600px;
    margin: 0 auto;
}

/* About & Infrastructure Gallery */
.gallery-section {
    padding: 80px 0;
    background-color: #FFFFFF;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.gallery-card {
    background-color: #FFFFFF;
    border: 1px solid #edf2f7;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gallery-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.08);
}

.gallery-image {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
}

.gallery-info {
    padding: 24px;
}

.gallery-info h3 {
    font-size: 18px;
    font-weight: 700;
    color: #0f2b5c;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.gallery-info h3 span {
    font-size: 20px;
    color: #0f2b5c;
}

.gallery-info p {
    font-size: 14px;
    color: #4a5568;
}

/* Alternating Timeline Section */
.timeline-section {
    padding: 80px 0 100px;
    background-color: #FFFFFF;
    position: relative;
}

.timeline-container {
    position: relative;
    max-width: 1000px;
    margin: 60px auto 0;
}

/* The vertical line */
.timeline-container::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background-color: #edf2f7;
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    justify-content: flex-end;
    padding-bottom: 80px;
    position: relative;
    width: 50%;
}

.timeline-item:nth-child(even) {
    align-self: flex-end;
    margin-left: 50%;
    justify-content: flex-start;
}

/* Timeline dot */
.timeline-dot {
    position: absolute;
    right: -10px;
    top: 30px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #FFFFFF;
    border: 3px solid #0f2b5c;
    z-index: 2;
}

.timeline-item:nth-child(even) .timeline-dot {
    left: -10px;
}

.timeline-card {
    width: 90%;
    background-color: #FFFFFF;
    border-radius: 8px;
    border: 1px solid #edf2f7;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.timeline-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.08);
}

.timeline-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.timeline-content {
    padding: 24px;
}

.timeline-title {
    font-size: 20px;
    font-weight: 700;
    color: #0f2b5c;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.timeline-title span {
    font-size: 22px;
    color: #0f2b5c;
}

.timeline-desc {
    font-size: 14px;
    color: #4a5568;
    line-height: 1.6;
}

/* Footer Section */
footer {
    background-color: #f9f9f9;
    border-top: 1px solid #edf2f7;
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    font-size: 16px;
    font-weight: 700;
    color: #0f2b5c;
    margin-bottom: 20px;
}

.footer-col p {
    font-size: 14px;
    color: #4a5568;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-col p span {
    font-size: 18px;
    color: #0f2b5c;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    text-decoration: none;
    color: #4a5568;
    font-size: 14px;
    transition: color 0.2s ease;
}

.footer-col ul li a:hover {
    color: #0f2b5c;
}

.footer-bottom {
    border-top: 1px solid #e2e8f0;
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: #718096;
}

/* Responsive Design */
@media (max-width: 992px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 36px;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .timeline-container::before {
        left: 20px;
    }

    .timeline-item {
        width: 100%;
        justify-content: flex-start;
        padding-left: 45px;
        padding-right: 0;
    }

    .timeline-item:nth-child(even) {
        margin-left: 0;
        justify-content: flex-start;
        padding-left: 45px;
    }

    .timeline-dot {
        left: 10px !important;
        right: auto !important;
    }

    .timeline-card {
        width: 100%;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-links {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        height: calc(100vh - 80px);
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        padding: 60px 40px;
        gap: 30px;
        transform: translateX(100%);
        transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 1050;
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
        align-items: center;
        justify-content: flex-start;
    }

    .nav-links.active {
        transform: translateX(0);
    }

    .nav-links li {
        width: 100%;
        text-align: center;
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.4s ease, transform 0.4s ease;
    }

    .nav-links.active li {
        opacity: 1;
        transform: translateY(0);
    }

    .nav-links.active li:nth-child(1) { transition-delay: 0.1s; }
    .nav-links.active li:nth-child(2) { transition-delay: 0.15s; }
    .nav-links.active li:nth-child(3) { transition-delay: 0.2s; }
    .nav-links.active li:nth-child(4) { transition-delay: 0.25s; }
    .nav-links.active li:nth-child(5) { transition-delay: 0.3s; }
    .nav-links.active li:nth-child(6) { transition-delay: 0.35s; }

    .nav-links a {
        font-size: 20px;
        font-weight: 600;
        color: #0f2b5c;
        display: block;
        padding: 10px 0;
    }

    .nav-links #nav-cta-btn {
        margin: 20px auto 0;
        width: 100%;
        max-width: 280px;
    }
}

/* Background Canvas Animation */
#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
    background-color: transparent;
    opacity: 0.12; /* Subtly faded to respect solid white background constraint */
}

/* Web3 Section styling */
.web3-section {
    padding: 100px 0 120px;
    background: linear-gradient(180deg, #FFFFFF 0%, #f7fafc 100%);
    border-top: 1px solid #edf2f7;
    position: relative;
    z-index: 1;
}

.web3-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 50px;
}

.web3-card {
    background: #FFFFFF;
    border: 1px solid #edf2f7;
    border-radius: 16px;
    padding: 48px 36px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.web3-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #0f2b5c, #3182ce);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.web3-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 30px -5px rgba(15, 43, 92, 0.08);
}

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

.web3-card-icon {
    font-size: 42px;
    color: #0f2b5c;
    margin-bottom: 24px;
    display: inline-block;
}

.web3-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: #0f2b5c;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

.web3-card p {
    font-size: 15px;
    color: #4a5568;
    line-height: 1.8;
    letter-spacing: 0.02em;
}

/* Web3 Featured Banner */
.web3-featured {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    margin-top: 80px;
    background: #0f2b5c;
    border-radius: 20px;
    overflow: hidden;
    color: #FFFFFF;
    box-shadow: 0 20px 40px -15px rgba(15, 43, 92, 0.3);
}

.web3-featured-content {
    padding: 60px 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.web3-featured-content h3 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 20px;
    color: #FFFFFF;
    letter-spacing: -0.02em;
}

.web3-featured-content p {
    font-size: 16px;
    color: #cbd5e0;
    margin-bottom: 35px;
    line-height: 1.8;
    letter-spacing: 0.03em;
}

.web3-featured-content .btn {
    border-color: #FFFFFF;
    color: #FFFFFF !important;
    background: transparent;
}

.web3-featured-content .btn:hover {
    background: #FFFFFF;
    color: #0f2b5c !important;
}

.web3-featured-visual {
    position: relative;
    min-height: 400px;
}

.web3-visual-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

/* Web3 Crypto Payment Showcase (local brand images) */
.web3-showcase {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.web3-showcase-card {
    background: #FFFFFF;
    border: 1px solid #edf2f7;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.web3-showcase-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 30px -5px rgba(15, 43, 92, 0.08);
}

.web3-showcase-img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.web3-showcase-card:hover .web3-showcase-img {
    transform: scale(1.03);
}

.web3-showcase-info {
    padding: 28px 26px;
}

.web3-showcase-info h4 {
    font-size: 19px;
    font-weight: 700;
    color: #0f2b5c;
    margin-bottom: 10px;
}

.web3-showcase-info p {
    font-size: 14px;
    color: #4a5568;
    line-height: 1.6;
}

@media (max-width: 992px) {
    .web3-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .web3-showcase {
        grid-template-columns: 1fr;
    }
    .web3-featured {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .web3-featured-visual {
        min-height: 300px;
    }
    .web3-featured-content {
        padding: 50px 40px;
    }
}

/* Events Section Styling */
.events-section {
    padding: 100px 0 120px;
    background-color: #FFFFFF;
    border-top: 1px solid #edf2f7;
    position: relative;
    z-index: 1;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.event-card {
    background: #FFFFFF;
    border: 1px solid #edf2f7;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.event-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 30px -5px rgba(15, 43, 92, 0.08);
}

.event-image-wrapper {
    position: relative;
    width: 100%;
    height: 260px;
    overflow: hidden;
    background-color: #f7fafc;
}

.event-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.event-image.align-top {
    object-position: top;
}

.event-card:hover .event-image {
    transform: scale(1.05);
}

.event-tag {
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: #0f2b5c;
    color: #FFFFFF;
    padding: 4px 12px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 4px;
    letter-spacing: 0.5px;
}

.event-info {
    padding: 30px 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.event-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 12px;
    font-size: 13px;
    color: #718096;
}

.event-meta-item {
    display: flex;
    align-items: center;
    gap: 4px;
}

.event-meta-item span {
    font-size: 16px;
    color: #0f2b5c;
}

.event-info h3 {
    font-size: 20px;
    font-weight: 700;
    color: #0f2b5c;
    margin-bottom: 12px;
    line-height: 1.4;
}

.event-info p {
    font-size: 14px;
    color: #4a5568;
    line-height: 1.6;
}

@media (max-width: 992px) {
    .events-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .events-grid {
        grid-template-columns: 1fr;
    }
}

/* Lightbox Modal */
.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgba(15, 43, 92, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox-modal.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 80vh;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transform: scale(0.95);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox-modal.active .lightbox-content {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: #FFFFFF;
    font-size: 40px;
    font-weight: 300;
    cursor: pointer;
    transition: color 0.2s ease, transform 0.2s ease;
    user-select: none;
    z-index: 2001;
}

.lightbox-close:hover {
    color: #cbd5e0;
    transform: scale(1.1);
}

.lightbox-caption {
    position: absolute;
    bottom: 40px;
    color: #FFFFFF;
    font-size: 16px;
    font-weight: 500;
    text-align: center;
    width: 100%;
    padding: 0 20px;
    z-index: 2001;
}

