:root {
    --color-bg-dark: #040d12;
    /* Deep Sea Blue */
    --color-bg-darker: #091c24;
    /* Lighter Deep Sea Blue */
    --color-tosca: #00f2fe;
    /* Neon Teal */
    --color-tosca-light: #4facfe;
    /* Neon Blue */
    --color-tosca-dark: #00b4db;
    --color-green: #34d399;
    /* Neon Mint */
    --color-green-light: #6ee7b7;
    --color-text: #f8fafc;
    --color-text-muted: #94a3b8;
    --color-bg-light: #f8fafc;
    --color-text-dark: #0f172a;
    --font-heading: 'Plus Jakarta Sans', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;

    /* Glassmorphism Variables */
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.4);
    --glow-cyan: 0 0 20px rgba(0, 242, 254, 0.5);
    --glow-mint: 0 0 20px rgba(52, 211, 153, 0.5);
}

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

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

/* Background Gradients & Shapes */
.bg-gradient {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: radial-gradient(circle at 15% 50%, rgba(34, 211, 238, 0.12), transparent 30%),
        radial-gradient(circle at 85% 30%, rgba(16, 185, 129, 0.1), transparent 35%);
    z-index: -2;
}

.glass-shapes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.shape {
    position: absolute;
    filter: blur(100px);
    opacity: 0.6;
    border-radius: 50%;
    animation: float 20s infinite ease-in-out;
}

.shape-1 {
    top: -10%;
    left: -15%;
    width: 600px;
    height: 600px;
    background: var(--color-tosca-dark);
    animation-delay: 0s;
}

.shape-2 {
    bottom: -20%;
    right: -10%;
    width: 700px;
    height: 700px;
    background: rgba(16, 185, 129, 0.4);
    animation-delay: -5s;
}

.shape-3 {
    top: 40%;
    left: 60%;
    width: 400px;
    height: 400px;
    background: rgba(34, 211, 238, 0.5);
    animation-delay: -10s;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(40px, -60px) scale(1.05);
    }

    66% {
        transform: translate(-30px, 30px) scale(0.95);
    }
}

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

/* Typography */
h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

.text-gradient {
    background: linear-gradient(135deg, var(--color-tosca-light), var(--color-green-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Glass Navigation UI */
.glass-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(6, 20, 32, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    padding: 1.2rem 0;
    transition: all 0.4s ease;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--font-heading);
    font-size: 1.7rem;
    font-weight: 800;
    color: white;
    text-decoration: none;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 10px rgba(34, 211, 238, 0.3);
}

.logo .logo-svg {
    filter: drop-shadow(0 2px 8px rgba(0, 242, 254, 0.6)) brightness(1.4) contrast(1.2);
    transition: transform 0.3s ease;
}

.logo:hover .logo-svg {
    transform: scale(1.1) rotate(5deg);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-links a {
    color: var(--color-text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a:hover,
.nav-links a.active {
    color: white;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: linear-gradient(90deg, var(--color-tosca-light), var(--color-green-light));
    transition: width 0.3s ease;
    border-radius: 2px;
}

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

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 0.5rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.8rem 1.8rem;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    font-family: var(--font-body);
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-tosca), var(--color-green));
    color: white;
    border: none;
    box-shadow: 0 4px 20px rgba(8, 145, 178, 0.4);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-tosca-light), var(--color-green-light));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(8, 145, 178, 0.5);
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-primary span,
.btn-primary i,
.btn-primary {
    position: relative;
    z-index: 2;
}

.btn-glass {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: white;
    backdrop-filter: blur(10px);
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.2);
}

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

.hero-container {
    width: 100%;
    position: relative;
}

.glass-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.01) 100%);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    border-radius: 32px;
    padding: 5rem 3rem;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    position: relative;
}

/* subtle inner border for glass effect */
.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 32px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    pointer-events: none;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.2rem;
    background: rgba(34, 211, 238, 0.1);
    color: var(--color-tosca-light);
    border: 1px solid rgba(34, 211, 238, 0.2);
    border-radius: 9999px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 2rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    box-shadow: 0 0 15px rgba(34, 211, 238, 0.1);
}

.hero h1 {
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.hero p {
    font-size: 1.2rem;
    color: var(--color-text-muted);
    margin-bottom: 3rem;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 4rem;
}

.stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    border-top: 1px solid var(--glass-border);
    padding-top: 2.5rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.stat-value {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: white;
    text-shadow: 0 0 20px rgba(34, 211, 238, 0.4);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

/* Animations */
.fade-in {
    animation: fadeIn 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
    transform: translateY(30px);
}

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 3.5rem;
    }

    .stats {
        gap: 2rem;
    }

    .glass-card {
        padding: 4rem 2rem;
    }
}

@media (max-width: 768px) {

    .nav-links,
    .nav-container .btn-primary {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        padding: 0 1rem;
    }

    .glass-card {
        padding: 3rem 1.5rem;
        border-radius: 24px;
    }

    .stats {
        flex-direction: column;
        gap: 2rem;
    }

    .stat-value {
        font-size: 2.5rem;
    }
}

/* Explore Overlay Modal */
.explore-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(2, 10, 16, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    padding: 2rem;
}

.explore-overlay.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.explore-content {
    max-width: 750px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 4rem;
    position: relative;
    transform: translateY(0) scale(1);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s ease;
    text-align: left;
}

.explore-content::-webkit-scrollbar {
    width: 6px;
}

.explore-content::-webkit-scrollbar-thumb {
    background: rgba(0, 242, 254, 0.5);
    border-radius: 4px;
}

.explore-overlay.hidden .explore-content {
    transform: translateY(50px) scale(0.95);
    opacity: 0;
}

.close-btn {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.close-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.explore-text {
    font-size: 1.25rem;
    color: var(--color-text);
    margin-bottom: 1.5rem;
    line-height: 1.8;
    text-align: justify;
}

.explore-signature {
    margin-top: 3rem;
    border-top: 1px solid var(--glass-border);
    padding-top: 1.5rem;
    color: var(--color-tosca-light);
    font-size: 1.1rem;
}

.explore-signature strong {
    color: white;
    font-family: var(--font-heading);
    font-size: 1.5rem;
}

@media (max-width: 768px) {
    .explore-content {
        padding: 3rem 1.5rem 2rem 1.5rem;
    }

    .explore-text {
        font-size: 1.1rem;
    }
}

/* About Us Hero */
.about-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: url('about_hero_bg.png') no-repeat center center/cover;
    padding-top: 6rem;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(4, 13, 18, 0.6);
    z-index: 1;
}

.about-hero .container {
    position: relative;
    z-index: 2;
}

.neon-glow {
    text-shadow: var(--glow-cyan);
}

.lead-text {
    font-size: 1.3rem;
    color: var(--color-text-muted);
    margin-bottom: 1rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}

.motto {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 2.5rem;
}

@media (max-width: 768px) {
    .motto {
        font-size: 2.2rem;
    }
}

.hook-extra p {
    font-size: 1.15rem;
    margin-bottom: 1.5rem;
    color: var(--color-text-muted);
}

.hook-extra .highlight-text {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--color-green-light);
    margin-top: 2rem;
}

/* Sections General */
section {
    padding: 6rem 0;
}

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

/* Z-Pattern Layout */
.z-row {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.z-row.reverse {
    flex-direction: row-reverse;
}

.z-image {
    flex: 1;
    position: relative;
}

.z-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
    z-index: 2;
    position: relative;
}

.z-image.dark-image,
.z-image.light-image {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 300px;
}

.huge-icon {
    width: 120px;
    height: 120px;
    opacity: 0.8;
}

.dark-image .huge-icon {
    color: #ef4444;
    /* Red for danger/problem */
}

.light-image .huge-icon {
    color: var(--color-tosca-dark);
}

.glow-orb {
    position: absolute;
    width: 300px;
    height: 300px;
    background: var(--color-tosca);
    filter: blur(100px);
    opacity: 0.4;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

.z-text {
    flex: 1;
}

.z-text h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.z-text p {
    text-align: justify;
}

/* Badges */
.badge-danger {
    background: rgba(239, 68, 68, 0.1);
    color: #fca5a5;
    border-color: rgba(239, 68, 68, 0.2);
}

.badge-success {
    background: rgba(16, 185, 129, 0.1);
    color: var(--color-green-dark);
    /* Contrast adjustment */
    border-color: rgba(16, 185, 129, 0.3);
}

/* Mission Grid */
.section-header {
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 3rem;
    margin-top: 1rem;
}

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

.mission-card {
    padding: 3rem 2.5rem;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mission-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 242, 254, 0.15);
}

.icon-wrapper {
    width: 65px;
    height: 65px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(0, 242, 254, 0.2), rgba(52, 211, 153, 0.2));
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.5rem;
}

.icon-wrapper i {
    width: 32px;
    height: 32px;
    color: var(--color-tosca-light);
}

.mission-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.mission-card p {
    text-align: justify;
}

/* Problem & Solution Contrast */
.problem-section {
    background-color: var(--color-bg-darker);
}

.solution-section {
    background-color: var(--color-bg-light);
    color: var(--color-text-dark);
}

.solution-section p {
    color: #475569;
    font-size: 1.15rem;
}

.solution-section h2 {
    color: #0f172a;
}

.solution-section .badge-success {
    color: #059669;
    /* Darker green for light background */
}

/* Glowing Button */
.btn-glow {
    box-shadow: var(--glow-cyan);
}

.btn-glow:hover {
    box-shadow: var(--glow-mint);
}

/* CTA Section */
.cta-section {
    position: relative;
    overflow: hidden;
}

.cta-card {
    padding: 5rem 3rem;
}

.cta-card h2 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.cta-card p {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto 3rem auto;
}

.cta-signature {
    margin-top: 3rem;
    color: var(--color-text-muted);
}

/* SDGs Section */
.sdg-section {
    position: relative;
    z-index: 2;
    padding-top: 2rem;
}

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

.sdg-card {
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid var(--color-tosca-light);
}

.sdg-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 242, 254, 0.15);
}

.sdg-header {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.sdg-icon-img {
    width: 65px;
    height: 65px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.sdg-header h3 {
    font-size: 1.25rem;
    line-height: 1.3;
    margin: 0;
    color: var(--color-tosca-light);
}

.sdg-body p {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.6;
    margin-bottom: 0.8rem;
    text-align: justify;
}

.sdg-body p strong {
    color: #fff;
    font-weight: 600;
}

/* Responsive adjustments */
@media (max-width: 992px) {

    .z-row,
    .z-row.reverse {
        flex-direction: column;
        text-align: center;
    }

    .z-text {
        order: 2;
    }

    .z-image {
        order: 1;
        width: 100%;
    }
}

/* Custom Form Styles */
.custom-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    margin-top: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    text-align: left;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-tosca-light);
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.8rem 1rem;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    color: white;
    font-family: var(--font-body);
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
}

.form-group input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.form-group input:focus,
.form-group select:focus {
    border-color: var(--color-tosca);
    box-shadow: 0 0 0 2px rgba(0, 242, 254, 0.2);
}

.form-group select option {
    background: var(--color-bg-darker);
    color: white;
}

/* Contact Links in Success Modal */
.contact-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    color: white;
    text-decoration: none;
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.contact-link:hover {
    background: rgba(0, 242, 254, 0.1);
    border-color: var(--color-tosca);
    color: var(--color-tosca-light);
    transform: translateY(-2px);
}

/* Utility */
.hidden {
    display: none !important;
}

/* Product Catalog */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.product-card {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    transition: transform 0.3s ease;
}

.product-card:hover {
    transform: translateY(-10px);
}

.product-img-wrapper {
    border-radius: 12px;
    overflow: hidden;
    height: 220px;
    background: rgba(0, 0, 0, 0.3);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-img-wrapper img {
    transform: scale(1.1);
}

.product-info {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-info h3 {
    text-align: center;
}

.product-info p {
    text-align: justify;
    flex-grow: 1;
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--color-tosca);
    color: var(--color-tosca-light);
    width: 100%;
    justify-content: center;
}

.btn-outline:hover {
    background: rgba(0, 242, 254, 0.1);
    color: white;
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.3);
}