/* 
 * Financial Assessment Services - Main Stylesheet
 * Color Palette:
 * - Primary Background: #004d40 (deep emerald)
 * - Secondary Background: #f5f5f5 (neutral gray)
 * - Accent 1: #ffca28 (sunny yellow)
 * - Accent 2: #1e88e5 (ultramarine)
 * - Text: #212121 (dark gray)
 * - Button Gradient: #00bfa5 (jade) to #00acc1 (azure)
 */

/* CSS Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
    max-width: 100%;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: #212121;
    line-height: 1.6;
    font-size: 16px;
    background-color: #fff;
    position: relative;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #004d40;
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
}

h2:after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #00bfa5, #00acc1);
    margin: 0.5rem auto 0;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: #1e88e5;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #004d40;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

/* Container */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Layout Components */
section {
    padding: 5rem 0;
    width: 100%;
}

section:nth-child(even) {
    background-color: #f5f5f5;
}

/* Buttons */
.cta-button, .submit-button, .price-button {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background: linear-gradient(90deg, #00bfa5, #00acc1);
    color: #fff;
    border: none;
    border-radius: 4px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.cta-button:hover, .submit-button:hover, .price-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    color: #fff;
}

/* Header Styles */
.site-header {
    background-color: #004d40;
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    width: 100%;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 40px;
    width: auto;
}

.main-nav ul {
    display: flex;
}

.main-nav li {
    margin-left: 1.5rem;
}

.main-nav a {
    color: #fff;
    font-weight: 500;
    font-family: 'Montserrat', sans-serif;
    position: relative;
}

.main-nav a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #ffca28;
    transition: width 0.3s ease;
}

.main-nav a:hover:after {
    width: 100%;
}

.header-cta {
    margin-left: 1.5rem;
}

.nav-toggle {
    display: none;
}

.nav-toggle-label {
    display: none;
}

/* Hero Section */
.hero {
    background-color: #004d40;
    color: #fff;
    padding: 8rem 0;
    text-align: center;
    position: relative;
}

.hero:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: linear-gradient(rgba(0, 77, 64, 0.85), rgba(0, 77, 64, 0.85)), url('img/nhpHhv.jpg');
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    color: #fff;
    margin-bottom: 1.5rem;
    font-size: 3.5rem;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.9);
}

/* About Section */
.about-content {
    display: flex;
    gap: 3rem;
    align-items: center;
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    width: 100%;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.service-card h3 {
    color: #004d40;
    margin-bottom: 1rem;
}

/* Service Images */
.service-image {
    height: 180px;
    overflow: hidden;
    border-radius: 6px;
    margin-bottom: 1.5rem;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

/* How It Works Section */
.process-image {
    max-width: 800px;
    margin: 0 auto 3rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.process-featured-image {
    width: 100%;
    height: auto;
}

.steps {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
}

.step {
    flex: 1;
    text-align: center;
    position: relative;
}

.step:not(:last-child):after {
    content: '';
    position: absolute;
    top: 30px;
    right: -1rem;
    width: calc(100% - 60px);
    height: 2px;
    background: linear-gradient(90deg, #00bfa5, #00acc1);
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(90deg, #00bfa5, #00acc1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
}

/* Pricing Section */
.pricing-grid {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.price-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    padding: 2.5rem 2rem;
    text-align: center;
    flex: 1;
    max-width: 350px;
    transition: all 0.3s ease;
}

.price-card.featured {
    transform: scale(1.05);
    border: 2px solid #00bfa5;
    z-index: 1;
}

.price-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.price-card.featured:hover {
    transform: scale(1.05) translateY(-5px);
}

.price-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.price {
    font-size: 2.5rem;
    color: #004d40;
    font-weight: 700;
    margin: 1.5rem 0;
}

.price-card ul {
    margin: 2rem 0;
    text-align: left;
    padding-left: 1.5rem;
}

.price-card li {
    margin-bottom: 0.8rem;
    position: relative;
}

.price-card li:before {
    content: '✓';
    color: #00bfa5;
    position: absolute;
    left: -1.5rem;
    font-weight: bold;
}

.price-button {
    width: 100%;
}

/* Form Styles */
.order-form {
    background-color: #004d40;
    color: #fff;
    position: relative;
}

.order-form:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: linear-gradient(rgba(0, 77, 64, 0.9), rgba(0, 77, 64, 0.9)), url('img/nmIucD.jpg');
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.order-form .container {
    position: relative;
    z-index: 1;
}

.order-form h2 {
    color: #fff;
}

.order-form h2:after {
    background: #ffca28;
}

form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

input, select, textarea {
    width: 100%;
    padding: 0.8rem;
    border: none;
    border-radius: 4px;
    background-color: rgba(255, 255, 255, 0.9);
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    background-color: #fff;
    box-shadow: 0 0 0 2px #00bfa5;
}

.form-group.checkbox {
    display: flex;
    align-items: center;
}

.form-group.checkbox input {
    width: auto;
    margin-right: 10px;
}

.form-group.checkbox label {
    margin-bottom: 0;
}

.submit-button {
    width: 100%;
    padding: 1rem;
}

/* Testimonials Section */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    padding: 2rem;
    position: relative;
}

.testimonial:before {
    content: '"';
    font-size: 5rem;
    color: rgba(0, 77, 64, 0.1);
    position: absolute;
    top: 10px;
    left: 20px;
    font-family: 'Georgia', serif;
    line-height: 1;
}

.testimonial-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 1.5rem;
    border: 3px solid #004d40;
}

.testimonial-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-content {
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    font-weight: 600;
    color: #004d40;
    text-align: right;
}

/* Contact Section */
.contact-grid {
    display: flex;
    gap: 3rem;
}

.contact-info, .contact-form {
    flex: 1;
}

.contact-image {
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.contact-office-image {
    width: 100%;
    height: auto;
}

.contact-item {
    margin-bottom: 2rem;
}

.contact-item h3 {
    margin-bottom: 0.5rem;
    color: #004d40;
}

.contact-form form {
    margin: 0;
}

/* Footer Styles */
.site-footer {
    background-color: #004d40;
    color: #fff;
    padding: 4rem 0 2rem;
    width: 100%;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 3rem;
}

.footer-info {
    flex: 1;
    max-width: 350px;
}

.footer-logo {
    margin-bottom: 1.5rem;
}

.footer-logo img {
    height: 40px;
    width: auto;
}

.footer-description {
    color: rgba(255, 255, 255, 0.8);
}

.footer-links {
    display: flex;
    gap: 3rem;
    flex: 1.5;
}

.footer-section {
    flex: 1;
}

.footer-section h3 {
    color: #fff;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section a, .footer-section address {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #ffca28;
}

.footer-section address {
    font-style: normal;
}

.footer-section address p {
    margin-bottom: 0.5rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.9);
    padding: 1rem;
    z-index: 1001;
    width: 100%;
}

.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    color: #fff;
}

.cookie-content p {
    margin-bottom: 0;
    margin-right: 1rem;
}

.cookie-button {
    background-color: #ffca28;
    color: #212121;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-content, .service-card, .step, .price-card, .testimonial {
    animation: fadeIn 0.8s ease forwards;
}

/* Policy Page Styles */
.policy-page {
    width: 100%;
    overflow: hidden;
}

.policy-content {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Responsive Styles */
@media (max-width: 992px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .about-content, .contact-grid {
        flex-direction: column;
        gap: 2rem;
    }
    
    .pricing-grid {
        flex-direction: column;
        align-items: center;
    }
    
    .price-card {
        width: 100%;
        max-width: 400px;
    }
    
    .price-card.featured {
        transform: scale(1);
    }
    
    .price-card.featured:hover {
        transform: translateY(-5px);
    }
    
    .steps {
        flex-direction: column;
        gap: 3rem;
    }
    
    .step:not(:last-child):after {
        display: none;
    }
}

@media (max-width: 768px) {
    section {
        padding: 3rem 0;
    }
    
    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #004d40;
        height: 0;
        overflow: hidden;
        transition: height 0.3s ease;
    }
    
    .main-nav ul {
        flex-direction: column;
        padding: 1rem;
    }
    
    .main-nav li {
        margin: 0.8rem 0;
    }
    
    .nav-toggle:checked ~ .main-nav {
        height: auto;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    }
    
    .nav-toggle-label {
        display: block;
        cursor: pointer;
    }
    
    .nav-toggle-label span, .nav-toggle-label span:before, .nav-toggle-label span:after {
        display: block;
        background: #fff;
        height: 2px;
        width: 24px;
        position: relative;
    }
    
    .nav-toggle-label span:before, .nav-toggle-label span:after {
        content: '';
        position: absolute;
    }
    
    .nav-toggle-label span:before {
        bottom: 8px;
    }
    
    .nav-toggle-label span:after {
        top: 8px;
    }
    
    .header-cta {
        display: none;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 2rem;
    }
    
    .footer-info {
        max-width: 100%;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 2rem;
    }
    
    .service-image {
        height: 150px;
    }
    
    /* Prevent horizontal scrolling in mobile view */
    .container {
        width: 100%;
        padding: 0 15px;
        box-sizing: border-box;
    }
    
    .testimonials-grid, .services-grid {
        width: 100%;
        box-sizing: border-box;
        padding: 0;
        margin: 0;
    }
}

@media (max-width: 576px) {
    .hero {
        padding: 5rem 0;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1.2rem;
    }
    
    .cta-button {
        position: fixed;
        bottom: 1rem;
        left: 50%;
        transform: translateX(-50%);
        z-index: 100;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-content p {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .service-image {
        height: 120px;
    }
    
    .testimonial-image {
        width: 60px;
        height: 60px;
    }
    
    /* Additional fixes for smaller screens */
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    img {
        max-width: 100%;
    }
} 