/* Main Stylesheet for Steadfast Bookkeeping */

/* Variables */
:root {
    --navy: #2F304F;
    --navy-light: #484968;
    --navy-dark: #1e1f33;
    --white: #ffffff;
    --off-white: #f6f8fa;
    --light-blue: #e5f5f6;
    --accent: #78CDD1;
    --accent-dark: #5ab9bd;
    --accent-light: #9adcdf;
    --gray: #505a64;
    --light-gray: #e0e0e0;
    --dark-gray: #333333;
    --footer-blue: #c9e6e7;

    --body-font: 'Lato', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --heading-font: 'Raleway', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--heading-font);
    margin-bottom: 1rem;
    color: var(--navy);
    font-weight: 600;
}

a {
    color: var(--navy);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--navy-light);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

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

.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background-color: var(--accent);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--accent-dark);
    color: var(--white);
}

.btn-secondary {
    background-color: var(--white);
    color: var(--navy);
    border: 2px solid var(--navy);
}

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

section {
    padding: 2rem 0;
}

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

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

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

.logo img {
    height: 60px;
    margin-right: 1rem;
}

.company-name {
    font-family: var(--heading-font);
    font-weight: 600;
    font-size: 1.3rem;
    color: var(--navy);
    white-space: nowrap;
}

@media screen and (max-width: 1040px) and (min-width: 804px) {
    .company-name {
        display: none;
    }
}

@media screen and (max-width: 823px) {
    .company-name {
        display: block;
        font-size: 1.1rem;
    }

    .logo-container {
        flex: 1;
    }

    header .container {
        justify-content: space-between;
    }
}

.main-menu {
    display: flex;
    align-items: center;
}

.main-menu li {
    margin-left: 1.5rem;
}

.main-menu a {
    font-weight: 500;
    position: relative;
}

.main-menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--navy);
    transition: width 0.3s ease;
}

.main-menu a:hover::after,
.main-menu .active a::after {
    width: 100%;
}

.cta-button a {
    background-color: var(--accent);
    color: var(--white);
    padding: 0.6rem 1.2rem;
    border-radius: 4px;
}

.cta-button a::after {
    display: none;
}

.cta-button a:hover {
    background-color: var(--accent-dark);
    color: var(--white);
}

.mobile-menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--navy);
}

/* Hero Section */
.hero {
    position: relative;
    padding: 8rem 0;
    margin-top: 70px;
    background-image: url('../assets/images/hero-image-desk.jpg');
    /* Replace with your image path */
    background-size: cover;
    background-position: center;
    color: var(--white);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(47, 48, 79, 0.7);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

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

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

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

/* Services Section */
.services-overview {
    background-color: var(--white);
    text-align: center;
}

.services-overview h2 {
    margin-bottom: 3rem;
}

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

.service-card {
    background-color: var(--white);
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.service-icon {
    font-size: 2.5rem;
    color: var(--navy);
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.read-more {
    display: inline-block;
    margin-top: 1rem;
    font-weight: 600;
    color: var(--navy);
    position: relative;
}

.read-more::after {
    content: '→';
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.read-more:hover::after {
    transform: translateX(5px);
}

/* About Preview Section */
.about-preview {
    background-color: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text h2 {
    margin-bottom: 1.5rem;
}

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

.value-points {
    margin-bottom: 2rem;
}

.value-points li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.value-points i {
    color: var(--navy);
    margin-right: 1rem;
    font-size: 1.2rem;
}

.about-image img {
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.blog-post img {
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Testimonials Section */
.testimonials {
    background-color: var(--off-white);
    text-align: center;
}

.testimonials h2 {
    margin-bottom: 3rem;
}

.testimonial-slider {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.testimonial {
    background-color: var(--white);
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    max-width: 500px;
    text-align: left;
}

.quote {
    font-style: italic;
    margin-bottom: 1.5rem;
    position: relative;
}

.quote::before {
    content: '"';
    font-size: 4rem;
    position: absolute;
    top: -20px;
    left: -15px;
    color: var(--light-gray);
    opacity: 0.5;
    font-family: Georgia, serif;
}

.client-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.client-name {
    font-weight: 600;
    color: var(--navy);
}

.client-business {
    color: var(--gray);
    font-size: 0.9rem;
}

/* CTA Section */
.cta-section {
    position: relative;
    width: 100%;
    padding-top: 0;
    padding-bottom: 0;
    background-color: var(--navy);
}

.cta-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--white);
}

.cta-section::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 50px;
    background-image: url('../assets/images/wave-top.svg');
    background-size: cover;
    top: 0;
    left: 0;
}

.cta-section h2 {
    color: var(--white);
    margin-bottom: 1rem;
}

.cta-section p {
    margin-bottom: 2rem;
    font-size: 1.2rem;
}

.cta-section .btn-primary {
    background-color: var(--white);
    color: var(--navy);
}

.cta-section .btn-primary:hover {
    background-color: var(--off-white);
}

/* Footer */
footer {
    background-color: var(--navy);
    color: var(--white);
    padding: 2rem 0 2rem;
    margin-left: auto;
    margin-right: auto;
}

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

.footer-logo img {
    position: relative;
    height: 100px;
    background-color: white;
    border-radius: 50%;
    padding: 0px;
    box-sizing: content-box;
}

.footer-logo p {
    font-size: 0.9rem;
    color: var(--white);
}

footer h3 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-links ul li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--white);
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-contact p {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
}

.footer-contact i {
    margin-right: 0.8rem;
    color: var(--white);
}

.footer-contact-btn {
    margin-top: 1.5rem;
    margin-right: 0.4rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--navy-dark);
    color: var(--white);
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: var(--navy-light);
    color: var(--accent);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    font-size: 0.9rem;
    color: var(--white);
}

.legal-links {
    display: flex;
    gap: 1.5rem;
}

.legal-links a {
    color: var(--white);
    font-size: 0.9rem;
}

.legal-links a:hover {
    color: var(--accent);
}

.page-header {
    padding-top: 6rem;
}

/* Services Navigation Menu Styling */
.services-nav {
    background-color: var(--white);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    padding: 1rem 0;
    margin-bottom: 2rem;
    position: sticky;
    top: 80px;
    /* Adjust based on your header height */
    z-index: 99;
}

.services-menu {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.service-nav-item {
    color: var(--navy);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.service-nav-item:hover {
    background-color: var(--light-blue);
    color: var(--navy-dark);
}

.service-nav-item.active {
    background-color: var(--navy);
    color: var(--white);
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
    .services-menu {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }

    .service-nav-item {
        width: 100%;
        text-align: center;
        padding: 0.7rem 1rem;
    }

    .services-nav {
        position: static;
        margin-top: -1rem;
    }
}

/* Dropdown Menu Styles */
.has-dropdown {
    position: relative;
}

.dropdown-icon {
    font-size: 0.8rem;
    margin-left: 0.3rem;
    transition: transform 0.3s ease;
}

.has-dropdown:hover .dropdown-icon {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--white);
    border-radius: 4px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 0.5rem 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 100;
}

.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    margin: 0;
    padding: 0;
}

.dropdown-menu a {
    display: block;
    padding: 0.7rem 1.5rem;
    color: var(--navy);
    font-weight: normal;
    transition: background-color 0.3s ease;
}

.dropdown-menu a:hover {
    background-color: var(--light-blue);
}

.dropdown-menu a::after {
    display: none;
}

/* Mobile dropdown adjustments */
@media screen and (max-width: 768px) {
    .dropdown-menu {
        position: static;
        background-color: var(--light-blue);
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        display: none;
        margin-left: 1rem;
    }

    .has-dropdown.active .dropdown-menu {
        display: block;
    }

    .dropdown-menu a {
        padding: 0.7rem 1rem;
    }
}

.empty-span {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
}

/* Additional styles specific to the about page */

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

@media screen and (max-width: 768px) {
    .about-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .service-image {
        order: -1;
    }

    .package-card {
        max-width: 400px;
        margin: 0 auto;
    }
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.team-member {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.member-image {
    height: 280px;
    overflow: hidden;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    transition: transform 0.3s ease;
}

.team-member:hover .member-image img {
    transform: scale(1.05);
}

.member-info {
    padding: 1.5rem;
}

.member-name {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.member-title {
    color: var(--navy);
    font-weight: 600;
    margin-bottom: 1rem;
}

.member-bio {
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.member-contact {
    display: flex;
    gap: 1rem;
}

.member-contact a {
    color: var(--gray);
    transition: color 0.3s ease;
}

.member-contact a:hover {
    color: var(--navy);
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 3rem auto;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    width: 4px;
    background-color: var(--navy);
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.timeline-item {
    padding: 1rem 2rem;
    position: relative;
    background-color: inherit;
    width: 50%;
}

.timeline-item:nth-child(odd) {
    left: 0;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-content {
    padding: 1.5rem;
    background-color: var(--white);
    position: relative;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.timeline-item:nth-child(odd) .timeline-content {
    border-right: 4px solid var(--navy);
}

.timeline-item:nth-child(even) .timeline-content {
    border-left: 4px solid var(--navy);
}

.timeline-date {
    color: var(--navy);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.values-section {
    background-color: var(--navy);
}

body > section.values-section > div > h2, body > section.values-section > div > p, .mission-box h3, .vision-box h3, body > section.values-section > div > div.mission-vision > div > div:nth-child(1) > div > h3 > i, .fa-binoculars, .mission-box p, .vision-box p {
    color: var(--white);
}

.team-section {
    background-color: var(--off-white);
}

.value-card {
    background-color: var(--white);
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.20);
    text-align: center;
}

.value-icon {
    font-size: 2.5rem;
    color: var(--navy);
    margin-bottom: 1.5rem;
}

.value-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

@media screen and (max-width: 768px) {
    .timeline::before {
        left: 31px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }

    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        left: 0;
    }

    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        border-right: none;
        border-left: 4px solid var(--navy);
    }
}

/* Additional styles specific to the services page */
.service-section {
    padding: 5rem 0;
}

.first-service {
    background-color: var(--off-white);
}

.third-service {
    background-color: var(--navy);
}

.fourth-service {
    background-color: var(--navy-light);
}

.niche-heading {
    color: var(--white);
    text-align: center;
    font-size: 3rem;
    margin-bottom: 2rem;
}

.niche-intro {
    color: var(--white);
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.service-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.service-image {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-image img {
    width: 100%;
    height: auto;
    display: block;
}

.service-content h2 {
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.service-content p {
    margin-bottom: 1.5rem;
}

.service-features {
    margin-bottom: 2rem;
}

.service-feature {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.feature-icon {
    color: var(--navy);
    margin-right: 1rem;
    font-size: 1.2rem;
    min-width: 1.5rem;
    text-align: center;
}

/*
.service-section:nth-child(even) .service-container {
    direction: rtl;
}

.service-section:nth-child(even) .service-content {
    direction: ltr;
}
*/

.rtl {
    direction: rtl;
}

.ltr {
    direction: ltr;
}

.service-packages {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.bookkeeping-packages-section {
    background-color: var(--white);
}

.tax-packages-section {
    background-color: var(--off-white);
}

.package-card {
    background-color: var(--white);
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
} 

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

.package-name {
    color: var(--navy);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.package-price {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--navy-dark);
    display: flex;
    flex-direction: column;
}

.package-starting-at {
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.package-period {
    font-size: 1rem;
    color: var(--gray);
}

.package-features {
    margin-bottom: 2rem;
    text-align: left;
}

.package-feature {
    display: flex;
    align-items: center;
    margin-bottom: 0.8rem;
}

.package-feature i {
    color: var(--navy);
    margin-right: 0.8rem;
}

.package-unavailable {
    opacity: 0.4;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: #f9f9f9;
    border: 2px dashed #ccc;
    min-height: 300px;
}

.package-unavailable .package-name {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.package-unavailable .package-status {
    font-size: 1rem;
    color: #d9534f;
}

.package-featured {
    transform: scale(1.05);
    border: 3px solid var(--accent);
    background-color: #fff;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
}


.services-faq-section {
    margin-top: 0;
    background-color: var(--off-white);
}

.faq-container {
    max-width: 800px;
    margin: 3rem auto 0;
    margin-top: 0;
}

.faq-item {
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--light-gray);
    padding-bottom: 1.5rem;
}

.faq-question {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--navy);
    font-size: 1.2rem;
}

.faq-question i {
    transition: transform 0.3s ease;
}

.faq-answer {
    display: none;
    padding-top: 1rem;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-item.active .faq-answer {
    display: block;
}

.anchor-link {
    display: block;
    position: relative;
    top: -100px;
    visibility: hidden;
}

@media screen and (max-width: 768px) {
    .service-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .service-section:nth-child(odd) .service-container {
        direction: ltr;
    }

    .service-image {
        order: -1;
    }

    .package-card {
        max-width: 400px;
        margin: 0 auto;
    }
}

/* Client Showcase Carousel Styling */
.client-showcase-section {
    padding: 5rem 0;
    background-color: var(--navy);
}

.client-showcase-section .section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.client-showcase-section h2 {
    color: var(--white);
    font-size: 2.2rem;
    margin-bottom: 0.8rem;
}

.client-showcase-section .section-header p {
    color: var(--white);
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto;
}

/* Carousel Container */
.client-showcase-carousel {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
    padding: 0 50px;
    padding-bottom: 10px;
    /* Add padding to ensure nav arrows don't overlap content */
}

/* Carousel Track */
.client-showcase-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

/* Client Example Card */
.client-example {
    min-width: 100%;
    padding: 0 3rem;
    /* Increased from 1rem to 3rem for more spacing */
    box-sizing: border-box;
}

.client-example-content {
    background-color: var(--white);
    border-radius: 10px;
    padding: 2.5rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    height: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto 1fr;
    grid-template-areas:
        "industry industry"
        "services pricing";
    gap: 2rem;
}

.client-industry {
    grid-area: industry;
    border-bottom: 1px solid var(--light-gray);
    padding-bottom: 1rem;
    margin-bottom: 1rem;
}

.client-services {
    grid-area: services;
}

.client-pricing {
    grid-area: pricing;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: rgba(120, 205, 209, 0.1);
    border-radius: 8px;
    padding: 1.5rem;
}

/* Labels */
.label {
    display: block;
    color: var(--accent);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.client-industry h3 {
    color: var(--navy);
    font-size: 1.5rem;
    margin: 0;
}

.client-services ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.client-services li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--gray);
}

.client-services li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}

.client-pricing h4 {
    color: var(--navy);
    font-size: 2rem;
    margin: 0;
}

.client-pricing h4 span {
    font-size: 1rem;
    opacity: 0.7;
}

/* Navigation Dots */
.carousel-nav-dots {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
    gap: 0.5rem;
}

.nav-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--light-gray);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-dot.active {
    background-color: var(--accent);
    transform: scale(1.2);
}

/* Navigation Arrows */
.carousel-nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--accent);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    z-index: 10;
}

.carousel-nav-arrow:hover {
    background-color: var(--accent-dark);
    transform: scale(1.1) translateY(-45%);
    /* Adjusted to maintain vertical centering when scaling */
}

.carousel-nav-arrow:disabled {
    background-color: var(--light-gray);
    cursor: not-allowed;
    opacity: 0.5;
}

.carousel-nav-arrow.prev {
    left: 5px;
    /* Adjusted from 0 to give more space */
}

.carousel-nav-arrow.next {
    right: 5px;
    /* Adjusted from 0 to give more space */
}

/* Additional CSS to ensure only current card is visible */
.client-showcase-track {
    margin: 0 -3rem;
    /* Compensate for the padding in .client-example */
    width: calc(100% + 6rem);
}

/* Responsive Adjustments */
@media screen and (max-width: 768px) {
    .client-example-content {
        grid-template-columns: 1fr;
        grid-template-areas:
            "industry"
            "services"
            "pricing";
        padding: 1.1rem; /*1.8*/
        /* Increased padding from 1.5rem to 1.8rem */
        gap: 1.5rem;
        width: calc(100% - 1rem);
        /* Ensure content stays within boundaries */
        margin: 0 auto;
        /* Center the content */
        box-sizing: border-box;
        /* Ensure padding is included in width calculation */
    }

    .client-example {
        padding: 0 1rem; /*0 2rem*/
        /* Slightly less padding on mobile */
    }

    .client-showcase-track {
        margin: 0 -2rem;
        /* Adjust to match the padding in .client-example */
        width: calc(100% + 4rem);
    }

    .client-pricing {
        padding: 1rem;
        width: 100%;
        /* Ensure the pricing background fills the entire grid area */
        box-sizing: border-box;
        /* Include padding in width calculation */
    }

    .client-industry {
        width: 100%;
        /* Ensure the border spans the full width */
        box-sizing: border-box;
        /* Include padding in width calculation */
    }

    .carousel-nav-arrow {
        width: 35px;
        height: 35px;
    }

    .client-showcase-section h2 {
        font-size: 1.8rem;
    }
}

/* Modify the service-packages grid */
.service-packages {
    display: flex;
    flex-wrap: nowrap;
    gap: 2rem;
    margin-top: 4rem;
    overflow-x: auto;
    padding: 1rem 1.5rem 2rem 1.5rem;
}

.package-card {
    background-color: var(--white);
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    flex: 1;
    min-width: 250px;
}

/* Only apply flex-direction column on mobile */
@media screen and (max-width: 768px) {
    .service-packages {
        flex-direction: column;
        overflow-x: visible;
        padding-bottom: 0;
    }

    .package-card {
        max-width: 400px;
        margin: 0 auto 2rem auto;
        width: 100%;
    }

    .package-card:last-child {
        margin-bottom: 0;
    }
}

.package-card {
    background-color: var(--white);
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    flex: 1;
    min-width: 250px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.package-features {
    margin-bottom: 2rem;
    text-align: left;
    flex-grow: 1;
}

.package-card .btn {
    margin-top: auto;
}

/* Additional styles specific to the resources page */
/*.blog-section {
    padding: 4rem 0;
    margin-top: 80px;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h1 {
    color: var(--navy);
    margin-bottom: 1rem;
    font-size: 2.5rem;
}

.section-header p {
    color: var(--gray);
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
}
*/
/* Updated Blog Grid Layout - Now Centered */
.blog-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin: 0 auto;
    max-width: 1200px;
}

.blog-post-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.blog-post-image {
    height: 200px;
    overflow: hidden;
}

.blog-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-post-card:hover .blog-post-image img {
    transform: scale(1.05);
}

.blog-post-content {
    padding: 1.5rem;
}

.blog-post-date {
    font-size: 0.9rem;
    color: var(--accent);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.blog-post-content h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.blog-post-content h3 a {
    color: var(--navy);
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-post-content h3 a:hover {
    color: var(--accent);
}

.blog-post-content p {
    color: var(--gray);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.read-more {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: var(--navy);
}

.read-more:after {
    content: '→';
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.read-more:hover:after {
    transform: translateX(3px);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
    gap: 0.5rem;
}

.pagination a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    text-decoration: none;
    color: var(--navy);
    font-weight: 500;
    transition: all 0.3s ease;
}

.pagination a.active {
    background-color: var(--accent);
    color: white;
}

.pagination a:not(.active):hover {
    background-color: rgba(120, 205, 209, 0.1);
}

.pagination a.next {
    width: auto;
    padding: 0 1.5rem;
    border-radius: 20px;
}

/* Responsive Adjustments */
@media screen and (max-width: 768px) {
    .blog-posts-grid {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }

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

    .section-header p {
        font-size: 1.1rem;
    }
}

@media screen and (min-width: 769px) and (max-width: 1200px) {
    .blog-posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Additional styles specific to the contact page */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info {
    background-color: var(--navy);
    color: var(--white);
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-info h2 {
    color: var(--white);
    margin-bottom: 2rem;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 1rem;
    font-size: 1.3rem;
}

.contact-details h3 {
    color: var(--white);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.contact-details p,
.contact-details a {
    color: var(--light-gray);
    margin-bottom: 0.3rem;
}

.contact-details a:hover {
    color: var(--white);
}

.business-hours {
    margin-top: 2.5rem;
}

.business-hours h3 {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.hours-list {
    list-style: none;
}

.hours-list li {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.8rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.hours-list li:last-child {
    border-bottom: none;
}

.day {
    font-weight: 600;
}

.contact-form-container {
    background-color: var(--white);
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-form-container h2 {
    margin-bottom: 1.5rem;
}

.contact-form .form-group {
    margin-bottom: 1.5rem;
}

.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--navy);
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--light-gray);
    border-radius: 4px;
    font-family: var(--body-font);
}

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

.contact-form button {
    background-color: var(--navy);
    color: var(--white);
    border: none;
    padding: 1rem 2rem;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact-form button:hover {
    background-color: var(--navy-light);
}

.map-section {
    margin-top: 4rem;
}

.map-container {
    height: 400px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.faq-section {
    margin-top: 4rem;
}

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

.faq-item {
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--light-gray);
    padding-bottom: 1rem;
}

.faq-question {
    font-weight: 600;
    color: var(--navy);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question i {
    transition: transform 0.3s ease;
}

.faq-answer {
    display: none;
    padding-top: 1rem;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-item.active .faq-answer {
    display: block;
}

.contact-social-links {
    margin-top: 2.5rem;
}

.contact-social-links h3 {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.contact-social-icons {
    display: flex;
    gap: 1rem;
}

.contact-social-icons a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    transition: all 0.3s ease;
}

.contact-social-icons a:hover {
    background-color: var(--white);
    color: var(--navy);
}

@media screen and (max-width: 992px) {
    .contact-container {
        grid-template-columns: 1fr;
    }

    .contact-form-container {
        order: -1;
    }
}

/* Additional styles specific to the questionnaire page */
.questionnaire-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    padding: 2rem;
}

.question-group {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--light-gray);
}

.question-group:last-child {
    border-bottom: none;
}

.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--navy);
}

.required::after {
    content: '*';
    color: #e74c3c;
    margin-left: 4px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
select,
textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--light-gray);
    border-radius: 4px;
    font-family: var(--body-font);
    font-size: 1rem;
}

select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23002147' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1em;
}

.radio-group,
.checkbox-group {
    margin-top: 0.5rem;
}

.radio-option,
.checkbox-option {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
}

.radio-option input,
.checkbox-option input {
    margin-right: 0.5rem;
}

.info-text {
    font-size: 0.9rem;
    color: var(--gray);
    margin-top: 0.5rem;
}

.form-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
}

.dynamic-question {
    display: none;
}

#result-container {
    display: none;
    margin-top: 3rem;
    padding: 2rem;
    border-radius: 8px;
}

#qualified-result {
    background-color: #e3f7ea;
    border: 1px solid #57c884;
    display: none;
}

#not-qualified-result {
    background-color: #fff5f5;
    border: 1px solid #feb2b2;
    display: none;
}

.result-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.result-icon {
    font-size: 2rem;
    margin-right: 1rem;
}

.success-icon {
    color: #2f855a;
}

.error-icon {
    color: #c53030;
}

.result-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
}

#booking-calendar {
    margin-top: 2rem;
}

.progress-bar {
    height: 8px;
    background-color: var(--light-gray);
    border-radius: 4px;
    margin-bottom: 2rem;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background-color: var(--navy);
    width: 0;
    transition: width 0.3s ease;
}

/* Add this to your CSS */
.invalid-field {
    border-color: #e74c3c !important;
    background-color: rgba(231, 76, 60, 0.05);
}

.error-message {
    color: #e74c3c;
    font-size: 0.85rem;
    margin-top: 0.3rem;
    font-weight: 500;
}

/* Thank you message styling */
.thank-you-message {
    text-align: center;
    padding: 3rem;
    background-color: var(--white);
    border-radius: 8px;
    animation: fadeIn 0.5s ease-in;
}

.thank-you-icon {
    font-size: 4rem;
    color: var(--accent);
    margin: 2rem 0;
}

.thank-you-message h2 {
    color: var(--navy);
    margin-bottom: 1rem;
}

.thank-you-message p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Blog styles */
.blog-list {
    max-width: 800px;
    margin: 0 auto;
}

.blog-post-preview {
    margin-bottom: 2rem;
}

.post-title {
    margin-bottom: 0.5rem;
}

.post-title a {
    text-decoration: none;
    color: #333;
}

.post-title a:hover {
    text-decoration: underline;
}

.post-meta {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1rem;
}

.post-description {
    margin-bottom: 1rem;
}

.read-more {
    display: inline-block;
    font-weight: bold;
    text-decoration: none;
}

.post-divider {
    margin: 2rem 0;
    border: none;
    border-top: 1px solid #eee;
}



/* Nautical Timeline Styling */
.nautical-timeline-section {
    padding: 4rem 0;
}

.nautical-timeline {
    margin: 3rem 0;
}

.timeline-navigation {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    height: 100px;
    margin-bottom: 2rem;
}

.nav-arrow {
    background-color: var(--accent);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.nav-arrow:hover {
    background-color: var(--accent-dark);
    transform: scale(1.1);
}

.nav-arrow:disabled {
    background-color: var(--light-gray);
    cursor: not-allowed;
    opacity: 0.5;
}

.timeline-viewport {
    position: relative;
    flex: 1;
    height: 200%;
    overflow: hidden;
    max-width: 800px;
}

/*
  .waterline {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background-color: var(--accent-light);
    z-index: 1;
  }
  */
.boat-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}

.boat {
    transform: translateY(-25px);
}

.boat-image {
    width: 90px;
    height: auto;
}

.timeline-points {
    position: absolute;
    top: 0;
    height: 100%;
    display: flex;
    align-items: center;
    transition: transform 0.5s ease-in-out;
    z-index: 2;
}

/* Dock styling with image */
.dock-marker {
    position: relative;
    z-index: 2;
    margin-top: 30px;
}

.dock-marker img {
    max-width: 170%;
    transform: translateX(-20%);
}

.dock-image {
    /* Adjust based on your dock image size */
    width: 170%;
    height: auto;
    display: block;
}

.timeline-point {
    position: relative;
    padding: 0 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.year-marker {
    width: 12px;
    height: 12px;
    background-color: var(--navy);
    border-radius: 50%;
    margin-bottom: 5px;
    transform: translateY(7px);
}

.year-label {
    font-weight: bold;
    color: var(--navy);
    font-size: 1rem;
    transform: translateY(0px);
}

.milestone-content {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    min-height: 200px;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.milestone-content h3 {
    color: var(--navy);
    margin-bottom: 1rem;
}

.milestone-content p {
    color: var(--gray);
    line-height: 1.6;
}

.milestone-content.fade {
    opacity: 0;
}



.waterline {
    width: 100%;
    height: 100px;
    overflow: hidden;
    background: transparent;
    transform: translateY(50px);
}

.waterline svg {
    width: 100%;
    height: 100%;
    animation: bobWave 4s ease-in-out infinite;
}

#wavePath {
    fill: none;
    stroke: var(--accent);
    stroke-width: 2;
}

@keyframes bobWave {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(4px);
    }
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
    .timeline-navigation {
        height: 80px;
    }

    .timeline-point {
        padding: 0 50px;
    }

    .nav-arrow {
        width: 35px;
        height: 35px;
    }

    .waterline {
        transform: translateY(30px);
    }
}



/* Filter button styles */
.filter-container {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

@media (max-width: 575px) {
    .filter-container {
        flex-direction: column;
    }

    #searchBar {
        margin-bottom: 10px;
    }
}

.filter-button {
    padding: 8px 16px;
    border: 1px solid var(--navy);
    background-color: #f9f9f9;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.filter-button:hover {
    background-color: #e2e2e2;
}

.filter-button.active {
    background-color: var(--accent);
    color: white;
}

#searchBar {
    flex-grow: 1;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

/* Resource Item Styles */
.resources {
    display: grid;
    gap: 15px;
    transition: all 0.3s ease;
}

/* Responsive Grid Layout */
@media (min-width: 1024px) {
    .resources {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .resources {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 576px) and (max-width: 767px) {
    .resources {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575px) {
    .resources {
        grid-template-columns: 1fr;
    }
}

.resource-item {
    position: relative;
    padding: 15px;
    border: 2px solid var(--navy);
    border-radius: 5px;
    background-color: var(--white);
    text-align: center;
    transition: background-color 0.3s, transform 0.3s;
    cursor: pointer;
    overflow: hidden;
}

.resource-item:hover {
    background-color: var(--off-white);
}
/*
.niche-services, .niche-services h2 {
    color: var(--white);
}*/

.niche-feature-icon {
    color: var(--navy);
    margin-right: 1rem;
    font-size: 1.2rem;
    min-width: 1.5rem;
    text-align: center;
}