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

/* GLOBAL */
body {
    font-family: 'Open Sans', sans-serif;
    background-color: #f5f7fa;
    color: #333;
    line-height: 1.6;
}

/* KEEP YOUR HEADER EXACTLY AS IS */
header {
    position: relative;
    background: black;
    color: white;
    padding: 20px 15px 20px 15px;
    min-height: 220px;
}

.foundation-top-center {
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    text-align: center;
    z-index: 2;
}

.foundation-title {
    font-size: 2em;
    font-weight: bold;
    margin: 0;
    color: white;
}

.logo {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 360px;
    height: auto;
}

.logo-img {
    width: 360px;
    height: 160px;
}

/* NAVIGATION */
nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
}

nav a:hover {
    color: #64ffda;
    text-decoration: underline;
}

nav {
    position: absolute;
    top: 60px;
    right: 100px;
    z-index: 10;
}

/* LANGUAGE */
.language-switch {
    position: absolute;
    top: 20px;
    right: 80px;
    z-index: 10;
}

.language-switch button {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid #64ffda;
    padding: 8px 12px;
    margin-left: 5px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
}

.language-switch button:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* HERO (UPGRADED) */
.hero {
    text-align: center;
    padding: 100px 20px;
    background: linear-gradient(135deg, #0a192f, #112240);
    color: white;
}

.hero h2 {
    font-size: 42px;
    margin-bottom: 20px;
}

.hero p {
    max-width: 700px;
    margin: auto;
    font-size: 18px;
}

/* BUTTON */
.btn {
    display: inline-block;
    margin-top: 25px;
    background: #64ffda;
    padding: 12px 25px;
    color: #0a192f;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
    transition: 0.3s;
}

.btn:hover {
    background: white;
}

/* QUICK ACCESS */
.quick-access {
    padding: 60px 20px;
    text-align: center;
}

.quick-grid {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.quick-card {
    background: #112240;
    color: white;
    padding: 20px 30px;
    border-radius: 12px;
    text-decoration: none;
    transition: 0.3s;
    font-weight: 500;
}

.quick-card:hover {
    background: #64ffda;
    color: #0a192f;
    transform: translateY(-5px);
}

/* VALUE SECTION */
.value {
    text-align: center;
    padding: 70px 20px;
    background: white;
}

.value h2 {
    font-size: 30px;
    margin-bottom: 20px;
}

.value p {
    max-width: 700px;
    margin: auto;
    color: #555;
}

/* CTA */
.cta {
    text-align: center;
    padding: 80px 20px;
    background: #0a192f;
    color: white;
}

.cta h2 {
    font-size: 32px;
}

/* NEWSLETTER */
.newsletter {
    text-align: center;
    padding: 60px 20px;
    background: #f5f7fa;
}

.newsletter input {
    padding: 12px;
    width: 260px;
    border-radius: 6px;
    border: 1px solid #ccc;
}

.newsletter button {
    padding: 12px 20px;
    margin-left: 10px;
    background: #64ffda;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

.newsletter button:hover {
    background: #0a192f;
    color: white;
}

/* FEATURES */
.features {
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 60px 20px;
    background: #f5f7fa;
    flex-wrap: wrap;
}

.feature {
    width: 300px;
    text-align: center;
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

/* BLOG */
.blog-container {
    display: flex;
    gap: 30px;
    padding: 50px;
    flex-wrap: wrap;
    justify-content: center;
}

.blog-card {
    width: 320px;
    border-radius: 12px;
    overflow: hidden;
    background: white;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    transition: 0.3s;
}

.blog-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.blog-card h2 {
    padding: 15px;
}

.blog-card a {
    display: block;
    padding: 15px;
    text-decoration: none;
    font-weight: bold;
    color: #0a192f;
}

.blog-card:hover {
    transform: translateY(-8px);
}

/* ARTICLE */
.article {
    padding: 60px 20px;
    max-width: 900px;
    margin: auto;
    line-height: 1.9;
}

/* FOOTER (FIXED ISSUE 🔥) */
.footer {
    background: #0a192f;
    color: white;
    text-align: center;
    padding: 30px;
    margin-top: 40px;
    position: relative;
}

/* REMOVE old fixed footer behavior */
footer {
    position: relative;
}

/* SOCIAL */
.social-links {
    margin-bottom: 10px;
}

.social-links a {
    color: #64ffda;
    margin: 0 10px;
    text-decoration: none;
    font-weight: bold;
}

/* ABOUT PAGE (UNCHANGED BUT CLEANED) */
.about-hero {
    display: flex;
    gap: 40px;
    align-items: center;
    margin-bottom: 50px;
}

.about-image {
    flex: 0 0 300px;
}

.about-img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.about-content {
    flex: 1;
}

.about-content h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5em;
    color: #112240;
    margin-bottom: 20px;
}

.about-content p {
    font-size: 1.1em;
    line-height: 1.6;
    color: #333;
}

.about-section {
    background: #f8f9fa;
    padding: 40px;
    border-radius: 12px;
    border-left: 4px solid #64ffda;
    margin-bottom: 30px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .hero h2 {
        font-size: 30px;
    }

    .quick-grid {
        flex-direction: column;
        align-items: center;
    }

    nav {
        position: static;
        text-align: center;
        margin-top: 20px;
    }

    .logo {
        position: static;
        display: block;
        margin: auto;
    }

    .about-hero {
        flex-direction: column;
        text-align: center;
    }

    .about-image {
        flex: none;
        max-width: 300px;
    }
}