/* --- Reset & Base Styles --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #2b3a4a; /* Main Dark Blue Background */
    color: #ffffff;
    overflow-x: hidden; /* Prevent horizontal scroll */
}

a {
    text-decoration: none;
    color: inherit;
}

/* --- Header --- */
.header {
    background-color: #cfd8dc; /* Light Grey Header Background */
    padding: 10px 0;
}

.navbar {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    color: #2b3a4a; /* Dark text for header */
    font-weight: 600;
}

.nav-left, .nav-right {
    display: flex;
    gap: 30px;
    width: 200px; /* Fixed width to keep logo centered */
}

.nav-right {
    justify-content: flex-end;
}

.logo img {
    height: 60px; /* Adjust based on your actual logo size */
    margin: 0 20px;
}

/* --- Split Sections (Image + Text) --- */
.split-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 50px 0;
    min-height: 400px;
}

.split-section.reverse {
    flex-direction: row; /* Default is row, but we organize HTML to swap order */
}

/* Text Styling */
.text-wrapper {
    flex: 1;
    padding: 0 60px;
    text-align: center;
}

.text-wrapper h2 {
    color: #eebb18; /* Mustard Yellow */
    margin-bottom: 20px;
    font-size: 1.5rem;
    text-transform: capitalize;
}

.text-wrapper p {
    color: #d0d0d0;
    line-height: 1.6;
    font-size: 1rem;
}

/* Image Wrapper Styling */
.image-wrapper {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-wrapper img {
    width: 100%;
    max-width: 500px;
    height: auto;
    display: block;
    position: relative;
    z-index: 2;
    border: 1px solid #555;
}

/* Yellow Background Accents */
.left-accent {
    background-color: #dcb21f; /* Mustard Yellow */
    padding: 60px 60px 60px 0; /* Padding creates the visual yellow block */
    border-top-right-radius: 60px;
    border-bottom-right-radius: 60px;
    justify-content: flex-start; /* Align image to left */
}
.left-accent img {
    margin-left: 0; 
}

.right-accent {
    background-color: #dcb21f;
    padding: 60px 0 60px 60px;
    border-top-left-radius: 60px;
    border-bottom-left-radius: 60px;
    justify-content: flex-end; /* Align image to right */
}

/* --- CTA Section --- */
.cta-section {
    text-align: center;
    padding: 60px 20px;
}

.quote {
    color: #eebb18;
    font-size: 1.8rem;
    margin-bottom: 40px;
    font-weight: 600;
}

.quote span {
    font-weight: 700;
}

.btn-register {
    background-color: #eebb18;
    color: #2b3a4a;
    font-weight: bold;
    font-size: 1.1rem;
    padding: 12px 50px;
    border-radius: 30px;
    border: 2px solid #a03060; /* The reddish/pink border seen in image */
    transition: transform 0.2s;
    display: inline-block;
}

.btn-register:hover {
    transform: scale(1.05);
    cursor: pointer;
}

/* --- Footer --- */
.footer {
    background-color: #fdd835; /* Bright Yellow Footer */
    color: #2b3a4a;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    font-weight: 600;
    font-size: 0.9rem;
}

.footer-left, .footer-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-center h3 {
    letter-spacing: 1px;
    font-weight: 700;
}

/* --- Mobile Responsiveness --- */
@media (max-width: 768px) {
    .split-section {
        flex-direction: column;
        padding: 20px 0;
    }
    
    .split-section.reverse {
        flex-direction: column-reverse; /* Put text above image on mobile for bottom section */
    }

    .image-wrapper, .text-wrapper {
        padding: 20px;
        width: 100%;
    }

    .left-accent, .right-accent {
        border-radius: 0; /* Remove rounded corners on mobile for full width look */
        padding: 30px;
        justify-content: center;
    }

    .navbar {
        flex-direction: column;
        gap: 15px;
    }

    .nav-left, .nav-right {
        justify-content: center;
        width: auto;
    }
    
    .footer {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}