/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    line-height: 1.6;
    color: #333;
    background-color: #f9fbfd;
}

/* Navigation Bar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background-color: #ffffff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #1a4b77;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    margin-left: 20px;
    font-weight: 500;
}

/* Buttons */
.btn-primary {
    display: inline-block;
    padding: 10px 20px;
    background-color: #1a4b77;
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background 0.3s ease;
}

.btn-primary:hover {
    background-color: #123454;
}

.btn-outline {
    display: inline-block;
    padding: 8px 18px;
    border: 2px solid #1a4b77;
    color: #1a4b77;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
}

/* Hero Section */
.hero {
    background-color: #eef4facc;
    padding: 100px 20px;
}

.hero-container {
    max-width: 800px;
    margin: 0 auto; /* Centers the container */
}

.hero-text {
    text-align: center; /* Centers the text inside the container */
}

.hero-text h1 {
    font-size: 2.8rem;
    color: #1a4b77;
    margin-bottom: 15px;
    line-height: 1.2;
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #555;
}

/* Card Image Fix */
.card-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    object-position: top; /* Anchors the image to the top so heads are not cut off */
    border-radius: 6px;
    margin-bottom: 20px;
}

/* Portal Section (The 2 Cards) */
.portal-section {
    display: flex;
    justify-content: center;
    gap: 40px;
    padding: 60px 20px;
    max-width: 1000px; 
    margin: -40px auto 0 auto; /* Pulls it up slightly over the hero */
    position: relative;
    z-index: 10;
}

.card {
    background: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
    flex: 1;
    text-align: center;
    border-top: 5px solid #1a4b77;
    display: flex;
    flex-direction: column;
}

.card-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 20px;
}

.card h2 {
    color: #1a4b77;
    margin-bottom: 5px;
}

.card .subtitle {
    font-weight: bold;
    color: #666;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.card p {
    margin-bottom: 25px;
    flex-grow: 1; /* Pushes the button to the bottom evenly */
}

/* Foundation Section */
.foundation-section {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    padding: 60px 50px;
    background-color: #ffffff;
}

.statement-box {
    flex: 1;
    background-color: #f9fbfd;
    padding: 30px;
    border-radius: 8px;
    border: 1px solid #e1e8f0;
}

.statement-box h3 {
    color: #1a4b77;
    margin-bottom: 15px;
    font-size: 1.4rem;
    border-bottom: 2px solid #1a4b77;
    padding-bottom: 5px;
    display: inline-block;
}

/* Footer */
footer {
    background-color: #1a4b77;
    color: #ffffff;
    padding: 40px 50px;
    text-align: center;
}

.footer-info {
    margin-bottom: 20px;
}