/* General Styles */
:root {
    --primary-color: #e74c3c; /* Red */
    --secondary-color: #c0392b; /* Darker Red */
    --dark-background: #1a1a1a; /* Dark Grey */
    --darker-background: #0d0d0d; /* Even Darker Grey */
    --text-light: #f0f0f0; /* Light Grey for text */
    --text-medium: #cccccc; /* Medium Grey for subtitles/less important text */
    --text-dark: #333333; /* Dark text on light backgrounds (not used much here) */
    --border-color: #333333; /* Border color */
    --spacing-unit: 1rem;
    --container-max-width: 1200px;
}

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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    background-color: var(--darker-background);
    color: var(--text-light);
    overflow-x: hidden; /* Prevent horizontal scroll */
}

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 calc(var(--spacing-unit) * 1.5); /* 1.5rem padding left/right */
}

section {
    padding: calc(var(--spacing-unit) * 6) 0; /* 6rem top/bottom padding */
    position: relative;
    overflow: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: var(--spacing-unit);
}

h1 {
    font-size: 3.5rem;
    line-height: 1.2;
}

h2 {
    font-size: 2.8rem;
    text-align: center;
    margin-bottom: calc(var(--spacing-unit) * 2);
    position: relative;
}
h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--primary-color);
    margin: var(--spacing-unit) auto 0;
    border-radius: 2px;
}

h3 {
    font-size: 2rem;
}

p {
    margin-bottom: var(--spacing-unit);
    color: var(--text-medium);
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: calc(var(--spacing-unit) * 3);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-medium);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.9rem 2rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.1s ease, color 0.1s ease, border-color 0.1s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--text-light);
}

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

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

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

.btn-tertiary {
    background-color: #555;
    color: var(--text-light);
    border: 2px solid #555;
}

.btn-tertiary:hover {
    background-color: #777;
    color: var(--text-light);
}

/* Header */
.header {
    background-color: rgba(13, 13, 13, 0.9); /* Slightly transparent dark */
    padding: var(--spacing-unit) 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

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

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--text-light);
    font-size: 1.8rem;
    font-weight: 700;
}

.logo img {
    height: 40px;
    margin-right: 10px;
}

.nav-list {
    list-style: none;
    display: flex;
}

.nav-list li {
    margin-left: calc(var(--spacing-unit) * 2);
}

.nav-list a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 600;
    padding: 0.5rem 0;
    position: relative;
    transition: color 0.1s ease;
}

.nav-list a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 3px;
    background-color: var(--primary-color);
    transition: width 0.1s ease;
}

.nav-list a:hover::after,
.nav-list a.active::after {
    width: 100%;
}
.nav-list a:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-image: url(pictures/uploads/hero-cleaning-team.jpg);
    background-size: cover;
    background-position: center;
    position: relative;
    color: var(--text-light);
    padding-bottom: 250px !important; /* Space for CTA strip */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); /* Dark overlay */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.hero-content h1 {
    font-size: 4.5rem;
    margin-bottom: var(--spacing-unit);
    color: var(--text-light);
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: calc(var(--spacing-unit) * 2);
    color: var(--text-medium);
}

.cta-strip {
    position: absolute; /* Changed from sticky/fixed to absolute for simplicity, as per animation strategy */
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--primary-color);
    padding: calc(var(--spacing-unit) * 1.5) 0;
    z-index: 500;
    text-align: center;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
}

.cta-strip .container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.cta-strip p {
    color: var(--text-light);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0;
    margin-right: calc(var(--spacing-unit) * 2);
}

.cta-strip .btn-secondary {
    color: var(--text-light);
    border-color: var(--text-light);
}

.cta-strip .btn-secondary:hover {
    background-color: var(--text-light);
    color: var(--primary-color);
}

/* About Section */
.about-section {
    background-color: var(--dark-background);
    text-align: center;
}

.about-section .team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: calc(var(--spacing-unit) * 2);
    margin-top: calc(var(--spacing-unit) * 3);
}

.about-section .team-card {
    background-color: var(--darker-background);
    padding: calc(var(--spacing-unit) * 2);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: 100%; /* Ensure equal height */
}

.about-section .team-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: var(--spacing-unit);
    border: 4px solid var(--primary-color);
}

.about-section .team-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.about-section .team-position {
    font-size: 0.95rem;
    color: var(--text-medium);
    margin-bottom: var(--spacing-unit);
}

.about-section blockquote {
    font-style: italic;
    color: var(--text-light);
    margin-top: var(--spacing-unit);
    padding: 0 var(--spacing-unit);
    border-left: 4px solid var(--primary-color);
    text-align: left;
    flex-grow: 1; /* Allow quote to take available space */
    display: flex;
    align-items: center; /* Center quote vertically */
}

/* Services Section */
.services-section {
    background-color: var(--darker-background);
}

.tabs-container {
    margin-top: calc(var(--spacing-unit) * 3);
}

.tab-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: calc(var(--spacing-unit) * 2);
    border-bottom: 2px solid var(--border-color);
}

.tab-button {
    background-color: transparent;
    border: none;
    padding: 1rem 1.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-medium);
    cursor: pointer;
    transition: color 0.1s ease, border-color 0.1s ease;
    border-bottom: 3px solid transparent;
    margin: 0 0.5rem;
    white-space: nowrap;
}

.tab-button:hover {
    color: var(--primary-color);
}

.tab-button.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.tab-content-wrapper {
    background-color: var(--dark-background);
    padding: calc(var(--spacing-unit) * 2);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.tab-content-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: calc(var(--spacing-unit) * 2);
}

.service-image {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

.service-details {
    flex: 1;
    min-width: 300px;
}

.service-details h3 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-unit);
}

.service-details p {
    color: var(--text-light);
    margin-bottom: calc(var(--spacing-unit) * 1.5);
}

.service-details ul {
    list-style: none;
    padding: 0;
}

.service-details ul li {
    display: flex;
    align-items: center;
    margin-bottom: 0.8rem;
    color: var(--text-light);
}

.service-details ul li .material-symbols-outlined {
    color: var(--primary-color);
    margin-right: 10px;
    font-size: 1.3rem;
}

/* Features Section */
.features-section {
    background-color: var(--dark-background);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: calc(var(--spacing-unit) * 2);
    margin-top: calc(var(--spacing-unit) * 3);
}

.feature-card {
    background-color: var(--darker-background);
    padding: calc(var(--spacing-unit) * 2);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%; /* Ensure equal height */
}

.feature-icon {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: var(--spacing-unit);
}

.feature-card h3 {
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.feature-card p {
    color: var(--text-medium);
    flex-grow: 1; /* Allow text to take available space */
}

/* Team Section */
.team-section-full {
    background-color: var(--darker-background);
}

.team-members-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 6 blocks - 3 in a row for larger screens, 2 for medium */
    gap: calc(var(--spacing-unit) * 2);
    margin-top: calc(var(--spacing-unit) * 3);
}

.member-card {
    background-color: var(--dark-background);
    padding: calc(var(--spacing-unit) * 2);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%; /* Ensure equal height */
}

.member-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: var(--spacing-unit);
    border: 4px solid var(--primary-color);
}

.member-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.member-role {
    font-size: 0.95rem;
    color: var(--text-medium);
    margin-bottom: var(--spacing-unit);
    flex-grow: 1; /* Allow role to take available space */
}

/* Portfolio Section */
.portfolio-section {
    background-color: var(--dark-background);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* 6 blocks - 3 in a row */
    gap: calc(var(--spacing-unit) * 2);
    margin-top: calc(var(--spacing-unit) * 3);
}

.portfolio-card {
    background-color: var(--darker-background);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.1s ease, box-shadow 0.1s ease;
    display: flex;
    flex-direction: column;
    height: 100%; /* Ensure equal height */
}

.portfolio-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.portfolio-image {
    width: 100%;
    height: 250px; /* Fixed height for portfolio images */
    object-fit: cover;
}

.portfolio-title {
    padding: var(--spacing-unit);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-light);
    text-align: center;
    flex-grow: 1; /* Ensure title takes available space */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Portfolio Modal */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 2000; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(0, 0, 0, 0.8); /* Black w/ opacity */
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: var(--dark-background);
    margin: auto;
    padding: calc(var(--spacing-unit) * 2);
    border-radius: 10px;
    width: 90%;
    max-width: 800px;
    position: relative;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.7);
    color: var(--text-light);
}

.close-button {
    color: var(--text-light);
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.1s ease;
}

.close-button:hover,
.close-button:focus {
    color: var(--primary-color);
    text-decoration: none;
}

.modal-image {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: var(--spacing-unit);
}

.modal-content h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.modal-content p {
    color: var(--text-medium);
}

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

.faq-accordion {
    max-width: 800px;
    margin: calc(var(--spacing-unit) * 3) auto 0;
}

.faq-item {
    background-color: var(--dark-background);
    margin-bottom: var(--spacing-unit);
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.faq-question {
    background-color: var(--dark-background);
    color: var(--text-light);
    width: 100%;
    padding: 1.5rem 2rem;
    text-align: left;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.1s ease, color 0.1s ease;
}

.faq-question::after {
    content: '\276F'; /* Right arrow unicode */
    font-size: 1.5rem;
    transform: rotate(90deg);
    transition: transform 0.1s ease;
    color: var(--primary-color);
}

.faq-question.active {
    background-color: var(--secondary-color);
    color: var(--text-light);
}

.faq-question.active::after {
    transform: rotate(-90deg); /* Down arrow */
}

.faq-answer {
    padding: 0 2rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.1s ease-out, padding 0.1s ease-out;
    background-color: var(--darker-background);
    color: var(--text-medium);
}

.faq-answer.active {
    max-height: 200px; /* Adjust as needed for content */
    padding: 1rem 2rem 1.5rem;
}

/* Contact Form Section */
.contact-form-section {
    background-color: var(--dark-background);
    text-align: center;
}

.contact-form {
    max-width: 700px;
    margin: calc(var(--spacing-unit) * 3) auto 0;
    background-color: var(--darker-background);
    padding: calc(var(--spacing-unit) * 3);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    text-align: left;
}

.form-group {
    margin-bottom: calc(var(--spacing-unit) * 1.5);
}

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

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    background-color: #2a2a2a;
    color: var(--text-light);
    font-size: 1rem;
    transition: border-color 0.1s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(var(--primary-color), 0.3);
}

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

.form-group select {
    appearance: none; /* Remove default arrow */
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23cccccc%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13.2-5.4H18.6c-5%200-9.3%201.8-13.2%205.4A17.6%2017.6%200%200%200%200%2082.6c0%204.8%201.8%209.1%205.4%2013.2l128%20128c3.9%203.9%208.2%205.8%2013.2%205.8s9.3-1.9%2013.2-5.8l128-128c3.6-4.1%205.4-8.4%205.4-13.2%200-4.6-1.8-8.9-5.4-13.2z%22%2F%3E%3C%2Fsvg%3E');
    background-repeat: no-repeat;
    background-position: right 0.8rem center;
    background-size: 12px;
    padding-right: 2.5rem; /* Make space for custom arrow */
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #888;
}

.form-group .error-message {
    color: var(--primary-color);
    font-size: 0.9rem;
    margin-top: 0.5rem;
    display: none; /* Hidden by default */
}

.form-group input.invalid,
.form-group select.invalid,
.form-group textarea.invalid {
    border-color: var(--primary-color);
}


/* Reviews Section */
.reviews-section {
    background-color: var(--darker-background);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(2,  1fr);
    gap: calc(var(--spacing-unit) * 2);
    margin-top: calc(var(--spacing-unit) * 3);
}

.review-card {
    background-color: var(--dark-background);
    padding: calc(var(--spacing-unit) * 2);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    height: 100%; /* Ensure equal height */
}

.review-header {
    display: flex;
    align-items: center;
    margin-bottom: var(--spacing-unit);
}

.review-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: var(--spacing-unit);
    border: 2px solid var(--primary-color);
}

.review-info h4 {
    font-size: 1.2rem;
    margin-bottom: 0.2rem;
    color: var(--primary-color);
}

.review-date {
    font-size: 0.9rem;
    color: var(--text-medium);
}

.review-stars {
    color: gold; /* Or a specific yellow/orange */
    margin-bottom: var(--spacing-unit);
}
.review-stars .material-symbols-outlined {
    font-variation-settings: 'FILL' 1; /* Fill the stars */
}

.review-text {
    color: var(--text-light);
    flex-grow: 1; /* Allow text to take available space */
}

/* Footer */
.footer-section {
    background-image: url(pictures/uploads/footer-cleaning-tools.jpg);
    background-size: cover;
    background-position: center;
    position: relative;
    padding: calc(var(--spacing-unit) * 5) 0 calc(var(--spacing-unit) * 2);
    text-align: center;
    color: var(--text-light);
}

.footer-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7); /* Dark overlay */
    z-index: 1;
}

.footer-content {
    position: relative;
    z-index: 2;
}

.footer-logo {
    font-size: 2rem;
    margin-bottom: var(--spacing-unit);
    justify-content: center;
}
.footer-logo img {
    height: 50px;
}

.brand-statement {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto calc(var(--spacing-unit) * 2);
    color: var(--text-medium);
}

.footer-links {
    margin-bottom: calc(var(--spacing-unit) * 2);
}

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    margin: 0 var(--spacing-unit);
    transition: color 0.1s ease;
    position: relative;
    padding-bottom: 3px;
}

.footer-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.1s ease;
}

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

.footer-links a:hover::after {
    width: 100%;
}

.copyright {
    font-size: 0.9rem;
    color: var(--text-medium);
    margin-top: var(--spacing-unit);
}

.scroll-to-top {
    margin-top: calc(var(--spacing-unit) * 3);
    display: inline-block;
}

/* Cookie Consent Modal Styles */
.cookie-modal {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.7);
}

.cookie-content {
    background-color: var(--dark-background);
    padding: calc(var(--spacing-unit) * 2.5);
    border-radius: 12px;
    max-width: 550px;
    text-align: left;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    position: relative;
}

.cookie-content h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: var(--spacing-unit);
    text-align: center;
}

.cookie-content p {
    color: var(--text-medium);
    margin-bottom: calc(var(--spacing-unit) * 1.5);
    text-align: center;
}

.cookie-policy-link {
    display: block;
    text-align: center;
    color: var(--primary-color);
    text-decoration: none;
    margin-bottom: calc(var(--spacing-unit) * 2);
    font-weight: 600;
}
.cookie-policy-link:hover {
    text-decoration: underline;
}

.cookie-categories {
    margin-bottom: calc(var(--spacing-unit) * 2);
    border-top: 1px solid var(--border-color);
    padding-top: var(--spacing-unit);
}

.cookie-category {
    display: flex;
    align-items: flex-start;
    margin-bottom: var(--spacing-unit);
}

.cookie-category input[type="checkbox"] {
    margin-right: var(--spacing-unit);
    min-width: 20px;
    min-height: 20px;
    accent-color: var(--primary-color);
    cursor: pointer;
}

.cookie-category label {
    font-weight: 600;
    color: var(--text-light);
    cursor: pointer;
    margin-right: var(--spacing-unit);
    flex-shrink: 0;
}

.cookie-category p {
    font-size: 0.9rem;
    color: var(--text-medium);
    margin-bottom: 0;
    text-align: left;
}

.cookie-buttons {
    display: flex;
    justify-content: space-around;
    gap: var(--spacing-unit);
    margin-top: calc(var(--spacing-unit) * 2);
    flex-wrap: wrap;
}

.cookie-buttons .btn,
.cookie-settings .btn {
    flex: 1;
    min-width: 140px;
    text-align: center;
}

.cookie-settings {
    margin-top: calc(var(--spacing-unit) * 1.5);
    border-top: 1px solid var(--border-color);
    padding-top: var(--spacing-unit);
    text-align: center;
}

/* Utility classes */
.hidden {
    display: none !important;
}

/* Responsive Design */
@media (max-width: 992px) {
    .header .container {
        flex-direction: column;
        text-align: center;
    }
    .nav-menu {
        margin-top: var(--spacing-unit);
    }
    .nav-list {
        flex-wrap: wrap;
        justify-content: center;
    }
    .nav-list li {
        margin: 0.5rem var(--spacing-unit);
    }

    .hero-content h1 {
        font-size: 3.5rem;
    }
    .hero-content p {
        font-size: 1.2rem;
    }
    .cta-strip .container {
        flex-direction: column;
        gap: var(--spacing-unit);
    }
    .cta-strip p {
        margin-right: 0;
        margin-bottom: 0;
    }

    h2 {
        font-size: 2.2rem;
    }
    .section-subtitle {
        font-size: 1rem;
    }

    .tab-buttons {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 10px;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
    }
    .tab-button {
        scroll-snap-align: start;
        margin: 0 0.5rem 0 0;
    }
    .tab-content-inner {
        flex-direction: column;
        text-align: center;
    }
    .service-image {
        max-width: 100%;
    }
    .service-details {
        min-width: unset;
    }
    .service-details ul {
        text-align: left;
    }

    .team-members-grid,
    .portfolio-grid,
    .reviews-grid {
        grid-template-columns: repeat(2,  1fr); /* Adjust for smaller screens */
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.8rem;
    }
    h2 {
        font-size: 2rem;
    }
    h3 {
        font-size: 1.5rem;
    }
    section {
        padding: calc(var(--spacing-unit) * 4) 0;
    }
    .hero-content p {
        font-size: 1rem;
    }
    .cta-strip p {
        font-size: 1rem;
    }
    .btn {
        padding: 0.7rem 1.5rem;
        font-size: 0.9rem;
    }

    .modal-content {
        width: 95%;
        padding: calc(var(--spacing-unit) * 1.5);
    }
    .close-button {
        font-size: 1.8rem;
        top: 10px;
        right: 15px;
    }
    .cookie-content {
        padding: calc(var(--spacing-unit) * 1.5);
    }
    .cookie-content h3 {
        font-size: 1.5rem;
    }
    .cookie-buttons {
        flex-direction: column;
    }
    .cookie-buttons .btn {
        width: 100%;
        min-width: unset;
    }

    .nav-menu{
        display: none;
    }

    .team-grid, .team-members-grid, .portfolio-grid, .reviews-grid{
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 1.5rem;
    }
    .logo img {
        height: 30px;
    }
    .nav-list {
        flex-direction: column;
        gap: 0.5rem;
    }
    .nav-list li {
        margin: 0.2rem 0;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }
    .hero-content p {
        font-size: 0.9rem;
    }
    .cta-strip p {
        font-size: 0.9rem;
    }
    .btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
    }

    .about-section .team-grid {
        grid-template-columns: 1fr;
    }
    .features-grid,
    .team-members-grid,
    .portfolio-grid,
    .reviews-grid {
        grid-template-columns: 1fr;
    }
    .portfolio-image {
        height: 200px;
    }
    .faq-question {
        font-size: 1rem;
        padding: 1rem 1.5rem;
    }
    
    .form-group label {
        font-size: 0.9rem;
    }
    .form-group input, .form-group select, .form-group textarea {
        padding: 0.7rem;
        font-size: 0.9rem;
    }
    .footer-links {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }
    .footer-links a {
        margin: 0;
    }
}/* New stock typography styles for content within .policyOrbitalShell */

/* Policy Orbital Shell container styles */
.policyOrbitalShell {
    /* Padding for the content block */
    padding: calc(var(--spacing-unit) * 3) calc(var(--spacing-unit) * 2);
    /* Maximum width to keep content readable and centered */
    max-width: 900px;
    margin: 0 auto;
    /* Background color for the content block, matching the theme */
    background-color: var(--dark-background);
    /* Rounded corners for consistency */
    border-radius: 10px;
    /* Subtle shadow for depth */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    /* Default text color for the shell */
    color: var(--text-medium);
}

/* Heading 1 styles within the shell */
.policyOrbitalShell h1 {
    font-size: 2.5rem; /* Moderate size for main content titles */
    line-height: 1.2;
    margin-top: calc(var(--spacing-unit) * 2.5); /* Top margin for separation */
    margin-bottom: calc(var(--spacing-unit) * 1.5); /* Bottom margin for spacing */
    color: var(--text-light); /* Light color for headings */
}

/* Heading 2 styles within the shell */
.policyOrbitalShell h2 {
    font-size: 2rem; /* Standard size for major sections */
    line-height: 1.3;
    margin-top: calc(var(--spacing-unit) * 2);
    margin-bottom: calc(var(--spacing-unit) * 1.2);
    color: var(--text-light);
}

/* Heading 3 styles within the shell */
.policyOrbitalShell h3 {
    font-size: 1.7rem; /* Size for sub-sections */
    line-height: 1.4;
    margin-top: calc(var(--spacing-unit) * 1.5);
    margin-bottom: var(--spacing-unit);
    color: var(--text-light);
}

/* Heading 4 styles within the shell */
.policyOrbitalShell h4 {
    font-size: 1.4rem; /* Size for minor headings or important points */
    line-height: 1.5;
    margin-top: calc(var(--spacing-unit) * 1.2);
    margin-bottom: 0.8rem;
    color: var(--text-light);
}

/* Heading 5 styles within the shell */
.policyOrbitalShell h5 {
    font-size: 1.2rem; /* Smaller heading, often for details or sub-points */
    line-height: 1.6;
    margin-top: var(--spacing-unit);
    margin-bottom: 0.6rem;
    color: var(--text-light);
}

/* Paragraph styles within the shell */
.policyOrbitalShell p {
    font-size: 1rem; /* Standard body text size */
    line-height: 1.7;
    margin-bottom: var(--spacing-unit); /* Spacing between paragraphs */
    color: var(--text-medium); /* Medium grey for readability */
}

/* Unordered list styles within the shell */
.policyOrbitalShell ul {
    list-style: disc; /* Default bullet points */
    margin-left: calc(var(--spacing-unit) * 1.5); /* Indent for list items */
    margin-bottom: var(--spacing-unit); /* Spacing after the list */
    padding-left: 0; /* Reset default padding */
    color: var(--text-medium);
}

/* Ordered list styles within the shell (added for completeness) */
.policyOrbitalShell ol {
    list-style: decimal; /* Numbered list items */
    margin-left: calc(var(--spacing-unit) * 1.5);
    margin-bottom: var(--spacing-unit);
    padding-left: 0;
    color: var(--text-medium);
}

/* List item styles within the shell */
.policyOrbitalShell li {
    font-size: 1rem; /* Standard text size for list items */
    line-height: 1.6;
    margin-bottom: 0.5rem; /* Spacing between list items */
    color: var(--text-medium);
}


.header .container{
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}