/* General Styles */
:root {
    --primary-green: #4CAF50; /* A vibrant, natural green */
    --dark-green: #388E3C;   /* A darker shade for accents */
    --light-green: #E8F5E9;  /* Very light green for backgrounds */
    --white: #FFFFFF;
    --text-color: #333333;   /* Standard dark grey for readability */
    --light-text-color: #666666;
    --border-color: #DDDDDD;
    --shadow-color: rgba(0, 0, 0, 0.1);
    --font-family-base: 'Poppins', sans-serif;
}

body {
    font-family: var(--font-family-base);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
    margin: 0;
    padding: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
    position: relative;
}

h1, h2, h3, h4 {
    font-weight: 700;
    color: var(--dark-green);
    margin-bottom: 20px;
}

h1 {
    font-size: 3.5em;
    text-align: center;
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

h2 {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 40px;
    color: var(--dark-green);
    position: relative;
}

h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--primary-green);
    margin: 15px auto 0;
    border-radius: 2px;
}

h3 {
    font-size: 1.8em;
    color: var(--dark-green);
}

p {
    margin-bottom: 15px;
    color: var(--text-color);
}

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

a:hover {
    color: var(--dark-green);
}

.button {
    display: inline-block;
    background-color: var(--primary-green);
    color: var(--white);
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    border: none;
    cursor: pointer;
    font-size: 1em;
    transition: background-color 0.1s ease-in-out; /* Instant, but still a transition property */
}

.button:hover {
    background-color: var(--dark-green);
    text-decoration: none; /* Ensure no underline on hover */
}

.ghost-button {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
    padding: 12px 30px;
    transition: background-color 0.1s ease-in-out, color 0.1s ease-in-out, border-color 0.1s ease-in-out; /* Instant transition */
}

.ghost-button:hover {
    background-color: var(--white);
    color: var(--primary-green);
    border-color: var(--white);
    text-decoration: none; /* Ensure no underline on hover */
}

/* Header */
.header {
    background-color: var(--white);
    padding: 15px 0;
    box-shadow: var(--shadow-color);
    z-index: 1000;
}

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

.header .logo img {
    height: 40px;
    display: block;
}

.nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

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

.nav ul li a {
    color: var(--text-color);
    font-weight: 600;
    font-size: 1.05em;
    position: relative;
    padding-bottom: 5px;
}

.nav ul li a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0%;
    height: 2px;
    background-color: var(--primary-green);
    transition: width 0.1s ease-in-out; /* Instant transition */
}

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

/* Hero Section */
.hero-section {
    background-size: cover;
    background-position: center;
    color: var(--white);
    text-align: center;
    padding: 150px 0;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 600px; /* Minimum height for hero */
}

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

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

.hero-content p {
    font-size: 1.4em;
    margin-bottom: 40px;
    color: var(--white);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

/* About Section */
.about-section {
    background-color: var(--light-green);
}

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

.about-text ul {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.about-text ul li {
    margin-bottom: 10px;
    font-size: 1.1em;
    color: var(--light-text-color);
}

.about-text ul li i {
    color: var(--primary-green);
    margin-right: 10px;
    font-size: 1.2em;
}

.about-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: var(--shadow-color);
}

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

.pricing-toggle {
    text-align: center;
    margin-bottom: 40px;
}

.toggle-button {
    background-color: var(--white);
    color: var(--primary-green);
    border: 2px solid var(--primary-green);
    padding: 10px 20px;
    border-radius: 25px;
    margin: 0 10px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.1s ease-in-out; /* Instant transition */
}

.toggle-button.active {
    background-color: var(--primary-green);
    color: var(--white);
}

.toggle-button:hover:not(.active) {
    background-color: var(--light-green);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    align-items: stretch; /* Ensure equal height */
}

.pricing-card {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow-color);
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Push button to bottom */
    transition: transform 0.1s ease-in-out, box-shadow 0.1s ease-in-out; /* Instant transition */
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px var(--shadow-color);
}

.pricing-card.featured {
    border-color: var(--primary-green);
    box-shadow: 0 0 20px rgba(76, 175, 80, 0.3);
}

.pricing-card h3 {
    color: var(--dark-green);
    margin-bottom: 15px;
    font-size: 1.6em;
}

.pricing-card .price {
    font-size: 2.5em;
    font-weight: 700;
    color: var(--primary-green);
    margin-bottom: 25px;
}

.pricing-card .price span {
    font-size: 0.7em;
    color: var(--light-text-color);
}

.pricing-card ul {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
    flex-grow: 1;
}

.pricing-card ul li {
    margin-bottom: 10px;
    color: var(--light-text-color);
    font-size: 1.05em;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.pricing-card ul li i {
    margin-right: 10px;
    font-size: 1.1em;
}

.pricing-card ul li .fa-check-circle {
    color: var(--primary-green);
}

.pricing-card ul li .fa-times-circle {
    color: #FF5722; /* Red for excluded features */
}

.pricing-card .button {
    width: 100%;
    padding: 15px 0;
}

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

.team-grid {
    display: grid;
    grid-template-columns: repeat(4,  1fr);
    gap: 30px;
}

.team-member {
    background-color: var(--white);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    box-shadow: var(--shadow-color);
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 350px; /* Ensure consistent height */
}

.team-member img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    border: 4px solid var(--primary-green);
}

.team-member h4 {
    margin-bottom: 5px;
    color: var(--dark-green);
    font-size: 1.4em;
}

.team-member p {
    color: var(--light-text-color);
    font-size: 1em;
    margin-bottom: 0;
}

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

.portfolio-filters {
    text-align: center;
    margin-bottom: 40px;
}

.portfolio-filters .filter-button {
    background-color: var(--white);
    color: var(--primary-green);
    border: 1px solid var(--primary-green);
    padding: 8px 18px;
    border-radius: 20px;
    margin: 0 8px 10px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.1s ease-in-out; /* Instant transition */
}

.portfolio-filters .filter-button.active {
    background-color: var(--primary-green);
    color: var(--white);
}

.portfolio-filters .filter-button:hover:not(.active) {
    background-color: var(--light-green);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    align-items: stretch; /* Ensure equal height */
}

.portfolio-item {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-color);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.1s ease-in-out, box-shadow 0.1s ease-in-out; /* Instant transition */
}

.portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px var(--shadow-color);
}

.portfolio-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.portfolio-item p {
    padding: 15px 10px;
    font-weight: 600;
    color: var(--dark-green);
    flex-grow: 1;
    margin-bottom: 0;
}

.portfolio-item .button {
    margin: 10px 15px 20px;
    width: calc(100% - 30px);
}

/* Portfolio Modal */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1001; /* 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.6); /* Black w/ opacity */
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: var(--white);
    margin: auto;
    padding: 30px;
    border-radius: 10px;
    max-width: 800px;
    position: relative;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    text-align: center;
}

.modal-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
}

.modal-content h3 {
    color: var(--dark-green);
    margin-bottom: 15px;
    font-size: 20px;
}

.modal-content p {
    color: var(--light-text-color);
    line-height: 1.8;
}

.close-button {
    color: var(--light-text-color);
    position: absolute;
    top: -15px;
    right: 8px;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    z-index: 9;
}

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

/* Industries Section */
.industries-section {
    background-color: var(--light-green);
}

.industries-filters {
    text-align: center;
    margin-bottom: 40px;
}

.industries-filters .filter-button {
    background-color: var(--light-green);
    color: var(--primary-green);
    border: 1px solid var(--primary-green);
    padding: 8px 18px;
    border-radius: 20px;
    margin: 0 8px 10px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.1s ease-in-out; /* Instant transition */
}

.industries-filters .filter-button.active {
    background-color: var(--primary-green);
    color: var(--white);
}

.industries-filters .filter-button:hover:not(.active) {
    background-color: var(--white);
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(2,  1fr);
    gap: 30px;
    align-items: stretch; /* Ensure equal height */
}

.industry-item {
    background-color: var(--white);
    border-radius: 10px;
    padding: 25px;
    box-shadow: var(--shadow-color);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    transition: transform 0.1s ease-in-out, box-shadow 0.1s ease-in-out; /* Instant transition */
}

.industry-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px var(--shadow-color);
}

.industry-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.industry-item h3 {
    color: var(--dark-green);
    font-size: 1.5em;
    margin-bottom: 10px;
}

.industry-item p {
    color: var(--light-text-color);
    flex-grow: 1;
}

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

.contact-form-section p {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px auto;
    font-size: 1.1em;
}

.contact-form {
    max-width: 700px;
    margin: 0 auto;
    padding: 30px;
    background-color: var(--light-green);
    border-radius: 10px;
    box-shadow: var(--shadow-color);
}

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

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

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group select,
.form-group textarea {
    width: calc(100% - 20px);
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-family: var(--font-family-base);
    font-size: 1em;
    color: var(--text-color);
    background-color: var(--white);
}

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

.form-group textarea {
    resize: vertical;
}

.contact-form .button {
    width: 100%;
    padding: 15px;
    font-size: 1.1em;
}

.error-message {
    color: #D32F2F; /* Red for error messages */
    font-size: 0.9em;
    margin-top: 5px;
    display: none; /* Hidden by default */
}

input:invalid:not(:placeholder-shown) {
    border-color: #D32F2F;
}

input:invalid:not(:placeholder-shown) + .error-message {
    display: block;
}

/* Footer Section */
.footer {
    background-color: var(--dark-green);
    color: var(--white);
    padding: 40px 0;
    text-align: center;
}

.footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-logo img {
    height: 50px;
    margin-bottom: 20px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links ul li {
    margin: 0 15px 10px 15px;
}

.footer-links ul li a {
    color: var(--white);
    font-size: 0.95em;
    position: relative;
    padding-bottom: 3px;
}

.footer-links ul li a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0%;
    height: 1px;
    background-color: var(--white);
    transition: width 0.1s ease-in-out; /* Instant transition */
}

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

.footer-copyright p {
    margin: 0;
    font-size: 0.9em;
    color: rgba(255, 255, 255, 0.7);
}

/* Cookie Consent Modal Styles */
.cookie-modal {
    
    background-color: rgba(0,0,0,0.7); /* Darker overlay */
    z-index: 10000; /* Ensure it's on top of everything */
}

.cookie-content {
    max-width: 500px;
    padding: 30px;
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    text-align: left;
}

.cookie-content h3 {
    text-align: center;
    color: var(--dark-green);
    margin-bottom: 20px;
}

.cookie-content p {
    font-size: 0.95em;
    line-height: 1.5;
    color: var(--light-text-color);
    margin-bottom: 25px;
}

.cookie-categories, .cookie-settings {
    margin-bottom: 25px;
}

.cookie-category {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

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

.cookie-category label {
    font-weight: 500;
    color: var(--text-color);
    font-size: 1em;
    cursor: pointer;
}

.cookie-buttons {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    flex-wrap: wrap;
}

.cookie-buttons .button, .cookie-buttons .ghost-button {
    flex: 1;
    min-width: 120px;
    text-align: center;
    padding: 12px 15px;
    font-size: 0.95em;
}

.cookie-settings {
    margin-top: 30px;
    border-top: 1px solid var(--border-color);
    padding-top: 25px;
}

.cookie-settings p {
    margin-bottom: 20px;
}

.cookie-settings .button {
    width: 100%;
    margin-top: 20px;
}

.cookie-policy-link {
    text-align: center;
    margin-top: 20px;
    font-size: 0.85em;
}

.cookie-policy-link a {
    color: var(--primary-green);
    text-decoration: underline;
}

.cookie-policy-link a:hover {
    color: var(--dark-green);
}

.hidden {
    display: none;
}

/* Responsive Design */
@media (max-width: 992px) {
    h1 {
        font-size: 2.8em;
    }

    h2 {
        font-size: 2em;
    }

    .nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }

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

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

    .about-image {
        order: -1; /* Move image above text on smaller screens */
        text-align: center;
    }

    .pricing-grid, .team-grid, .portfolio-grid, .industries-grid {
        grid-template-columns: repeat(1, 1fr);
    }

    .cookie-buttons {
        flex-direction: column;
    }

    .cookie-buttons .button, .cookie-buttons .ghost-button {
        width: 100%;
        min-width: unset;
    }

    .nav ul li a{
        font-size: 16px !important;
    }
}

@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        text-align: center;
    }

    .header .logo {
        margin-bottom: 15px;
    }

    .nav ul li {
        margin: 0 10px 10px;
    }

    section {
        padding: 60px 0;
    }

    h1 {
        font-size: 2.2em;
    }

    h2 {
        font-size: 1.8em;
    }

    .hero-section {
        padding: 100px 0;
        min-height: 450px;
    }

    .hero-content p {
        font-size: 1.2em;
    }

    .footer-links ul {
        flex-direction: column;
        align-items: center;
    }

    .footer-links ul li {
        margin: 5px 0;
    }

    .modal-content {
        margin: 20px;
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .nav ul {
        gap: 10px;
    }

    .nav ul li{
        margin: 0 !important;
        padding: 0 !important;
    }

    .header .logo img{
        height: 25px;
    }

  

    h1 {
        font-size: 1.8em;
    }

    h2 {
        font-size: 1.6em;
    }

    .button, .ghost-button {
        padding: 10px 20px;
        font-size: 0.9em;
    }

    .pricing-grid, .team-grid, .portfolio-grid, .industries-grid {
        grid-template-columns: 1fr;
    }

    .pricing-card, .team-member, .portfolio-item, .industry-item {
        padding: 20px;
    }

    .pricing-card .price {
        font-size: 2em;
    }

    .pricing-toggle .toggle-button,
    .portfolio-filters .filter-button,
    .industries-filters .filter-button {
        padding: 8px 12px;
        font-size: 0.9em;
        margin: 0 5px 8px;
    }

    .contact-form {
        padding: 20px;
    }
}
/* Styles for the content block .rightsFieldUnit */
.rightsFieldUnit {
    padding: 40px 25px; /* Padding top/bottom and left/right */
    margin: 0 auto; /* Center the block if it has a max-width */
    max-width: 800px; /* Optional: Constrain width for better readability */
    background-color: var(--white); /* Ensure a consistent background */
    border-radius: 8px; /* Slightly rounded corners */
    box-shadow: var(--shadow-color); /* Subtle shadow */
    line-height: 1.6; /* Standard line height for readability */
    color: var(--text-color); /* Default text color */
}

/* Heading styles within .rightsFieldUnit */
.rightsFieldUnit h1 {
    font-size: 1.8em; /* Relatively smaller H1 for content areas */
    margin-top: 1.5em; /* Top margin for spacing */
    margin-bottom: 0.8em; /* Bottom margin for spacing */
    color: var(--dark-green); /* Consistent heading color */
    font-weight: 700; /* Bold font weight */
}

.rightsFieldUnit h2 {
    font-size: 1.6em; /* H2 size */
    margin-top: 1.4em;
    margin-bottom: 0.7em;
    color: var(--dark-green);
    font-weight: 700;
}

.rightsFieldUnit h3 {
    font-size: 1.4em; /* H3 size */
    margin-top: 1.3em;
    margin-bottom: 0.6em;
    color: var(--dark-green);
    font-weight: 600; /* Slightly less bold */
}

.rightsFieldUnit h4 {
    font-size: 1.2em; /* H4 size */
    margin-top: 1.2em;
    margin-bottom: 0.5em;
    color: var(--dark-green);
    font-weight: 600;
}

.rightsFieldUnit h5 {
    font-size: 1.1em; /* H5 size */
    margin-top: 1.1em;
    margin-bottom: 0.4em;
    color: var(--dark-green);
    font-weight: 500; /* Medium font weight */
}

/* Paragraph styles within .rightsFieldUnit */
.rightsFieldUnit p {
    font-size: 1em; /* Base font size for paragraphs */
    margin-top: 0; /* No top margin if following another block element */
    margin-bottom: 1em; /* Standard bottom margin for paragraphs */
    color: var(--text-color); /* Standard text color */
}

/* Unordered list styles within .rightsFieldUnit */
.rightsFieldUnit ul {
    list-style-type: disc; /* Default disc bullet points */
    margin-top: 1em; /* Top margin for lists */
    margin-bottom: 1em; /* Bottom margin for lists */
    padding-left: 25px; /* Indentation for bullet points */
    color: var(--text-color); /* Standard text color */
}

/* List item styles within .rightsFieldUnit */
.rightsFieldUnit ul li {
    font-size: 1em; /* Base font size for list items */
    margin-bottom: 0.5em; /* Spacing between list items */
    color: var(--text-color); /* Standard text color */
}

/* Specific styling for the last paragraph/list item to prevent double margins */
.rightsFieldUnit p:last-child,
.rightsFieldUnit ul:last-child {
    margin-bottom: 0;
}


.footer-logo a{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px;
}

.footer-logo a h2{
    font-size: clamp(16px,2.5vw,25px) !important;
    margin: 0;
    color: #fff;
}


.logo a{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px;
}

.logo a h2{
    font-size: clamp(16px,2.5vw,25px) !important;
    margin: 0 !important;
    color: #000 !important;
}

.logo a h2::after{
    display: none !important;
}