/* General Brutalism Styling */
:root {
    --primary-color: #FFD700; /* Gold/Yellow for accent */
    --secondary-color: #1a1a1a; /* Dark background */
    --text-color: #f0f0f0; /* Light text on dark background */
    --accent-color: #e6e6e6; /* Light gray for borders/details */
    --error-color: #e74c3c;
    --font-heading: 'Oswald', sans-serif;
    --font-body: 'IBM Plex Mono', monospace;
    --spacing-unit: 1.5rem;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--secondary-color);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-unit);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    text-transform: uppercase;
    margin-bottom: var(--spacing-unit);
}

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

h2 {
    font-size: 2.5rem;
    line-height: 1.2;
}

h3 {
    font-size: 1.8rem;
    line-height: 1.3;
    color: var(--accent-color);
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--primary-color);
    text-decoration: underline;
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    font-family: var(--font-heading);
    font-size: 1rem;
    text-transform: uppercase;
    text-decoration: none !important; /* Important: Remove underline */
    border: 2px solid var(--primary-color);
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

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

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

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

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

/* Header & Navigation */
.header {
    background-color: var(--secondary-color);
    padding: 1rem 0;
    border-bottom: 2px solid var(--primary-color);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

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

.logo {
    height: 40px;
    width: auto;
    margin-right: 0.5rem;
}

.site-name {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--primary-color);
    text-transform: uppercase;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: var(--spacing-unit);
}

.nav-link {
    font-family: var(--font-body);
    text-decoration: none;
    color: var(--text-color);
    padding: 0.5rem 0;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.nav-button {
    text-decoration: none !important;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    padding: 0.5rem 1rem;
    border: 2px solid var(--primary-color);
}

.nav-link.nav-button:hover {
    background-color: var(--accent-color);
    color: var(--secondary-color);
    border-color: var(--accent-color);
}

.nav-link.nav-button::after {
    display: none;
}

.menu-toggle {
    display: none; /* Hidden on desktop */
    background: none;
    border: none;
    color: var(--primary-color);
    font-size: 2rem;
    cursor: pointer;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-size: cover;
    background-position: center;
    border-bottom: 2px solid var(--primary-color);
    overflow: hidden;
}

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

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

.hero-content h1 {
    font-size: 4.5rem;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--accent-color);
}

/* Sections General */
section {
    padding: calc(2 * var(--spacing-unit)) 0;
    border-bottom: 2px solid var(--primary-color);
}

section:last-of-type {
    border-bottom: none;
}

.section-title {
    text-align: center;
    margin-bottom: calc(2 * var(--spacing-unit));
    position: relative;
    display: inline-block; /* To center the pseudo-element */
    left: 50%;
    transform: translateX(-50%);
}

.section-title::after {
    content: '';
    display: block;
    width: 80%;
    height: 4px;
    background-color: var(--primary-color);
    margin: 0.5rem auto 0;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--accent-color);
    margin-bottom: calc(2 * var(--spacing-unit));
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: calc(2 * var(--spacing-unit));
    align-items: start;
}

.about-text h3 {
    margin-top: var(--spacing-unit);
}

.about-image-wrapper {
    overflow: hidden;
    border: 2px solid var(--primary-color);
    padding: 0.5rem; /* Brutalism border effect */
    background-color: var(--accent-color);
}

.about-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-unit);
}

.service-card {
    background-color: var(--secondary-color);
    border: 2px solid var(--primary-color);
    padding: calc(1.5 * var(--spacing-unit));
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    height: 100%; /* Ensure equal height */
}

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

.service-card h3 {
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-color);
    flex-grow: 1;
}

/* Approach Section */
.approach-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-unit);
}

.approach-step {
    background-color: var(--secondary-color);
    border: 2px solid var(--accent-color);
    padding: calc(1.5 * var(--spacing-unit));
    height: 100%; /* Ensure equal height */
}

.step-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    line-height: 1;
}

.approach-step h3 {
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.approach-step p {
    color: var(--text-color);
}

/* Team Section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-unit);
}

.team-member {
    background-color: var(--secondary-color);
    border: 2px solid var(--primary-color);
    padding: var(--spacing-unit);
    text-align: center;
    height: 100%; /* Ensure equal height */
}

.member-photo {
    width: 150px;
    height: 150px;
    border-radius: 0; /* Brutalism - no rounded corners */
    object-fit: cover;
    border: 2px solid var(--accent-color);
    margin: 0 auto 1rem;
    display: block;
}

.team-member h3 {
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.team-member p {
    color: var(--text-color);
    font-size: 0.95rem;
}

/* Testimonials Section */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-unit);
}

.testimonial-card {
    background-color: var(--secondary-color);
    border: 2px solid var(--accent-color);
    padding: var(--spacing-unit);
    height: 100%; /* Ensure equal height */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-text {
    font-style: italic;
    color: var(--text-color);
    margin-bottom: 1rem;
    flex-grow: 1;
}

.testimonial-author {
    font-weight: bold;
    color: var(--primary-color);
    text-align: right;
}

/* FAQ Section (Accordion) */
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
    border: 2px solid var(--primary-color);
}

.accordion-item {
    border-bottom: 1px solid var(--accent-color);
}

.accordion-item:last-child {
    border-bottom: none;
}

.accordion-header {
    background-color: var(--secondary-color);
    color: var(--text-color);
    font-family: var(--font-heading);
    font-size: 1.2rem;
    width: 100%;
    padding: var(--spacing-unit);
    text-align: left;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.accordion-header:hover {
    background-color: #333;
}

.accordion-header .accordion-icon {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.accordion-header.active .accordion-icon {
    transform: rotate(45deg);
}

.accordion-content {
    background-color: #2a2a2a;
    padding: 0 var(--spacing-unit);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.accordion-content.active {
    max-height: 200px; /* Adjust as needed for content */
    padding: var(--spacing-unit);
}

/* CTA Form Section */
.cta-form-section {
    background-color: var(--secondary-color);
    padding: calc(2 * var(--spacing-unit)) 0;
    border-bottom: 2px solid var(--primary-color);
}

.cta-form {
    max-width: 600px;
    margin: 0 auto;
    border: 2px solid var(--primary-color);
    padding: calc(1.5 * var(--spacing-unit));
    background-color: #2a2a2a;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--accent-color);
    font-family: var(--font-body);
    font-size: 1rem;
}

.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;
    background-color: #1a1a1a;
    border: 1px solid var(--accent-color);
    color: var(--text-color);
    font-family: var(--font-body);
    font-size: 1rem;
    border-radius: 0; /* Brutalism */
}

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: 2px solid var(--primary-color);
    border-color: transparent;
}

.error-message {
    color: var(--error-color);
    font-size: 0.85rem;
    margin-top: 0.25rem;
    display: block;
}

.btn-submit {
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
}

/* Footer */
.footer {
    background-color: var(--secondary-color);
    padding: calc(1.5 * var(--spacing-unit)) 0;
    text-align: center;
    border-top: 2px solid var(--primary-color);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.footer .logo-link {
    margin-bottom: 1rem;
}

.footer .site-name {
    font-size: 1.5rem;
}

.copyright {
    color: var(--accent-color);
    font-size: 0.9rem;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem var(--spacing-unit);
}

.footer-links li a {
    color: var(--text-color);
    text-decoration: underline;
    font-size: 0.9rem;
}

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

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

/* Media Queries for Responsiveness */
@media (max-width: 992px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px; /* Adjust based on header height */
        left: 0;
        width: 100%;
        background-color: var(--secondary-color);
        border-top: 2px solid var(--primary-color);
        padding: var(--spacing-unit) 0;
        z-index: 999;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        text-align: center;
        margin: 0.5rem 0;
    }

    .nav-link {
        padding: 0.8rem 0;
        display: block;
    }

    .nav-link.nav-button {
        margin: 1rem auto;
        width: fit-content;
    }

    .menu-toggle {
        display: block;
    }

    .hero-content h1 {
        font-size: 3rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-image-wrapper {
        order: -1; /* Image above text on mobile */
    }

    .services-grid,
    .approach-grid,
    .team-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    h3 {
        font-size: 1.5rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .btn {
        padding: 0.7rem 1.2rem;
        font-size: 0.9rem;
    }

    .footer-links {
        flex-direction: column;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .site-name {
        font-size: 1.4rem;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    .section-title::after {
        width: 60%;
    }

}
/* Styling for the content wrapper */
.rightsCloudWrap {
    padding: 2rem 1.5rem; /* Top/bottom padding and left/right padding */
    /* You might want to add a background-color or border here if this section differs visually */
    /* background-color: #2a2a2a; */ 
    /* border: 1px solid var(--accent-color); */
}

/* Heading styles within .rightsCloudWrap */
.rightsCloudWrap h1 {
    font-family: var(--font-heading); /* Inherits from general styling */
    font-size: 2.2rem; /* Reduced font size for standard H1 */
    line-height: 1.2;
    color: var(--primary-color); /* Inherits from general styling */
    margin-bottom: 1.2rem; /* Spacing after the heading */
}

.rightsCloudWrap h2 {
    font-family: var(--font-heading);
    font-size: 1.8rem; /* Reduced font size for standard H2 */
    line-height: 1.3;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.rightsCloudWrap h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem; /* Reduced font size for standard H3 */
    line-height: 1.4;
    color: var(--accent-color); /* Using accent for H3, can be primary if preferred */
    margin-bottom: 0.8rem;
}

.rightsCloudWrap h4 {
    font-family: var(--font-heading);
    font-size: 1.2rem; /* Reduced font size for standard H4 */
    line-height: 1.5;
    color: var(--accent-color);
    margin-bottom: 0.6rem;
}

.rightsCloudWrap h5 {
    font-family: var(--font-heading);
    font-size: 1rem; /* Reduced font size for standard H5 */
    line-height: 1.6;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

/* Paragraph styles within .rightsCloudWrap */
.rightsCloudWrap p {
    font-family: var(--font-body); /* Inherits from general styling */
    font-size: 1rem; /* Standard paragraph font size */
    line-height: 1.7; /* Improved readability for body text */
    color: var(--text-color); /* Inherits from general styling */
    margin-bottom: 1rem; /* Spacing after the paragraph */
}

/* Unordered list styles within .rightsCloudWrap */
.rightsCloudWrap ul {
    font-family: var(--font-body);
    list-style: disc; /* Standard disc bullet points */
    padding-left: 1.5rem; /* Indentation for list items */
    margin-bottom: 1rem; /* Spacing after the list */
    color: var(--text-color); /* Ensure list text color */
}

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

/* Remove margin from the last paragraph/list item if needed for layout */
.rightsCloudWrap p:last-child,
.rightsCloudWrap ul:last-child,
.rightsCloudWrap ol:last-child {
    margin-bottom: 0;
}


@media (max-width: 991px){
    .nav-links.active{
        gap: 0 !important;
    }

    .nav-link{
        padding: 5px 0;
    }

    #consultationForm{
        padding: 15px !important;
    }
}

.nav-links{
    flex-wrap: wrap;
    justify-content: end;
}