/* ==========================================================================
   1. GLOBAL STYLES & RESET
   ========================================================================== */
* {
    box-sizing: border-box; /* Ensures padding doesn't break element sizing */
    margin: 0;
    padding: 0;
}

body {
    background-color: #f0f4f8; /* Soft, modern off-white/light blue */
    font-family: 'Helvetica Neue', Arial, sans-serif; /* Clean sans-serif font stack */
    color: #333333; /* Soft dark charcoal for easier reading than pure black */
    line-height: 1.6;
}

/* Main content wrapper to center and bound the page content below the navbar */
.content-wrapper {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px 40px 20px;
}

/* ==========================================================================
   2. TYPOGRAPHY
   ========================================================================== */
h1 {
    color: #1a5276; /* Rich deep blue */
    font-size: 1.8rem;
    margin-bottom: 15px;
    border-bottom: 2px solid #1a5276;
    padding-bottom: 10px;
}

h3 {
    color: #113852;
    font-size: 1 rem;
    margin: 25px 0 10px 0;
}

p {
    margin-bottom: 20px;
    font-size: 1.05rem;
}

ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

ol {
    margin-bottom: 20px;
    padding-left: 20px;
}

li {
    margin-bottom: 8px;
}
.center-title {
    text-align: center;
}

/* ==========================================================================
   3. NAVIGATION BAR
   ========================================================================== */
/* The main bar stretching across the screen */
.navbar {
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
    margin-bottom: 40px; /* Pushes the page content down nicely */
}

/* Holds content and keeps it aligned with the rest of your page layout */
.nav-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between; /* Pushes logo to left, links to right */
    align-items: center;
}

/* Logo styling */
.nav-logo {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1a5276;
    text-decoration: none;
    letter-spacing: -0.5px;
}

/* Container for the right-side links */
.nav-links {
    display: flex;
    align-items: center;
    gap: 25px; /* Spaces the links out evenly */
}

/* Individual link styling */
.nav-item {
    text-decoration: none;
    color: #555555;
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding: 6px 0;
    transition: color 0.3s ease;
}

/* Change text color on hover */
.nav-item:hover {
    color: #1a5276;
}

/* The animated sliding underline effect */
.nav-item::after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #1a5276;
    transform-origin: bottom right;
    transition: transform 0.25s ease-out;
}

.nav-item:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

/* Special styling for a 'Contact' button to make it pop */
.nav-item.contact-btn {
    background-color: #1a5276;
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 6px;
    transition: background-color 0.3s ease;
}

.nav-item.contact-btn:hover {
    background-color: #113852;
    color: #ffffff;
}

/* Prevents the underline animation from applying to the contact button */
.nav-item.contact-btn::after {
    display: none;
}

/* ==========================================================================
   4. IMAGES AND MEDIA
   ========================================================================== */
img {
    display: block;
    max-width: 100%; 
    height: auto;
    border-radius: 8px; 
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); 
    margin: 25px 0;
}

/* ==========================================================================
   5. SPLIT COLUMN LAYOUT (FLEXBOX)
   ========================================================================== */
.split-layout {
    display: flex;       
    align-items: center; 
    gap: 40px;           
    margin: 30px 0;      
}

.text-column {
    flex: 1;
}

/* We change this column from a 50/50 split to only take up the size of the image */
.image-column {
    flex-shrink: 0; 
}

/* This fixes the sizing and alignment completely */
.image-column img {
    margin: 0; 
    display: inline-block; /* Allows text to sit side-by-side naturally if needed */
    width: 300px;          /* Clean, explicit portrait sizing */
    height: auto;
}

/* Responsive Design: Stacks vertically on mobile screens */
@media (max-width: 650px) {
    .split-layout {
        flex-direction: column;
        gap: 20px;
    }
    .image-column img {
        width: 100%;       /* Let it scale beautifully on small mobile views */
        max-width: 300px;
    }
}