@charset "UTF-8";

/* 
  Main Stylesheet for Grace Pariser Human Resources
  Local HR Consultancy - Plymouth, Devon, Cornwall
  Version: 1.0
  Author: Grace Pariser
*/

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap');

/* Global Styles */
:root {
    --accent: #FF1493;
    --dark: #293241;
    --light: #ffffff;
    --grey: #f8f9fa;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', 'Segoe UI', sans-serif;
}

body {
    background-color: var(--light);
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

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

a:hover {
    color: #e6008a;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.btn {
    display: inline-block;
    background-color: var(--accent);
    color: var(--light);
    padding: 14px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1rem;
    letter-spacing: 0.5px;
    box-shadow: 0 5px 15px rgba(255, 20, 147, 0.3);
}

.btn:hover {
    background-color: #e6008a;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 20, 147, 0.4);
    color: var(--light);
}

.btn-secondary {
    background-color: transparent;
    color: var(--accent);
    border: 2px solid var(--accent);
    box-shadow: none;
}

.btn-secondary:hover {
    background-color: var(--accent);
    color: var(--light);
}

section {
    padding: 80px 0;
}

h1,
h2,
h3,
h4 {
    line-height: 1.3;
}

p {
    margin-bottom: 1rem;
}

/* Header Styles */
header {
    background-color: var(--dark);
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.logo-container {
    display: flex;
    align-items: center;
}

.logo {
    max-width: 340px;
    height: auto;
}

.logo-container img.logo {
    max-width: 400px;
    height: auto;
}

.logo-placeholder {
    color: var(--light);
    font-weight: bold;
    font-size: 1.5rem;
    letter-spacing: 1px;
}

/* Navigation Styles */
nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    color: var(--light);
    font-weight: 500;
    position: relative;
    padding-bottom: 5px;
    background-color: transparent !important;
}

nav ul li a:hover {
    color: var(--accent);
    background-color: transparent !important;
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--accent);
    bottom: -2px;
    left: 0;
    transition: var(--transition);
}

nav ul li a:hover::after,
nav ul li a.active::after {
    width: 100%;
}

nav ul li a.active {
    background-color: transparent !important;
}

.mobile-menu-btn {
    display: none;
    color: var(--light);
    font-size: 24px;
    cursor: pointer;
}

/* Responsive Styles for Header */
@media (max-width: 1100px) {
    nav ul li {
        margin-left: 15px;
    }

    .logo-container img.logo {
        max-width: 320px;
    }
}

@media (max-width: 991px) {
    .logo-container img.logo {
        max-width: 300px;
    }
}

@media (max-width: 880px) {
    .header-container {
        padding: 10px 0;
    }

    .logo-container img.logo {
        max-width: 260px;
    }

    .mobile-menu-btn {
        display: block;
    }

    nav ul {
        position: fixed;
        top: 70px;
        left: -100%;
        background-color: var(--dark);
        width: 100%;
        height: calc(100vh - 70px);
        flex-direction: column;
        align-items: center;
        padding-top: 50px;
        transition: var(--transition);
        z-index: 999;
    }

    nav ul.active {
        left: 0;
    }

    nav ul li {
        margin: 15px 0;
    }
}

/* Page Header */
.page-header {
    background-color: var(--dark);
    color: var(--light);
    padding: 160px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://via.placeholder.com/1920x400') center/cover;
    opacity: 0.1;
    z-index: 0;
}

.page-header-content {
    position: relative;
    z-index: 1;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.page-header p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    font-weight: 300;
}

/* Hero Section */
.hero {
    background-color: var(--dark);
    color: var(--light);
    padding: 180px 0 120px; /* Added more vertical padding */
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    background-image: url('/api/placeholder/600/800');
    background-size: cover;
    opacity: 0.15;
    z-index: 0;
}

.hero-container {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center; /* Center the content */
    align-items: center;
}

.hero-content {
    max-width: 850px; /* Even wider now that we don't have an image */
    text-align: center; /* Center text */
}

.hero h1 {
    font-size: 3.1rem; /* Slightly smaller for better fit */
    font-weight: 800;
    margin-bottom: 25px;
    line-height: 1.25; /* Slightly increased line height */
}

.hero h1 span {
    color: var(--accent);
    position: relative;
    display: inline; /* Changed from inline-block to prevent unwanted line breaks */
    white-space: nowrap; /* Keep location on one line */
}

@media (max-width: 768px) {
    .hero h1 span {
        white-space: normal; /* Allow text to wrap on mobile */
        display: inline; /* Ensure it still displays properly */
    }
}

.hero h1 span::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 8px;
    background-color: var(--accent);
    bottom: 8px;
    left: 0;
    z-index: -1;
    opacity: 0.3;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 30px;
    font-weight: 300;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}

.hero-image {
    position: relative;
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    border-radius: 10px;
}

.hero-image::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    top: 20px;
    left: 20px;
    z-index: -1;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center; /* Center the buttons */
    margin-top: 30px; /* Add more space above buttons */
}

/* Features Section */
.features {
    background-color: var(--light);
    position: relative;
    overflow: hidden;
}

.features::before {
    content: '';
    position: absolute;
    top: -150px;
    left: 0;
    width: 100%;
    height: 200px;
    background-color: var(--dark);
    transform: skewY(-2deg);
    z-index: 0;
}

.section-header {
    text-align: center;
    margin-top: 60px;
    margin-bottom: 60px;
    position: relative;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--dark);
    font-weight: 700;
}

.section-header p {
    color: #555;
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.1rem;
}

.features-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px; /* Reduced gap */
}

/* Specific grids for different pages */
/* 2x2 grid for services page */
.services-grid {
    grid-template-columns: repeat(2, 1fr) !important;
}

/* Single row for index page */
.index-features {
    grid-template-columns: repeat(3, 1fr);
    margin-bottom: 40px;
    gap: 20px; /* Reduced gap between cards */
}

.index-features .feature-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 30px 20px; /* Reduced padding to make cards narrower */
}

.index-features .feature-card p {
    flex-grow: 1;
    margin-bottom: 15px;
    font-size: 0.95rem; /* Slightly smaller font to fit content better */
}

.feature-card {
    background-color: var(--light);
    border-radius: 15px;
    padding: 30px 20px; /* Reduced padding */
    box-shadow: 0 10px 30px rgba(41, 50, 65, 0.1);
    transition: var(--transition);
    position: relative;
    z-index: 1;
    overflow: hidden;
    border-bottom: 4px solid transparent;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-bottom: 4px solid var(--accent);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 20px;
    display: inline-block;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--dark);
    font-weight: 600;
}

.feature-card p {
    color: #555;
    margin-bottom: 20px;
}

/* About Section */
.about {
    background-color: var(--light);
    position: relative;
    overflow: hidden;
}

.about-content h2 {
    margin-bottom: 30px;
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.image-overlay-container {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    max-width: 450px; /* Bigger than before (350px) but not as big as original */
    margin: 0 auto; /* Center the image */
}

.image-overlay {
    position: absolute;
    bottom: 0; /* Position at the bottom */
    left: 0;
    right: 0;
    background-color: rgba(41, 50, 65, 0.8); /* More opaque for better text visibility */
    color: white;
    padding: 15px;
    text-align: center;
}

.image-overlay h3 {
    font-size: 1.7rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--light);
    line-height: 1.1;
}

.image-overlay p {
    font-size: 1.2rem;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 0;
    line-height: 1.1;
}

.expertise-icon {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 20px;
    display: inline-block;
}

.expertise-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--dark);
    font-weight: 600;
}

.expertise-card p {
    color: #555;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 30px;
}

.stat {
    text-align: center;
    padding: 20px;
    background-color: var(--light);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 5px;
}

.stat-text {
    color: var(--dark);
    font-weight: 500;
}

/* Expertise Section */
.expertise {
    background-color: var(--light);
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px; /* Reduced gap */
}

.expertise-card {
    background-color: var(--light);
    border-radius: 15px;
    padding: 40px 30px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    border-top: 4px solid var(--accent);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.expertise-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* Values Section */
.values {
    background-color: var(--dark);
    color: var(--light);
    position: relative;
    overflow: hidden;
}

.values::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background-color: var(--accent);
    opacity: 0.05;
    border-radius: 50%;
}

.values::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    background-color: var(--accent);
    opacity: 0.05;
    border-radius: 50%;
}

.values .section-header h2,
.values .section-header p {
    color: var(--light);
}

.values-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 1;
}

.value-card {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-10px);
    background-color: rgba(255, 255, 255, 0.1);
}

.value-icon {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 20px;
}

.value-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.value-card p {
    color: rgba(255, 255, 255, 0.8);
}

/* Contact Section */
.contact-section {
    background-color: var(--light);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info {
    background-color: var(--dark);
    border-radius: 15px;
    padding: 50px;
    color: var(--light);
    height: 100%;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.contact-info h2 {
    font-size: 2.2rem;
    margin-bottom: 25px;
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
}

.contact-info h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background-color: var(--accent);
}

.contact-info p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
    font-size: 1.05rem;
}

.contact-methods {
    margin-bottom: 40px;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.contact-icon {
    color: var(--accent);
    font-size: 1.5rem;
    margin-right: 15px;
    min-width: 25px;
    text-align: center;
}

.contact-text {
    font-size: 1.05rem;
}

.contact-text a {
    color: var(--light);
    transition: var(--transition);
}

.contact-text a:hover {
    color: var(--accent);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--light);
    font-size: 1.2rem;
    transition: var(--transition);
}

.social-link:hover {
    background-color: var(--accent);
    color: var(--light);
    transform: translateY(-3px);
}

/* Contact Form */
.contact-form {
    background-color: var(--light);
    border-radius: 15px;
    padding: 50px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--grey);
}

.contact-form h2 {
    font-size: 2.2rem;
    margin-bottom: 25px;
    font-weight: 700;
    color: var(--dark);
    position: relative;
    padding-bottom: 15px;
}

.contact-form h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background-color: var(--accent);
}

.form-group {
    margin-bottom: 25px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark);
}

.form-control {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 2px rgba(255, 20, 147, 0.2);
    outline: none;
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.form-submit {
    width: 100%;
    padding: 15px;
    border: none;
    background-color: var(--accent);
    color: var(--light);
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    font-size: 1rem;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(255, 20, 147, 0.3);
}

.form-submit:hover {
    background-color: #e6008a;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 20, 147, 0.4);
}

/* FAQ Section */
.faq-section {
    background-color: var(--grey);
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--light);
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.faq-question {
    padding: 20px 30px;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--dark);
    background-color: var(--light);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--accent);
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--accent);
    transition: var(--transition);
}

.faq-question.active::after {
    content: '-';
}

.faq-answer {
    padding: 0 30px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-answer.active {
    padding: 15px 30px 20px;
    max-height: 300px;
}

.faq-answer p {
    color: #555;
}

/* Schedule Section */
.schedule-section {
    background-color: var(--light);
    text-align: center;
}

.schedule-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--dark);
    border-radius: 15px;
    padding: 60px 40px;
    color: var(--light);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.schedule-container::before {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background-color: var(--accent);
    opacity: 0.05;
    top: -100px;
    right: -100px;
}

.schedule-container::after {
    content: '';
    position: absolute;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background-color: var(--accent);
    opacity: 0.05;
    bottom: -75px;
    left: -75px;
}

.schedule-section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 700;
    position: relative;
    display: inline-block;
}

.schedule-section h2::after {
    content: '';
    position: absolute;
    width: 50%;
    height: 3px;
    background-color: var(--accent);
    bottom: -10px;
    left: 25%;
}

.schedule-section p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
    font-size: 1.1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Pricing Section */
.pricing-section {
    background-color: var(--light);
}

.pricing-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.pricing-intro h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.pricing-intro p {
    color: #555;
    font-size: 1.1rem;
}

/* Pricing Cards */
.pricing-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px; /* Reduced gap between cards */
    margin-bottom: 60px;
    max-width: 1150px; /* Maximum width to ensure cards fit on one line */
    margin-left: auto;
    margin-right: auto;
}

.pricing-card {
    background-color: var(--light);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: var(--transition);
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    border-top: 5px solid transparent;
    flex: 1 1 0;
    min-width: 0;
    font-size: 0.95rem; /* Slightly smaller font */
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.pricing-card.featured {
    border-top-color: var(--accent);
    transform: scale(1.03);
    box-shadow: 0 15px 40px rgba(255, 20, 147, 0.2);
    z-index: 1;
}

.pricing-card.featured:hover {
    transform: scale(1.03) translateY(-10px);
}

.pricing-card.featured .pricing-header {
    background-color: var(--dark);
    color: var(--light);
}

.pricing-header {
    padding: 25px 20px; /* Reduced padding */
    text-align: center;
    background-color: var(--grey);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    height: 120px; /* Slightly reduced height */
    justify-content: center;
}

.pricing-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.pricing-subtitle {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.pricing-card.featured .pricing-subtitle {
    color: #ddd;
}

.pricing-body {
    padding: 25px 20px; /* Reduced padding */
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.pricing-features {
    list-style: none;
    margin-bottom: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.pricing-feature {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    color: #555;
    flex: 1;
}

.pricing-feature-icon {
    color: var(--accent);
    margin-right: 10px;
    font-weight: bold;
    min-width: 20px;
}

.pricing-card-footer {
    text-align: center;
    margin-top: auto;
}

/* Removed .pricing-container */

/* CTA Section */
.cta {
    background-color: var(--light);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background-color: var(--accent);
    opacity: 0.05;
    top: -150px;
    left: -150px;
}

.cta::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background-color: var(--dark);
    opacity: 0.05;
    bottom: -100px;
    right: -100px;
}

.cta-container {
    background-color: var(--dark);
    border-radius: 20px;
    padding: 60px 40px;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.cta h2 {
    font-size: 2.5rem;
    color: var(--light);
    margin-bottom: 20px;
    font-weight: 700;
}

.cta p {
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto 30px;
    font-size: 1.1rem;
}

/* Footer */
footer {
    background-color: var(--dark);
    color: var(--light);
    padding: 60px 0 20px;
    position: relative;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
    font-weight: 600;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background-color: var(--accent);
}

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

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Responsive Styles */
@media (min-width: 992px) and (max-width: 1200px) {
    .features-container,
    .expertise-grid {
        gap: 20px;
    }
}

@media (max-width: 991px) {
    .page-header h1 {
        font-size: 2.5rem;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        margin: 0 auto;
        max-width: 100%; /* Allow full width on smaller screens */
        padding: 0 20px; /* Add side padding */
    }
    
    .image-overlay-container {
        max-width: 380px; /* Smaller on tablets but not too small */
    }

    .hero-buttons {
        justify-content: center;
    }

    /* Tablet view for index features: 2 columns */
    .index-features {
        grid-template-columns: repeat(2, 1fr);
        text-align: center;
    }
    
    /* Keep services page features at 2 columns on tablets */
    .services-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .about-container,
    .expertise-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-image {
        margin-bottom: 30px;
        order: 1;
    }

    .about-content {
        order: 2;
    }

    .section-header h2,
    .about-content h2,
    .cta h2 {
        font-size: 2rem;
    }

    .feature-card,
    .expertise-card {
        max-width: 500px;
        margin: 0 auto;
    }

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

    .contact-info {
        margin-bottom: 30px;
    }

    .pricing-card.featured {
        transform: scale(1);
    }

    .pricing-card.featured:hover {
        transform: translateY(-10px);
    }
}

@media (max-width: 768px) {
    .image-overlay-container {
        max-width: 320px; /* Mobile size - but still reasonable */
    }
    
    .image-overlay h3 {
        font-size: 1.6rem;
    }
    
    .image-overlay p {
        font-size: 1.2rem;
    }
    .features-container,
    .index-features,
    .services-grid,
    .expertise-grid {
        grid-template-columns: 1fr !important;
    }
    
    .pricing-cards {
        grid-template-columns: 1fr;
    }
    
    .header-container {
        padding: 10px 0;
    }

    nav ul {
        position: fixed;
        top: 70px;
        left: -100%;
        background-color: var(--dark);
        width: 100%;
        height: calc(100vh - 70px);
        flex-direction: column;
        align-items: center;
        padding-top: 50px;
        transition: var(--transition);
        z-index: 999;
    }

    nav ul.active {
        left: 0;
    }

    nav ul li {
        margin: 15px 0;
    }

    .page-header {
        padding: 120px 0 60px;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .hero {
        padding: 120px 0 60px;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .testimonial {
        padding: 30px 20px;
    }

    .cta-container {
        padding: 40px 20px;
    }

    .cta h2 {
        font-size: 1.8rem;
    }

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

    .contact-info,
    .contact-form {
        padding: 30px;
    }

    .schedule-container {
        padding: 40px 20px;
    }

    .pricing-cards {
        grid-template-columns: 1fr;
    }
}

/* Super aggressive fixes for the white background issue */
/* Add these at the END of your CSS file to ensure they override everything */

/* Target the specific nav links */
a.nav-link.about,
a.about,
.nav-link.about,
a.nav-link.services,
a.nav-link.contact {
    background-color: transparent !important;
    background: none !important;
}

/* Target all navigation links */
header nav ul li a,
.header-container nav ul li a,
nav ul li a,
.nav-link {
    background-color: transparent !important;
    background: none !important;
}

/* Target active links specifically */
a.active,
nav a.active,
.nav-link.active,
a.nav-link.about.active,
a.nav-link.services.active,
a.nav-link.contact.active,
header nav ul li a.active {
    background-color: transparent !important;
    background: none !important;
}

/* Cookie Consent Banner */
#cookie-consent-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    max-width: 400px;
    margin: 0 auto;
    background-color: var(--dark);
    color: var(--light);
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    overflow: hidden;
    display: none;
}

.cookie-consent-content {
    padding: 20px;
}

.cookie-consent-content h3 {
    margin-bottom: 10px;
    font-size: 1.2rem;
    color: var(--light);
}

.cookie-consent-content p {
    font-size: 0.9rem;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.8);
}

.cookie-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.cookie-btn {
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    border: none;
    transition: var(--transition);
}

.cookie-btn.accept {
    background-color: var(--accent);
    color: var(--light);
}

.cookie-btn.accept:hover {
    background-color: #e6008a;
}

.cookie-btn.decline {
    background-color: transparent;
    color: var(--light);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.cookie-btn.decline:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.cookie-link {
    color: var(--light);
    text-decoration: underline;
    font-size: 0.85rem;
    margin-left: auto;
}

.cookie-link:hover {
    color: var(--accent);
}

@media (max-width: 480px) {
    #cookie-consent-banner {
        bottom: 0;
        left: 0;
        right: 0;
        max-width: 100%;
        border-radius: 10px 10px 0 0;
    }
    
    .cookie-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .cookie-link {
        text-align: center;
        margin: 10px 0 0;
    }
}

/* Legal Pages Styling (Privacy & Cookie Policy) */
.legal-content {
    background-color: var(--light);
    padding: 60px 0;
}

.legal-container {
    max-width: 900px;
    margin: 0 auto;
    background-color: var(--light);
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.legal-container h2 {
    font-size: 2.2rem;
    margin-bottom: 10px;
    color: var(--dark);
    font-weight: 700;
}

.last-updated {
    color: #777;
    font-size: 0.9rem;
    margin-bottom: 30px;
    font-style: italic;
}

.legal-section {
    margin-bottom: 40px;
}

.legal-section h3 {
    font-size: 1.4rem;
    margin-bottom: 20px;
    color: var(--dark);
    font-weight: 600;
    border-bottom: 2px solid var(--accent);
    padding-bottom: 10px;
    display: inline-block;
}

.legal-section p {
    margin-bottom: 20px;
    line-height: 1.7;
    color: #444;
}

.legal-section ul {
    margin-bottom: 20px;
    padding-left: 20px;
    list-style-type: disc;
}

.legal-section ul li {
    margin-bottom: 14px;
    line-height: 1.7;
    color: #444;
    position: relative;
    padding-left: 5px;
}

.legal-section ul li strong {
    color: var(--dark);
    font-weight: 600;
}

@media (max-width: 768px) {
    .legal-container {
        padding: 30px 20px;
    }
    
    .legal-container h2 {
        font-size: 1.8rem;
    }
    
    .legal-section h3 {
        font-size: 1.2rem;
    }
    
    .legal-section {
        margin-bottom: 30px;
    }
}

/* Retainer Section */
.retainer-section {
    background-color: var(--grey);
    padding: 80px 0;
}

.retainer-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
    background-color: var(--light);
    padding: 25px 30px;
    border-radius: 10px;
}

.retainer-intro p {
    font-size: 1.2rem;
    color: #444;
    line-height: 1.6;
    margin: 0;
    font-weight: 500;
}

.retainer-calculator-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.retainer-column {
    max-width: none;
}

.retainer-pricing-column h3 {
    font-size: 1.4rem;
    margin-bottom: 20px;
    color: var(--dark);
    font-weight: 600;
    text-align: center;
}

.retainer-addons {
    text-align: center;
    margin-top: 40px;
    padding: 20px;
    background-color: var(--light);
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.retainer-addons p {
    margin: 0;
    color: #666;
    font-size: 1rem;
}

.retainer-addons strong {
    color: var(--dark);
}

.oneoff-addons {
    text-align: center;
    margin-top: 40px;
    padding: 20px;
    background-color: var(--light);
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.oneoff-addons p {
    margin: 0;
    color: #666;
    font-size: 1rem;
}

.pricing-tier-compact {
    background-color: var(--light);
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 25px;
    border: 1px solid #e9ecef;
}

.tier-compact {
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
    color: #555;
    font-size: 0.95rem;
}

.tier-compact:last-child {
    border-bottom: none;
}

.retainer-description p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: #444;
}

.retainer-description h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--dark);
    font-weight: 600;
    text-align: center;
}

.retainer-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px;
}

.retainer-features li {
    background-color: var(--light);
    margin-bottom: 0;
    padding: 15px 18px;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    position: relative;
    color: #555;
    line-height: 1.4;
    font-size: 0.95rem;
    transition: var(--transition);
}

.retainer-features li:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.retainer-features li::before {
    content: '✓';
    color: var(--accent);
    font-weight: bold;
    margin-right: 10px;
    font-size: 1rem;
}

/* Pricing and Calculator Combined Section */
.pricing-calculator-section {
    background-color: var(--light);
    padding: 80px 0;
}

.pricing-calculator-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.pricing-column .pricing-tiers {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.calculator-column h3 {
    font-size: 1.5rem;
    margin-bottom: 25px;
    color: var(--dark);
    font-weight: 600;
    text-align: center;
}

.pricing-tier {
    background-color: var(--light);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    border: 2px solid transparent;
}

.pricing-tier:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--accent);
}

.tier-header h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--dark);
    font-weight: 600;
}

.tier-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 10px;
}

.tier-minimum {
    color: #666;
    font-size: 1rem;
}

.pricing-examples {
    text-align: center;
    margin-top: 40px;
}

.pricing-examples h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--dark);
}

.examples-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    max-width: 600px;
    margin: 0 auto;
}

.example-item {
    background-color: var(--light);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-left: 4px solid var(--accent);
}

.price-calculator {
    background-color: var(--grey);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.calculator-inputs {
    margin-bottom: 30px;
}

.input-group {
    margin-bottom: 25px;
}

.input-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--dark);
}

.input-group input[type="number"],
.input-group select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: var(--transition);
    margin-bottom: 10px;
}

.input-group input[type="number"]:focus,
.input-group select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 10px rgba(255, 20, 147, 0.2);
}

.input-group input[type="range"] {
    width: 100%;
    height: 8px;
    border-radius: 5px;
    background: #ddd;
    outline: none;
    -webkit-appearance: none;
}

.input-group input[type="range"]::-webkit-slider-thumb {
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--accent);
    cursor: pointer;
}

.calculator-results {
    background-color: var(--light);
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 25px;
}

.result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.result-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.result-label {
    font-weight: 600;
    color: var(--dark);
}

.result-value {
    font-weight: 700;
    color: var(--accent);
    font-size: 1.1rem;
}

.calculator-cta {
    text-align: center;
}

/* One-Off Services */
.oneoff-services {
    background-color: var(--dark);
    padding: 80px 0;
}

.oneoff-services .section-header h2 {
    color: var(--light);
}

.oneoff-services .section-header p {
    color: var(--light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--light);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    border-top: 4px solid var(--accent);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--dark);
    font-weight: 600;
}

.service-card p {
    color: #444;
    line-height: 1.6;
}

/* Why Choose Section */
.why-choose {
    background-color: var(--light);
    padding: 80px 0;
}

.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.why-choose-item {
    text-align: center;
    padding: 30px 25px;
    background-color: var(--light);
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0f0f0;
    transition: var(--transition);
}

.why-choose-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    border-color: var(--accent);
}

.why-choose-item h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--dark);
    font-weight: 600;
}

.why-choose-item p {
    color: #444;
    line-height: 1.6;
}

/* CTA Options */
.cta-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.cta-option {
    text-align: center;
    padding: 30px;
    background-color: var(--grey);
    border-radius: 15px;
}

.cta-option h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--dark);
    font-weight: 600;
}

.cta-option p {
    margin-bottom: 25px;
    color: #444;
}

/* Responsive Design for New Sections */
@media (max-width: 768px) {
    .retainer-calculator-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .pricing-calculator-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .pricing-tiers {
        grid-template-columns: 1fr;
    }
    
    .examples-grid {
        grid-template-columns: 1fr;
    }
    
    .price-calculator {
        padding: 25px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .why-choose-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-options {
        grid-template-columns: 1fr;
    }
    
    .retainer-features {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .result-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .result-value {
        margin-top: 5px;
    }
}

/* Modal Links */
.handbook-link,
.doc-vault-link,
.audit-link {
    color: var(--accent);
    text-decoration: underline;
    cursor: pointer;
    transition: var(--transition);
}

.handbook-link:hover,
.doc-vault-link:hover,
.audit-link:hover {
    color: #e6008a;
}

.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.modal-content {
    background-color: var(--light);
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-header {
    padding: 25px 30px 15px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    margin: 0;
    color: var(--dark);
    font-size: 1.5rem;
    font-weight: 600;
}

.modal-close {
    font-size: 28px;
    color: #999;
    cursor: pointer;
    line-height: 1;
    transition: var(--transition);
}

.modal-close:hover {
    color: var(--accent);
}

.modal-body {
    padding: 25px 30px 30px;
}

.modal-body p {
    color: #444;
    line-height: 1.6;
    margin-bottom: 20px;
}

.modal-body h4 {
    color: var(--dark);
    font-size: 1.2rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.modal-body ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.modal-body ul li {
    color: #444;
    line-height: 1.6;
    margin-bottom: 8px;
}

/* Modal responsive */
@media (max-width: 768px) {
    .modal-content {
        margin: 10px;
        max-width: calc(100% - 20px);
    }
    
    .modal-header,
    .modal-body {
        padding: 20px;
    }
    
    .modal-header h3 {
        font-size: 1.3rem;
    }
}

/* Accountants Page Styles */
.accountant-intro {
    background-color: var(--grey);
    padding: 60px 0;
}

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

.intro-content p {
    font-size: 1.2rem;
    color: #444;
    line-height: 1.6;
    margin: 0;
}

/* About Grace Section */
.about-grace {
    background-color: var(--light);
    padding: 80px 0;
}

.about-grace-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
    align-items: center;
}

.about-grace-image {
    position: relative;
}

.about-grace-image .image-overlay-container {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    max-width: 350px;
    margin: 0 auto;
}

.about-grace-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.about-grace-image .image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(41, 50, 65, 0.8);
    color: white;
    padding: 15px;
    text-align: center;
}

.about-grace-image .image-overlay h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--light);
    line-height: 1.1;
}

.about-grace-image .image-overlay p {
    font-size: 1.1rem;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 0;
    line-height: 1.1;
}

.about-grace-content h2 {
    font-size: 2rem;
    margin-bottom: 25px;
    color: var(--dark);
    font-weight: 700;
}

.about-grace-content p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
}

.about-grace-content p:last-child {
    margin-bottom: 0;
}

/* How It Works Section */
.how-it-works {
    background-color: var(--dark);
    padding: 80px 0;
}

.how-it-works .section-header h2 {
    color: var(--light);
}

.how-it-works .section-header p {
    color: var(--light);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.step-card {
    text-align: center;
    padding: 30px 20px;
    background-color: var(--grey);
    border-radius: 15px;
    transition: var(--transition);
    position: relative;
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.step-number {
    width: 60px;
    height: 60px;
    background-color: var(--accent);
    color: var(--light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 20px;
}

.step-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--dark);
    font-weight: 600;
}

.step-card p {
    color: #555;
    line-height: 1.6;
}

/* What We Offer Section */
.what-we-offer {
    background-color: var(--grey);
    padding: 80px 0;
}

.offer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 40px;
}

.offer-card {
    background-color: var(--light);
    padding: 25px 20px;
    border-radius: 12px;
    text-align: center;
    border: 2px solid transparent;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.offer-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.offer-card h4 {
    font-size: 1.1rem;
    margin-bottom: 12px;
    color: var(--dark);
    font-weight: 600;
}

.offer-card p {
    color: #555;
    line-height: 1.5;
    margin: 0;
    font-size: 0.95rem;
}

/* Referral Earnings Section */
.referral-earnings {
    background-color: var(--dark);
    color: var(--light);
    padding: 80px 0;
}

.referral-earnings .section-header h2 {
    color: var(--light);
}

.earnings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.earnings-column {
    background-color: var(--light);
    padding: 40px 35px;
    border-radius: 15px;
    color: var(--dark);
    text-align: center;
}

.earnings-column h3 {
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: var(--dark);
    font-weight: 700;
}

.earnings-info p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: var(--accent);
    font-weight: 600;
}

.earnings-examples {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.earnings-examples li {
    padding: 18px 0;
    border-bottom: 1px solid #eee;
    color: #555;
    font-size: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.earnings-examples li:last-child {
    border-bottom: none;
}

.earnings-examples .service-name {
    flex-grow: 1;
}

.earnings-examples strong {
    color: var(--accent);
    font-weight: 700;
    font-size: 1.1rem;
}

.payment-note {
    text-align: center;
    margin-top: 40px;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.payment-note p {
    margin: 0;
    font-size: 1.1rem;
    color: var(--light);
}

/* Why Refer Section */
.why-refer {
    background-color: var(--light);
    padding: 80px 0;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.benefit-card {
    text-align: center;
    padding: 30px 25px;
    background-color: var(--grey);
    border-radius: 12px;
    border: 2px solid var(--accent);
    transition: var(--transition);
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.benefit-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--dark);
    font-weight: 600;
}

.benefit-card p {
    color: #444;
    line-height: 1.6;
}

/* Referrer Signup Section */
.referrer-signup {
    background-color: var(--grey);
    padding: 80px 0;
}

.signup-container {
    max-width: 800px;
    margin: 0 auto;
}

.signup-header {
    text-align: center;
    margin-bottom: 50px;
}

.signup-header h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
    color: var(--dark);
    font-weight: 700;
}

.signup-header p {
    font-size: 1.2rem;
    color: #555;
    margin: 0;
}

.signup-form-container {
    background-color: var(--light);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.referrer-form {
    max-width: 100%;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark);
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 1rem;
    transition: var(--transition);
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 10px rgba(255, 20, 147, 0.2);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.checkbox-group {
    margin-bottom: 25px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    font-size: 0.95rem;
    line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin-right: 12px;
    margin-top: 2px;
    flex-shrink: 0;
}

.btn-submit {
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
    font-weight: 700;
    margin-top: 10px;
}

/* FAQ Section */
.faq-section {
    background-color: var(--light);
    padding: 80px 0;
}

.faq-list {
    max-width: 800px;
    margin: 40px auto 0;
}

.faq-item {
    background-color: var(--grey);
    margin-bottom: 15px;
    border-radius: 10px;
    border-left: 4px solid var(--accent);
    overflow: hidden;
    transition: var(--transition);
}

.faq-question {
    padding: 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question:hover {
    background-color: rgba(255, 20, 147, 0.05);
}

.faq-question h3 {
    font-size: 1.2rem;
    margin: 0;
    color: var(--dark);
    font-weight: 600;
    flex-grow: 1;
}

.faq-toggle {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--accent);
    margin-left: 20px;
    transition: var(--transition);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-answer p {
    padding: 0 25px 25px;
    margin: 0;
    color: #555;
    line-height: 1.6;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

/* Final CTA Section */
.final-cta {
    background-color: var(--accent);
    color: var(--light);
    padding: 80px 0;
}

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

.final-cta h2 {
    font-size: 2.2rem;
    margin-bottom: 30px;
    color: var(--light);
}

.final-cta .btn {
    background-color: var(--light);
    color: var(--accent);
    font-weight: 700;
}

.final-cta .btn:hover {
    background-color: #f8f9fa;
    color: var(--accent);
    transform: translateY(-3px);
}

/* Responsive Design for Accountants Page */
@media (max-width: 768px) {
    .about-grace-container {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .about-grace-content h2 {
        font-size: 1.8rem;
    }
    
    .signup-form-container {
        padding: 25px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .signup-header h2 {
        font-size: 1.8rem;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .offer-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .earnings-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .earnings-examples li {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        gap: 10px;
    }
    
    .earnings-examples .service-name {
        flex: 1 1 auto;
        min-width: 0;
    }
    
    .earnings-examples strong {
        flex: 0 0 auto;
        white-space: nowrap;
        text-align: right;
        min-width: 85px;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .faq-list {
        margin-top: 30px;
    }
    
    .accountant-cta h2,
    .final-cta h2 {
        font-size: 1.8rem;
    }
}

/* Terms and Conditions Page */
.terms-content {
    background-color: var(--light);
    padding: 80px 0;
}

.terms-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--light);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.terms-section {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #eee;
}

.terms-section:last-of-type {
    border-bottom: none;
    margin-bottom: 30px;
}

.terms-section h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--dark);
    font-weight: 600;
    border-bottom: 2px solid var(--accent);
    padding-bottom: 10px;
    display: inline-block;
}

.terms-section p {
    margin-bottom: 15px;
    line-height: 1.7;
    color: #444;
}

.terms-section ul {
    margin-bottom: 15px;
    padding-left: 25px;
    list-style-type: disc;
}

.terms-section ul li {
    margin-bottom: 8px;
    line-height: 1.7;
    color: #444;
}

.terms-section strong {
    color: var(--dark);
    font-weight: 600;
}

.terms-footer {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid #eee;
    text-align: center;
}

.terms-footer hr {
    border: none;
    height: 1px;
    background-color: #eee;
    margin-bottom: 20px;
}

.terms-footer p {
    color: #666;
    font-style: italic;
    margin-bottom: 10px;
}

.terms-footer a {
    color: var(--accent);
    text-decoration: underline;
}

.back-to-form {
    text-align: center;
    margin-top: 30px;
}

.checkbox-label a {
    color: var(--accent);
    text-decoration: underline;
}

.checkbox-label a:hover {
    color: #e6008a;
}

/* Booking Alternative */
.booking-alternative {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid #eee;
    text-align: center;
}

.booking-alternative p {
    margin-bottom: 15px;
    color: #666;
    font-size: 1.1rem;
}

.btn-outline {
    background-color: transparent;
    color: var(--accent);
    border: 2px solid var(--accent);
    padding: 12px 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background-color: var(--accent);
    color: white;
    transform: translateY(-2px);
}

/* Responsive design for terms page */
@media (max-width: 768px) {
    .terms-container {
        padding: 25px;
        margin: 0 15px;
    }
    
    .terms-section h2 {
        font-size: 1.3rem;
    }
    
    .terms-section {
        margin-bottom: 30px;
        padding-bottom: 20px;
    }
}