/* General Body Styles */
body {
    font-family: 'proxima-n-w01-reg', sans-serif;
    margin: 0;
    background-color: #365347;
    color: white;
    /* Add padding to the top to prevent content from hiding under the fixed header */
    /* Adjust this value if your header height changes */
    padding-top: 170px; 
    overflow-x: hidden;
    max-width: 100vw;
}

html {
    overflow-x: hidden;
    max-width: 100vw;
}

/* Header and Navigation */
header {
    background-color: #365347;
    color: white;
    padding: 0.05rem 0.5rem 0.05rem 0.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* --- Properties for the fixed header --- */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000; 
    box-sizing: border-box;
}

.logo img {
    height: 120px;
        margin-top: 0.05rem;
        margin-bottom: 0.01rem;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

nav ul li {
    margin-left: 20px;
}

nav a {
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
}

nav a.active, nav a:hover {
    text-decoration: underline;
}

/* Main Content */
main {
    padding: 2rem;
    flex-grow: 1;
    position: relative;
    z-index: 1;
}

/* Consistent main section text style for all pages */
.main-text-style {
    font-size: 1.25rem;
    text-align: left;
    line-height: 1.7;
    padding-left: 1rem;
    padding-right: 1rem;
    font-family: 'proxima-n-w01-reg', sans-serif;
}

.hero {
    text-align: center;
    padding: 4rem 1rem;
    /* --- Layer the logo ON TOP of the hills image --- */
    background-image:
        url('Monochrome on transparent.png'), /* Top layer: logo */
        url('6abe2e_099886685d5d4201ab183c4ca9dcc8ea~mv2.png'); /* Bottom layer: hills */
    background-size:
        55%,
        cover;
    background-position:
        center,
        center;
    background-attachment:
        scroll,
        fixed;
    background-repeat:
        no-repeat,
        no-repeat;
    color: white;
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.content-section {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.text-content {
    flex: 2;
}

.image-content {
    flex: 1;
}

.image-content img {
    max-width: 100%;
    height: auto;
}

/* About Counselling Section */

/* About Counselling Section - custom layout */
.about-counselling-section {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
    justify-content: center;
}

.about-counselling-section .image-content.left-large {
    flex: 1.2;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}
.about-counselling-section .image-content.left-large img {
    max-width: none;
    width: auto;
    height: 100%;
    min-height: 350px;
    max-height: 600px;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.18);
    object-fit: cover;
}

.about-counselling-section .text-content.right-large {
    flex: 2;
    font-size: 1.25rem;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    line-height: 1.7;
    padding-left: 1rem;
}


/* About Me Section */
.about-me-section {
    text-align: center;
}

.about-me-title {
    text-align: center;
    margin-bottom: 1rem;
}

.about-me-main-block {
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
    padding: 2rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.about-me-divider {
    border: none;
    border-top: 2px solid #365347;
    margin: 2rem 0 1rem 0;
}

.about-me-qualifications-header {
    font-weight: bold;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.about-me-testimonial {
    font-style: italic;
    margin: 1rem 0;
    padding-left: 1rem;
    border-left: 3px solid #365347;
}

.profile-pic {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
}

/* Contact Section */
.contact-section {
    max-width: 600px;
    margin: 0 auto;
}

.contact-email-link {
    color: #ffe066;
    font-weight: bold;
    text-decoration: underline;
    background: none;
    padding: 0 2px;
    border-radius: 2px;
    transition: color 0.2s;
}
.contact-email-link:hover {
    color: #fff200;
    background: #365347;
}

form {
    display: flex;
    flex-direction: column;
}

form label {
    margin-bottom: 0.5rem;
}

form input, form textarea {
    padding: 0.8rem;
    margin-bottom: 1rem;
    border: 1px solid #ccc;
    border-radius: 4px;
}

form button {
    padding: 1rem;
    background-color: #365347;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1.1rem;
}

.contact-submit-btn {
    background: linear-gradient(90deg, #ffe066 0%, #ffd700 100%);
    color: #365347;
    font-weight: bold;
    border: none;
    border-radius: 25px;
    padding: 1rem 2.5rem;
    font-size: 1.15rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    margin-top: 0.5rem;
}
.contact-submit-btn:hover {
    background: linear-gradient(90deg, #ffd700 0%, #ffe066 100%);
    color: #2a4035;
    box-shadow: 0 4px 16px rgba(0,0,0,0.18);
}

form button:hover {
    background-color: #2a4035;
}

/* Footer */
footer {
    background-color: #365347;
    color: white;
    text-align: center;
    padding: 1rem;
    bottom: 0;
    width: 100%;
}

/* Footer image styles */
.footer-img {
    display: inline-block;
    height: 48px;
    width: auto;
    margin-right: 1rem;
}
.social-links {
    display: block;
    margin: 0 auto;
    width: fit-content;
}

/* Media Query for smaller screens */
@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        width: 100%;
        text-align: center;
        margin-top: 1rem;
    }

    nav ul li {
        margin: 10px 0;
    }

    .content-section {
        flex-direction: column;
    }