* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

body {
    line-height: 1.6;
    color: #333;
}

/* Layout */
.container {
    width: 90%;
    max-width: 1100px;
    margin: auto;
}

/* Header */
.header {
    background: #0b4f8a;
    color: #fff;
}

.header-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
}

.logo {
    font-size: 20px;
}

.menu-toggle {
    font-size: 22px;
    background: none;
    border: none;
    color: #fff;
    display: block;
    cursor: pointer;
}

/* Navigation */
nav {
    display: none;
    width: 100%;
}

nav.active {
    display: block;
}

.nav {
    list-style: none;
    text-align: center;
}

.nav li {
    padding: 10px 0;
}

.nav a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

/* Hero */
.hero {
    background: #e6f2fb;
    padding: 60px 0;
    text-align: center;
}

/* Sections */
.section {
    padding: 50px 0;
}

.section.light {
    background: #f9f9f9;
}

/* Grid */
.grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.card {
    background: #fff;
    padding: 20px;
    border-left: 4px solid #0b4f8a;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Tech list */
.tech-list {
    padding-left: 20px;
}

/* Form */
form {
    max-width: 400px;
}

form input, form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
}

/* Button */
button {
    background: #0b4f8a;
    color: #fff;
    border: none;
    padding: 10px;
    cursor: pointer;
}

button:hover {
    background: #083b68;
}

/* Footer */
.footer {
    background: #0b4f8a;
    color: #fff;
    text-align: center;
    padding: 15px;
}

/* Desktop */
@media (min-width: 768px) {
    .menu-toggle {
        display: none;
    }

    nav {
        display: block;
        width: auto;
    }

    .nav {
        display: flex;
        gap: 20px;
    }

    .grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.logo-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    height: 40px;
}

.logo-text {
    font-size: 18px;
    font-weight: bold;
    color: #fff;
}
.hero {
    position: relative;
    height: 80vh;
    background-image:
        linear-gradient(rgba(11,79,138,0.7), rgba(11,79,138,0.7)),
        url("images/hero-bg.jpg");
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* parallax */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}

.hero h2 {
    font-size: 36px;
}

.hero p {
    font-size: 18px;
    margin-top: 10px;
}

.card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    margin-bottom: 10px;
    border-radius: 4px;
}

.card h3 {
    font-size: 16px;
}

.scroll-animate {
    opacity: 0;
    transform: scale(0.9) translateY(40px);
    transition: all 0.6s ease-out;
}

.scroll-animate.active {
    opacity: 1;
    transform: scale(1) translateY(0);
}

.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}

@media (max-width: 768px) {
    .hero {
        background-attachment: scroll;
        height: 60vh;
    }
}

.fade-text {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease;
}

.fade-text.active {
    opacity: 1;
    transform: translateY(0);
}

.glass {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    max-width: 600px;
}

.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 30px;
    text-align: center;
}

.stat-box {
    padding: 30px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.stat-box span {
    font-size: 40px;
    font-weight: bold;
    color: #0b4f8a;
}

.fade-page {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-page.loaded {
    opacity: 1;
    transform: translateY(0);
}

/* Page exit */
.fade-out {
    opacity: 0;
    transform: translateY(-10px);
}
