/* Base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navigation */
.navbar {
    background-color: #ffffff;
    padding: 1rem 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: bold;
}

.logo-icon {
    height: auto;
    max-height: 50px;
    width: auto;
    display: block;
    vertical-align: bottom;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: flex-end;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    display: flex;
    align-items: flex-end;
    margin: 0;
    padding: 0;
}

.logo-item {
    display: flex;
    align-items: flex-end;
    margin-right: 0;
}

.logo-item a {
    text-decoration: none;
    display: flex;
    align-items: flex-end;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
    line-height: 1;
    display: flex;
    align-items: flex-end;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #ff6b6b;
}

/* Hero Section */
.hero {
    position: relative;
    width: 100%;
    background-image: url('assets/images/sparkle_banner.png');
    background-size: 100% auto;
    background-repeat: no-repeat;
    background-position: center top;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: hidden;
}

/* Maintain aspect ratio for banner - adjust percentage based on actual image aspect ratio */
.hero::before {
    content: '';
    display: block;
    width: 100%;
    padding-bottom: 30%; /* Adjust this percentage to match your banner image aspect ratio */
}

.hero-background {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.hero-overlay {
    position: absolute;
    z-index: 2;
    text-align: left;
    padding: 4rem 2rem 0 2rem;
    width: 100%;
    max-width: 1200px;
    margin: 0;
    margin-left: 2rem;
    bottom: 1.5rem;
    left: 0;
}

.hero-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 3rem;
    width: 100%;
}

.service-sparkle-image {
    max-width: 100%;
    height: auto;
    max-height: 400px;
    width: auto;
    display: block;
    margin: 0;
    margin-left: -6rem;
    align-self: flex-start;
}

.hero-cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: flex-start;
    flex-wrap: wrap;
    margin-top: 0;
    margin-bottom: 0;
}

.btn-hero {
    background-color: #ffdac6;
    color: #ff6b6b;
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.btn-hero:hover {
    background-color: #ff6b6b;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

/* Content Section */
.content-section {
    padding: 4rem 2rem;
    background-color: #ffffff;
}

.section-heading {
    font-size: 3rem;
    margin-bottom: 2rem;
    color: #ff6b6b;
    text-align: center;
    font-weight: bold;
}

.content-text {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
}

.content-text p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: #333;
    line-height: 1.8;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn-primary {
    background-color: #ffdac6;
    color: #ff6b6b;
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.btn-primary:hover {
    background-color: #ff6b6b;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

/* Footer */
footer {
    background-color: #FFDAC6;
    color: #333;
    padding: 0;
    margin-top: auto;
    position: relative;
    width: 100%;
}

.footer-top-bar {
    background-color: #FF6B6B;
    min-height: 27px;
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.footer-top-content {
    max-width: 1200px;
    width: 100%;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    position: relative;
}

.footer-top-bar .founder-message-content {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-top-bar h3 {
    color: white;
    font-size: 0.9rem;
    margin: 0;
    margin-right: 0.5rem;
    white-space: nowrap;
}

.footer-top-bar .quote {
    font-size: 0.85rem;
    font-style: italic;
    margin: 0;
    color: white;
}

.footer-top-bar .signature {
    font-size: 0.85rem;
    font-weight: bold;
    margin: 0;
    color: white;
    margin-left: 0.5rem;
}

.footer-top-bar .founder-image {
    flex-shrink: 0;
}

.footer-top-bar .founder-photo {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
    border: none;
    outline: none;
    box-shadow: none;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 3rem;
    padding: 0 2rem 1rem 2rem;
    min-height: 96px;
    align-items: center;
    position: relative;
    z-index: 1;
    background-color: #FFDAC6;
}

.footer-left {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: relative;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.3rem;
    font-weight: bold;
    margin-top: 1rem;
}

.footer-logo .logo-icon {
    height: auto;
    max-height: 35px;
    width: auto;
    display: block;
    margin-right: 2rem;
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-column h4 {
    font-size: 1em;
    font-weight: 700;
    font-style: normal;
    color: rgb(0, 0, 0);
    margin-top: 1.5rem;
    margin-bottom: 0.25rem;
    font-kerning: normal;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 0.25rem;
}

.footer-column a {
    font-size: 1em;
    font-weight: 400;
    font-style: normal;
    color: rgb(0, 0, 0);
    font-kerning: none;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-column a:hover {
    color: #FF6B6B;
}

.footer-column p {
    font-size: 1em;
    font-weight: 400;
    font-style: normal;
    color: rgb(0, 0, 0);
    font-kerning: none;
    margin-bottom: 0.5rem;
}

.footer-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1em;
    font-weight: 400;
    font-style: normal;
    color: rgb(0, 0, 0);
    font-kerning: none;
    text-decoration: underline;
    margin-bottom: 1.5rem;
}

.arrow-icon {
    font-size: 1.2rem;
}

.social-links {
    display: flex;
    gap: 0;
    align-items: center;
    margin-top: auto;
}

.social-links a {
    text-decoration: none;
    display: inline-block;
    transition: opacity 0.3s;
}

.social-icon {
    height: auto;
    width: auto;
    max-width: 100px;
    max-height: 100px;
    display: block;
}

.social-links a:hover {
    opacity: 0.8;
}

/* Page Header (for other pages) */
.page-header {
    background-color: #ff6b6b;
    padding: 3rem 2rem;
    text-align: center;
    color: white;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: bold;
    letter-spacing: 0.2em;
}

/* About Me Page Styles */
.about-hero {
    position: relative;
    width: 100%;
    background-image: url('assets/images/all-about-me-banner.png');
    background-size: 100% auto;
    background-repeat: no-repeat;
    background-position: center top;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: hidden;
}

/* Maintain aspect ratio for banner - adjust percentage based on actual image aspect ratio */
.about-hero::before {
    content: '';
    display: block;
    width: 100%;
    padding-bottom: 30%; /* Adjust this percentage to match your banner image aspect ratio */
}

.about-hero-background {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.about-hero-overlay {
    position: absolute;
    z-index: 2;
    text-align: left;
    padding: 4rem 2rem 0 2rem;
    width: 100%;
    max-width: 1200px;
    margin: 0;
    margin-left: 2rem;
    bottom: 1.5rem;
    left: 0;
}

.about-hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: flex-start;
    flex-wrap: wrap;
    margin-top: 0;
    margin-bottom: 0;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-content h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #ff6b6b;
}

.about-content p {
    text-align: center;
    margin-bottom: 1.5rem;
}

.signature {
    margin-top: 2rem;
    text-align: center;
}

.signature p {
    margin-bottom: 0.5rem;
}

/* Testimonials Page Styles */
.testimonials-hero {
    position: relative;
    width: 100%;
    background-image: url('assets/images/still-about-me-banner.png');
    background-size: 100% auto;
    background-repeat: no-repeat;
    background-position: center top;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: hidden;
}

/* Maintain aspect ratio for banner - adjust percentage based on actual image aspect ratio */
.testimonials-hero::before {
    content: '';
    display: block;
    width: 100%;
    padding-bottom: 30%; /* Adjust this percentage to match your banner image aspect ratio */
}

.testimonials-hero-background {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.testimonials-hero-overlay {
    position: absolute;
    z-index: 2;
    text-align: left;
    padding: 4rem 2rem 0 2rem;
    width: 100%;
    max-width: 1200px;
    margin: 0;
    margin-left: 2rem;
    bottom: 1.5rem;
    left: 0;
}

.testimonials-hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: flex-start;
    flex-wrap: wrap;
    margin-top: 0;
    margin-bottom: 0;
}

.testimonial-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-content h2 {
    font-size: 2rem;
    font-weight: bold;
    color: #FF6B6B;
    margin-bottom: 2rem;
}

.testimonial-content .large-text {
    margin-bottom: 1.5rem;
}

.testimonial-content .check-back-text {
    font-size: 1.5rem;
    font-weight: bold;
    color: #FF6B6B;
}

.hourglass-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 2rem 0;
}

.hourglass-image {
    max-width: 300px;
    width: auto;
    height: auto;
}

/* Jobs Page Styles */
.jobs-hero {
    position: relative;
    width: 100%;
    background-image: url('assets/images/loads-of-jobs-banner.png');
    background-size: 100% auto;
    background-repeat: no-repeat;
    background-position: center top;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: hidden;
}

/* Maintain aspect ratio for banner - adjust percentage based on actual image aspect ratio */
.jobs-hero::before {
    content: '';
    display: block;
    width: 100%;
    padding-bottom: 30%; /* Adjust this percentage to match your banner image aspect ratio */
}

.jobs-hero-background {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.jobs-hero-overlay {
    position: absolute;
    z-index: 2;
    text-align: left;
    padding: 4rem 2rem 0 2rem;
    width: 100%;
    max-width: 1200px;
    margin: 0;
    margin-left: 2rem;
    bottom: 1.5rem;
    left: 0;
}

.jobs-hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: flex-start;
    flex-wrap: wrap;
    margin-top: 0;
    margin-bottom: 0;
}

.jobs-content-section {
    padding: 3rem 0 1rem 0;
}

.jobs-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 3rem;
}

.jobs-filters {
    background-color: #FF6B6B;
    padding: 2rem;
    border-radius: 8px;
    height: fit-content;
    align-self: start;
}

.jobs-filters h3 {
    text-align: left;
    margin-bottom: 1.5rem;
    color: white;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 1.2rem;
}

.jobs-filters .filter-group {
    margin-bottom: 1.5rem;
}

.jobs-filters .filter-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: white;
}

.jobs-filters .filter-group select {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e0e0e0;
    border-radius: 4px;
    font-size: 1rem;
    background-color: #FFDAC6;
}

.jobs-filters .filter-note {
    margin-top: 1rem;
    font-style: italic;
    font-weight: bold;
    color: white;
    text-align: left;
    font-size: 0.9rem;
}

.jobs-list {
    margin-bottom: 0;
}

.job-card {
    background-color: #FFE8DC;
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.job-header {
    margin-bottom: 1rem;
}

.job-date {
    color: #000;
    font-size: 0.9rem;
}

.job-card h3 {
    color: #000;
    margin-bottom: 1rem;
    text-align: left;
    font-size: 1.5rem;
    font-weight: bold;
}

.job-card p {
    margin-bottom: 1rem;
    text-align: left;
    color: #000;
}

.btn-apply {
    background-color: #000;
    color: white;
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-top: 1rem;
    display: block;
    width: 100%;
    max-width: 200px;
    margin-left: auto;
    margin-right: auto;
}

.btn-apply:hover {
    background-color: #333;
}


/* Responsive Design */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-menu {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
        width: 100%;
    }

    .hero {
        min-height: auto;
        background-size: 100% auto;
        background-repeat: no-repeat;
        background-position: center top;
        display: block;
        padding-bottom: 0;
    }

    /* Reserve space for the banner image */
    .hero::before {
        content: '';
        display: block;
        width: 100%;
        padding-bottom: 35%; /* Adjust based on image aspect ratio */
    }

    .hero-background {
        min-height: 0;
        padding-bottom: 0;
        width: 100%;
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        bottom: auto;
    }

    .hero-overlay {
        padding: 0;
        margin-left: 0;
        text-align: center;
        position: relative;
        width: 100%;
        bottom: auto;
        left: auto;
    }

    .hero-cta-buttons {
        flex-direction: column;
        width: 100%;
        margin-top: 0;
        align-items: center;
        gap: 1rem;
        position: relative;
        padding: 2rem 1rem;
    }

    .hero-cta-buttons .btn-hero {
        width: 100%;
        max-width: 300px;
    }

    .hero-decorative {
        font-size: 2rem;
    }

    .hero-sparkle {
        font-size: 3rem;
    }

    .section-heading {
        font-size: 2rem;
    }

    .about-hero {
        min-height: auto;
        background-size: 100% auto;
        background-repeat: no-repeat;
        background-position: center top;
        display: block;
        padding-bottom: 0;
    }

    /* Reserve space for the banner image */
    .about-hero::before {
        content: '';
        display: block;
        width: 100%;
        padding-bottom: 35%; /* Adjust based on image aspect ratio */
    }

    .about-hero-background {
        min-height: 0;
        padding-bottom: 0;
        width: 100%;
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        bottom: auto;
    }

    .about-hero-overlay {
        padding: 0;
        margin-left: 0;
        text-align: center;
        position: relative;
        width: 100%;
        bottom: auto;
        left: auto;
    }

    .about-hero-buttons {
        flex-direction: column;
        width: 100%;
        margin-top: 0;
        align-items: center;
        gap: 1rem;
        position: relative;
        padding: 2rem 1rem;
    }

    .about-hero-buttons .btn-hero {
        width: 100%;
        max-width: 300px;
    }

    .testimonials-hero {
        min-height: auto;
        background-size: 100% auto;
        background-repeat: no-repeat;
        background-position: center top;
        display: block;
        padding-bottom: 0;
    }

    /* Reserve space for the banner image */
    .testimonials-hero::before {
        content: '';
        display: block;
        width: 100%;
        padding-bottom: 35%; /* Adjust based on image aspect ratio */
    }

    .testimonials-hero-background {
        min-height: 0;
        padding-bottom: 0;
        width: 100%;
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        bottom: auto;
    }

    .testimonials-hero-overlay {
        padding: 0;
        margin-left: 0;
        text-align: center;
        position: relative;
        width: 100%;
        bottom: auto;
        left: auto;
    }

    .testimonials-hero-buttons {
        flex-direction: column;
        width: 100%;
        margin-top: 0;
        align-items: center;
        gap: 1rem;
        position: relative;
        padding: 2rem 1rem;
    }

    .testimonials-hero-buttons .btn-hero {
        width: 100%;
        max-width: 300px;
    }

    .jobs-hero {
        min-height: auto;
        background-size: 100% auto;
        background-repeat: no-repeat;
        background-position: center top;
        display: block;
        padding-bottom: 0;
    }

    /* Reserve space for the banner image */
    .jobs-hero::before {
        content: '';
        display: block;
        width: 100%;
        padding-bottom: 35%; /* Adjust based on image aspect ratio */
    }

    .jobs-hero-background {
        min-height: 0;
        padding-bottom: 0;
        width: 100%;
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        bottom: auto;
    }

    .jobs-hero-overlay {
        padding: 0;
        margin-left: 0;
        text-align: center;
        position: relative;
        width: 100%;
        bottom: auto;
        left: auto;
    }

    .jobs-hero-buttons {
        flex-direction: column;
        width: 100%;
        margin-top: 0;
        align-items: center;
        gap: 1rem;
        position: relative;
        padding: 2rem 1rem;
    }

    .jobs-hero-buttons .btn-hero {
        width: 100%;
        max-width: 300px;
    }

    .jobs-container {
        grid-template-columns: 1fr;
    }

    .footer-top-content {
        flex-direction: column;
        padding: 1rem 2rem;
        gap: 1rem;
    }

    .footer-top-bar .founder-message-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .footer-top-bar .founder-image {
        align-self: flex-end;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .footer-columns {
        grid-template-columns: 1fr;
    }

    .cta-buttons,
    .hero-cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-hero,
    .btn-primary {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
}

/* Extra small devices */
@media (max-width: 480px) {
    .hero {
        min-height: auto;
        background-size: 100% auto;
        background-repeat: no-repeat;
    }

    .hero::before {
        padding-bottom: 40%; /* Slightly taller for smaller screens */
    }

    .hero-cta-buttons {
        padding: 1.5rem 1rem;
    }

    .about-hero::before {
        padding-bottom: 40%; /* Slightly taller for smaller screens */
    }

    .about-hero-buttons {
        padding: 1.5rem 1rem;
    }

    .testimonials-hero::before {
        padding-bottom: 40%; /* Slightly taller for smaller screens */
    }

    .testimonials-hero-buttons {
        padding: 1.5rem 1rem;
    }

    .jobs-hero::before {
        padding-bottom: 40%; /* Slightly taller for smaller screens */
    }

    .jobs-hero-buttons {
        padding: 1.5rem 1rem;
    }

    .btn-hero {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }
}
