/* --- Global Styles --- */
:root {
    --primary-color: #0b1a3d; /* Very Dark Blue (from logo text) */
    --secondary-color: #f06292; /* Pink (from logo figure) */
    --accent-color-1: #ff8a65; /* Orange (from logo figure) */
    --accent-color-2: #8bc34a; /* Green (from logo figure) */
    --accent-color-3: #42a5f5; /* Blue (from small star) */
    --light-gray: #f8f8f8; /* Slightly lighter background */
    --dark-gray: #444;
    --white: #ffffff;
    --body-font: 'Lato', sans-serif;
    --heading-font: 'Montserrat', sans-serif;
}

body {
    font-family: var(--body-font);
    color: var(--dark-gray);
    margin: 0;
    line-height: 1.6;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3 {
    font-family: var(--heading-font);
    color: var(--primary-color);
    font-weight: 700;
}

a {
    text-decoration: none;
    color: var(--secondary-color);
}

img {
    max-width: 100%;
}

/* --- Header & Navigation --- */
header {
    background: var(--white);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 50px;
}

header nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    align-items: center;
}

header nav ul li {
    margin-left: 25px;
}

header nav ul li a {
    color: var(--primary-color);
    font-weight: 700;
    font-family: var(--heading-font);
    transition: color 0.3s ease;
}

header nav ul li a:hover {
    color: var(--secondary-color);
}

header nav ul li a.button {
    background-color: var(--secondary-color); /* Pink */
    color: var(--white);
    padding: 10px 20px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}
header nav ul li a.button:hover {
    background-color: #d84377; /* Slightly darker pink for hover */
}


/* --- Hero Section --- */
.hero {
    background-image: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('../img/hero-image.jpg');
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 100px 0;
    text-align: center;
}

.hero h1 {
    color: var(--white);
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 2rem auto;
}

.button-primary {
    background: var(--secondary-color); /* Pink */
    color: var(--white);
    padding: 15px 30px;
    border-radius: 5px;
    font-weight: 700;
    font-family: var(--heading-font);
    transition: background-color 0.3s ease;
}
.button-primary:hover {
    background: #d84377; /* Slightly darker pink for hover */
}

/* --- Page Content Sections --- */
.page-header {
    background: var(--light-gray);
    padding: 40px 0;
    text-align: center;
    border-bottom: 1px solid #ddd;
}
.page-header h1 {
    margin: 0;
    font-size: 2.5rem;
}
.content-section {
    padding: 60px 0;
}

.content-section.bg-light {
    background-color: var(--light-gray);
}

/* --- Features Section (Homepage) --- */
.features {
    background-color: var(--light-gray);
    /* color: var(--white); -- This line is removed */
    padding: 60px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    align-items: start;
}

.feature-item {
    text-align: center;
}
.feature-item img {
    height: 40px;
    margin-bottom: 1rem;
    filter: brightness(0) invert(1);
}
.feature-item h3 {
    color: var(--primary-color); /* Change text back to dark blue */
    margin-bottom: 0.5rem;
}

.testimonial-quote {
    font-style: italic;
    margin-top: 1rem;
}

/* --- Generic Page Styles --- */
.generic-page-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}
@media (min-width: 768px) {
    .generic-page-content.two-column {
        grid-template-columns: 2fr 1fr;
    }
}
.profile-image {
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* --- Prices/Packages --- */
.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.package-card {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.package-card h3 {
    color: var(--secondary-color);
    font-size: 1.5rem;
}
.package-card .price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 1rem 0;
}
.package-card .price span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--dark-gray);
}
.package-card ul {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}
.package-card ul li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}
.package-card ul li:last-child {
    border-bottom: none;
}

/* --- Resources/Downloads List --- */
.resource-list li {
    background: #fff;
    border: 1px solid #ddd;
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 5px;
}
.resource-list a {
    font-weight: 700;
    font-family: var(--heading-font);
}

/* --- Contact Form --- */
.contact-form {
    display: grid;
    gap: 1.5rem;
}
.contact-form .form-group {
    display: flex;
    flex-direction: column;
}
.contact-form label {
    font-weight: 700;
    margin-bottom: 0.5rem;
}
.contact-form input, .contact-form textarea {
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-family: var(--body-font);
    font-size: 1rem;
}
.contact-form button {
    justify-self: start;
    border: none;
    cursor: pointer;
}

/* --- Footer --- */
footer {
    background: var(--light-gray);
    color: var(--dark-gray); /* Change text to dark gray */
    padding: 40px 0 20px 0;
    font-size: 0.9rem;
}
.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 30px;
    margin-bottom: 20px;
    border-bottom: 1px solid #3a536e;
}
.footer-logo {
    height: 40px;
    /* filter: brightness(0) invert(1); -- Removed to show original logo colors */
    opacity: 1;
}
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}
.footer-links li {
    margin: 0 15px;
}
.footer-links a {
    color: var(--dark-gray); /* Change link color to dark gray */
    transition: color 0.3s ease;
}
.footer-links a:hover {
    color: var(--secondary-color); /* Hover color is now the vibrant pink */
}
.social-links img {
    height: 24px;
    margin-left: 15px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}
.social-links img:hover {
    opacity: 1;
}
footer p {
    text-align: center;
    margin: 0;
}

/* --- New Pricing Page Styles --- */
.pricing-section-title {
    font-size: 2rem;
    border-bottom: 2px solid var(--accent-color-1); /* Using orange for highlight */
    padding-bottom: 10px;
    margin-top: 40px;
    margin-bottom: 20px;
}

.pricing-section-title:first-of-type {
    margin-top: 0;
}

.price-item {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-left: 5px solid var(--accent-color-1); /* Using orange for highlight */
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border-radius: 5px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
}

.price-item h3 {
    margin-top: 0;
    color: var(--primary-color);
}

.price-item ul {
    padding-left: 20px;
    margin-bottom: 0;
}

.price-tag {
    font-family: var(--heading-font);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-align: right;
    white-space: nowrap;
    flex-shrink: 0;
}

.price-note {
    font-style: italic;
    font-size: 0.9rem;
    color: #777;
    margin-top: 1rem;
    margin-bottom: 0;
}

/* --- Mobile Navigation Styles --- */
.mobile-nav-toggle {
    display: none; /* Hidden on desktop */
}

/* Screen size where the menu will switch to mobile view */
@media (max-width: 850px) {
    header .container {
        position: relative; /* Needed for positioning the nav */
    }

    /* Style the navigation panel for mobile */
    header nav {
        position: fixed;
        z-index: 1000;
        inset: 0 0 0 30%; /* Slide in from the right */
        background: hsla(0, 0%, 100%, 0.95);
        backdrop-filter: blur(8px);
        flex-direction: column;
        padding: min(20vh, 10rem) 2em;
        
        transform: translateX(100%);
        transition: transform 350ms ease-out;
    }

    /* When menu is open (data-visible="true") */
    header nav[data-visible="true"] {
        transform: translateX(0%);
    }

    /* Style the links inside the mobile menu */
    header nav ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 2rem;
    }

    header nav ul li {
        margin-left: 0;
    }
    
    /* --- Hamburger Button Styles --- */
    .mobile-nav-toggle {
        display: block; /* Show the button on mobile */
        position: absolute;
        z-index: 2000; /* Ensure it's above other content */
        top: 1rem;
        right: 1rem;
        width: 2rem;
        aspect-ratio: 1;
        background-color: transparent;
        border: 0;
        padding: 0;
    }

    /* Accessibility helper for screen readers */
    .sr-only {
      position: absolute;
      width: 1px;
      height: 1px;
      padding: 0;
      margin: -1px;
      overflow: hidden;
      clip: rect(0, 0, 0, 0);
      white-space: nowrap;
      border: 0;
    }

    /* Create the hamburger icon lines */
    .mobile-nav-toggle::before,
    .mobile-nav-toggle::after {
        content: '';
        position: absolute;
        left: 0;
        right: 0;
        height: 3px;
        background: var(--primary-color);
        border-radius: 2px;
        transition: transform 350ms ease;
    }

    .mobile-nav-toggle::before {
        top: 25%;
    }
    .mobile-nav-toggle::after {
        bottom: 25%;
    }

    /* Animate hamburger to an 'X' when menu is open */
    .mobile-nav-toggle[aria-expanded="true"]::before {
        transform: translateY(290%) rotate(45deg);
    }
    .mobile-nav-toggle[aria-expanded="true"]::after {
        transform: translateY(-290%) rotate(-45deg);
    }
}

/* --- Additional Info Box for Prices Page --- */
.additional-info-box {
    margin-top: 60px;
    padding: 2rem;
    background-color: var(--light-gray);
    border: 1px solid #ddd;
    border-radius: 8px;
}
.additional-info-box h3 {
    margin-top: 0;
    color: var(--primary-color);
}
.additional-info-box p {
    font-size: 0.9rem;
    color: var(--dark-gray);
}