/* --- Global Styles --- */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px;
}

h1, h2, h3 {
    color: #004a99;
}

a {
    color: #f39c12;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* --- Header & Navigation --- */
header {
    background-color: #ffffff;
    padding: 20px 0;
    text-align: center;
    border-bottom: 2px solid #eee;
}

nav {
    background-color: #004a99;
    overflow: hidden;
    text-align: center;
}

nav a {
    display: inline-block;
    color: white;
    padding: 14px 20px;
    text-decoration: none;
    transition: background-color 0.3s;
}

nav a:hover {
    background-color: #f39c12;
    text-decoration: none;
}

/* --- HERO SECTION --- */

.hero.split-hero {
    display: grid;
    grid-template-columns: 1fr 1fr; 
    gap: 50px;
    align-items: center; 
    padding: 80px 10%;
    background: 
        linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)),
        url("https://images.pexels.com/photos/164558/pexels-photo-164558.jpeg?auto=compress&cs=tinysrgb&w=1600") center/cover no-repeat;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Left Text */
.hero-text h1 {
    font-size: 2.8rem; /* CHANGED: Made slightly smaller (was 3.5rem) */
    margin: 0 0 20px 0;
    font-weight: 800;
    line-height: 1.1;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.8); 
    color: white !important;
}

.hero-text p {
    font-size: 1.3rem;
    margin: 0 0 40px 0;
    line-height: 1.6;
    color: #f0f0f0 !important;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.8);
    max-width: 90%;
}

/* The LOUD CTA Button */
.cta-button {
    display: inline-block;
    background-color: #ff4500; 
    color: white !important; 
    font-size: 1.3rem;
    font-weight: 900; 
    text-transform: uppercase;
    padding: 18px 40px; 
    border-radius: 50px; 
    border: 3px solid #ffffff; 
    box-shadow: 0 10px 20px rgba(0,0,0,0.3); 
    transition: all 0.3s ease;
    text-decoration: none !important;
    letter-spacing: 1px;
}

.cta-button:hover {
    background-color: #ff6347; 
    transform: translateY(-5px) scale(1.05); 
    box-shadow: 0 15px 30px rgba(255, 69, 0, 0.5); 
    text-decoration: none;
}

/* Right Video - CHANGED: Added solid white box frame */
.hero-video-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    background-color: #ffffff; /* Solid white background (not transparent) */
    padding: 15px; /* Creates the "Frame" effect */
    border-radius: 10px; /* Rounded corners for the box */
    box-shadow: 0 20px 50px rgba(0,0,0,0.6); /* Deep shadow for 3D pop */
}

.hero-video {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 4px; /* Slight radius on the video itself */
    display: block; /* Removes bottom whitespace */
}

/* --- Mobile Responsiveness --- */
@media (max-width: 768px) {
    .hero.split-hero {
        grid-template-columns: 1fr;
        padding: 60px 20px;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 2.2rem;
    }
    
    .hero-text p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-video-wrapper {
        margin-top: 30px;
    }
}

/* --- Content Layout --- */
.section {
    background-color: #ffffff;
    padding: 30px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.flex-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    align-items: center;
}

.flex-container .text {
    flex: 2;
    min-width: 300px;
}

.flex-container .image {
    flex: 1;
    text-align: center;
    min-width: 300px;
}

.flex-container img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

/* --- Cards Grid --- */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.card {
    background-color: #ffffff;
    border: 1px solid #eee;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    overflow: hidden;
    transition: transform 0.2s;
}

.card:hover {
    transform: translateY(-5px); 
}

.card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.card-content {
    padding: 20px;
}

.card h3 {
    margin-top: 0;
}

/* --- Footer --- */
footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 30px 20px;
    margin-top: 30px;
}

footer p {
    margin: 5px 0;
}

footer a {
    color: #f39c12;
}