/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

/* General */
body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    background: #f4f7fb;
    color: #333;
    text-align: center; /* Center most text */
}

/* Navigation */
nav {
    position: sticky;
    top: 0;
    background: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 60px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    z-index: 1000;
}

.logo {
    font-weight: bold;
    font-size: 22px;
    color: #003366;
}

.nav-links a {
    margin-left: 25px;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: 0.3s;
}

.nav-links a:hover {
    color: #0077cc;
}

/* Hero Section */
.hero {
    height: 85vh;
    background: linear-gradient(to right, #003366, #0077cc);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 15px;
}

.hero p {
    font-size: 20px;
    margin-bottom: 25px;
}

/* Button */
.btn {
    background: white;
    color: #0077cc;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.btn:hover {
    background: #e6f2ff;
}

/* Section Titles */
.section-title {
    background: #d9ecff;
    padding: 30px;
    margin-top: 40px;
}

/* Section Content */
.section-content {
    padding: 40px 20px;
    max-width: 900px;
    margin: auto; /* Center section container */
}

/* Grid Layout */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    justify-content: center;
}

/* Cards */
.card {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

/* Footer */
footer {
    text-align: center;
    padding: 20px;
    background: #003366;
    color: white;
    margin-top: 40px;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 32px;
    }

    nav {
        flex-direction: column;
    }

    .nav-links {
        margin-top: 10px;
    }
}
